Package org.apache.poi.hslf.usermodel
Class HSLFShapeFactory
- java.lang.Object
-
- org.apache.poi.hslf.usermodel.HSLFShapeFactory
-
public final class HSLFShapeFactory extends java.lang.Object
Create aShape
object depending on its type- Author:
- Yegor Kozlov
-
-
Constructor Summary
Constructors Constructor Description HSLFShapeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
logger
protected static final POILogger logger
-
-
Method Detail
-
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)
-
-