public interface XSLFShapeContainer extends Iterable<XSLFShape>
Modifier and Type | Method and 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).
|
forEach, iterator, spliterator
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 presentIllegalArgumentException
- if the type of the specified shape
is incompatible with this sheet (optional)void clear()
Copyright © 2020. All rights reserved.