public final class XSSFRowShifter extends RowShifter
HSSFRowShifter
sheet
Constructor and Description |
---|
XSSFRowShifter(XSSFSheet sh) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CellRangeAddress> |
shiftMerged(int startRow,
int endRow,
int n)
Deprecated.
POI 3.15 beta 2. Use
RowShifter.shiftMergedRegions(int, int, int) instead. |
void |
updateConditionalFormatting(FormulaShifter shifter) |
void |
updateFormulas(FormulaShifter shifter)
Update formulas.
|
void |
updateHyperlinks(FormulaShifter shifter)
Shift the Hyperlink anchors (not the hyperlink text, even if the hyperlink
is of type LINK_DOCUMENT and refers to a cell that was shifted).
|
void |
updateNamedRanges(FormulaShifter shifter)
Updated named ranges
|
void |
updateRowFormulas(Row row,
FormulaShifter shifter)
Update the formulas in specified row using the formula shifting policy specified by shifter
|
shiftMergedRegions
public XSSFRowShifter(XSSFSheet sh)
public java.util.List<CellRangeAddress> shiftMerged(int startRow, int endRow, int n)
RowShifter.shiftMergedRegions(int, int, int)
instead.startRow
- the row to start shiftingendRow
- the row to end shiftingn
- the number of rows to shiftpublic void updateNamedRanges(FormulaShifter shifter)
updateNamedRanges
in class RowShifter
public void updateFormulas(FormulaShifter shifter)
updateFormulas
in class RowShifter
@Internal public void updateRowFormulas(Row row, FormulaShifter shifter)
updateRowFormulas
in class RowShifter
row
- the row to update the formulas onshifter
- the formula shifting policypublic void updateConditionalFormatting(FormulaShifter shifter)
updateConditionalFormatting
in class RowShifter
public void updateHyperlinks(FormulaShifter shifter)
updateHyperlinks
in class RowShifter
shifter
- Copyright 2018 The Apache Software Foundation or its licensors, as applicable.