Class RowRecordsAggregate


public final class RowRecordsAggregate extends RecordAggregate
Author:
andy, Jason Height (jheight at chariot dot net dot au)
  • Constructor Details

  • Method Details

    • insertRow

      public void insertRow(RowRecord row)
    • removeRow

      public void removeRow(RowRecord row)
    • getRow

      public RowRecord getRow(int rowIndex)
    • 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

      public void visitContainedRecords(RecordAggregate.RecordVisitor rv)
      Description copied from class: RecordAggregate
      Visit each of the atomic BIFF records contained in this RecordAggregate 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 cloning
      Specified by:
      visitContainedRecords in class RecordAggregate
    • getIterator

      public Iterator<RowRecord> getIterator()
    • findStartOfRowOutlineGroup

      public int findStartOfRowOutlineGroup(int row)
    • findEndOfRowOutlineGroup

      public int findEndOfRowOutlineGroup(int row)
    • collapseRow

      public void collapseRow(int rowNumber)
    • createRow

      public static RowRecord createRow(int rowNumber)
      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

      public Iterator<CellValueRecordInterface> getCellValueIterator()
      Returns an iterator for the cell values
    • createIndexRecord

      public IndexRecord createIndexRecord(int indexRecordOffset, int sizeOfInitialSheetRecords)
    • insertCell

      public void insertCell(CellValueRecordInterface cvRec)
    • removeCell

      public void removeCell(CellValueRecordInterface cvRec)
    • createFormula

      public FormulaRecordAggregate createFormula(int row, int col)
    • updateFormulasAfterRowShift

      public void updateFormulasAfterRowShift(FormulaShifter formulaShifter, int currentExternSheetIndex)
    • createDimensions

      public DimensionsRecord createDimensions()