| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final byte[] | |
| private int | |
| private final byte[] | field_2_UID
The primary UID is only saved to disk if (blip_instance ^ blip_signature == 1) |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private byte | |
| private byte | |
| private static final int | |
| private static final Logger | |
| private static int | |
| private byte[] | |
| public static final short | RECORD_ID_EMF
Deprecated
use EscherRecordTypes.BLIP_EMF.typeID
|
| public static final short | RECORD_ID_PICT
Deprecated
use EscherRecordTypes.BLIP_PICT.typeID
|
| public static final short | RECORD_ID_WMF
Deprecated
use EscherRecordTypes.BLIP_WMF.typeID
|
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherMetafileBlip | copy()
Overrides 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)Overrides org. The contract of this method is to deserialize an escher record including its children. |
| public Rectangle | |
| public int | |
| public byte | |
| public Map | |
| public static int | Returns: the max record length allowed for EscherMetafileBlipHides org.
|
| public byte[] | Returns: the second MD4Gets the second MD4, that specifies the unique identifier of the uncompressed blip data |
| public int | getRecordSize()
Overrides org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public byte[] | |
| public short | |
| public Dimension | |
| public byte[] | Returns: the first MD4Gets the first MD4, that specifies the unique identifier of the uncompressed blip data |
| public int | |
| private static byte[] | Returns: the inflated picture data.the deflated picture data. data)Decompresses the provided data, returning the inflated result. |
| public boolean | |
| 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)Overrides org. Serializes the record to an existing byte array. |
| public void | |
| public void | setCompressed(boolean
the compression state, true if it's compressed compressed)Sets the compression of the metafile |
| public void | setCompressedSize(int
the compressed size compressedSize)Sets the compressed size of the metafile (in bytes) |
| public void | |
| public static void | setMaxRecordLength(int
the max record length allowed for EscherMetafileBlip length)Hides org.
|
| public void | setPictureData(byte[]
the picture data pictureData)Overrides org. Sets the picture data bytes |
| public void | setPrimaryUID(byte[]
the second MD4 primaryUID)Sets the second MD4, that specifies the unique identifier of the uncompressed blip data |
| public void | |
| public void | setUID(byte[]
the first MD4 uid)Sets the first MD4, that specifies the unique identifier of the uncompressed blip data |
| public void |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH Hides org. | |
| field_1_UID | back to summary |
|---|---|
| private final byte[] field_1_UID | |
| field_2_cb | back to summary |
|---|---|
| private int field_2_cb | |
| field_2_UID | back to summary |
|---|---|
| private final byte[] field_2_UID The primary UID is only saved to disk if (blip_instance ^ blip_signature == 1) | |
| field_3_rcBounds_x1 | back to summary |
|---|---|
| private int field_3_rcBounds_x1 | |
| field_3_rcBounds_x2 | back to summary |
|---|---|
| private int field_3_rcBounds_x2 | |
| field_3_rcBounds_y1 | back to summary |
|---|---|
| private int field_3_rcBounds_y1 | |
| field_3_rcBounds_y2 | back to summary |
|---|---|
| private int field_3_rcBounds_y2 | |
| field_4_ptSize_h | back to summary |
|---|---|
| private int field_4_ptSize_h | |
| field_4_ptSize_w | back to summary |
|---|---|
| private int field_4_ptSize_w | |
| field_5_cbSave | back to summary |
|---|---|
| private int field_5_cbSave | |
| field_6_fCompression | back to summary |
|---|---|
| private byte field_6_fCompression | |
| field_7_fFilter | back to summary |
|---|---|
| private byte field_7_fFilter | |
| HEADER_SIZE | back to summary |
|---|---|
| private static final int HEADER_SIZE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH Hides org. | |
| raw_pictureData | back to summary |
|---|---|
| private byte[] raw_pictureData | |
| RECORD_ID_EMF | back to summary |
|---|---|
| public static final short RECORD_ID_EMF
Deprecated use EscherRecordTypes.BLIP_EMF.typeID
| |
| RECORD_ID_PICT | back to summary |
|---|---|
| public static final short RECORD_ID_PICT
Deprecated use EscherRecordTypes.BLIP_PICT.typeID
| |
| RECORD_ID_WMF | back to summary |
|---|---|
| public static final short RECORD_ID_WMF
Deprecated use EscherRecordTypes.BLIP_WMF.typeID
| |
| remainingData | back to summary |
|---|---|
| private byte[] remainingData | |
| EscherMetafileBlip | back to summary |
|---|---|
| public EscherMetafileBlip() | |
| EscherMetafileBlip | back to summary |
|---|---|
| public EscherMetafileBlip(EscherMetafileBlip other) | |
| copy | back to summary |
|---|---|
| public EscherMetafileBlip copy() Overrides org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Overrides org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() Get the clipping region of the metafile
| |
| getCompressedSize | back to summary |
|---|---|
| public int getCompressedSize() Gets the compressed size of the metafile (in bytes)
| |
| getFilter | back to summary |
|---|---|
| public byte getFilter() Gets the filter byte - this is usually 0xFE
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getMaxRecordLength | back to summary |
|---|---|
| public static int getMaxRecordLength() Hides org.
| |
| getPrimaryUID | back to summary |
|---|---|
| public byte[] getPrimaryUID() Gets the second MD4, that specifies the unique identifier of the uncompressed blip data
| |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Overrides org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| getRemainingData | back to summary |
|---|---|
| public byte[] getRemainingData() Returns any remaining bytes
| |
| getSignature | back to summary |
|---|---|
| public short getSignature() Return the blip signature
| |
| getSizeEMU | back to summary |
|---|---|
| public Dimension getSizeEMU() Gets the dimensions of the metafile
| |
| getUID | back to summary |
|---|---|
| public byte[] getUID() Gets the first MD4, that specifies the unique identifier of the uncompressed blip data
| |
| getUncompressedSize | back to summary |
|---|---|
| public int getUncompressedSize() Gets the uncompressed size (in bytes)
| |
| inflatePictureData | back to summary |
|---|---|
| private static byte[] inflatePictureData(byte[] data) Decompresses the provided data, returning the inflated result.
| |
| isCompressed | back to summary |
|---|---|
| public boolean isCompressed() Gets the compression of the metafile
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Overrides org. Doc from org. Serializes the record to an existing byte array.
| |
| setBounds | back to summary |
|---|---|
| public void setBounds(Rectangle bounds) Sets the clipping region
| |
| setCompressed | back to summary |
|---|---|
| public void setCompressed(boolean compressed) Sets the compression of the metafile
| |
| setCompressedSize | back to summary |
|---|---|
| public void setCompressedSize(int compressedSize) Sets the compressed size of the metafile (in bytes)
| |
| setFilter | back to summary |
|---|---|
| public void setFilter(byte filter) Sets the filter byte - this is usually 0xFE
| |
| setMaxRecordLength | back to summary |
|---|---|
| public static void setMaxRecordLength(int length) Hides org.
| |
| setPictureData | back to summary |
|---|---|
| public void setPictureData(byte[] pictureData) Overrides org. Doc from org. Sets the picture data bytes
| |
| setPrimaryUID | back to summary |
|---|---|
| public void setPrimaryUID(byte[] primaryUID) Sets the second MD4, that specifies the unique identifier of the uncompressed blip data
| |
| setSizeEMU | back to summary |
|---|---|
| public void setSizeEMU(Dimension sizeEMU) Gets the dimensions of the metafile
| |
| setUID | back to summary |
|---|---|
| public void setUID(byte[] uid) Sets the first MD4, that specifies the unique identifier of the uncompressed blip data
| |
| setUncompressedSize | back to summary |
|---|---|
| public void setUncompressedSize(int uncompressedSize) Sets the uncompressed size (in bytes)
| |