|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.shapes.ShapeBase
com.spire.doc.fields.shapes.Shape
com.spire.doc.fields.ShapeObject
com.spire.doc.fields.DocOleObject
public class DocOleObject
Constructor Summary | |
---|---|
DocOleObject(Document doc)
Initializes a new instance of the OleObject class. |
Method Summary | |
---|---|
CharacterFormat |
getCharacterFormat()
Gets shape object's character format. |
com.spire.ms.System.IO.Stream |
getContainer()
Gets the OLE container. |
boolean |
getDisplayAsIcon()
Gets or sets whether the OLEObject is displayed as an Icon or Content. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
java.lang.String |
getLinkPath()
Gets or sets the link path. |
OleLinkType |
getLinkType()
Gets the type of the OLE object. |
byte[] |
getNativeData()
Gets the native data of embedded OLE object. |
java.lang.String |
getObjectType()
Gets or sets the type of the OLE object. |
DocPicture |
getOlePicture()
Gets the OLE picture. |
java.lang.String |
getOleStorageName()
Gets the name of the OLE Object storage. |
java.lang.String |
getPackageFileName()
Gets the name of file embedded in the package (only if OleType is "Package"). |
java.lang.String |
getProgId()
Gets the programmatic identifier of the OLE object of an undefined type. |
void |
setDisplayAsIcon(boolean value)
|
void |
setLinkPath(java.lang.String value)
Gets or sets the link path. |
void |
setNativeData(byte[] nativeData)
Sets the native data. |
void |
setObjectType(java.lang.String value)
Gets or sets the type of the OLE object. |
void |
setOlePicture(DocPicture picture)
Sets the OLE picture. |
Methods inherited from class com.spire.doc.fields.ShapeObject |
---|
getChart, getChildObjects, getExtrusionEnabled, getFillColor, getLineDashing, getLineStyle, getShadowEnabled, getStrokeColor, getStrokeWeight, getWordArt, setFillColor, setFillTransparency, setLineDashing, setLineStyle, setStrokeColor, setStrokeWeight |
Methods inherited from class com.spire.doc.fields.shapes.Shape |
---|
getFirstParagraph, getLastParagraph, hasChart, hasImage |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public DocOleObject(Document doc)
doc
- The doc.Method Detail |
---|
public boolean getDisplayAsIcon()
public void setDisplayAsIcon(boolean value)
public DocPicture getOlePicture()
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class ShapeObject
public com.spire.ms.System.IO.Stream getContainer()
public CharacterFormat getCharacterFormat()
ShapeObject
getCharacterFormat
in class ShapeObject
public java.lang.String getOleStorageName()
public java.lang.String getLinkPath()
public void setLinkPath(java.lang.String value)
public OleLinkType getLinkType()
public java.lang.String getProgId()
public java.lang.String getObjectType()
public void setObjectType(java.lang.String value)
public byte[] getNativeData()
public java.lang.String getPackageFileName()
public void setNativeData(byte[] nativeData)
nativeData
- The native data.public void setOlePicture(DocPicture picture)
picture
- The picture.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |