public class XSSFObjectData extends XSSFSimpleShape implements ObjectData
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() |
boolean |
hasDirectoryEntry() |
addNewTextParagraph, addNewTextParagraph, addNewTextParagraph, clearText, findDefinedParagraphProperty, findDefinedRunProperty, getBottomInset, getCTShape, getLeftInset, getRightInset, getShapeId, getShapeName, 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
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShapeId
getAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFill
forEach, spliterator
public String getOLE2ClassName()
getOLE2ClassName
in interface ObjectData
public CTOleObject getOleObject()
public byte[] getObjectData() throws IOException
getObjectData
in interface ObjectData
IOException
public PackagePart getObjectPart()
public boolean hasDirectoryEntry()
hasDirectoryEntry
in interface ObjectData
public DirectoryEntry getDirectory() throws IOException
ObjectData
ObjectData.hasDirectoryEntry()
.
The caller has to close the corresponding POIFSFileSystemgetDirectory
in interface ObjectData
IOException
- if there was an error reading the data.public String getFileName()
getFileName
in interface ObjectData
public XSSFPictureData getPictureData()
getPictureData
in interface ObjectData
public String getContentType()
getContentType
in interface ObjectData
Copyright © 2010 - 2020 Adobe. All Rights Reserved