Top Description Fields Constructors Methods
org.apache.poi.hssf.record

public final Class CFHeader12Record

extends CFHeaderBase
implements FutureRecord
Class Inheritance
All Implemented Interfaces
org.apache.poi.hssf.record.common.FutureRecord
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.hssf.record.common.FtrHeader, .FutureRecord, org.apache.poi.ss.util.CellRangeAddress, org.apache.poi.util.GenericRecordUtil, .LittleEndianOutput

Conditional Formatting Header v12 record CFHEADER12 (0x0879), for conditional formattings introduced in Excel 2007 and newer.

Field Summary

Modifier and TypeField and Description
private FtrHeader
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public
CFHeader12Record(CellRangeAddress[] regions, int nRules)

public

Method Summary

Modifier and TypeMethod and Description
public CFHeader12Record
public CellRangeAddress
protected int
public FtrHeader
public short
public Map<String, Supplier<?>>
public HSSFRecordTypes
protected String
public short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

public void
serialize(LittleEndianOutput
the output object
out
)

Overrides org.apache.poi.hssf.record.CFHeaderBase.serialize.

Write the data content of this BIFF record.

Inherited from org.apache.poi.hssf.record.CFHeaderBase:
createEmptygetCellRangesgetEnclosingCellRangegetIDgetNeedRecalculationgetNumberOfConditionalFormatsreadsetCellRangessetEnclosingCellRangesetIDsetNeedRecalculationsetNumberOfConditionalFormats

Field Detail

futureHeaderback to summary
private FtrHeader futureHeader
sidback to summary
public static final short sid

Constructor Detail

CFHeader12Recordback to summary
public CFHeader12Record()
CFHeader12Recordback to summary
public CFHeader12Record(CFHeader12Record other)
CFHeader12Recordback to summary
public CFHeader12Record(CellRangeAddress[] regions, int nRules)
CFHeader12Recordback to summary
public CFHeader12Record(RecordInputStream in)

Method Detail

copyback to summary
public CFHeader12Record copy()

Implements abstract org.apache.poi.hssf.record.CFHeaderBase.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:CFHeader12Record

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getAssociatedRangeback to summary
public CellRangeAddress getAssociatedRange()

Implements org.apache.poi.hssf.record.common.FutureRecord.getAssociatedRange.

getDataSizeback to summary
protected int getDataSize()

Overrides org.apache.poi.hssf.record.CFHeaderBase.getDataSize.

getFutureHeaderback to summary
public FtrHeader getFutureHeader()

Implements org.apache.poi.hssf.record.common.FutureRecord.getFutureHeader.

getFutureRecordTypeback to summary
public short getFutureRecordType()

Implements org.apache.poi.hssf.record.common.FutureRecord.getFutureRecordType.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Overrides org.apache.poi.hssf.record.CFHeaderBase.getGenericProperties.

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.Record.getGenericRecordType.

Annotations
@Override
getRecordNameback to summary
protected String getRecordName()

Implements abstract org.apache.poi.hssf.record.CFHeaderBase.getRecordName.

Annotations
@Override
getSidback to summary
public short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

serializeback to summary
public void serialize(LittleEndianOutput out)

Overrides org.apache.poi.hssf.record.CFHeaderBase.serialize.

Doc from org.apache.poi.hssf.record.StandardRecord.serialize.

Write 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 org.apache.poi.hssf.record.Record#getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

Parameters
out:LittleEndianOutput

the output object