public class XSLFObjectShape extends XSLFGraphicFrame implements ObjectShape<XSLFShape,XSLFTextParagraph>
XSLFShape.ReparseFactory<T extends org.apache.xmlbeans.XmlObject>
Modifier and Type | Method and Description |
---|---|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTBlip |
getBlip() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties |
getBlipFill() |
protected java.lang.String |
getBlipId() |
org.openxmlformats.schemas.presentationml.x2006.main.CTOleObject |
getCTOleObject() |
java.lang.String |
getFullName()
Returns the full name of the embedded object,
e.g.
|
XSLFObjectData |
getObjectData() |
XSLFPictureData |
getPictureData()
Return the data on the (internal) picture.
|
java.lang.String |
getProgId()
Returns the ProgID that stores the OLE Programmatic Identifier.
|
java.io.OutputStream |
updateObjectData(ObjectMetaData.Application application,
ObjectMetaData metaData)
Updates the ole data.
|
getAnchor, getChart, getFallbackPicture, getFlipHorizontal, getFlipVertical, getRotation, getShapeType, hasChart, 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, 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 org.openxmlformats.schemas.presentationml.x2006.main.CTOleObject getCTOleObject()
public XSLFObjectData getObjectData()
getObjectData
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public java.lang.String getProgId()
ObjectShape
getProgId
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public java.lang.String getFullName()
ObjectShape
getFullName
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
public XSLFPictureData getPictureData()
getPictureData
in interface ObjectShape<XSLFShape,XSLFTextParagraph>
protected org.openxmlformats.schemas.drawingml.x2006.main.CTBlip getBlip()
protected java.lang.String getBlipId()
protected org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties getBlipFill()
public java.io.OutputStream updateObjectData(ObjectMetaData.Application application, ObjectMetaData metaData) throws java.io.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()
java.io.IOException
- if the linked object data couldn't be found or a new object data couldn't be initializedCopyright 2021 The Apache Software Foundation or its licensors, as applicable.