Class XSSFRowShifter
- java.lang.Object
-
- org.apache.poi.ss.usermodel.helpers.BaseRowColShifter
-
- org.apache.poi.ss.usermodel.helpers.RowShifter
-
- org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter
-
public final class XSSFRowShifter extends RowShifter
Helper for shifting rows up or down
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.usermodel.helpers.RowShifter
sheet
-
-
Constructor Summary
Constructors Constructor Description XSSFRowShifter(XSSFSheet sh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdateConditionalFormatting(FormulaShifter formulaShifter)voidupdateFormulas(FormulaShifter formulaShifter)voidupdateHyperlinks(FormulaShifter formulaShifter)voidupdateNamedRanges(FormulaShifter formulaShifter)voidupdateRowFormulas(XSSFRow row, FormulaShifter formulaShifter)Update the formulas in specified row using the formula shifting policy specified by shifter-
Methods inherited from class org.apache.poi.ss.usermodel.helpers.RowShifter
shiftMergedRegions, validateShiftLeftParameters, validateShiftParameters
-
Methods inherited from class org.apache.poi.ss.usermodel.helpers.BaseRowColShifter
shiftRange
-
-
-
-
Constructor Detail
-
XSSFRowShifter
public XSSFRowShifter(XSSFSheet sh)
-
-
Method Detail
-
updateNamedRanges
public void updateNamedRanges(FormulaShifter formulaShifter)
- Specified by:
updateNamedRangesin classBaseRowColShifter
-
updateFormulas
public void updateFormulas(FormulaShifter formulaShifter)
- Specified by:
updateFormulasin classBaseRowColShifter
-
updateRowFormulas
@Internal(since="3.15 beta 2") public void updateRowFormulas(XSSFRow row, FormulaShifter formulaShifter)
Update the formulas in specified row using the formula shifting policy specified by shifter- Parameters:
row- the row to update the formulas onformulaShifter- the formula shifting policy
-
updateConditionalFormatting
public void updateConditionalFormatting(FormulaShifter formulaShifter)
- Specified by:
updateConditionalFormattingin classBaseRowColShifter
-
updateHyperlinks
public void updateHyperlinks(FormulaShifter formulaShifter)
- Specified by:
updateHyperlinksin classBaseRowColShifter
-
-