Package org.apache.poi.hslf.usermodel
Interface HSLFShapeContainer
- All Superinterfaces:
Iterable<HSLFShape>,ShapeContainer<HSLFShape,HSLFTextParagraph>
- All Known Implementing Classes:
HSLFGroupShape,HSLFMasterSheet,HSLFNotes,HSLFSheet,HSLFSlide,HSLFSlideMaster,HSLFTable,HSLFTitleMaster
Common interface for shape containers, e.g. sheets or groups of shapes
-
Method Summary
Modifier and TypeMethodDescriptioncreate a new shape with a predefined geometry and add it to this shape containercreate a connectorcreate a new shape with a custom geometrycreate a group of shapes belonging to this containercreateOleShape(PictureData pictureData) Create a new OLE object shape with the given pictureData as preview imagecreatePicture(PictureData pictureData) create a picture belonging to this containercreate a text boxMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.poi.sl.usermodel.ShapeContainer
addShape, createTable, getShapes, removeShape
-
Method Details
-
createAutoShape
HSLFAutoShape createAutoShape()Description copied from interface:ShapeContainercreate a new shape with a predefined geometry and add it to this shape container- Specified by:
createAutoShapein interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createFreeform
HSLFFreeformShape createFreeform()Description copied from interface:ShapeContainercreate a new shape with a custom geometry- Specified by:
createFreeformin interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createTextBox
HSLFTextBox createTextBox()Description copied from interface:ShapeContainercreate a text box- Specified by:
createTextBoxin interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createConnector
HSLFConnectorShape createConnector()Description copied from interface:ShapeContainercreate a connector- Specified by:
createConnectorin interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createGroup
HSLFGroupShape createGroup()Description copied from interface:ShapeContainercreate a group of shapes belonging to this container- Specified by:
createGroupin interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createPicture
Description copied from interface:ShapeContainercreate a picture belonging to this container- Specified by:
createPicturein interfaceShapeContainer<HSLFShape,HSLFTextParagraph>
-
createOleShape
Description copied from interface:ShapeContainerCreate a new OLE object shape with the given pictureData as preview image- Specified by:
createOleShapein interfaceShapeContainer<HSLFShape,HSLFTextParagraph> - Parameters:
pictureData- the preview image
-