java.lang.Iterable<XSLFShape>
XSLFGroupShape
, XSLFNotes
, XSLFNotesMaster
, XSLFSheet
, XSLFSlide
, XSLFSlideLayout
, XSLFSlideMaster
public interface XSLFShapeContainer extends java.lang.Iterable<XSLFShape>
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Removes all of the elements from this container (optional operation).
|
XSLFAutoShape |
createAutoShape() |
create a new shape with a predefined geometry and add it to this shape container
|
XSLFConnectorShape |
createConnector() |
create a connector
|
XSLFFreeformShape |
createFreeform() |
create a new shape with a custom geometry
|
XSLFGroupShape |
createGroup() |
create a group of shapes belonging to this container
|
XSLFPictureShape |
createPicture(int pictureIndex) |
create a picture belonging to this container
|
XSLFTextBox |
createTextBox() |
create a text box
|
XSLFShape[] |
getShapes() |
Returns an array containing all of the elements in this container in proper
sequence (from first to last element).
|
boolean |
removeShape(XSLFShape xShape) |
Removes the specified shape from this sheet, if it is present
(optional operation).
|
XSLFAutoShape createAutoShape()
XSLFFreeformShape createFreeform()
XSLFTextBox createTextBox()
XSLFConnectorShape createConnector()
XSLFGroupShape createGroup()
XSLFPictureShape createPicture(int pictureIndex)
XSLFShape[] getShapes()
boolean removeShape(XSLFShape xShape)
xShape
- shape to be removed from this sheet, if presentjava.lang.IllegalArgumentException
- if the type of the specified shape
is incompatible with this sheet (optional)void clear()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.