CFRecordsAggregate - aggregates Conditional Formatting records CFHeaderRecord and number of up CFRuleRecord records together to simplify access to them.
Note that Excel versions before 2007 can only cope with a maximum of 3 Conditional Formatting rules per sheet. Excel 2007 or newer can cope with unlimited numbers, as can Apache OpenOffice. This is an Excel limitation, not a file format one.
| Modifier and Type | Field and Description |
|---|---|
| private final CFHeaderBase | |
| private static final Logger | |
| private static final int | MAX_97_2003_CONDTIONAL_FORMAT_RULES
Excel 97-2003 allows up to 3 conditional formating rules |
| private final List | rules
List of CFRuleRecord objects |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| public CFRecordsAggregate | Returns: A new object with the same values as this recordCreate a deep clone of the record |
| public static CFRecordsAggregate | Returns: CFRecordsAggregate object- the stream to read from rs)Create CFRecordsAggregate from a list of CF Records |
| private static CFHeaderBase | |
| public Map | |
| public CFHeaderBase | |
| public int | |
| public CFRuleBase | |
| public void | |
| public String | |
| public boolean | updateFormulasAfterCellShift(FormulaShifter
The shifter, int FormulaShifter to useThe index for extern sheets currentExternSheetIx)
|
| public void | visitContainedRecords(RecordAggregate.
The visitor to use for callbacks while walking this object rvImplements abstract org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file. |
| header | back to summary |
|---|---|
| private final CFHeaderBase header | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| MAX_97_2003_CONDTIONAL_FORMAT_RULES | back to summary |
|---|---|
| private static final int MAX_97_2003_CONDTIONAL_FORMAT_RULES Excel 97-2003 allows up to 3 conditional formating rules | |
| rules | back to summary |
|---|---|
| private final List<CFRuleBase> rules List of CFRuleRecord objects | |
| CFRecordsAggregate | back to summary |
|---|---|
| public CFRecordsAggregate(CFRecordsAggregate other) | |
| CFRecordsAggregate | back to summary |
|---|---|
| private CFRecordsAggregate(CFHeaderBase pHeader, CFRuleBase[] pRules) | |
| CFRecordsAggregate | back to summary |
|---|---|
| public CFRecordsAggregate(CellRangeAddress[] regions, CFRuleBase[] rules) | |
| addRule | back to summary |
|---|---|
| public void addRule(CFRuleBase r) | |
| checkRuleIndex | back to summary |
|---|---|
| private void checkRuleIndex(int idx) | |
| checkRuleType | back to summary |
|---|---|
| private void checkRuleType(CFRuleBase r) | |
| cloneCFAggregate | back to summary |
|---|---|
| public CFRecordsAggregate cloneCFAggregate() Create a deep clone of the record
| |
| createCFAggregate | back to summary |
|---|---|
| public static CFRecordsAggregate createCFAggregate(RecordStream rs) Create CFRecordsAggregate from a list of CF Records
| |
| createHeader | back to summary |
|---|---|
| private static CFHeaderBase createHeader(CellRangeAddress[] regions, CFRuleBase[] rules) | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getHeader | back to summary |
|---|---|
public CFHeaderBase getHeader()
| |
| getNumberOfRules | back to summary |
|---|---|
| public int getNumberOfRules() | |
| getRule | back to summary |
|---|---|
| public CFRuleBase getRule(int idx) | |
| setRule | back to summary |
|---|---|
| public void setRule(int idx, CFRuleBase r) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. String representation of CFRecordsAggregate
| |
| updateFormulasAfterCellShift | back to summary |
|---|---|
public boolean updateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx)
| |
| visitContainedRecords | back to summary |
|---|---|
| public void visitContainedRecords(RecordAggregate. Implements abstract org. Doc from org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
| |