| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private final List | |
| private int | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherDggRecord. | Returns: the newFileIdClusterid of the drawing group (stored in the record options) dgId, int initial value of the numShapedUsed field numShapedUsed)Add a new cluster |
| public EscherDggRecord. | Returns: the newFileIdClusterid of the drawing group (stored in the record options) dgId, int initial value of the numShapedUsed field numShapedUsed, boolean if true then sort clusters by drawing group id.(
In Excel the clusters are sorted but in PPT they are not) sort)Add a new cluster |
| public int | Returns: a new shape id.the EscherDgRecord which receives the new shape dg, boolean if true then sort clusters by drawing group id.(
In Excel the clusters are sorted but in PPT they are not) sort)Allocates new shape id for the drawing group |
| public EscherDggRecord | copy()
Implements abstract org. Implements org.
|
| public int | fillFields(byte[]
The byte array containing the serialized escher
records. data, int The offset into the byte array. offset, EscherRecordFactory A factory for creating new escher records. recordFactory)Implements abstract org. The contract of this method is to deserialize an escher record including its children. |
| public short | Returns: the next available drawing group idFinds the next available (1 based) drawing group id |
| public int | |
| public EscherDggRecord. | |
| public Map | |
| public Enum | |
| public int | |
| public int | |
| public int | |
| public short | |
| public String | getRecordName()
Implements abstract org. Subclasses should return the short name for this escher record. |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public int | |
| public int | serialize(int
the offset within the byte array offset, byte[] the data array to serialize to data, EscherSerializationListener a listener for begin and end serialization events. This
is useful because the serialization is
hierarchical/recursive and sometimes you need to be able
break into that. listener)Implements abstract org. Serializes the record to an existing byte array. |
| public void | |
| public void | setFileIdClusters(EscherDggRecord.
the file id clusters fileIdClustersSets the file id clusters |
| public void | |
| public void | setShapeIdMax(int
the next available shape id shapeIdMax)The maximum is actually the next available shape id. |
| private void |
| field_1_shapeIdMax | back to summary |
|---|---|
| private int field_1_shapeIdMax | |
| field_3_numShapesSaved | back to summary |
|---|---|
| private int field_3_numShapesSaved | |
| field_4_drawingsSaved | back to summary |
|---|---|
| private int field_4_drawingsSaved | |
| field_5_fileIdClusters | back to summary |
|---|---|
| private final List<EscherDggRecord. | |
| maxDgId | back to summary |
|---|---|
| private int maxDgId | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| EscherDggRecord | back to summary |
|---|---|
| public EscherDggRecord() | |
| EscherDggRecord | back to summary |
|---|---|
| public EscherDggRecord(EscherDggRecord other) | |
| addCluster | back to summary |
|---|---|
| public EscherDggRecord. Add a new cluster
| |
| addCluster | back to summary |
|---|---|
| public EscherDggRecord. Add a new cluster
| |
| allocateShapeId | back to summary |
|---|---|
| public int allocateShapeId(EscherDgRecord dg, boolean sort) Allocates new shape id for the drawing group
| |
| copy | back to summary |
|---|---|
| public EscherDggRecord copy() Implements abstract org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Implements abstract org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| findNewDrawingGroupId | back to summary |
|---|---|
| public short findNewDrawingGroupId() Finds the next available (1 based) drawing group id
| |
| getDrawingsSaved | back to summary |
|---|---|
| public int getDrawingsSaved() Gets the number of drawings saved
| |
| getFileIdClusters | back to summary |
|---|---|
public EscherDggRecord.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getMaxDrawingGroupId | back to summary |
|---|---|
| public int getMaxDrawingGroupId() Gets the maximum drawing group ID
| |
| getNumIdClusters | back to summary |
|---|---|
| public int getNumIdClusters() Number of id clusters + 1
| |
| getNumShapesSaved | back to summary |
|---|---|
| public int getNumShapesSaved() Gets the number of shapes saved
| |
| getRecordId | back to summary |
|---|---|
| public short getRecordId() Overrides org. Doc from org. Return the current record id.
| |
| getRecordName | back to summary |
|---|---|
| public String getRecordName() Implements abstract org. Doc from org. Subclasses should return the short name for this escher record. | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| getShapeIdMax | back to summary |
|---|---|
| public int getShapeIdMax() Gets the next available shape id
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Implements abstract org. Doc from org. Serializes the record to an existing byte array.
| |
| setDrawingsSaved | back to summary |
|---|---|
| public void setDrawingsSaved(int drawingsSaved) Sets the number of drawings saved
| |
| setFileIdClusters | back to summary |
|---|---|
| public void setFileIdClusters(EscherDggRecord. Sets the file id clusters
| |
| setNumShapesSaved | back to summary |
|---|---|
| public void setNumShapesSaved(int numShapesSaved) Sets the number of shapes saved
| |
| setShapeIdMax | back to summary |
|---|---|
| public void setShapeIdMax(int shapeIdMax) The maximum is actually the next available shape id.
| |
| sortCluster | back to summary |
|---|---|
| private void sortCluster() | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public int | |
| public Map | |
| public int | |
| private void |
| field_1_drawingGroupId | back to summary |
|---|---|
| private int field_1_drawingGroupId | |
| field_2_numShapeIdsUsed | back to summary |
|---|---|
| private int field_2_numShapeIdsUsed | |
| FileIdCluster | back to summary |
|---|---|
| public FileIdCluster(EscherDggRecord. | |
| FileIdCluster | back to summary |
|---|---|
| public FileIdCluster(int drawingGroupId, int numShapeIdsUsed) | |
| compareFileIdCluster | back to summary |
|---|---|
| private static int compareFileIdCluster(EscherDggRecord. | |
| getDrawingGroupId | back to summary |
|---|---|
| public int getDrawingGroupId() | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getNumShapeIdsUsed | back to summary |
|---|---|
| public int getNumShapeIdsUsed() | |
| incrementUsedShapeId | back to summary |
|---|---|
| private void incrementUsedShapeId() | |