/** * Create a drawing group for this workbook - used when importing sheets * which contain drawings, but this workbook doesn't. * We can't subsume this into the getDrawingGroup() method because the * null-ness of the return value is used elsewhere to determine the * origin of the workbook */ DrawingGroup createDrawingGroup() { if (drawingGroup == null) { drawingGroup = new DrawingGroup(Origin.WRITE); } return drawingGroup; }
/** * Create a drawing group for this workbook - used when importing sheets * which contain drawings, but this workbook doesn't. * We can't subsume this into the getDrawingGroup() method because the * null-ness of the return value is used elsewhere to determine the * origin of the workbook */ DrawingGroup createDrawingGroup() { if (drawingGroup == null) { drawingGroup = new DrawingGroup(Origin.WRITE); } return drawingGroup; }
/** * Adds a drawing to this workbook * * @param d the drawing to add */ void addDrawing(DrawingGroupObject d) { if (drawingGroup == null) { drawingGroup = new DrawingGroup(Origin.WRITE); } drawingGroup.add(d); }
/** * Adds a drawing to this workbook * * @param d the drawing to add */ void addDrawing(DrawingGroupObject d) { if (drawingGroup == null) { drawingGroup = new DrawingGroup(Origin.WRITE); } drawingGroup.add(d); }
drawingGroup = new DrawingGroup(wp.getDrawingGroup());
drawingGroup = new DrawingGroup(wp.getDrawingGroup());
drawingGroup = new DrawingGroup(Origin.READ);
drawingGroup = new DrawingGroup(Origin.READ);