Package org.apache.poi.hssf.record
Class CFHeader12Record
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.CFHeaderBase
org.apache.poi.hssf.record.CFHeader12Record
- All Implemented Interfaces:
Cloneable,FutureRecord
Conditional Formatting Header v12 record CFHEADER12 (0x0879),
for conditional formattings introduced in Excel 2007 and newer.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates new CFHeaderRecordCFHeader12Record(CellRangeAddress[] regions, int nRules) -
Method Summary
Methods inherited from class org.apache.poi.hssf.record.CFHeaderBase
copyTo, createEmpty, getCellRanges, getEnclosingCellRange, getID, getNeedRecalculation, getNumberOfConditionalFormats, read, setCellRanges, setEnclosingCellRange, setID, setNeedRecalculation, setNumberOfConditionalFormats, toStringMethods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
CFHeader12Record
public CFHeader12Record()Creates new CFHeaderRecord -
CFHeader12Record
-
CFHeader12Record
-
-
Method Details
-
getRecordName
- Specified by:
getRecordNamein classCFHeaderBase
-
getDataSize
protected int getDataSize()- Overrides:
getDataSizein classCFHeaderBase
-
serialize
Description copied from class:StandardRecordWrite the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).- Overrides:
serializein classCFHeaderBase- Parameters:
out- the output object
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
getFutureRecordType
public short getFutureRecordType()- Specified by:
getFutureRecordTypein interfaceFutureRecord
-
getFutureHeader
- Specified by:
getFutureHeaderin interfaceFutureRecord
-
getAssociatedRange
- Specified by:
getAssociatedRangein interfaceFutureRecord
-
clone
- Specified by:
clonein classCFHeaderBase
-