EscherBlipRecord and stores
extra information about the blip. A blip record is actually stored inside
the BSE record even though the BSE record isn't actually a container record.
EscherBlipRecord
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private static final int | |
| private byte | |
| private byte | |
| private EscherBlipRecord | |
| private byte | |
| private byte | |
| private final byte[] | |
| private short | |
| private int | |
| private int | |
| private int | |
| private byte | |
| private byte | |
| private static int | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherBSERecord | 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 EscherBlipRecord | |
| public byte | Returns: MacOS blip typeThe expected blip type under MacOS (failure to match this blip type will result in Excel converting to this format). |
| public byte | Returns: win32 blip typeThe expected blip type under windows (failure to match this blip type will result in Excel converting to this format). |
| public Map | |
| public Enum | |
| public static int | |
| public byte | |
| public int | |
| public PictureData. | |
| public PictureData. | |
| 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 byte[] | |
| public int | |
| public short | |
| public byte[] | |
| public byte | |
| public byte | |
| public byte | |
| 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 | |
| public void | |
| public static void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| _remainingData | back to summary |
|---|---|
| private byte[] _remainingData | |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH | |
| field_10_unused2 | back to summary |
|---|---|
| private byte field_10_unused2 | |
| field_11_unused3 | back to summary |
|---|---|
| private byte field_11_unused3 | |
| field_12_blipRecord | back to summary |
|---|---|
| private EscherBlipRecord field_12_blipRecord | |
| field_1_blipTypeWin32 | back to summary |
|---|---|
| private byte field_1_blipTypeWin32 | |
| field_2_blipTypeMacOS | back to summary |
|---|---|
| private byte field_2_blipTypeMacOS | |
| field_3_uid | back to summary |
|---|---|
| private final byte[] field_3_uid | |
| field_4_tag | back to summary |
|---|---|
| private short field_4_tag | |
| field_5_size | back to summary |
|---|---|
| private int field_5_size | |
| field_6_ref | back to summary |
|---|---|
| private int field_6_ref | |
| field_7_offset | back to summary |
|---|---|
| private int field_7_offset | |
| field_8_usage | back to summary |
|---|---|
| private byte field_8_usage | |
| field_9_name | back to summary |
|---|---|
| private byte field_9_name | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| EscherBSERecord | back to summary |
|---|---|
| public EscherBSERecord() | |
| EscherBSERecord | back to summary |
|---|---|
| public EscherBSERecord(EscherBSERecord other) | |
| copy | back to summary |
|---|---|
| public EscherBSERecord 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.
| |
| getBlipRecord | back to summary |
|---|---|
| public EscherBlipRecord getBlipRecord() | |
| getBlipTypeMacOS | back to summary |
|---|---|
| public byte getBlipTypeMacOS() The expected blip type under MacOS (failure to match this blip type will result in Excel converting to this format).
| |
| getBlipTypeWin32 | back to summary |
|---|---|
| public byte getBlipTypeWin32() The expected blip type under windows (failure to match this blip type will result in Excel converting to this format).
| |
| 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()
| |
| getName | back to summary |
|---|---|
| public byte getName() The length in characters of the blip name.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() File offset in the delay stream.
| |
| getPictureTypeMacOS | back to summary |
|---|---|
| public PictureData. | |
| getPictureTypeWin32 | back to summary |
|---|---|
| public PictureData. | |
| 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.
| |
| getRef | back to summary |
|---|---|
| public int getRef() The reference count of this blip.
| |
| getRemainingData | back to summary |
|---|---|
| public byte[] getRemainingData() Any remaining data in this record.
| |
| getSize | back to summary |
|---|---|
| public int getSize() Blip size in stream.
| |
| getTag | back to summary |
|---|---|
| public short getTag() unused
| |
| getUid | back to summary |
|---|---|
| public byte[] getUid() 16 byte MD4 checksum.
| |
| getUnused2 | back to summary |
|---|---|
| public byte getUnused2() | |
| getUnused3 | back to summary |
|---|---|
| public byte getUnused3() | |
| getUsage | back to summary |
|---|---|
| public byte getUsage() Defines the way this blip is used.
| |
| 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.
| |
| setBlipRecord | back to summary |
|---|---|
| public void setBlipRecord(EscherBlipRecord blipRecord) | |
| setBlipTypeMacOS | back to summary |
|---|---|
| public void setBlipTypeMacOS(byte blipTypeMacOS) Set the expected MacOS blip type
| |
| setBlipTypeWin32 | back to summary |
|---|---|
| public void setBlipTypeWin32(byte blipTypeWin32) Set the expected win32 blip type
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |
| setName | back to summary |
|---|---|
| public void setName(byte name) The length in characters of the blip name.
| |
| setOffset | back to summary |
|---|---|
| public void setOffset(int offset) File offset in the delay stream.
| |
| setRef | back to summary |
|---|---|
| public void setRef(int ref) The reference count of this blip.
| |
| setRemainingData | back to summary |
|---|---|
| public void setRemainingData(byte[] remainingData) Any remaining data in this record.
| |
| setSize | back to summary |
|---|---|
| public void setSize(int size) Blip size in stream.
| |
| setTag | back to summary |
|---|---|
| public void setTag(short tag) unused
| |
| setUid | back to summary |
|---|---|
| public void setUid(byte[] uid) 16 byte MD4 checksum.
| |
| setUnused2 | back to summary |
|---|---|
| public void setUnused2(byte unused2) | |
| setUnused3 | back to summary |
|---|---|
| public void setUnused3(byte unused3) | |
| setUsage | back to summary |
|---|---|
| public void setUsage(byte usage) Defines the way this blip is used.
| |