Package org.apache.poi.xslf.usermodel
Interface XSLFShapeContainer
- All Superinterfaces:
Iterable<XSLFShape>,ShapeContainer<XSLFShape,XSLFTextParagraph>
- All Known Implementing Classes:
XSLFDiagram.XSLFDiagramGroupShape,XSLFGroupShape,XSLFNotes,XSLFNotesMaster,XSLFSheet,XSLFSlide,XSLFSlideLayout,XSLFSlideMaster
Common interface for shape containers, e.g. sheets or groups of shapes
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all of the elements from this container (optional operation).createPicture(PictureData pictureData) Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.poi.sl.usermodel.ShapeContainer
addShape, createOleShape, createTable, getShapes, removeShape
-
Method Details
-
createAutoShape
XSLFAutoShape createAutoShape()- Specified by:
createAutoShapein interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
createFreeform
XSLFFreeformShape createFreeform()- Specified by:
createFreeformin interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
createTextBox
XSLFTextBox createTextBox()- Specified by:
createTextBoxin interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
createConnector
XSLFConnectorShape createConnector()- Specified by:
createConnectorin interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
createGroup
XSLFGroupShape createGroup()- Specified by:
createGroupin interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
createPicture
- Specified by:
createPicturein interfaceShapeContainer<XSLFShape,XSLFTextParagraph>
-
clear
void clear()Removes all of the elements from this container (optional operation). The container will be empty after this call returns.
-