|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.model.Shape org.apache.poi.hslf.model.SimpleShape org.apache.poi.hslf.model.Picture org.apache.poi.hslf.model.ActiveXShape
public final class ActiveXShape
Represents an ActiveX control in a PowerPoint document. TODO: finish
Field Summary | |
---|---|
static int |
DEFAULT_ACTIVEX_THUMBNAIL
|
Fields inherited from class org.apache.poi.hslf.model.Picture |
---|
DIB, EMF, JPEG, PICT, PNG, WMF |
Fields inherited from class org.apache.poi.hslf.model.SimpleShape |
---|
_clientData, _clientRecords, DEFAULT_LINE_WIDTH |
Fields inherited from class org.apache.poi.hslf.model.Shape |
---|
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI |
Constructor Summary | |
---|---|
protected |
ActiveXShape(EscherContainerRecord escherRecord,
Shape parent)
Create a Picture object |
|
ActiveXShape(int movieIdx,
int pictureIdx)
Create a new Picture |
Method Summary | |
---|---|
protected void |
afterInsert(Sheet sheet)
By default set the orininal image size |
protected EscherContainerRecord |
createSpContainer(int idx,
boolean isChild)
Create a new Placeholder and initialize internal structures |
int |
getControlIndex()
|
ExControl |
getExControl()
Document-level container that specifies information about an ActiveX control |
void |
setActiveXIndex(int idx)
Assign a control to this shape |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property of this ActiveX control |
Methods inherited from class org.apache.poi.hslf.model.Picture |
---|
draw, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, setDefaultSize, setPictureName |
Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
---|
createSpContainer, getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData |
Methods inherited from class org.apache.poi.hslf.model.Shape |
---|
getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, 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 DEFAULT_ACTIVEX_THUMBNAIL
Constructor Detail |
---|
public ActiveXShape(int movieIdx, int pictureIdx)
Picture
pictureIdx
- the index of the pictureprotected ActiveXShape(EscherContainerRecord escherRecord, Shape parent)
Picture
object
escherRecord
- the EscherSpContainer
record which holds information about
this picture in the Slide
parent
- the parent shape of this pictureMethod Detail |
---|
protected EscherContainerRecord createSpContainer(int idx, boolean isChild)
createSpContainer
in class Picture
idx
- the index of the picture which referes to EscherBSE
container.
EscherContainerRecord
which holds shape datapublic void setActiveXIndex(int idx)
idx
- the index of the movieSlideShow.addMovie(String, int)
public int getControlIndex()
public void setProperty(java.lang.String key, java.lang.String value)
key
- value
- public ExControl getExControl()
protected void afterInsert(Sheet sheet)
Picture
afterInsert
in class Picture
sheet
- - owning shape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |