org.apache.poi.hssf.record.aggregates
Class CFRecordsAggregate

java.lang.Object
  extended by org.apache.poi.hssf.record.RecordBase
      extended by org.apache.poi.hssf.record.aggregates.RecordAggregate
          extended by org.apache.poi.hssf.record.aggregates.CFRecordsAggregate

public final class CFRecordsAggregate
extends RecordAggregate

CFRecordsAggregate - aggregates Conditional Formatting records CFHeaderRecord and number of up to three CFRuleRecord records together to simplify access to them.

Author:
Dmitriy Kumshayev

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor
 
Constructor Summary
CFRecordsAggregate(CellRangeAddress[] regions, CFRuleRecord[] rules)
           
 
Method Summary
 void addRule(CFRuleRecord r)
           
 CFRecordsAggregate cloneCFAggregate()
          Create a deep clone of the record
static CFRecordsAggregate createCFAggregate(RecordStream rs)
          Create CFRecordsAggregate from a list of CF Records
 CFHeaderRecord getHeader()
           
 int getNumberOfRules()
           
 CFRuleRecord getRule(int idx)
           
 void setRule(int idx, CFRuleRecord r)
           
 java.lang.String toString()
          String representation of CFRecordsAggregate
 boolean updateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx)
           
 void visitContainedRecords(RecordAggregate.RecordVisitor rv)
          Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file.
 
Methods inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
getRecordSize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CFRecordsAggregate

public CFRecordsAggregate(CellRangeAddress[] regions,
                          CFRuleRecord[] rules)
Returns:
alternative formulas or not CFRecordsAggregate (POI API Documentation)

org.apache.poi.hssf.record.aggregates
Class CFRecordsAggregate

java.lang.Object
  extended by org.apache.poi.hssf.record.RecordBase
      extended by org.apache.poi.hssf.record.aggregates.RecordAggregate
          extended by org.apache.poi.hssf.record.aggregates.CFRecordsAggregate

public final class CFRecordsAggregate
extends RecordAggregate

CFRecordsAggregate - aggregates Conditional Formatting records CFHeaderRecord and number of up to three CFRuleRecord records together to simplify access to them.

Author:
Dmitriy Kumshayev

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor
 
Constructor Summary
CFRecordsAggregate(CellRangeAddress[] regions, CFRuleRecord[] rules)
           
 
Method Summary
 void addRule(CFRuleRecord r)