Package org.apache.poi.hssf.record
Class NoteStructureSubRecord
java.lang.Object
org.apache.poi.hssf.record.SubRecord
org.apache.poi.hssf.record.NoteStructureSubRecord
- All Implemented Interfaces:
Cloneable
ftNts (0x000D)
Represents a NoteStructure sub record.
The docs say nothing about it. The length of this record is always 26 bytes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newNoteStructureSubRecord
and fill its data with the default valuesNoteStructureSubRecord
(LittleEndianInput in, int size) Read the record data from the suppliedRecordInputStream
-
Method Summary
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, isTerminating, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
NoteStructureSubRecord
public NoteStructureSubRecord()Construct a newNoteStructureSubRecord
and fill its data with the default values -
NoteStructureSubRecord
Read the record data from the suppliedRecordInputStream
- Parameters:
in
- the input to read fromsize
- the provided size - must be 22
-
-
Method Details
-
toString
Convert this record to string. Used by BiffViewer and other utilities. -
serialize
Serialize the record data into the supplied array of bytes -
getDataSize
protected int getDataSize()- Specified by:
getDataSize
in classSubRecord
- Returns:
- the size of the data for this record (which is always 4 bytes less than the total record size). Note however, that ushort encoded after the record sid is usually but not always the data size.
-
getSid
public short getSid()- Returns:
- id of this record.
-
clone
-