public class XSLFObjectShape extends XSLFGraphicFrame implements ObjectShape<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
CTOleObject |
getCTOleObject() |
String |
getFullName()
Returns the full name of the embedded object,
e.g.
|
XSLFObjectData |
getObjectData() |
XSLFPictureData |
getPictureData()
Return the data on the (internal) picture.
|
String |
getProgId()
Returns the ProgID that stores the OLE Programmatic Identifier.
|
OutputStream |
updateObjectData(ObjectMetaData.Application application,
ObjectMetaData metaData)
Updates the ole data.
|
getAnchor, getFallbackPicture, getFlipHorizontal, getFlipVertical, getRotation, getShapeType, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
draw, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getSheet, getXmlObject, isPlaceholder, setParent, setPlaceholder
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readObjectData, readObjectDataRaw
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
@Internal public CTOleObject getCTOleObject()
public XSLFObjectData getObjectData()
getObjectData
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public String getProgId()
ObjectShape
getProgId
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public String getFullName()
ObjectShape
getFullName
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public XSLFPictureData getPictureData()
getPictureData
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public OutputStream updateObjectData(ObjectMetaData.Application application, ObjectMetaData metaData) throws IOException
ObjectShape
For HSLF this needs to be a POIFSFileSystem
stream.
updateObjectData
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
application
- a preset application enummetaData
- or a custom metaData object, can be null
if the application has been setOutputStream
which receives the new data, the data will be persisted on close()
IOException
- if the linked object data couldn't be found or a new object data couldn't be initializedCopyright © 2010 - 2020 Adobe. All Rights Reserved