public class HSSFSimpleShape extends HSSFShape implements SimpleShape
Modifier and Type | Field and Description |
---|---|
static short |
OBJECT_TYPE_ARC |
static short |
OBJECT_TYPE_COMBO_BOX |
static short |
OBJECT_TYPE_COMMENT |
static short |
OBJECT_TYPE_LINE |
static short |
OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING |
static short |
OBJECT_TYPE_OVAL |
static short |
OBJECT_TYPE_PICTURE |
static short |
OBJECT_TYPE_RECTANGLE |
static int |
WRAP_BY_POINTS |
static int |
WRAP_NONE |
static int |
WRAP_SQUARE |
FILL__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 |
---|
HSSFSimpleShape(EscherContainerRecord spContainer,
ObjRecord objRecord) |
HSSFSimpleShape(EscherContainerRecord spContainer,
ObjRecord objRecord,
TextObjectRecord textObjectRecord) |
HSSFSimpleShape(HSSFShape parent,
HSSFAnchor anchor) |
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 TextObjectRecord |
createTextObjRecord() |
int |
getShapeId() |
int |
getShapeType()
Gets the shape type.
|
HSSFRichTextString |
getString() |
protected TextObjectRecord |
getTextObjectRecord() |
int |
getWrapText() |
void |
setShapeType(int value) |
void |
setString(RichTextString string) |
void |
setWrapText(int value) |
countOfAllChildren, 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, setRotationDegree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFill
public static final short OBJECT_TYPE_LINE
public static final short OBJECT_TYPE_RECTANGLE
public static final short OBJECT_TYPE_OVAL
public static final short OBJECT_TYPE_ARC
public static final short OBJECT_TYPE_PICTURE
public static final short OBJECT_TYPE_COMBO_BOX
public static final short OBJECT_TYPE_COMMENT
public static final short OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING
public static final int WRAP_SQUARE
public static final int WRAP_BY_POINTS
public static final int WRAP_NONE
public HSSFSimpleShape(EscherContainerRecord spContainer, ObjRecord objRecord, TextObjectRecord textObjectRecord)
public HSSFSimpleShape(EscherContainerRecord spContainer, ObjRecord objRecord)
public HSSFSimpleShape(HSSFShape parent, HSSFAnchor anchor)
protected TextObjectRecord getTextObjectRecord()
protected TextObjectRecord createTextObjRecord()
protected EscherContainerRecord createSpContainer()
createSpContainer
in class HSSFShape
protected ObjRecord createObjRecord()
createObjRecord
in class HSSFShape
protected void afterRemove(HSSFPatriarch patriarch)
HSSFShape
afterRemove
in class HSSFShape
public HSSFRichTextString getString()
public void setString(RichTextString string)
string
- Sets the rich text string used by this object.protected HSSFShape cloneShape()
cloneShape
in class HSSFShape
public int getShapeType()
OBJECT_TYPE_LINE
,
OBJECT_TYPE_OVAL
,
OBJECT_TYPE_RECTANGLE
,
OBJECT_TYPE_PICTURE
,
OBJECT_TYPE_COMMENT
public int getWrapText()
public void setWrapText(int value)
public void setShapeType(int value)
value
- - shapeTypeHSSFShapeTypes
public int getShapeId()
getShapeId
in interface SimpleShape
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.