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
-
public class NoteStructureSubRecord extends SubRecord
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 Modifier and Type Field Description static shortsid
-
Constructor Summary
Constructors Constructor Description NoteStructureSubRecord()Construct a newNoteStructureSubRecordand fill its data with the default valuesNoteStructureSubRecord(RecordInputStream in)Constructs a NoteStructureSubRecord and sets its fields appropriately.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillFields(RecordInputStream in)Read the record data from the suppliedRecordInputStreamintgetRecordSize()Size 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 bytesjava.lang.StringtoString()Convert this record to string.protected voidvalidateSid(short id)Checks the sid matches the expected side for this record-
Methods inherited from class loci.poi.hssf.record.SubRecord
createSubRecord
-
Methods inherited from class loci.poi.hssf.record.Record
clone, isInValueSection, isValue, serialize
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoteStructureSubRecord
public NoteStructureSubRecord()
Construct a newNoteStructureSubRecordand fill its data with the default values
-
NoteStructureSubRecord
public NoteStructureSubRecord(RecordInputStream in)
Constructs a NoteStructureSubRecord and sets its fields appropriately.
-
-
Method Detail
-
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
protected void fillFields(RecordInputStream in)
Read the record data from the suppliedRecordInputStream- Specified by:
fillFieldsin classRecord- Parameters:
in- the RecordInputstream to read the record from
-
toString
public java.lang.String 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
-
-