|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.aggregates.ValueRecordsAggregate
public final class ValueRecordsAggregate
Aggregate value records together. Things are easier to handle that way.
Constructor Summary | |
---|---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate |
Method Summary | |
---|---|
void |
construct(CellValueRecordInterface rec,
RecordStream rs,
SharedValueManager sfh)
Processes a single cell value record |
int |
getFirstCellNum()
|
java.util.Iterator |
getIterator()
|
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()
|
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 |
int |
serializeCellRow(int row,
int offset,
byte[] data)
Serializes the cells that are allocated to a certain row range |
void |
updateFormulasAfterRowShift(FormulaShifter shifter,
int currentExternSheetIndex)
|
void |
visitCellsForRow(int rowIndex,
RecordAggregate.RecordVisitor rv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueRecordsAggregate()
Method Detail |
---|
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 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 int serializeCellRow(int row, int offset, byte[] data)
public void visitCellsForRow(int rowIndex, RecordAggregate.RecordVisitor rv)
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex)
public CellValueRecordInterface[] getValueRecords()
public java.util.Iterator getIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |