org.apache.poi.hssf.model
Class DrawingManager2
- java.lang.Object
-
- org.apache.poi.hssf.model.DrawingManager2
-
public class DrawingManager2 extends java.lang.ObjectProvides utilities to manage drawing groups.
-
-
Constructor Summary
Constructors Constructor and Description DrawingManager2(EscherDggRecord dgg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intallocateShapeId(short drawingGroupId)Allocates new shape id for the new drawing group id.intallocateShapeId(short drawingGroupId, EscherDgRecord dg)Allocates new shape id for the new drawing group id.voidclearDrawingGroups()Clears the cached list of drawing groupsEscherDgRecordcreateDgRecord()shortfindNewDrawingGroupId()Finds the next available (1 based) drawing group idEscherDggRecordgetDgg()voidincrementDrawingsSaved()
-
-
-
Constructor Detail
-
DrawingManager2
public DrawingManager2(EscherDggRecord dgg)
-
-
Method Detail
-
clearDrawingGroups
public void clearDrawingGroups()
Clears the cached list of drawing groups
-
createDgRecord
public EscherDgRecord createDgRecord()
-
allocateShapeId
public int allocateShapeId(short drawingGroupId)
Allocates new shape id for the new drawing group id.- Returns:
- a new shape id.
-
allocateShapeId
public int allocateShapeId(short drawingGroupId, EscherDgRecord dg)Allocates new shape id for the new drawing group id.- Returns:
- a new shape id.
-
findNewDrawingGroupId
public short findNewDrawingGroupId()
Finds the next available (1 based) drawing group id
-
getDgg
public EscherDggRecord getDgg()
-
incrementDrawingsSaved
public void incrementDrawingsSaved()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG