| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | afterInsert(HSSFPatriarch patriarch)
Overrides org.
|
| protected HSSFShape | |
| protected EscherContainerRecord | |
| public HSSFClientAnchor | Returns: the anchor that is used by this picture.Implements org.
|
| public String | |
| public Dimension | Returns: image dimension in pixelsImplements org. Return the dimension of the embedded image in pixel |
| public HSSFPictureData | Returns: picture data for this shape ornull if picture wasn't embedded, i.e. external linkedImplements org. Return picture data for this shape |
| public int | |
| public HSSFClientAnchor | Returns: HSSFClientAnchor with the preferred size for this imageImplements org. Calculate the preferred size for this picture. |
| public HSSFClientAnchor | Returns: HSSFClientAnchor with the preferred size for this imagethe amount by which image dimensions are multiplied relative to the original size. scale)Calculate the preferred size for this picture. |
| public HSSFClientAnchor | Returns: HSSFClientAnchor with the preferred size for this imagethe amount by which image width is multiplied relative to the original width. scaleX, double the amount by which image height is multiplied relative to the original height. scaleY)Implements org. Calculate the preferred size for this picture. |
| public HSSFSheet | Returns: the sheet which contains the picture shapeImplements org.
|
| public void | resize()
Implements org. Reset the image to the dimension of the embedded image Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls). |
| public void | resize(double scale)
Implements org. Resize the image proportionally. |
| public void | resize(double
the amount by which the image width is multiplied relative to the original width. scaleX, double the amount by which the image height is multiplied relative to the original height. scaleY)Implements org. Resize the image Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls). |
| public void | |
| public void | |
| public void | setShapeType(int
- shapeType shapeType)Overrides org.
|
| HSSFPicture | back to summary |
|---|---|
| public HSSFPicture(EscherContainerRecord spContainer, ObjRecord objRecord) | |
| HSSFPicture | back to summary |
|---|---|
| public HSSFPicture(HSSFShape parent, HSSFAnchor anchor) Constructs a picture object. | |
| afterInsert | back to summary |
|---|---|
| pack-priv void afterInsert(HSSFPatriarch patriarch) Overrides org.
| |
| cloneShape | back to summary |
|---|---|
| protected HSSFShape cloneShape() Overrides org.
| |
| createSpContainer | back to summary |
|---|---|
| protected EscherContainerRecord createSpContainer() Overrides org.
| |
| getClientAnchor | back to summary |
|---|---|
| public HSSFClientAnchor getClientAnchor() Implements org.
| |
| getFileName | back to summary |
|---|---|
| public String getFileName() The filename of the embedded image | |
| getImageDimension | back to summary |
|---|---|
| public Dimension getImageDimension() Implements org. Return the dimension of the embedded image in pixel | |
| getPictureData | back to summary |
|---|---|
| public HSSFPictureData getPictureData() Implements org. Return picture data for this shape
| |
| getPictureIndex | back to summary |
|---|---|
| public int getPictureIndex() | |
| getPreferredSize | back to summary |
|---|---|
| public HSSFClientAnchor getPreferredSize() Implements org. Calculate the preferred size for this picture.
| |
| getPreferredSize | back to summary |
|---|---|
| public HSSFClientAnchor getPreferredSize(double scale) Calculate the preferred size for this picture.
| |
| getPreferredSize | back to summary |
|---|---|
| public HSSFClientAnchor getPreferredSize(double scaleX, double scaleY) Implements org. Calculate the preferred size for this picture.
| |
| getSheet | back to summary |
|---|---|
| public HSSFSheet getSheet() Implements org. | |
| resize | back to summary |
|---|---|
| public void resize() Implements org. Reset the image to the dimension of the embedded image Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls). If the default font is changed the resized image can be stretched vertically or horizontally.
| |
| resize | back to summary |
|---|---|
| public void resize(double scale) Implements org. Resize the image proportionally.
| |
| resize | back to summary |
|---|---|
| public void resize(double scaleX, double scaleY) Implements org. Resize the image Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls). If the default font is changed the resized image can be stretched vertically or horizontally.
| |
| setFileName | back to summary |
|---|---|
| public void setFileName(String data) | |
| setPictureIndex | back to summary |
|---|---|
| public void setPictureIndex(int pictureIndex) | |
| setShapeType | back to summary |
|---|---|
| public void setShapeType(int shapeType) Overrides org.
| |