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:
Duplicatable,GenericRecord,FutureRecord
public final class CFHeader12Record extends CFHeaderBase implements FutureRecord
Conditional Formatting Header v12 record CFHEADER12 (0x0879), for conditional formattings introduced in Excel 2007 and newer.
-
-
Field Summary
Fields Modifier and Type Field Description static shortsid
-
Constructor Summary
Constructors Constructor Description CFHeader12Record()CFHeader12Record(CFHeader12Record other)CFHeader12Record(RecordInputStream in)CFHeader12Record(CellRangeAddress[] regions, int nRules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CFHeader12Recordcopy()CellRangeAddressgetAssociatedRange()protected intgetDataSize()FtrHeadergetFutureHeader()shortgetFutureRecordType()Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()protected StringgetRecordName()shortgetSid()return the non static version of the id for this record.voidserialize(LittleEndianOutput out)Write the data content of this BIFF record.-
Methods inherited from class org.apache.poi.hssf.record.CFHeaderBase
createEmpty, getCellRanges, getEnclosingCellRange, getID, getNeedRecalculation, getNumberOfConditionalFormats, read, setCellRanges, setEnclosingCellRange, setID, setNeedRecalculation, setNumberOfConditionalFormats
-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CFHeader12Record
public CFHeader12Record()
-
CFHeader12Record
public CFHeader12Record(CFHeader12Record other)
-
CFHeader12Record
public CFHeader12Record(CellRangeAddress[] regions, int nRules)
-
CFHeader12Record
public CFHeader12Record(RecordInputStream in)
-
-
Method Detail
-
getRecordName
protected String getRecordName()
- Specified by:
getRecordNamein classCFHeaderBase
-
getDataSize
protected int getDataSize()
- Overrides:
getDataSizein classCFHeaderBase
-
serialize
public void serialize(LittleEndianOutput out)
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
public FtrHeader getFutureHeader()
- Specified by:
getFutureHeaderin interfaceFutureRecord
-
getAssociatedRange
public CellRangeAddress getAssociatedRange()
- Specified by:
getAssociatedRangein interfaceFutureRecord
-
copy
public CFHeader12Record copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classCFHeaderBase- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classCFHeaderBase
-
-