@Beta public class XSLFGroupShape extends XSLFShape implements XSLFShapeContainer, GroupShape<XSLFShape,XSLFTextParagraph>
XSLFShape.ReparseFactory<T extends org.apache.xmlbeans.XmlObject>| Modifier | Constructor and Description |
|---|---|
protected |
XSLFGroupShape(org.openxmlformats.schemas.presentationml.x2006.main.CTGroupShape shape,
XSLFSheet sheet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShape(XSLFShape shape) |
void |
clear()
Removes all of the elements from this container (optional operation).
|
XSLFAutoShape |
createAutoShape() |
XSLFConnectorShape |
createConnector() |
XSLFFreeformShape |
createFreeform() |
XSLFGroupShape |
createGroup() |
XSLFObjectShape |
createOleShape(PictureData pictureData) |
XSLFPictureShape |
createPicture(PictureData pictureData) |
XSLFTable |
createTable() |
XSLFTable |
createTable(int numRows,
int numCols) |
XSLFTextBox |
createTextBox() |
java.awt.geom.Rectangle2D |
getAnchor() |
boolean |
getFlipHorizontal() |
boolean |
getFlipVertical() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties |
getGrpSpPr() |
java.awt.geom.Rectangle2D |
getInteriorAnchor() |
double |
getRotation() |
java.util.List<XSLFShape> |
getShapes() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTGroupTransform2D |
getXfrm() |
java.util.Iterator<XSLFShape> |
iterator()
Returns an iterator over the shapes in this sheet
|
boolean |
removeShape(XSLFShape xShape)
Remove the specified shape from this group
|
void |
setAnchor(java.awt.geom.Rectangle2D anchor) |
void |
setFlipHorizontal(boolean flip) |
void |
setFlipVertical(boolean flip) |
void |
setInteriorAnchor(java.awt.geom.Rectangle2D anchor) |
void |
setRotation(double theta) |
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getFillPaint, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, isPlaceholder, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, selectProperty, setParent, setPlaceholderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getParent, getShapeId, getShapeName, getSheetgetParent, getSheetprotected XSLFGroupShape(org.openxmlformats.schemas.presentationml.x2006.main.CTGroupShape shape,
XSLFSheet sheet)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties getGrpSpPr()
getGrpSpPr in class XSLFShapeprotected org.openxmlformats.schemas.drawingml.x2006.main.CTGroupTransform2D getXfrm()
public java.awt.geom.Rectangle2D getAnchor()
getAnchor in interface PlaceableShape<XSLFShape,XSLFTextParagraph>getAnchor in interface Shape<XSLFShape,XSLFTextParagraph>public void setAnchor(java.awt.geom.Rectangle2D anchor)
setAnchor in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public java.awt.geom.Rectangle2D getInteriorAnchor()
getInteriorAnchor in interface GroupShape<XSLFShape,XSLFTextParagraph>public void setInteriorAnchor(java.awt.geom.Rectangle2D anchor)
setInteriorAnchor in interface GroupShape<XSLFShape,XSLFTextParagraph>anchor - the coordinates of the child extents rectangle
used for calculations of grouping, scaling, and rotation
behavior of shapes placed within a group.public java.util.List<XSLFShape> getShapes()
getShapes in interface ShapeContainer<XSLFShape,XSLFTextParagraph>public java.util.Iterator<XSLFShape> iterator()
iterator in interface java.lang.Iterable<XSLFShape>public boolean removeShape(XSLFShape xShape)
removeShape in interface ShapeContainer<XSLFShape,XSLFTextParagraph>public XSLFAutoShape createAutoShape()
createAutoShape in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createAutoShape in interface XSLFShapeContainerpublic XSLFFreeformShape createFreeform()
createFreeform in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createFreeform in interface XSLFShapeContainerpublic XSLFTextBox createTextBox()
createTextBox in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createTextBox in interface XSLFShapeContainerpublic XSLFConnectorShape createConnector()
createConnector in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createConnector in interface XSLFShapeContainerpublic XSLFGroupShape createGroup()
createGroup in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createGroup in interface XSLFShapeContainerpublic XSLFPictureShape createPicture(PictureData pictureData)
createPicture in interface ShapeContainer<XSLFShape,XSLFTextParagraph>createPicture in interface XSLFShapeContainerpublic XSLFObjectShape createOleShape(PictureData pictureData)
createOleShape in interface ShapeContainer<XSLFShape,XSLFTextParagraph>public XSLFTable createTable()
public XSLFTable createTable(int numRows, int numCols)
createTable in interface ShapeContainer<XSLFShape,XSLFTextParagraph>public void setFlipHorizontal(boolean flip)
setFlipHorizontal in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public void setFlipVertical(boolean flip)
setFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public boolean getFlipHorizontal()
getFlipHorizontal in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public boolean getFlipVertical()
getFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public void setRotation(double theta)
setRotation in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public double getRotation()
getRotation in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public void clear()
clear in interface XSLFShapeContainerpublic void addShape(XSLFShape shape)
addShape in interface ShapeContainer<XSLFShape,XSLFTextParagraph>