Package org.apache.poi.hssf.record
Class HeaderFooterRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.HeaderFooterRecord
- All Implemented Interfaces:
Cloneable
The HEADERFOOTER record stores information added in Office Excel 2007 for headers/footers.
- Author:
- Yegor Kozlov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected int
byte[]
getGuid()
If this header belongs to a specific sheet view , the sheet view?s GUID will be saved here.short
getSid()
return the non static version of the id for this record.boolean
void
spit the record out AS IS.toString()
get a string representation of the record (for biffview/debugging)Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
HeaderFooterRecord
public HeaderFooterRecord(byte[] data) -
HeaderFooterRecord
construct a HeaderFooterRecord record. No fields are interpreted and the record will be serialized in its original form more or less- Parameters:
in
- the RecordInputstream to read the record from
-
-
Method Details
-
serialize
spit the record out AS IS. no interpretation or identification- Specified by:
serialize
in classStandardRecord
- Parameters:
out
- the output object
-
getDataSize
protected int getDataSize()- Specified by:
getDataSize
in classStandardRecord
-
getSid
public short getSid()Description copied from class:Record
return the non static version of the id for this record. -
getGuid
public byte[] getGuid()If this header belongs to a specific sheet view , the sheet view?s GUID will be saved here.If it is zero, it means the current sheet. Otherwise, this field MUST match the guid field of the preceding
UserSViewBegin
record.- Returns:
- the sheet view?s GUID
-
isCurrentSheet
public boolean isCurrentSheet()- Returns:
- whether this record belongs to the current sheet
-
toString
Description copied from class:Record
get a string representation of the record (for biffview/debugging) -
clone
-