Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.hssf.record.formula
Class FormulaShifter

    java.lang.Object
      org.apache.poi.hssf.record.formula.FormulaShifter

    public final class FormulaShifter

extends java.lang.Object

Author:
  Josh Micich

Method Summary
`boolean` | `adjustFormula(Ptg[] ptgs, int currentExternSheetIx)`
`static FormulaShifter` | `createForRowShift(int externSheetIndex, int firstMovedRowIndex, int lastMovedRowIndex, int numberOfRowsToMove)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### createForRowShift

    public static FormulaShifter createForRowShift(int externSheetIndex,
                                                   int firstMovedRowIndex,
                                                   int lastMovedRowIndex,
                                                   int numberOfRowsToMove)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### adjustFormula

    public boolean adjustFormula(Ptg[] ptgs,
                                 int currentExternSheetIx)

  Parameters:
    `ptgs` - - if necessary, will get modified by this method
    `currentExternSheetIx` - - the extern sheet index of the sheet that contains the formula being adjusted
  Returns:
    `true` if a change was made to the formula tokens

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD