Package org.apache.poi.hssf.record
Class EmbeddedObjectRefSubRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.SubRecord
-
- org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class EmbeddedObjectRefSubRecord extends SubRecord implements java.lang.Cloneable
ftPictFmla (0x0009)A sub-record within the OBJ record which stores a reference to an object stored in a separate entry within the OLE2 compound file.
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Constructor Summary
Constructors Constructor Description EmbeddedObjectRefSubRecord()
EmbeddedObjectRefSubRecord(LittleEndianInput in, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddedObjectRefSubRecord
clone()
byte[]
getObjectData()
java.lang.String
getOLEClassName()
short
getSid()
java.lang.Integer
getStreamId()
Gets the stream ID containing the actual data.void
serialize(LittleEndianOutput out)
void
setOleClassname(java.lang.String oleClassname)
void
setStorageId(int storageId)
void
setUnknownFormulaData(byte[] formularData)
java.lang.String
toString()
-
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, isTerminating, serialize
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EmbeddedObjectRefSubRecord
public EmbeddedObjectRefSubRecord()
-
EmbeddedObjectRefSubRecord
public EmbeddedObjectRefSubRecord(LittleEndianInput in, int size)
-
-
Method Detail
-
getSid
public short getSid()
-
serialize
public void serialize(LittleEndianOutput out)
-
getStreamId
public java.lang.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.)- Returns:
- the data stream ID. Possibly
null
-
getOLEClassName
public java.lang.String getOLEClassName()
-
getObjectData
public byte[] getObjectData()
-
clone
public EmbeddedObjectRefSubRecord clone()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setUnknownFormulaData
public void setUnknownFormulaData(byte[] formularData)
-
setOleClassname
public void setOleClassname(java.lang.String oleClassname)
-
setStorageId
public void setStorageId(int storageId)
-
-