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, 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
protected 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
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTOleObject getOleObject()
public byte[] getObjectData() throws java.io.IOException
getObjectData
in interface ObjectData
java.io.IOException
public PackagePart getObjectPart()
public boolean hasDirectoryEntry()
hasDirectoryEntry
in interface ObjectData
public DirectoryEntry getDirectory() throws java.io.IOException
ObjectData
ObjectData.hasDirectoryEntry()
.
The caller has to close the corresponding POIFSFileSystemgetDirectory
in interface ObjectData
java.io.IOException
- if there was an error reading the data.public java.lang.String getFileName()
getFileName
in interface ObjectData
protected XSSFSheet getSheet()
public XSSFPictureData getPictureData()
getPictureData
in interface ObjectData
public java.lang.String getContentType()
getContentType
in interface ObjectData
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.