public final class OLEShape extends Picture
Modifier and Type | Field | Description |
---|---|---|
protected ExEmbed |
_exEmbed |
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI
_clientData, _clientRecords, DEFAULT_LINE_WIDTH
Modifier | Constructor | Description |
---|---|---|
|
OLEShape(int idx) |
Create a new
OLEShape |
|
OLEShape(int idx,
Shape parent) |
Create a new
OLEShape |
protected |
OLEShape(EscherContainerRecord escherRecord,
Shape parent) |
Create a
OLEShape object |
Modifier and Type | Method | 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.
|
ObjectData |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterInsert, createSpContainer, draw, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, setDefaultSize, setPictureName
getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType, setSheet
createSpContainer, getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData
protected ExEmbed _exEmbed
public OLEShape(int idx)
OLEShape
idx
- the index of the picturepublic OLEShape(int idx, Shape parent)
OLEShape
idx
- the index of the pictureparent
- the parent shapeprotected OLEShape(EscherContainerRecord escherRecord, Shape parent)
OLEShape
objectescherRecord
- the EscherSpContainer
record which holds information about
this picture in the Slide
parent
- the parent shape of this picturepublic int getObjectID()
public void setObjectID(int objectId)
objectId
- the unique identifier for the OLE objectpublic ObjectData 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()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.