Package org.apache.poi.hslf.model
Class ActiveXShape
java.lang.Object
org.apache.poi.hslf.usermodel.HSLFShape
org.apache.poi.hslf.usermodel.HSLFSimpleShape
org.apache.poi.hslf.usermodel.HSLFPictureShape
org.apache.poi.hslf.model.ActiveXShape
- All Implemented Interfaces:
IAdjustableShape,PictureShape<HSLFShape,,HSLFTextParagraph> PlaceableShape<HSLFShape,,HSLFTextParagraph> Shape<HSLFShape,,HSLFTextParagraph> SimpleShape<HSLFShape,HSLFTextParagraph>
Represents an ActiveX control in a PowerPoint document.
-
Field Summary
FieldsFields inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape
DEFAULT_LINE_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionActiveXShape(int movieIdx, HSLFPictureData pictureData) Create a newPicture -
Method Summary
Modifier and TypeMethodDescriptionintDocument-level container that specifies information about an ActiveX controlvoidsetActiveXIndex(int idx) Assign a control to this shapevoidsetProperty(String key, String value) Set a property of this ActiveX controlMethods inherited from class org.apache.poi.hslf.usermodel.HSLFPictureShape
getClipping, getPictureData, getPictureIndex, getPictureName, getShapeType, setPictureNameMethods inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape
createHyperlink, getAdjustValue, getFillColor, getGeometry, getHyperlink, getLineBackgroundColor, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getPlaceholder, getPlaceholderDetails, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, isPlaceholder, setFillColor, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyleMethods inherited from class org.apache.poi.hslf.usermodel.HSLFShape
draw, getAnchor, getClientDataRecord, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType, setSheetMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.sl.draw.geom.IAdjustableShape
getAdjustValueMethods inherited from interface org.apache.poi.sl.usermodel.PictureShape
getAlternativePictureDataMethods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationMethods inherited from interface org.apache.poi.sl.usermodel.Shape
draw, getAnchor, getParent, getShapeId, getShapeName, getSheetMethods inherited from interface org.apache.poi.sl.usermodel.SimpleShape
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyle
-
Field Details
-
DEFAULT_ACTIVEX_THUMBNAIL
public static final int DEFAULT_ACTIVEX_THUMBNAIL- See Also:
-
-
Constructor Details
-
ActiveXShape
Create a newPicture- Parameters:
pictureData- the picture data
-
-
Method Details
-
setActiveXIndex
public void setActiveXIndex(int idx) Assign a control to this shape- Parameters:
idx- the index of the movie- See Also:
-
getControlIndex
public int getControlIndex() -
setProperty
Set a property of this ActiveX control -
getExControl
Document-level container that specifies information about an ActiveX control- Returns:
- container that specifies information about an ActiveX control
-