OfficeArtClientAnchor by [MS-PPT] - v20210216.
EscherChildAnchorRecord
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private short | field_1_flag
bit[0] - fMove (1 bit): A bit that specifies whether the shape will be kept intact when the cells are moved. |
| private short | |
| private short | |
| private short | |
| private short | |
| private short | |
| private short | |
| private short | |
| private short | |
| private static int | |
| public static final short | |
| private byte[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherClientAnchorRecord | 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 column number of the top-left cornerThe column number for the top-left position. |
| public short | Returns: the column of the bottom right cornerThe column of the bottom right corner of this shape. |
| public short | |
| public short | Returns: the x offset of the bottom-right cornerThe x offset withing the cell for the bottom-right corner of this shape. |
| public short | Returns: the y offset of the top-left cornerThe y offset within the top-left corner of the current shape. |
| public short | Returns: the y offset of the bottom-right cornerThe y offset withing the cell for the bottom-right corner of this shape. |
| public short | Returns: the move/size flag0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells. |
| public Map | |
| public Enum | |
| public static 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 byte[] | |
| public short | Returns: the row number of the top-left cornerThe row number for the top-left corner of the shape. |
| public short | Returns: the row number for the bottom-right cornerThe row number for the bottom-right corner of the current shape. |
| 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 | setCol1(short
the column number of the top-left corner field_2_col1)The column number for the top-left position. |
| public void | setCol2(short
the column of the bottom right corner field_6_col2)The column of the bottom right corner of this shape. |
| public void | |
| public void | setDx2(short
the x offset of the bottom-right corner field_7_dx2)The x offset withing the cell for the bottom-right corner of this shape. |
| public void | setDy1(short
the y offset of the top-left corner field_5_dy1)The y offset within the top-left corner of the current shape. |
| public void | setDy2(short
the y offset of the bottom-right corner field_9_dy2)The y offset withing the cell for the bottom-right corner of this shape. |
| public void | setFlag(short
the move/size flag field_1_flag)0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells. |
| public static void | |
| public void | |
| public void | setRow1(short
the row number of the top-left corner field_4_row1)The row number of the top-left corner of the shape. |
| public void | setRow2(short
the row number for the bottom-right corner field_8_row2)The row number for the bottom-right corner of the current shape. |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH | |
| field_1_flag | back to summary |
|---|---|
| private short field_1_flag bit[0] - fMove (1 bit): A bit that specifies whether the shape will be kept intact when the cells are moved. bit[1] - fSize (1 bit): A bit that specifies whether the shape will be kept intact when the cells are resized. If fMove is 1, the value MUST be 1. bit[2-4] - reserved, MUST be 0 and MUST be ignored bit[5-15]- Undefined and MUST be ignored. it can take values: 0, 2, 3 | |
| field_2_col1 | back to summary |
|---|---|
| private short field_2_col1 | |
| field_3_dx1 | back to summary |
|---|---|
| private short field_3_dx1 | |
| field_4_row1 | back to summary |
|---|---|
| private short field_4_row1 | |
| field_5_dy1 | back to summary |
|---|---|
| private short field_5_dy1 | |
| field_6_col2 | back to summary |
|---|---|
| private short field_6_col2 | |
| field_7_dx2 | back to summary |
|---|---|
| private short field_7_dx2 | |
| field_8_row2 | back to summary |
|---|---|
| private short field_8_row2 | |
| field_9_dy2 | back to summary |
|---|---|
| private short field_9_dy2 | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| remainingData | back to summary |
|---|---|
| private byte[] remainingData | |
| shortRecord | back to summary |
|---|---|
| private boolean shortRecord | |
| EscherClientAnchorRecord | back to summary |
|---|---|
| public EscherClientAnchorRecord() | |
| EscherClientAnchorRecord | back to summary |
|---|---|
| public EscherClientAnchorRecord(EscherClientAnchorRecord other) | |
| copy | back to summary |
|---|---|
| public EscherClientAnchorRecord 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.
| |
| getCol1 | back to summary |
|---|---|
| public short getCol1() The column number for the top-left position. 0 based.
| |
| getCol2 | back to summary |
|---|---|
| public short getCol2() The column of the bottom right corner of this shape.
| |
| getDx1 | back to summary |
|---|---|
| public short getDx1() The x offset within the top-left cell. Range is from 0 to 1023.
| |
| getDx2 | back to summary |
|---|---|
| public short getDx2() The x offset withing the cell for the bottom-right corner of this shape.
| |
| getDy1 | back to summary |
|---|---|
| public short getDy1() The y offset within the top-left corner of the current shape.
| |
| getDy2 | back to summary |
|---|---|
| public short getDy2() The y offset withing the cell for the bottom-right corner of this shape.
| |
| getFlag | back to summary |
|---|---|
| public short getFlag() 0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getMaxRecordLength | back to summary |
|---|---|
public static int getMaxRecordLength()
| |
| 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.
| |
| getRemainingData | back to summary |
|---|---|
| public byte[] getRemainingData() Any remaining data in the record
| |
| getRow1 | back to summary |
|---|---|
| public short getRow1() The row number for the top-left corner of the shape.
| |
| getRow2 | back to summary |
|---|---|
| public short getRow2() The row number for the bottom-right corner of the current shape.
| |
| 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.
| |
| setCol1 | back to summary |
|---|---|
| public void setCol1(short field_2_col1) The column number for the top-left position. 0 based.
| |
| setCol2 | back to summary |
|---|---|
| public void setCol2(short field_6_col2) The column of the bottom right corner of this shape.
| |
| setDx1 | back to summary |
|---|---|
| public void setDx1(short field_3_dx1) The x offset within the top-left cell. Range is from 0 to 1023.
| |
| setDx2 | back to summary |
|---|---|
| public void setDx2(short field_7_dx2) The x offset withing the cell for the bottom-right corner of this shape.
| |
| setDy1 | back to summary |
|---|---|
| public void setDy1(short field_5_dy1) The y offset within the top-left corner of the current shape.
| |
| setDy2 | back to summary |
|---|---|
| public void setDy2(short field_9_dy2) The y offset withing the cell for the bottom-right corner of this shape.
| |
| setFlag | back to summary |
|---|---|
| public void setFlag(short field_1_flag) 0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |
| setRemainingData | back to summary |
|---|---|
| public void setRemainingData(byte[] remainingData) Any remaining data in the record
| |
| setRow1 | back to summary |
|---|---|
| public void setRow1(short field_4_row1) The row number of the top-left corner of the shape.
| |
| setRow2 | back to summary |
|---|---|
| public void setRow2(short field_8_row2) The row number for the bottom-right corner of the current shape.
| |