org.apache.poi.xssf.usermodel
public final class XSSFShapeGroup extends XSSFShape
anchor, drawing, EMU_PER_PIXEL, EMU_PER_POINT, parent, PIXEL_DPI, POINT_DPI
Modifier | Constructor and Description |
---|---|
protected |
XSSFShapeGroup(XSSFDrawing drawing,
CTGroupShape ctGroup)
Construct a new XSSFSimpleShape object.
|
Modifier and Type | Method and Description |
---|---|
XSSFConnector |
createConnector(XSSFChildAnchor anchor)
Creates a simple shape.
|
XSSFPicture |
createPicture(XSSFClientAnchor anchor,
int pictureIndex)
Creates a picture.
|
XSSFSimpleShape |
createSimpleShape(XSSFChildAnchor anchor)
Creates a simple shape.
|
XSSFTextBox |
createTextbox(XSSFChildAnchor anchor)
Constructs a textbox.
|
CTGroupShape |
getCTGroupShape() |
protected CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
|
protected static CTGroupShape |
prototype()
Initialize default structure of a new shape group
|
void |
setCoordinates(int x1,
int y1,
int x2,
int y2)
Sets the coordinate space of this group.
|
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
protected XSSFShapeGroup(XSSFDrawing drawing, CTGroupShape ctGroup)
drawing
- the XSSFDrawing that owns this shapectGroup
- the XML bean that stores this group contentprotected static CTGroupShape prototype()
public XSSFTextBox createTextbox(XSSFChildAnchor anchor)
anchor
- the child anchor describes how this shape is attached
to the group.public XSSFSimpleShape createSimpleShape(XSSFChildAnchor anchor)
anchor
- the child anchor describes how this shape is attached
to the group.public XSSFConnector createConnector(XSSFChildAnchor anchor)
anchor
- the child anchor describes how this shape is attached
to the group.public XSSFPicture createPicture(XSSFClientAnchor anchor, int pictureIndex)
anchor
- the client anchor describes how this picture is attached to the sheet.pictureIndex
- the index of the picture in the workbook collection of pictures,
XSSFWorkbook.getAllPictures()
.@Internal public CTGroupShape getCTGroupShape()
public void setCoordinates(int x1, int y1, int x2, int y2)
protected CTShapeProperties getShapeProperties()
XSSFShape
getShapeProperties
in class XSSFShape
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.