public void updateNamesAfterCellShift(FormulaShifter shifter) {for (int i = 0 ; i < getNumNames() ; ++i){NameRecord nr = getNameRecord(i);Ptg[] ptgs = nr.getNameDefinition();if (shifter.adjustFormula(ptgs, nr.getSheetNumber())) {nr.setNameDefinition(ptgs);}}}
public void UpdateNamesAfterCellShift(FormulaShifter shifter){for (int i = 0; i < NumNames; ++i){NameRecord nr = GetNameRecord(i);Ptg[] ptgs = nr.NameDefinition;if (shifter.AdjustFormula(ptgs, nr.SheetNumber)){nr.NameDefinition = ptgs;}}}