org.apache.poi.xssf.usermodel
public class XSSFSimpleShape extends XSSFShape
ShapeTypesanchor, drawing, EMU_PER_PIXEL, EMU_PER_POINT, parent, PIXEL_DPI, POINT_DPI| Modifier | Constructor and Description |
|---|---|
protected |
XSSFSimpleShape(XSSFDrawing drawing,
CTShape ctShape) |
| Modifier and Type | Method and Description |
|---|---|
CTShape |
getCTShape() |
protected CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
|
int |
getShapeType()
Gets the shape type, one of the constants defined in
ShapeTypes. |
protected static CTShape |
prototype()
Prototype with the default structure of a new auto-shape.
|
void |
setShapeType(int type)
Sets the shape types.
|
void |
setText(XSSFRichTextString str) |
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFillprotected XSSFSimpleShape(XSSFDrawing drawing, CTShape ctShape)
protected static CTShape prototype()
@Internal public CTShape getCTShape()
public int getShapeType()
ShapeTypes.ShapeTypespublic void setShapeType(int type)
type - the shape type, one of the constants defined in ShapeTypes.ShapeTypesprotected CTShapeProperties getShapeProperties()
XSSFShapegetShapeProperties in class XSSFShapepublic void setText(XSSFRichTextString str)
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.