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, spliterator
Methods inherited from interface org.apache.poi.sl.usermodel.ShapeContainer
addShape, createTable, getShapes, removeShape
-
Method Details
-
createAutoShape
HSLFAutoShape createAutoShape()Description copied from interface:ShapeContainer
create a new shape with a predefined geometry and add it to this shape container- Specified by:
createAutoShape
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createFreeform
HSLFFreeformShape createFreeform()Description copied from interface:ShapeContainer
create a new shape with a custom geometry- Specified by:
createFreeform
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createTextBox
HSLFTextBox createTextBox()Description copied from interface:ShapeContainer
create a text box- Specified by:
createTextBox
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createConnector
HSLFConnectorShape createConnector()Description copied from interface:ShapeContainer
create a connector- Specified by:
createConnector
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createGroup
HSLFGroupShape createGroup()Description copied from interface:ShapeContainer
create a group of shapes belonging to this container- Specified by:
createGroup
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createPicture
Description copied from interface:ShapeContainer
create a picture belonging to this container- Specified by:
createPicture
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph>
-
createOleShape
Description copied from interface:ShapeContainer
Create a new OLE object shape with the given pictureData as preview image- Specified by:
createOleShape
in interfaceShapeContainer<HSLFShape,
HSLFTextParagraph> - Parameters:
pictureData
- the preview image
-