Package loci.poi.hssf.record
Class NoteStructureSubRecord
java.lang.Object
loci.poi.hssf.record.Record
loci.poi.hssf.record.SubRecord
loci.poi.hssf.record.NoteStructureSubRecord
Represents a NoteStructure (0xD) sub record.
The docs say nothing about it. The length of this record is always 26 bytes.
- Author:
- Yegor Kozlov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newNoteStructureSubRecordand fill its data with the default valuesConstructs a NoteStructureSubRecord and sets its fields appropriately. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidRead the record data from the suppliedRecordInputStreamintSize of recordshortgetSid()return the non static version of the id for this record.intserialize(int offset, byte[] data) Serialize the record data into the supplied array of bytestoString()Convert this record to string.protected voidvalidateSid(short id) Checks the sid matches the expected side for this recordMethods inherited from class loci.poi.hssf.record.SubRecord
createSubRecordMethods inherited from class loci.poi.hssf.record.Record
clone, isInValueSection, isValue, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
NoteStructureSubRecord
public NoteStructureSubRecord()Construct a newNoteStructureSubRecordand fill its data with the default values -
NoteStructureSubRecord
Constructs a NoteStructureSubRecord and sets its fields appropriately.
-
-
Method Details
-
validateSid
protected void validateSid(short id) Checks the sid matches the expected side for this record- Specified by:
validateSidin classRecord- Parameters:
id- the expected sid.
-
fillFields
Read the record data from the suppliedRecordInputStream- Specified by:
fillFieldsin classRecord- Parameters:
in- the RecordInputstream to read the record from
-
toString
Convert this record to string. Used by BiffViewer and other utulities. -
serialize
public int serialize(int offset, byte[] data) Serialize the record data into the supplied array of bytes -
getRecordSize
public int getRecordSize()Size of record- Overrides:
getRecordSizein classRecord
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record.
-