/** * Accessor for the blip id * * @return the blip id */ public final int getBlipId() { if (!initialized) { initialize(); } return blipId; }
/** * Accessor for the height of this drawing * * @return the number of rows spanned by this image */ public double getHeight() { if (!initialized) { initialize(); } return height; }
/** * Gets the SpContainer that was read in * * @return the read sp container */ private EscherContainer getReadSpContainer() { if (!initialized) { initialize(); } return readSpContainer; }
/** * Accessor for the object id * * @return the object id */ public final int getObjectId() { if (!initialized) { initialize(); } return objectId; }
/** * Accessor for the row of this drawing * * @return the row */ public double getY() { if (!initialized) { initialize(); } return row; }
/** * Accessor for the column of this drawing * * @return the column */ public double getX() { if (!initialized) { initialize(); } return column; }
/** * Accessor for the row of this drawing * * @return the row */ public double getY() { if (!initialized) { initialize(); } return row; }
/** * Accessor for the object id * * @return the object id */ public final int getObjectId() { if (!initialized) { initialize(); } return objectId; }
/** * Accessor for the width of this drawing * * @return the number of columns spanned by this image */ public double getWidth() { if (!initialized) { initialize(); } return width; }
/** * Accessor for the blip id * * @return the blip id */ public final int getBlipId() { if (!initialized) { initialize(); } return blipId; }
/** * Accessor for the width of this drawing * * @return the number of columns spanned by this image */ public double getWidth() { if (!initialized) { initialize(); } return width; }
/** * Accessor for the height of this drawing * * @return the number of rows spanned by this image */ public double getHeight() { if (!initialized) { initialize(); } return height; }
/** * Gets the SpContainer that was read in * * @return the read sp container */ private EscherContainer getReadSpContainer() { if (!initialized) { initialize(); } return readSpContainer; }
/** * Accessor for the shape id * * @return the object id */ public final int getShapeId() { if (!initialized) { initialize(); } return shapeId; }
/** * Accessor for the shape id * * @return the object id */ public final int getShapeId() { if (!initialized) { initialize(); } return shapeId; }
/** * Accessor for the column of this drawing * * @return the column */ public double getX() { if (!initialized) { initialize(); } return column; }
/** * Accessor for the row of the drawing * * @param y the row */ public void setY(double y) { if (origin == Origin.READ) { if (!initialized) { initialize(); } origin = Origin.READ_WRITE; } row = (int) y; }
/** * Sets the column position of this drawing. Used when inserting/removing * columns from the spreadsheet * * @param x the column */ public void setX(double x) { if (origin == Origin.READ) { if (!initialized) { initialize(); } origin = Origin.READ_WRITE; } column = (int) x; }
/** * Accessor for the image data * * @return the image data */ public byte[] getImageData() { Assert.verify(origin == Origin.READ || origin == Origin.READ_WRITE); if (!initialized) { initialize(); } return drawingGroup.getImageData(blipId); }
/** * Accessor for the image data * * @return the image data */ public byte[] getImageData() { Assert.verify(origin == Origin.READ || origin == Origin.READ_WRITE); if (!initialized) { initialize(); } return drawingGroup.getImageData(blipId); }