Class ConditionalFormattingTable
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.aggregates.RecordAggregate
org.apache.poi.hssf.record.aggregates.ConditionalFormattingTable
Holds all the conditional formatting for a workbook sheet.
See OOO exelfileformat.pdf sec 4.12 'Conditional Formatting Table'
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty ConditionalFormattingTable -
Method Summary
Modifier and TypeMethodDescriptionintadd(CFRecordsAggregate cfAggregate) get(int index) voidremove(int index) intsize()voidupdateFormulasAfterCellShift(FormulaShifter shifter, int externSheetIndex) voidVisit each of the atomic BIFF records contained in thisRecordAggregatein the order that they should be written to file.Methods inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
getRecordSize, serialize
-
Constructor Details
-
ConditionalFormattingTable
public ConditionalFormattingTable()Creates an empty ConditionalFormattingTable -
ConditionalFormattingTable
-
-
Method Details
-
visitContainedRecords
Description copied from class:RecordAggregateVisit each of the atomic BIFF records contained in thisRecordAggregatein the order that they should be written to file. Implementors may or may not return the actualRecords being used to manage POI's internal implementation. Callers should not assume either way, and therefore only attempt to modify thoseRecords after cloning- Specified by:
visitContainedRecordsin classRecordAggregate
-
add
- Returns:
- index of the newly added CF header aggregate
-
size
public int size() -
get
-
remove
public void remove(int index) -
updateFormulasAfterCellShift
-