Class RowRecordsAggregate
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.aggregates.RecordAggregate
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate
- Author:
- andy, Jason Height (jheight at chariot dot net dot au)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of ValueRecordsAggregate -
Method Summary
Modifier and TypeMethodDescriptionvoid
collapseRow
(int rowNumber) createFormula
(int row, int col) createIndexRecord
(int indexRecordOffset, int sizeOfInitialSheetRecords) static RowRecord
createRow
(int rowNumber) Create a row record.void
expandRow
(int rowNumber) int
findEndOfRowOutlineGroup
(int row) int
findStartOfRowOutlineGroup
(int row) Returns an iterator for the cell valuesint
int
int
getRow
(int rowIndex) int
Returns the number of row blocks.int
getRowCountForBlock
(int block) Returns the number of physical rows within a blockvoid
void
boolean
isRowGroupCollapsed
(int row) boolean
isRowGroupHiddenByParent
(int row) void
void
void
updateFormulasAfterRowShift
(FormulaShifter formulaShifter, int currentExternSheetIndex) void
Visit each of the atomic BIFF records contained in thisRecordAggregate
in the order that they should be written to file.Methods inherited from class org.apache.poi.hssf.record.aggregates.RecordAggregate
getRecordSize, serialize
-
Constructor Details
-
RowRecordsAggregate
public RowRecordsAggregate()Creates a new instance of ValueRecordsAggregate
-
-
Method Details
-
insertRow
-
removeRow
-
getRow
-
getPhysicalNumberOfRows
public int getPhysicalNumberOfRows() -
getFirstRowNum
public int getFirstRowNum() -
getLastRowNum
public int getLastRowNum() -
getRowBlockCount
public int getRowBlockCount()Returns the number of row blocks.The row blocks are goupings of rows that contain the DBCell record after them
-
getRowCountForBlock
public int getRowCountForBlock(int block) Returns the number of physical rows within a block -
visitContainedRecords
Description copied from class:RecordAggregate
Visit each of the atomic BIFF records contained in thisRecordAggregate
in the order that they should be written to file. Implementors may or may not return the actualRecord
s being used to manage POI's internal implementation. Callers should not assume either way, and therefore only attempt to modify thoseRecord
s after cloning- Specified by:
visitContainedRecords
in classRecordAggregate
-
getIterator
-
findStartOfRowOutlineGroup
public int findStartOfRowOutlineGroup(int row) -
findEndOfRowOutlineGroup
public int findEndOfRowOutlineGroup(int row) -
collapseRow
public void collapseRow(int rowNumber) -
createRow
Create a row record.- Parameters:
rowNumber
- row number- Returns:
- RowRecord created for the passed in row number
- See Also:
-
isRowGroupCollapsed
public boolean isRowGroupCollapsed(int row) -
expandRow
public void expandRow(int rowNumber) -
isRowGroupHiddenByParent
public boolean isRowGroupHiddenByParent(int row) -
getCellValueIterator
Returns an iterator for the cell values -
createIndexRecord
-
insertCell
-
removeCell
-
createFormula
-
updateFormulasAfterRowShift
-
createDimensions
-