org.apache.poi.xssf.usermodel
public class XSSFSimpleShape extends XSSFShape
ShapeTypes
anchor, 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, setNoFill
protected XSSFSimpleShape(XSSFDrawing drawing, CTShape ctShape)
protected static CTShape prototype()
@Internal public CTShape getCTShape()
public int getShapeType()
ShapeTypes
.ShapeTypes
public void setShapeType(int type)
type
- the shape type, one of the constants defined in ShapeTypes
.ShapeTypes
protected CTShapeProperties getShapeProperties()
XSSFShape
getShapeProperties
in class XSSFShape
public void setText(XSSFRichTextString str)
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.