|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xssf.usermodel.XSSFShape org.apache.poi.xssf.usermodel.XSSFShapeGroup
public final class XSSFShapeGroup
This object specifies a group shape that represents many shapes grouped together. This shape is to be treated just as if it were a regular shape but instead of being described by a single geometry it is made up of all the shape geometries encompassed within it. Within a group shape each of the shapes that make up the group are specified just as they normally would.
Field Summary |
---|
Fields inherited from class org.apache.poi.xssf.usermodel.XSSFShape |
---|
anchor, drawing, EMU_PER_PIXEL, EMU_PER_POINT, parent, PIXEL_DPI, POINT_DPI |
Constructor Summary | |
---|---|
protected |
XSSFShapeGroup(XSSFDrawing drawing,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape ctGroup)
Construct a new XSSFSimpleShape object. |
Method Summary | |
---|---|
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. |
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape |
getCTGroupShape()
|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties. |
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.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. |
Methods inherited from class org.apache.poi.xssf.usermodel.XSSFShape |
---|
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XSSFShapeGroup(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape ctGroup)
drawing
- the XSSFDrawing that owns this shapectGroup
- the XML bean that stores this group contentMethod Detail |
---|
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.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 org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape getCTGroupShape()
public void setCoordinates(int x1, int y1, int x2, int y2)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
XSSFShape
getShapeProperties
in class XSSFShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |