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,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape ctShape) |
Modifier and Type | Method and Description |
---|---|
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape |
getCTShape() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
|
int |
getShapeType()
Gets the shape type, one of the constants defined in
ShapeTypes . |
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.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, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape ctShape)
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTShape prototype()
@Internal public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.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 org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
XSSFShape
getShapeProperties
in class XSSFShape
public void setText(XSSFRichTextString str)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.