public final class ActiveXShape extends Picture
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ACTIVEX_THUMBNAIL |
_clientData, _clientRecords, DEFAULT_LINE_WIDTH
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI
Modifier | Constructor and Description |
---|---|
protected |
ActiveXShape(EscherContainerRecord escherRecord,
Shape parent)
Create a
Picture object |
|
ActiveXShape(int movieIdx,
int pictureIdx)
Create a new
Picture |
Modifier and Type | Method and Description |
---|---|
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
|
draw, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, setDefaultSize, setPictureName
createSpContainer, getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData
getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType, setSheet
public static final int DEFAULT_ACTIVEX_THUMBNAIL
public ActiveXShape(int movieIdx, int pictureIdx)
Picture
pictureIdx
- the index of the pictureprotected ActiveXShape(EscherContainerRecord escherRecord, Shape parent)
Picture
objectescherRecord
- the EscherSpContainer
record which holds information about
this picture in the Slide
parent
- the parent shape of this pictureprotected EscherContainerRecord createSpContainer(int idx, boolean isChild)
createSpContainer
in class Picture
idx
- the index of the picture which refers 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 shapeCopyright © 2005-2010 Potix Corporation. All Rights Reserved.