public class DrawingManager2
extends java.lang.Object
Constructor and Description |
---|
DrawingManager2(EscherDggRecord dgg) |
Modifier and Type | Method and Description |
---|---|
int |
allocateShapeId(EscherDgRecord dg)
Allocates new shape id for the drawing group
|
int |
allocateShapeId(short drawingGroupId)
Deprecated.
in POI 3.17-beta2, use allocateShapeId(EscherDgRecord)
|
int |
allocateShapeId(short drawingGroupId,
EscherDgRecord dg)
Deprecated.
in POI 3.17-beta2, use allocateShapeId(EscherDgRecord)
|
void |
clearDrawingGroups()
Clears the cached list of drawing groups
|
EscherDgRecord |
createDgRecord()
Creates a new drawing group
|
short |
findNewDrawingGroupId()
Finds the next available (1 based) drawing group id
|
EscherDggRecord |
getDgg()
Returns the drawing group container record
|
void |
incrementDrawingsSaved()
Increment the drawing counter
|
public DrawingManager2(EscherDggRecord dgg)
public void clearDrawingGroups()
public EscherDgRecord createDgRecord()
@Deprecated @Removal(version="4.0") public int allocateShapeId(short drawingGroupId)
drawingGroupId
- the drawing group id@Deprecated @Removal(version="4.0") public int allocateShapeId(short drawingGroupId, EscherDgRecord dg)
drawingGroupId
- the drawing group iddg
- the EscherDgRecord which receives the new shapepublic int allocateShapeId(EscherDgRecord dg)
dg
- the EscherDgRecord which receives the new shapepublic short findNewDrawingGroupId()
public EscherDggRecord getDgg()
public void incrementDrawingsSaved()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.