| |
|
| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherSpRecord
EscherSpRecord | public class EscherSpRecord extends EscherRecord (Code) | | Together the the EscherOptRecord this record defines some of the basic
properties of a shape.
author: Glen Stampoultzis (glens at apache.org) |
Method Summary | |
public int | fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. | public int | getFlags() The flags that apply to this shape. | public short | getRecordId() | public String | getRecordName() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public int | getShapeId() | public int | serialize(int offset, byte[] data, EscherSerializationListener listener) This method serializes this escher record into a byte array.
Parameters: offset - The offset into data to start writing the record data to. Parameters: data - The byte array to serialize to. Parameters: listener - A listener to retrieve start and end callbacks. | public void | setFlags(int field_2_flags) The flags that apply to this shape. | public void | setShapeId(int field_1_shapeId) Sets a number that identifies this shape. | public String | toString() |
FLAG_BACKGROUND | final public static int FLAG_BACKGROUND(Code) | | |
FLAG_CHILD | final public static int FLAG_CHILD(Code) | | |
FLAG_CONNECTOR | final public static int FLAG_CONNECTOR(Code) | | |
FLAG_DELETED | final public static int FLAG_DELETED(Code) | | |
FLAG_FLIPHORIZ | final public static int FLAG_FLIPHORIZ(Code) | | |
FLAG_FLIPVERT | final public static int FLAG_FLIPVERT(Code) | | |
FLAG_GROUP | final public static int FLAG_GROUP(Code) | | |
FLAG_HASSHAPETYPE | final public static int FLAG_HASSHAPETYPE(Code) | | |
FLAG_HAVEANCHOR | final public static int FLAG_HAVEANCHOR(Code) | | |
FLAG_HAVEMASTER | final public static int FLAG_HAVEMASTER(Code) | | |
FLAG_OLESHAPE | final public static int FLAG_OLESHAPE(Code) | | |
FLAG_PATRIARCH | final public static int FLAG_PATRIARCH(Code) | | |
RECORD_DESCRIPTION | final public static String RECORD_DESCRIPTION(Code) | | |
RECORD_ID | final public static short RECORD_ID(Code) | | |
fillFields | public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory)(Code) | | This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. The number of bytes read from the byte array. |
getRecordId | public short getRecordId()(Code) | | the 16 bit identifier for this record. |
getRecordName | public String getRecordName()(Code) | | The short name for this record
|
getRecordSize | public int getRecordSize()(Code) | | Returns the number of bytes that are required to serialize this record.
Number of bytes |
getShapeId | public int getShapeId()(Code) | | A number that identifies this shape |
serialize | public int serialize(int offset, byte[] data, EscherSerializationListener listener)(Code) | | This method serializes this escher record into a byte array.
Parameters: offset - The offset into data to start writing the record data to. Parameters: data - The byte array to serialize to. Parameters: listener - A listener to retrieve start and end callbacks. Use a NullEscherSerailizationListener to ignore these events. The number of bytes written. See Also: NullEscherSerializationListener |
setShapeId | public void setShapeId(int field_1_shapeId)(Code) | | Sets a number that identifies this shape.
|
toString | public String toString()(Code) | | the string representing this shape. |
|
|
|