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, setXfrm
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShapeId
getAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFill
forEach, spliterator
protected XSSFObjectData(XSSFDrawing drawing, CTShape ctShape)
protected static CTShape prototype()
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
protected XSSFSheet getSheet()
public XSSFPictureData getPictureData()
getPictureData
in interface ObjectData
public String getContentType()
getContentType
in interface ObjectData
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.