org.apache.poi.hslf.model
Class ActiveXShape
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
- extends Picture
Represents an ActiveX control in a PowerPoint document.
TODO: finish
- Author:
- Yegor Kozlov
Constructor Summary |
ActiveXShape(int movieIdx,
int pictureIdx)
Create a new Picture |
Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ACTIVEX_THUMBNAIL
public static final int DEFAULT_ACTIVEX_THUMBNAIL
- See Also:
- Constant Field Values
ActiveXShape
public ActiveXShape(int movieIdx,
int pictureIdx)
- Create a new
Picture
- Parameters:
pictureIdx
- the index of the picture
setActiveXIndex
public void setActiveXIndex(int idx)
- Assign a control to this shape
- Parameters:
idx
- the index of the movie- See Also:
SlideShow.addMovie(String, int)
getControlIndex
public int getControlIndex()
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
- Set a property of this ActiveX control
- Parameters:
key
- value
-
getExControl
public ExControl getExControl()
- Document-level container that specifies information about an ActiveX control
- Returns:
- container that specifies information about an ActiveX control