public class XSLFObjectShape extends XSLFGraphicFrame implements ObjectShape<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
protected CTBlip |
getBlip() |
protected CTBlipFillProperties |
getBlipFill() |
protected String |
getBlipId() |
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, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, isPlaceholder, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholder
clone, equals, finalize, 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>
protected CTBlip getBlip()
protected String getBlipId()
protected CTBlipFillProperties getBlipFill()
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 2019 The Apache Software Foundation or its licensors, as applicable.