@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
(BaseRowColShifter 类中的 shiftMergedRegions)
startColumn
- the column to start shifting
(startColumn - 开始移动的列)
endColumn
- the column to end shifting
(endColumn - 结束移位的列)
n
- the number of columns to shift
(n - 要移动的列数)
public void shiftColumns(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.