public class XSSFObjectData extends XSSFSimpleShape implements ObjectData
anchor, drawing, EMU_PER_PIXEL, EMU_PER_POINT, parent, PIXEL_DPI, POINT_DPI| Modifier | Constructor and Description |
|---|---|
protected |
XSSFObjectData(XSSFDrawing drawing,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape ctShape) |
| Modifier and Type | Method and Description |
|---|---|
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, getBottomInset, getCTShape, getLeftInset, getRightInset, getShapeId, getShapeName, getShapeProperties, getShapeType, getText, getTextAutofit, getTextDirection, getTextHorizontalOverflow, getTextParagraphs, getTextVerticalOverflow, getTopInset, getVerticalAlignment, getWordWrap, iterator, setBottomInset, setLeftInset, setRightInset, setShapeType, setText, setText, setTextAutofit, setTextDirection, setTextHorizontalOverflow, setTextVerticalOverflow, setTopInset, setVerticalAlignment, setWordWrapgetAnchor, 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 ObjectDatapublic org.openxmlformats.schemas.spreadsheetml.x2006.main.CTOleObject getOleObject()
public byte[] getObjectData()
throws java.io.IOException
getObjectData in interface ObjectDatajava.io.IOExceptionpublic PackagePart getObjectPart()
public boolean hasDirectoryEntry()
hasDirectoryEntry in interface ObjectDatapublic DirectoryEntry getDirectory() throws java.io.IOException
ObjectDataObjectData.hasDirectoryEntry().
The caller has to close the corresponding POIFSFileSystemgetDirectory in interface ObjectDatajava.io.IOException - if there was an error reading the data.public java.lang.String getFileName()
getFileName in interface ObjectDataprotected XSSFSheet getSheet()
public XSSFPictureData getPictureData()
getPictureData in interface ObjectDataCopyright 2018 The Apache Software Foundation or its licensors, as applicable.