org.apache.poi.xssf.usermodel.helpers
Class XSSFRowShifter
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter
-
public final class XSSFRowShifter extends java.lang.ObjectHelper for shifting rows up or down
-
-
Constructor Summary
Constructors Constructor and Description XSSFRowShifter(XSSFSheet sh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<CellRangeAddress>shiftMerged(int startRow, int endRow, int n)Shift merged regionsvoidupdateConditionalFormatting(FormulaShifter shifter)voidupdateFormulas(FormulaShifter shifter)Update formulas.voidupdateNamedRanges(FormulaShifter shifter)Updated named ranges
-
-
-
Constructor Detail
-
XSSFRowShifter
public XSSFRowShifter(XSSFSheet sh)
-
-
Method Detail
-
shiftMerged
public java.util.List<CellRangeAddress> shiftMerged(int startRow, int endRow, int n)
Shift merged regions- Parameters:
startRow- the row to start shiftingendRow- the row to end shiftingn- the number of rows to shift- Returns:
- an array of affected cell regions
-
updateNamedRanges
public void updateNamedRanges(FormulaShifter shifter)
Updated named ranges
-
updateFormulas
public void updateFormulas(FormulaShifter shifter)
Update formulas.
-
updateConditionalFormatting
public void updateConditionalFormatting(FormulaShifter shifter)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG