Class CFHeaderBase

All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord
Direct Known Subclasses:
CFHeader12Record, CFHeaderRecord

public abstract class CFHeaderBase extends StandardRecord
Parent of Conditional Formatting Header records, CFHeaderRecord and CFHeader12Record.
  • Method Details

    • 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()
    • serialize

      public void serialize(LittleEndianOutput out)
    • copy

      public abstract CFHeaderBase copy()
      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
      Specified by:
      copy in class StandardRecord
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()