public final class RowRecordsAggregate extends RecordAggregate
RecordAggregate.PositionTrackingVisitor, RecordAggregate.RecordVisitor| Constructor and Description |
|---|
RowRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
RowRecordsAggregate(RecordStream rs,
SharedValueManager svm) |
getRecordSize, serializepublic RowRecordsAggregate()
public RowRecordsAggregate(RecordStream rs, SharedValueManager svm)
rs - record stream with all SharedFormulaRecord
ArrayRecord, TableRecord MergeCellsRecord Records removedsvm - an initialised SharedValueManager (from the shared formula, array
and table records of the current sheet). Never null.public void insertRow(RowRecord row)
public void removeRow(RowRecord row)
public RowRecord getRow(int rowIndex)
public int getPhysicalNumberOfRows()
public int getFirstRowNum()
public int getLastRowNum()
public int getRowBlockCount()
public int getRowCountForBlock(int block)
public void visitContainedRecords(RecordAggregate.RecordVisitor rv)
RecordAggregateRecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
Records being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Records after cloningvisitContainedRecords in class RecordAggregatepublic int findStartOfRowOutlineGroup(int row)
public int findEndOfRowOutlineGroup(int row)
public void collapseRow(int rowNumber)
public static RowRecord createRow(int rowNumber)
rowNumber - row numberRowRecordpublic boolean isRowGroupCollapsed(int row)
public void expandRow(int rowNumber)
public boolean isRowGroupHiddenByParent(int row)
public Iterator<CellValueRecordInterface> getCellValueIterator()
public CellValueRecordInterface[] getValueRecords()
getCellValueIterator() insteadpublic IndexRecord createIndexRecord(int indexRecordOffset, int sizeOfInitialSheetRecords)
public void insertCell(CellValueRecordInterface cvRec)
public void removeCell(CellValueRecordInterface cvRec)
public FormulaRecordAggregate createFormula(int row, int col)
public void updateFormulasAfterRowShift(FormulaShifter formulaShifter, int currentExternSheetIndex)
public DimensionsRecord createDimensions()
Copyright © 2020. All rights reserved.