org.apache.poi.hssf.record.aggregates
public final class ValueRecordsAggregate extends java.lang.Object
Constructor and Description |
---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
void |
addMultipleBlanks(MulBlankRecord mbr) |
java.lang.Object |
clone() |
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.
|
CellValueRecordInterface[] |
getValueRecords()
Gets all the cell records contained in this aggregate.
|
void |
insertCell(CellValueRecordInterface cell) |
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 CellValueRecordInterface[] getValueRecords()
BlankRecord
s appear separate (not in MulBlankRecord
s).public java.lang.Object clone()
clone
in class java.lang.Object
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.