public final class OLEShape extends HSLFPictureShape
| Modifier and Type | Field and Description |
|---|---|
protected ExEmbed |
_exEmbed |
_hyperlink, DEFAULT_LINE_WIDTH| Constructor and Description |
|---|
OLEShape(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a
OLEShape object |
OLEShape(HSLFPictureData data)
Create a new
OLEShape |
OLEShape(HSLFPictureData data,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new
OLEShape |
| Modifier and Type | Method and Description |
|---|---|
ExEmbed |
getExEmbed()
Return the record container for this embedded object.
|
java.lang.String |
getFullName()
Returns the full name of the embedded object,
e.g.
|
java.lang.String |
getInstanceName()
Returns the instance name of the embedded object, e.g.
|
HSLFObjectData |
getObjectData()
Returns unique identifier for the OLE object.
|
int |
getObjectID()
Returns unique identifier for the OLE object.
|
java.lang.String |
getProgID()
Returns the ProgID that stores the OLE Programmatic Identifier.
|
void |
setObjectID(int objectId)
Set the unique identifier for the OLE object and
register it in the necessary structures
|
afterInsert, createSpContainer, getClipping, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, getShapeType, setPictureNamecreateHyperlink, createSpContainer, getAdjustValue, getFillColor, getGeometry, getHyperlink, getLineBackgroundColor, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getPlaceholder, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyledraw, getAnchor, getClientData, getClientDataRecord, getClientRecords, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getSheet, getSpContainer, isPlaceholder, moveTo, setAnchor, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType, setSheetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getShadow, getStrokeStyle, setFillColor, setPlaceholder, setShapeType, setStrokeStyledraw, getAnchor, getParent, getSheetgetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationprotected ExEmbed _exEmbed
public OLEShape(HSLFPictureData data)
OLEShapedata - the picture datapublic OLEShape(HSLFPictureData data, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
OLEShapedata - the picture dataparent - the parent shapepublic OLEShape(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
OLEShape objectescherRecord - the EscherSpContainer record which holds information about
this picture in the Slideparent - the parent shape of this picturepublic int getObjectID()
public void setObjectID(int objectId)
objectId - the unique identifier for the OLE objectpublic HSLFObjectData getObjectData()
public ExEmbed getExEmbed()
It contains: 1. ExEmbedAtom.(4045) 2. ExOleObjAtom (4035) 3. CString (4026), Instance MenuName (1) used for menus and the Links dialog box. 4. CString (4026), Instance ProgID (2) that stores the OLE Programmatic Identifier. A ProgID is a string that uniquely identifies a given object. 5. CString (4026), Instance ClipboardName (3) that appears in the paste special dialog. 6. MetaFile( 4033), optional
public java.lang.String getInstanceName()
public java.lang.String getFullName()
public java.lang.String getProgID()