| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public List | Returns: an array of affected merged regions, doesn't contain deleted onesthe row to start shifting startRow, int the row to end shifting endRow, int the number of rows to shift n)Implements abstract org. Shifts, grows, or shrinks the merged regions due to a row shift. |
| public static void | validateShiftLeftParameters(int
the column to start shifting firstShiftColumnIndex, int the column to end shifting lastShiftColumnIndex, int length of the shifting step step)Verify that the given column indices and step denote a valid range of columns to shift to the left |
| public static void | validateShiftParameters(int
the column to start shifting firstShiftColumnIndex, int the column to end shifting lastShiftColumnIndex, int length of the shifting step step)Verify that the given column indices and step denote a valid range of columns to shift |
| sheet | back to summary |
|---|---|
| protected final Sheet sheet | |
| RowShifter | back to summary |
|---|---|
| public RowShifter(Sheet sh) | |
| removalNeeded | back to summary |
|---|---|
| private boolean removalNeeded(CellRangeAddress merged, int startRow, int endRow, int n) | |
| shiftMergedRegions | back to summary |
|---|---|
| public List Implements abstract org. Shifts, grows, or shrinks the merged regions due to a row shift. Merged regions that are completely overlaid by shifting will be deleted.
| |
| validateShiftLeftParameters | back to summary |
|---|---|
| public static void validateShiftLeftParameters(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) Verify that the given column indices and step denote a valid range of columns to shift to the left
| |
| validateShiftParameters | back to summary |
|---|---|
| public static void validateShiftParameters(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) Verify that the given column indices and step denote a valid range of columns to shift
| |