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.
(返回存储 OLE 编程标识符的 ProgID。)
|
java.io.OutputStream |
updateObjectData(ObjectMetaData.Application application, ObjectMetaData metaData)
Updates the ole data.
(更新 ole 数据。)
|
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>
(接口 ObjectShape 中的 getObjectData
public java.lang.String getProgId()
ObjectShape
getProgId
in interface
ObjectShape<XSLFShape,XSLFTextParagraph>
(接口 ObjectShape 中的 getProgId
public java.lang.String getFullName()
ObjectShape
getFullName
in interface
ObjectShape<XSLFShape,XSLFTextParagraph>
(接口 ObjectShape 中的 getFullName
public XSLFPictureData getPictureData()
getPictureData
in interface
ObjectShape<XSLFShape,XSLFTextParagraph>
(接口 ObjectShape 中的 getPictureData
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>
(接口 ObjectShape 中的 updateObjectData
application
- a preset application enum
(application - 一个预设的应用程序枚举)
metaData
- or a custom metaData object, can be
null
if the application has been set
(metaData - 或自定义 metaData 对象,如果应用程序已设置,则可以为 null)
OutputStream
which receives the new data, the data will be persisted on
close()
(一个接收新数据的 OutputStream,数据将在 close() 上持久化)
java.io.IOException
- if the linked object data couldn't be found or a new object data couldn't be initialized
(java.io.IOException - 如果找不到链接的对象数据或无法初始化新的对象数据)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.