public class XSSFObjectData extends XSSFSimpleShape implements ObjectData
| Modifier | Constructor and Description |
|---|---|
protected |
XSSFObjectData(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape ctShape) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
DirectoryEntry |
getDirectory()
Gets the object data.
(获取对象数据。)
|
java.lang.String |
getFileName()
The filename of the embedded image
(嵌入图像的文件名)
|
byte[] |
getObjectData() |
PackagePart |
getObjectPart() |
java.lang.String |
getOLE2ClassName() |
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTOleObject |
getOleObject() |
XSSFPictureData |
getPictureData() |
protected XSSFSheet |
getSheet() |
boolean |
hasDirectoryEntry() |
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape |
prototype()
Prototype with the default structure of a new auto-shape.
(具有新自动形状的默认结构的原型。)
|
addNewTextParagraph, addNewTextParagraph, addNewTextParagraph, clearText, findDefinedParagraphProperty, findDefinedRunProperty, getBottomInset, getCTShape, getLeftInset, getRightInset, getShapeId, getShapeName, getShapeProperties, getShapeType, getText, getTextAutofit, getTextBody, getTextDirection, getTextHorizontalOverflow, getTextParagraphs, getTextVerticalOverflow, getTopInset, getVerticalAlignment, getWordWrap, iterator, setBottomInset, setLeftInset, setRightInset, setShapeType, setText, setText, setTextAutofit, setTextDirection, setTextHorizontalOverflow, setTextVerticalOverflow, setTopInset, setVerticalAlignment, setWordWrap, setXfrmgetAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFillclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetShapeIdgetAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFillprotected XSSFObjectData(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape ctShape)
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape prototype()
public java.lang.String getOLE2ClassName()
getOLE2ClassName in interface
ObjectData
(接口 ObjectData 中的 getOLE2ClassName)
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTOleObject getOleObject()
public byte[] getObjectData()
throws java.io.IOException
getObjectData in interface
ObjectData
(接口 ObjectData 中的 getObjectData)
java.io.IOException
(java.io.IOException)
public PackagePart getObjectPart()
public boolean hasDirectoryEntry()
hasDirectoryEntry in interface
ObjectData
(接口 ObjectData 中的 hasDirectoryEntry)
public DirectoryEntry getDirectory() throws java.io.IOException
ObjectData
ObjectData.hasDirectoryEntry(). The caller has to close the corresponding POIFSFileSystem
(获取对象数据。只要求那些有数据的人。请参阅 ObjectData.hasDirectoryEntry()。调用者必须关闭相应的 POIFSFileSystem)
getDirectory in interface
ObjectData
(接口 ObjectData 中的 getDirectory)
java.io.IOException - if there was an error reading the data.
(java.io.IOException - 如果读取数据时出错。)
public java.lang.String getFileName()
getFileName in interface
ObjectData
(接口 ObjectData 中的 getFileName)
protected XSSFSheet getSheet()
public XSSFPictureData getPictureData()
getPictureData in interface
ObjectData
(接口 ObjectData 中的 getPictureData)
public java.lang.String getContentType()
getContentType in interface
ObjectData
(接口 ObjectData 中的 getContentType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.