@Beta public abstract class RangeCopier extends java.lang.Object
Constructor and Description |
---|
RangeCopier(Sheet sheet) |
RangeCopier(Sheet sourceSheet,
Sheet destSheet) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
adjustCellReferencesInsideFormula(Cell cell,
Sheet destSheet,
int deltaX,
int deltaY) |
protected boolean |
adjustInBothDirections(Ptg[] ptgs,
int sheetIndex,
int deltaX,
int deltaY) |
static void |
cloneCellContent(Cell srcCell,
Cell destCell,
java.util.Map<java.lang.Integer,CellStyle> styleMap) |
void |
copyRange(CellRangeAddress tilePatternRange,
CellRangeAddress tileDestRange)
Uses input pattern to tile destination region, overwriting existing content.
|
public RangeCopier(Sheet sheet)
public void copyRange(CellRangeAddress tilePatternRange, CellRangeAddress tileDestRange)
tilePatternRange
- source range which should be copied in tiled mannertileDestRange
- destination range, which should be overriddenprotected abstract void adjustCellReferencesInsideFormula(Cell cell, Sheet destSheet, int deltaX, int deltaY)
protected boolean adjustInBothDirections(Ptg[] ptgs, int sheetIndex, int deltaX, int deltaY)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.