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)
MergeCellsRecordspublic int getRecordSize()
RecordBasegetRecordSize in class RecordAggregatepublic void visitContainedRecords(RecordAggregate.RecordVisitor rv)
RecordAggregateRecords 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()