public final class CFHeaderRecord extends StandardRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
CFHeaderRecord()
Creates new CFHeaderRecord
|
CFHeaderRecord(CellRangeAddress[] regions,
int nRules) |
CFHeaderRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
CellRangeAddress[] |
getCellRanges() |
protected int |
getDataSize() |
CellRangeAddress |
getEnclosingCellRange() |
boolean |
getNeedRecalculation() |
int |
getNumberOfConditionalFormats() |
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setCellRanges(CellRangeAddress[] cellRanges)
Set cell ranges list to a single cell range and
modify the enclosing cell range accordingly.
|
void |
setEnclosingCellRange(CellRangeAddress cr) |
void |
setNeedRecalculation(boolean b) |
void |
setNumberOfConditionalFormats(int n) |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public CFHeaderRecord()
public CFHeaderRecord(CellRangeAddress[] regions, int nRules)
public CFHeaderRecord(RecordInputStream in)
public int getNumberOfConditionalFormats()
public void setNumberOfConditionalFormats(int n)
public boolean getNeedRecalculation()
public void setNeedRecalculation(boolean b)
public CellRangeAddress getEnclosingCellRange()
public void setEnclosingCellRange(CellRangeAddress cr)
public void setCellRanges(CellRangeAddress[] cellRanges)
cellRanges - - list of CellRange objectspublic CellRangeAddress[] getCellRanges()
public java.lang.String toString()
Recordprotected int getDataSize()
getDataSize in class StandardRecordpublic void serialize(LittleEndianOutput out)
StandardRecordRecordBase.getRecordSize()} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize in class StandardRecordpublic short getSid()
RecordCopyright 2014 The Apache Software Foundation or its licensors, as applicable.