@Beta public abstract class ColumnShifter extends BaseRowColShifter
Constructor and Description |
---|
ColumnShifter(Sheet sh) |
Modifier and Type | Method and Description |
---|---|
void |
shiftColumns(int firstShiftColumnIndex,
int lastShiftColumnIndex,
int step) |
java.util.List<CellRangeAddress> |
shiftMergedRegions(int startColumn,
int endColumn,
int n)
Shifts, grows, or shrinks the merged regions due to a column shift.
|
shiftRange, updateConditionalFormatting, updateFormulas, updateHyperlinks, updateNamedRanges
protected final Sheet sheet
public ColumnShifter(Sheet sh)
public java.util.List<CellRangeAddress> shiftMergedRegions(int startColumn, int endColumn, int n)
shiftMergedRegions
in class BaseRowColShifter
startColumn
- the column to start shiftingendColumn
- the column to end shiftingn
- the number of columns to shiftpublic void shiftColumns(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.