Class ValueRecordsAggregate
java.lang.Object
org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate
- All Implemented Interfaces:
Iterable<CellValueRecordInterface>
public final class ValueRecordsAggregate
extends Object
implements Iterable<CellValueRecordInterface>
Aggregate value records together. Things are easier to handle that way.
- Author:
- andy, Glen Stampoultzis (glens at apache.org), Jason Height (jheight at chariot dot net dot au)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clone()
void
construct
(CellValueRecordInterface rec, RecordStream rs, SharedValueManager sfh) Processes a single cell value recordint
int
int
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
iterator()
value iteratorvoid
removeAllCellsValuesForRow
(int rowIndex) void
boolean
rowHasCells
(int row) Returns true if the row has cells attached to itvoid
updateFormulasAfterRowShift
(FormulaShifter shifter, int currentExternSheetIndex) void
visitCellsForRow
(int rowIndex, RecordAggregate.RecordVisitor rv) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ValueRecordsAggregate
public ValueRecordsAggregate()Creates a new instance of ValueRecordsAggregate
-
-
Method Details
-
insertCell
-
removeCell
-
removeAllCellsValuesForRow
public void removeAllCellsValuesForRow(int rowIndex) -
getPhysicalNumberOfCells
public int getPhysicalNumberOfCells() -
getFirstCellNum
public int getFirstCellNum() -
getLastCellNum
public int getLastCellNum() -
addMultipleBlanks
-
getRowCellBlockSize
public 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. -
rowHasCells
public boolean rowHasCells(int row) Returns true if the row has cells attached to it -
visitCellsForRow
-
updateFormulasAfterRowShift
-
iterator
value iterator- Specified by:
iterator
in interfaceIterable<CellValueRecordInterface>
-
clone
-