Package org.apache.poi.hssf.record
Class CFHeaderBase
- 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
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
CFHeader12Record,CFHeaderRecord
public abstract class CFHeaderBase extends StandardRecord implements java.lang.Cloneable
Parent of Conditional Formatting Header records,CFHeaderRecordandCFHeader12Record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CFHeaderBaseclone()CellRangeAddress[]getCellRanges()CellRangeAddressgetEnclosingCellRange()intgetID()booleangetNeedRecalculation()intgetNumberOfConditionalFormats()voidserialize(LittleEndianOutput out)voidsetCellRanges(CellRangeAddress[] cellRanges)Set cell ranges list to a single cell range and modify the enclosing cell range accordingly.voidsetEnclosingCellRange(CellRangeAddress cr)voidsetID(int id)voidsetNeedRecalculation(boolean b)voidsetNumberOfConditionalFormats(int n)java.lang.StringtoString()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, getSid, serialize
-
-
-
-
Method Detail
-
getNumberOfConditionalFormats
public int getNumberOfConditionalFormats()
-
setNumberOfConditionalFormats
public void setNumberOfConditionalFormats(int n)
-
getNeedRecalculation
public boolean getNeedRecalculation()
-
setNeedRecalculation
public void setNeedRecalculation(boolean b)
-
getID
public int getID()
-
setID
public void setID(int id)
-
getEnclosingCellRange
public CellRangeAddress getEnclosingCellRange()
-
setEnclosingCellRange
public void setEnclosingCellRange(CellRangeAddress cr)
-
setCellRanges
public void setCellRanges(CellRangeAddress[] cellRanges)
Set cell ranges list to a single cell range and modify the enclosing cell range accordingly.- Parameters:
cellRanges- - list of CellRange objects
-
getCellRanges
public CellRangeAddress[] getCellRanges()
-
toString
public java.lang.String toString()
Description copied from class:Recordget a string representation of the record (for biffview/debugging)
-
serialize
public void serialize(LittleEndianOutput out)
-
clone
public abstract CFHeaderBase clone()
-
-