public final class XSSFShapeGroup extends XSSFShape implements ShapeContainer<XSSFShape>
Modifier | Constructor and Description |
---|---|
protected |
XSSFShapeGroup(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape ctGroup)
Construct a new XSSFSimpleShape object.
(构造一个新的 XSSFSimpleShape 对象。)
|
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.
(构造一个文本框。)
|
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape |
getCTGroupShape() |
java.lang.String |
getShapeName() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
(返回具有形状属性的 xml bean。)
|
java.util.Iterator<XSSFShape> |
iterator() |
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.
(设置该组的坐标空间。)
|
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
protected XSSFShapeGroup(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGroupShape ctGroup)
drawing
- the XSSFDrawing that owns this shape
(绘图 - 拥有此形状的 XSSFDrawing)
ctGroup
- the XML bean that stores this group content
(ctGroup - 存储此组内容的 XML bean)
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()
.
(pictureIndex - 图片工作簿集合 XSSFWorkbook.getAllPictures() 中图片的索引。)
public XSSFShapeGroup createGroup(XSSFChildAnchor anchor)
anchor
- the client anchor describes how this group is attached to the group.
(锚点 - 客户端锚点描述了该组如何附加到该组。)
@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
(XSSFShape 类中的 getShapeProperties)
public java.util.Iterator<XSSFShape> iterator()
iterator
in interface
java.lang.Iterable<XSSFShape>
(接口 java.lang.Iterable 中的迭代器
public java.lang.String getShapeName()
getShapeName
in interface
Shape
(接口 Shape 中的 getShapeName)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.