public final class HSSFObjectData extends HSSFPicture implements ObjectData
Right now, 13, july, 2012 can not be created from scratch
OBJECT_TYPE_ARC, OBJECT_TYPE_COMBO_BOX, OBJECT_TYPE_COMMENT, OBJECT_TYPE_LINE, OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING, OBJECT_TYPE_OVAL, OBJECT_TYPE_PICTURE, OBJECT_TYPE_RECTANGLE, WRAP_BY_POINTS, WRAP_NONE, WRAP_SQUAREFILL__FILLCOLOR_DEFAULT, LINESTYLE__COLOR_DEFAULT, LINESTYLE_DASHDOTDOTSYS, LINESTYLE_DASHDOTGEL, LINESTYLE_DASHDOTSYS, LINESTYLE_DASHGEL, LINESTYLE_DASHSYS, LINESTYLE_DEFAULT, LINESTYLE_DOTGEL, LINESTYLE_DOTSYS, LINESTYLE_LONGDASHDOTDOTGEL, LINESTYLE_LONGDASHDOTGEL, LINESTYLE_LONGDASHGEL, LINESTYLE_NONE, LINESTYLE_SOLID, LINEWIDTH_DEFAULT, LINEWIDTH_ONE_PT, NO_FILL_DEFAULT, NO_FILLHITTEST_FALSE, NO_FILLHITTEST_TRUE| Constructor and Description |
|---|
HSSFObjectData(EscherContainerRecord spContainer,
ObjRecord objRecord,
DirectoryEntry _root) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterRemove(HSSFPatriarch patriarch)
remove escher container from the patriarch.escherAggregate
remove obj, textObj and note records if it's necessary
in case of ShapeGroup remove all contained shapes
|
protected HSSFShape |
cloneShape() |
protected ObjRecord |
createObjRecord() |
protected EscherContainerRecord |
createSpContainer() |
protected EmbeddedObjectRefSubRecord |
findObjectRecord()
Finds the EmbeddedObjectRefSubRecord, or throws an
Exception if there wasn't one
|
DirectoryEntry |
getDirectory()
Gets the object data.
|
byte[] |
getObjectData() |
java.lang.String |
getOLE2ClassName() |
boolean |
hasDirectoryEntry() |
getClientAnchor, getFileName, getImageDimension, getPictureData, getPictureIndex, getPreferredSize, getPreferredSize, getPreferredSize, getSheet, resize, resize, resize, setFileName, setPictureIndex, setShapeTypecreateTextObjRecord, getShapeId, getShapeType, getString, getTextObjectRecord, getWrapText, setString, setWrapTextcountOfAllChildren, getAnchor, getEscherContainer, getFillColor, getLineStyle, getLineStyleColor, getLineWidth, getObjRecord, getOptRecord, getParent, getPatriarch, getRotationDegree, getShapeName, isFlipHorizontal, isFlipVertical, isNoFill, setAnchor, setFillColor, setFillColor, setFlipHorizontal, setFlipVertical, setLineStyle, setLineStyleColor, setLineStyleColor, setLineWidth, setNoFill, setParent, setPatriarch, setPropertyValue, setRotationDegreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getFileName, getPictureDatagetShapeIdgetAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFillpublic HSSFObjectData(EscherContainerRecord spContainer, ObjRecord objRecord, DirectoryEntry _root)
public java.lang.String getOLE2ClassName()
getOLE2ClassName 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 byte[] getObjectData()
getObjectData in interface ObjectDatapublic boolean hasDirectoryEntry()
hasDirectoryEntry in interface ObjectDataprotected EmbeddedObjectRefSubRecord findObjectRecord()
protected EscherContainerRecord createSpContainer()
createSpContainer in class HSSFPictureprotected ObjRecord createObjRecord()
createObjRecord in class HSSFSimpleShapeprotected void afterRemove(HSSFPatriarch patriarch)
HSSFShapeafterRemove in class HSSFSimpleShapeprotected HSSFShape cloneShape()
cloneShape in class HSSFPictureCopyright 2022 The Apache Software Foundation or its licensors, as applicable.