|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.poi.hslf.usermodel.HSLFShape
org.apache.poi.hslf.usermodel.HSLFSimpleShape
org.apache.poi.hslf.usermodel.HSLFPictureShape
public class HSLFPictureShape
Represents a picture in a PowerPoint document.
| Field Summary |
|---|
| Fields inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape |
|---|
_clientData, _clientRecords, DEFAULT_LINE_WIDTH |
| Fields inherited from class org.apache.poi.hslf.usermodel.HSLFShape |
|---|
_escherContainer, _fill, _parent, _sheet, logger |
| Constructor Summary | |
|---|---|
protected |
HSLFPictureShape(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a Picture object |
|
HSLFPictureShape(HSLFPictureData data)
Create a new Picture |
|
HSLFPictureShape(HSLFPictureData data,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new Picture |
| Method Summary | |
|---|---|
protected void |
afterInsert(HSLFSheet 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. |
java.awt.Insets |
getClipping()
|
protected EscherBSERecord |
getEscherBSERecord()
|
HSLFPictureData |
getPictureData()
|
int |
getPictureIndex()
Returns index associated with this picture. |
java.lang.String |
getPictureName()
Name of this picture. |
void |
setPictureName(java.lang.String name)
Name of this picture. |
| Methods inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape |
|---|
createSpContainer, getAdjustValue, getClientDataRecord, getClientRecords, getFillColor, getGeometry, getLineColor, getLineCompound, getLineDashing, getLineDecoration, getLineWidth, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineColor, setLineCompound, setLineDashing, setLineWidth, updateClientData |
| Methods inherited from class org.apache.poi.hslf.usermodel.HSLFShape |
|---|
draw, getAnchor, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getHyperlink, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, isPlaceholder, moveTo, setAnchor, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType, setSheet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape |
|---|
getFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholder |
| Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
|---|
getAnchor, getParent, getSheet |
| Methods inherited from interface org.apache.poi.sl.draw.geom.IAdjustableShape |
|---|
getAdjustValue |
| Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
|---|
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotation |
| Constructor Detail |
|---|
public HSLFPictureShape(HSLFPictureData data)
Picture
data - the picture data
public HSLFPictureShape(HSLFPictureData data,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Picture
data - the picture dataparent - the parent shape
protected HSLFPictureShape(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> 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 refers to EscherBSE container.
public HSLFPictureData getPictureData()
getPictureData in interface PictureShape<HSLFShape,HSLFTextParagraph>protected EscherBSERecord getEscherBSERecord()
public java.lang.String getPictureName()
public void setPictureName(java.lang.String name)
name - of this pictureprotected void afterInsert(HSLFSheet sh)
afterInsert in class HSLFShapesh - - owning shapepublic java.awt.Insets getClipping()
getClipping in interface PictureShape<HSLFShape,HSLFTextParagraph>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||