public class PtgShifter extends Object
Ptg
according to cell operations including cut, copy/paste, insertion, and deletion.
Constructor and Description |
---|
PtgShifter(int externSheetIndex,
int firstRow,
int lastRow,
int rowAmount,
int firstCol,
int lastCol,
int colAmount,
SpreadsheetVersion ver) |
Modifier and Type | Method and Description |
---|---|
boolean |
adjustFormula(Ptg[] ptgs,
int currentExternSheetIx) |
static Ptg |
createDeletedRef(Ptg ptg) |
static Ptg |
createDeletedRef3d(String bookName,
Ptg ptg) |
String |
toString() |
public PtgShifter(int externSheetIndex, int firstRow, int lastRow, int rowAmount, int firstCol, int lastCol, int colAmount, SpreadsheetVersion ver)
public boolean adjustFormula(Ptg[] ptgs, int currentExternSheetIx)
ptgs
- - if necessary, will get modified by this methodcurrentExternSheetIx
- - the extern sheet index of the sheet that contains the formula being adjustedtrue
if a change was made to the formula tokensCopyright © 2020. All rights reserved.