Class CFHeaderBase

    • Constructor Detail

      • CFHeaderBase

        protected CFHeaderBase()
      • CFHeaderBase

        protected CFHeaderBase​(CFHeaderBase other)
      • CFHeaderBase

        protected CFHeaderBase​(CellRangeAddress[] regions,
                               int nRules)
    • Method Detail

      • createEmpty

        protected void createEmpty()
      • 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)
      • 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
      • getRecordName

        protected abstract String getRecordName()
      • serialize

        public void serialize​(LittleEndianOutput out)
        Description copied from class: StandardRecord
        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 RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

        Specified by:
        serialize in class StandardRecord
        Parameters:
        out - the output object