Class XSSFColumnShifter
- java.lang.Object
-
- org.apache.poi.ss.usermodel.helpers.BaseRowColShifter
-
- org.apache.poi.ss.usermodel.helpers.ColumnShifter
-
- org.apache.poi.xssf.usermodel.helpers.XSSFColumnShifter
-
@Beta public final class XSSFColumnShifter extends ColumnShifter
Helper for shifting columns up or down- Since:
- POI 4.0.0
-
-
Constructor Summary
Constructors Constructor Description XSSFColumnShifter(XSSFSheet sh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateConditionalFormatting(FormulaShifter formulaShifter)
Update conditional formattingvoid
updateFormulas(FormulaShifter formulaShifter)
Update formulas.void
updateHyperlinks(FormulaShifter formulaShifter)
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 formulaShifter)
Update named ranges-
Methods inherited from class org.apache.poi.ss.usermodel.helpers.ColumnShifter
shiftColumns, shiftMergedRegions
-
Methods inherited from class org.apache.poi.ss.usermodel.helpers.BaseRowColShifter
shiftRange
-
-
-
-
Constructor Detail
-
XSSFColumnShifter
public XSSFColumnShifter(XSSFSheet sh)
-
-
Method Detail
-
updateNamedRanges
public void updateNamedRanges(FormulaShifter formulaShifter)
Description copied from class:BaseRowColShifter
Update named ranges- Specified by:
updateNamedRanges
in classBaseRowColShifter
-
updateFormulas
public void updateFormulas(FormulaShifter formulaShifter)
Description copied from class:BaseRowColShifter
Update formulas.- Specified by:
updateFormulas
in classBaseRowColShifter
-
updateConditionalFormatting
public void updateConditionalFormatting(FormulaShifter formulaShifter)
Description copied from class:BaseRowColShifter
Update conditional formatting- Specified by:
updateConditionalFormatting
in classBaseRowColShifter
-
updateHyperlinks
public void updateHyperlinks(FormulaShifter formulaShifter)
Description copied from class:BaseRowColShifter
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). Hyperlinks do not track the content they point to.- Specified by:
updateHyperlinks
in classBaseRowColShifter
- Parameters:
formulaShifter
- the formula shifting policy
-
-