|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hslf.model.Shape
org.apache.poi.hslf.model.SimpleShape
org.apache.poi.hslf.model.Picture
public class Picture
Represents a picture in a PowerPoint document.
| Field Summary | |
|---|---|
static byte |
DIB
Windows DIB (BMP) |
static int |
EMF
Windows Enhanced Metafile (EMF) |
static int |
JPEG
JPEG |
static int |
PICT
Macintosh PICT |
static int |
PNG
PNG |
static int |
WMF
Windows Metafile (WMF) |
| Fields inherited from class org.apache.poi.hslf.model.Shape |
|---|
_escherContainer, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI |
| Constructor Summary | |
|---|---|
protected |
Picture(EscherContainerRecord escherRecord,
Shape parent)
Create a Picture object |
|
Picture(int idx)
Create a new Picture |
|
Picture(int idx,
Shape parent)
Create a new Picture |
| Method Summary | |
|---|---|
protected void |
afterInsert(Sheet sh)
By default set the orininal image size |
protected EscherContainerRecord |
createSpContainer(int idx,
boolean isChild)
Create a new Picture and populate the inital structure of the EscherSp record which holds information about this picture. |
PictureData |
getPictureData()
Returns the picture data for this picture. |
int |
getPictureIndex()
Returns index associated with this picture. |
void |
setDefaultSize()
Resize this picture to the default size. |
| Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
|---|
createSpContainer, getFillColor, getLineColor, getLineDashing, getLineStyle, getLineWidth, setFillColor, setLineColor, setLineDashing, setLineStyle, setLineWidth |
| Methods inherited from class org.apache.poi.hslf.model.Shape |
|---|
getAnchor, getColor, getEscherChild, getEscherProperty, getFill, getHyperlink, getParent, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setShapeType, setSheet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EMF
public static final int WMF
public static final int PICT
public static final int JPEG
public static final int PNG
public static final byte DIB
| Constructor Detail |
|---|
public Picture(int idx)
Picture
idx - the index of the picture
public Picture(int idx,
Shape parent)
Picture
idx - the index of the pictureparent - the parent shape
protected Picture(EscherContainerRecord escherRecord,
Shape parent)
Picture object
escherRecord - the EscherSpContainer record which holds information about
this picture in the Slideparent - the parent shape of this picture| Method Detail |
|---|
public int getPictureIndex()
protected EscherContainerRecord createSpContainer(int idx,
boolean isChild)
EscherSp record which holds information about this picture.
idx - the index of the picture which referes to EscherBSE container.
public void setDefaultSize()
public PictureData getPictureData()
protected void afterInsert(Sheet sh)
afterInsert in class Shapesh - - owning shape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||