A sub-record within the OBJ record which stores a reference to an object stored in a separate entry within the OLE2 compound file.
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private int | |
| private Ptg | field_2_refPtg
either an area or a cell ref |
| private byte[] | field_2_unknownFormulaData
for when the 'formula' doesn't parse properly |
| private boolean | field_3_unicode_flag
note- this byte is not present in the encoding if the string length is zero |
| private String | |
| private Byte | field_4_unknownByte
Formulas often have a single non-zero trailing byte. |
| private Integer | |
| private byte[] | |
| private static final Logger | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public EmbeddedObjectRefSubRecord | copy()
Implements abstract org. Implements org.
|
| private int | |
| protected int | |
| public Map | |
| public SubRecord. | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public byte[] | |
| public String | |
| public short | |
| public Integer | Returns: the data stream ID. PossiblynullGets the stream ID containing the actual data. |
| private int | |
| private static byte[] | |
| private static Ptg | |
| public void | serialize(LittleEndianOutput out)
Implements abstract org.
|
| public void | |
| public void | |
| public void |
| EMPTY_BYTE_ARRAY | back to summary |
|---|---|
| private static final byte[] EMPTY_BYTE_ARRAY | |
| field_1_unknown_int | back to summary |
|---|---|
| private int field_1_unknown_int | |
| field_2_refPtg | back to summary |
|---|---|
| private Ptg field_2_refPtg either an area or a cell ref | |
| field_2_unknownFormulaData | back to summary |
|---|---|
| private byte[] field_2_unknownFormulaData for when the 'formula' doesn't parse properly | |
| field_3_unicode_flag | back to summary |
|---|---|
| private boolean field_3_unicode_flag note- this byte is not present in the encoding if the string length is zero | |
| field_4_ole_classname | back to summary |
|---|---|
| private String field_4_ole_classname | |
| field_4_unknownByte | back to summary |
|---|---|
| private Byte field_4_unknownByte Formulas often have a single non-zero trailing byte. This is in a similar position to he pre-streamId padding It is unknown if the value is important (it seems to mirror a value a few bytes earlier) | |
| field_5_stream_id | back to summary |
|---|---|
| private Integer field_5_stream_id | |
| field_6_unknown | back to summary |
|---|---|
| private byte[] field_6_unknown | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| EmbeddedObjectRefSubRecord | back to summary |
|---|---|
| public EmbeddedObjectRefSubRecord() | |
| EmbeddedObjectRefSubRecord | back to summary |
|---|---|
| public EmbeddedObjectRefSubRecord(EmbeddedObjectRefSubRecord other) | |
| EmbeddedObjectRefSubRecord | back to summary |
|---|---|
| public EmbeddedObjectRefSubRecord(LittleEndianInput in, int size) | |
| EmbeddedObjectRefSubRecord | back to summary |
|---|---|
| pack-priv EmbeddedObjectRefSubRecord(LittleEndianInput in, int size, int cmoOt) | |
| copy | back to summary |
|---|---|
| public EmbeddedObjectRefSubRecord copy() Implements abstract org. Implements org.
| |
| getDataSize | back to summary |
|---|---|
| private int getDataSize(int idOffset) | |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public SubRecord. Overrides default org. Implements abstract org.
| |
| getObjectData | back to summary |
|---|---|
| public byte[] getObjectData() | |
| getOLEClassName | back to summary |
|---|---|
| public String getOLEClassName() | |
| getSid | back to summary |
|---|---|
| public short getSid() | |
| getStreamId | back to summary |
|---|---|
| public Integer getStreamId() Gets the stream ID containing the actual data. The data itself can be found under a top-level directory entry in the OLE2 filesystem under the name "MBDxxxxxxxx" where xxxxxxxx is this ID converted into hex (in big endian order, funnily enough.)
| |
| getStreamIDOffset | back to summary |
|---|---|
| private int getStreamIDOffset(int formulaSize) | |
| readRawData | back to summary |
|---|---|
| private static byte[] readRawData(LittleEndianInput in, int size) | |
| readRefPtg | back to summary |
|---|---|
| private static Ptg readRefPtg(byte[] formulaRawBytes) | |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. | |
| setOleClassname | back to summary |
|---|---|
| public void setOleClassname(String oleClassname) | |
| setStorageId | back to summary |
|---|---|
| public void setStorageId(int storageId) | |
| setUnknownFormulaData | back to summary |
|---|---|
| public void setUnknownFormulaData(byte[] formularData) | |