public final class ActiveXShape extends HSLFPictureShape
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ACTIVEX_THUMBNAIL |
_hyperlink, ADJUST_VALUES, DEFAULT_LINE_WIDTH
Modifier | Constructor and Description |
---|---|
protected |
ActiveXShape(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a
Picture object
(创建图片对象)
|
|
ActiveXShape(int movieIdx, HSLFPictureData pictureData)
Create a new
Picture
(创建新图片)
|
Modifier and Type | Method and Description |
---|---|
protected void |
afterInsert(HSLFSheet 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
(指定有关 ActiveX 控件的信息的文档级容器)
|
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
(设置此 ActiveX 控件的属性)
|
getClipping, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, getShapeType, setPictureName
createHyperlink, createSpContainer, 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, setHyperlink, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyle
draw, getAnchor, getClientData, getClientDataRecord, getClientRecords, 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, setSheet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlternativePictureData
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyle
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
public static final int DEFAULT_ACTIVEX_THUMBNAIL
public ActiveXShape(int movieIdx, HSLFPictureData pictureData)
Picture
(创建新图片)
pictureData
- the picture data
(pictureData - 图片数据)
protected ActiveXShape(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Picture
object
(创建图片对象)
escherRecord
- the
EscherSpContainer
record which holds information about this picture in the
Slide
(escherRecord - EscherSpContainer 记录,它在幻灯片中保存有关此图片的信息)
parent
- the parent shape of this picture
(parent - 此图片的父形状)
protected EscherContainerRecord createSpContainer(int idx, boolean isChild)
createSpContainer
in class
HSLFPictureShape
idx
- the index of the picture which refers to
EscherBSE
container.
(idx - 引用 EscherBSE 容器的图片索引。)
EscherContainerRecord
which holds shape data
(创建的包含形状数据的 EscherContainerRecord)
public void setActiveXIndex(int idx)
idx
- the index of the movie
(idx - 电影的索引)
HSLFSlideShow.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(HSLFSheet sheet)
HSLFPictureShape
afterInsert
in class
HSLFPictureShape
sheet
- - owning shape
(sheet - - 拥有形状)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.