Class CellRange

java.lang.Object
org.jxls.common.CellRange

public class CellRange extends Object
Represents an Excel cell range
Author:
Leonid Vysochyn
  • Constructor Details

    • CellRange

      public CellRange(CellRef startCell, int width, int height)
  • Method Details

    • getCell

      public CellRef getCell(int row, int col)
    • getCellShiftStrategy

      public CellShiftStrategy getCellShiftStrategy()
    • setCellShiftStrategy

      public void setCellShiftStrategy(CellShiftStrategy cellShiftStrategy)
    • shiftCellsWithRowBlock

      public void shiftCellsWithRowBlock(int startRow, int endRow, int col, int colShift, boolean updateRowWidths)
    • requiresColShifting

      public boolean requiresColShifting(CellRef cell, int startRow, int endRow, int startColShift)
    • shiftCellsWithColBlock

      public void shiftCellsWithColBlock(int startCol, int endCol, int row, int rowShift, boolean updateColHeights)
    • excludeCells

      public void excludeCells(int startCol, int endCol, int startRow, int endRow)
    • clearCells

      public void clearCells(int startCol, int endCol, int startRow, int endRow)
    • calculateHeight

      public int calculateHeight()
    • calculateWidth

      public int calculateWidth()
    • isExcluded

      public boolean isExcluded(int row, int col)
    • markAsTransformed

      public void markAsTransformed(int row, int col)
    • isTransformed

      public boolean isTransformed(int row, int col)
    • contains

      public boolean contains(int row, int col)
    • containsCommandsInRow

      public boolean containsCommandsInRow(int row)
    • isEmpty

      public boolean isEmpty(int row, int col)
    • hasChanged

      public boolean hasChanged(int row, int col)
    • resetChangeMatrix

      public void resetChangeMatrix()
    • findTargetRow

      public int findTargetRow(int srcRow)