public final class MergedCellsTable extends RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor| Constructor and Description |
|---|
MergedCellsTable()
Creates an empty aggregate
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArea(int rowFrom,
int colFrom,
int rowTo,
int colTo) |
void |
addRecords(MergeCellsRecord[] mcrs) |
CellRangeAddress |
get(int index) |
int |
getNumberOfMergedRegions() |
int |
getRecordSize()
gives the current serialized size of the record.
|
void |
read(RecordStream rs)
reads zero or more consecutive
MergeCellsRecords |
void |
remove(int index) |
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. |
serializepublic void read(RecordStream rs)
MergeCellsRecordsrs - public int getRecordSize()
RecordBasegetRecordSize in class RecordAggregatepublic void visitContainedRecords(RecordAggregate.RecordVisitor rv)
RecordAggregateRecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
Records being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Records after cloningvisitContainedRecords in class RecordAggregaterv - The visitor to use for callbacks while walking this objectpublic void addRecords(MergeCellsRecord[] mcrs)
public CellRangeAddress get(int index)
public void remove(int index)
public void addArea(int rowFrom,
int colFrom,
int rowTo,
int colTo)
public int getNumberOfMergedRegions()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.