public final class ValueRecordsAggregate extends java.lang.Object implements java.lang.Iterable<CellValueRecordInterface>
Constructor and Description |
---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
void |
addMultipleBlanks(MulBlankRecord mbr) |
java.lang.Object |
clone()
Deprecated.
|
void |
construct(CellValueRecordInterface rec,
RecordStream rs,
SharedValueManager sfh)
Processes a single cell value record
|
int |
getFirstCellNum() |
int |
getLastCellNum() |
int |
getPhysicalNumberOfCells() |
int |
getRowCellBlockSize(int startRow,
int endRow)
Tallies a count of the size of the cell records
that are attached to the rows in the range specified.
|
void |
insertCell(CellValueRecordInterface cell) |
java.util.Iterator<CellValueRecordInterface> |
iterator()
value iterator
|
void |
removeAllCellsValuesForRow(int rowIndex) |
void |
removeCell(CellValueRecordInterface cell) |
boolean |
rowHasCells(int row)
Returns true if the row has cells attached to it
|
void |
updateFormulasAfterRowShift(FormulaShifter shifter,
int currentExternSheetIndex) |
void |
visitCellsForRow(int rowIndex,
RecordAggregate.RecordVisitor rv) |
public ValueRecordsAggregate()
public void insertCell(CellValueRecordInterface cell)
public void removeCell(CellValueRecordInterface cell)
public void removeAllCellsValuesForRow(int rowIndex)
public int getPhysicalNumberOfCells()
public int getFirstCellNum()
public int getLastCellNum()
public void addMultipleBlanks(MulBlankRecord mbr)
public void construct(CellValueRecordInterface rec, RecordStream rs, SharedValueManager sfh)
sfh
- used to resolve any shared-formulas/arrays/tables for the current sheetpublic int getRowCellBlockSize(int startRow, int endRow)
public boolean rowHasCells(int row)
public void visitCellsForRow(int rowIndex, RecordAggregate.RecordVisitor rv)
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex)
public java.util.Iterator<CellValueRecordInterface> iterator()
iterator
in interface java.lang.Iterable<CellValueRecordInterface>
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.