public final class FormulaShifter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
adjustFormula(Ptg[] ptgs,
int currentExternSheetIx) |
static FormulaShifter |
createForColumnShift(int externSheetIndex,
int firstMovedColIndex,
int lastMovedColIndex,
int numberOfColsToMove) |
static FormulaShifter |
createForRowShift(int externSheetIndex,
int firstMovedRowIndex,
int lastMovedRowIndex,
int numberOfRowsToMove) |
static FormulaShifter |
createForSheetShift(int srcSheetIndex,
int dstSheetIndex) |
java.lang.String |
toString() |
public static FormulaShifter createForRowShift(int externSheetIndex, int firstMovedRowIndex, int lastMovedRowIndex, int numberOfRowsToMove)
public static FormulaShifter createForSheetShift(int srcSheetIndex, int dstSheetIndex)
public java.lang.String toString()
toString
in class java.lang.Object
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 tokenspublic static FormulaShifter createForColumnShift(int externSheetIndex, int firstMovedColIndex, int lastMovedColIndex, int numberOfColsToMove)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.