public class DrawingManager2
extends java.lang.Object
Constructor and Description |
---|
DrawingManager2(EscherDggRecord dgg) |
Modifier and Type | Method and Description |
---|---|
int |
allocateShapeId(short drawingGroupId)
Allocates new shape id for the new drawing group id.
|
int |
allocateShapeId(short drawingGroupId,
EscherDgRecord dg)
Allocates new shape id for the new drawing group id.
|
void |
clearDrawingGroups()
Clears the cached list of drawing groups
|
EscherDgRecord |
createDgRecord() |
short |
findNewDrawingGroupId()
Finds the next available (1 based) drawing group id
|
EscherDggRecord |
getDgg() |
void |
incrementDrawingsSaved() |
public DrawingManager2(EscherDggRecord dgg)
public void clearDrawingGroups()
public EscherDgRecord createDgRecord()
public int allocateShapeId(short drawingGroupId)
public int allocateShapeId(short drawingGroupId, EscherDgRecord dg)
public short findNewDrawingGroupId()
public EscherDggRecord getDgg()
public void incrementDrawingsSaved()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.