public class XSSFObjectData extends XSSFSimpleShape implements ObjectData
| Modifier | Constructor and Description |
|---|---|
protected |
XSSFObjectData(XSSFDrawing drawing,
CTShape ctShape) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
DirectoryEntry |
getDirectory()
Gets the object data.
|
String |
getFileName()
The filename of the embedded image
|
byte[] |
getObjectData() |
PackagePart |
getObjectPart() |
String |
getOLE2ClassName() |
CTOleObject |
getOleObject() |
XSSFPictureData |
getPictureData() |
protected XSSFSheet |
getSheet() |
boolean |
hasDirectoryEntry() |
protected static 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, setNoFillforEach, spliteratorprotected XSSFObjectData(XSSFDrawing drawing, CTShape ctShape)
protected static CTShape prototype()
public String getOLE2ClassName()
getOLE2ClassName in interface ObjectDatapublic CTOleObject getOleObject()
public byte[] getObjectData()
throws IOException
getObjectData in interface ObjectDataIOExceptionpublic PackagePart getObjectPart()
public boolean hasDirectoryEntry()
hasDirectoryEntry in interface ObjectDatapublic DirectoryEntry getDirectory() throws IOException
ObjectDataObjectData.hasDirectoryEntry().
The caller has to close the corresponding POIFSFileSystemgetDirectory in interface ObjectDataIOException - if there was an error reading the data.public String getFileName()
getFileName in interface ObjectDataprotected XSSFSheet getSheet()
public XSSFPictureData getPictureData()
getPictureData in interface ObjectDatapublic String getContentType()
getContentType in interface ObjectDataCopyright 2019 The Apache Software Foundation or its licensors, as applicable.