public final class XSSFShapeGroup extends XSSFShape implements ShapeContainer<XSSFShape>
Modifier and Type | Method and Description |
---|---|
XSSFConnector |
createConnector(XSSFChildAnchor anchor)
Creates a simple shape.
|
XSSFShapeGroup |
createGroup(XSSFChildAnchor anchor)
Creates a group 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() |
String |
getShapeName() |
Iterator<XSSFShape> |
iterator() |
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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()
.public XSSFShapeGroup createGroup(XSSFChildAnchor anchor)
anchor
- the client anchor describes how this group is attached to the group.@Internal public CTGroupShape getCTGroupShape()
public void setCoordinates(int x1, int y1, int x2, int y2)
public String getShapeName()
getShapeName
in interface Shape
Copyright © 2010 - 2020 Adobe. All Rights Reserved