| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherBlipRecord
All known Subclasses: org.apache.poi.ddf.EscherBitmapBlip, org.apache.poi.ddf.EscherPictBlip, org.apache.poi.ddf.EscherMetafileBlip, org.apache.poi.ddf.EscherBlipWMFRecord,
EscherBlipRecord | public class EscherBlipRecord extends EscherRecord (Code) | | author: Glen Stampoultzis version: $Id: EscherBlipRecord.java 569827 2007-08-26 15:26:29Z yegor $ |
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 byte[] | getPicturedata() | public String | getRecordName() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public int | serialize(int offset, byte[] data, EscherSerializationListener listener) Serializes the record to an existing byte array.
Parameters: offset - the offset within the byte array Parameters: data - the data array to serialize to Parameters: listener - a listener for begin and end serialization events. | public void | setPictureData(byte[] pictureData) | public String | toString() |
RECORD_DESCRIPTION | final public static String RECORD_DESCRIPTION(Code) | | |
RECORD_ID_END | final public static short RECORD_ID_END(Code) | | |
RECORD_ID_START | final public static short RECORD_ID_START(Code) | | |
field_pictureData | protected byte[] field_pictureData(Code) | | |
EscherBlipRecord | public EscherBlipRecord()(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. |
getPicturedata | public byte[] getPicturedata()(Code) | | |
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 |
serialize | public int serialize(int offset, byte[] data, EscherSerializationListener listener)(Code) | | Serializes the record to an existing byte array.
Parameters: offset - the offset within the byte array Parameters: data - the data array to serialize to Parameters: listener - a listener for begin and end serialization events. Thisis useful because the serialization ishierarchical/recursive and sometimes you need to be ablebreak into that. the number of bytes written. |
setPictureData | public void setPictureData(byte[] pictureData)(Code) | | |
|
|