Package org.apache.poi.ss.usermodel
Class RangeCopier
java.lang.Object
org.apache.poi.ss.usermodel.RangeCopier
- Direct Known Subclasses:
HSSFRangeCopier
,XSSFRangeCopier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
adjustCellReferencesInsideFormula
(Cell cell, Sheet destSheet, int deltaX, int deltaY) protected boolean
adjustInBothDirections
(Ptg[] ptgs, int sheetIndex, int deltaX, int deltaY) static void
void
copyRange
(CellRangeAddress tilePatternRange, CellRangeAddress tileDestRange) Uses input pattern to tile destination region, overwriting existing content.
-
Constructor Details
-
RangeCopier
-
RangeCopier
-
-
Method Details
-
copyRange
Uses input pattern to tile destination region, overwriting existing content. Works in following manner : 1.Start from top-left of destination. 2.Paste source but only inside of destination borders. 3.If there is space left on right or bottom side of copy, process it as in step 2.- Parameters:
tilePatternRange
- source range which should be copied in tiled mannertileDestRange
- destination range, which should be overridden
-
adjustCellReferencesInsideFormula
-
adjustInBothDirections
-
cloneCellContent
-