Package org.apache.poi.hslf.usermodel
Class HSLFShapeFactory
java.lang.Object
org.apache.poi.hslf.usermodel.HSLFShapeFactory
Create a
Shape
object depending on its type- Author:
- Yegor Kozlov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HSLFShape
createShape
(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) Create a new shape from the data provided.static HSLFGroupShape
createShapeGroup
(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) static HSLFShape
createSimpleShape
(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) protected static <T extends Record>
TgetClientDataRecord
(EscherContainerRecord spContainer, int recordType)
-
Field Details
-
logger
-
-
Constructor Details
-
HSLFShapeFactory
public HSLFShapeFactory()
-
-
Method Details
-
createShape
public static HSLFShape createShape(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) Create a new shape from the data provided. -
createShapeGroup
public static HSLFGroupShape createShapeGroup(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) -
createSimpleShape
public static HSLFShape createSimpleShape(EscherContainerRecord spContainer, ShapeContainer<HSLFShape, HSLFTextParagraph> parent) -
getClientDataRecord
protected static <T extends Record> T getClientDataRecord(EscherContainerRecord spContainer, int recordType)
-