| |
|
| java.lang.Object org.apache.poi.hssf.usermodel.HSSFShape org.apache.poi.hssf.usermodel.HSSFSimpleShape org.apache.poi.hssf.usermodel.HSSFPicture
HSSFPicture | public class HSSFPicture extends HSSFSimpleShape (Code) | | Represents a escher picture. Eg. A GIF, JPEG etc...
author: Glen Stampoultzis author: Yegor Kozlov (yegor at apache.org) |
PICTURE_TYPE_DIB | final public static int PICTURE_TYPE_DIB(Code) | | |
PICTURE_TYPE_EMF | final public static int PICTURE_TYPE_EMF(Code) | | |
PICTURE_TYPE_JPEG | final public static int PICTURE_TYPE_JPEG(Code) | | |
PICTURE_TYPE_PICT | final public static int PICTURE_TYPE_PICT(Code) | | |
PICTURE_TYPE_PNG | final public static int PICTURE_TYPE_PNG(Code) | | |
PICTURE_TYPE_WMF | final public static int PICTURE_TYPE_WMF(Code) | | |
pictureIndex | int pictureIndex(Code) | | |
getPictureIndex | public int getPictureIndex()(Code) | | |
getPreferredSize | public HSSFClientAnchor getPreferredSize()(Code) | | Calculate the preferred size for this picture.
HSSFClientAnchor with the preferred size for this image since: POI 3.0.2 |
getResolution | protected int[] getResolution(ImageReader r) throws IOException(Code) | | The metadata of PNG and JPEG can contain the width of a pixel in millimeters.
Return the the "effective" dpi calculated as 25.4/HorizontalPixelSize
and 25.4/VerticalPixelSize . Where 25.4 is the number of mm in inch.
array of two elements: {horisontalPdi, verticalDpi} .{96, 96} is the default. |
resize | public void resize()(Code) | | Reset the image to the original size.
since: POI 3.0.2 |
setPictureIndex | public void setPictureIndex(int pictureIndex)(Code) | | |
Methods inherited from org.apache.poi.hssf.usermodel.HSSFSimpleShape | public int getShapeType()(Code)(Java Doc) public void setShapeType(int shapeType)(Code)(Java Doc)
|
|
|
|