public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex) {for (int i = 0; i < records.length; i++) {CellValueRecordInterface[] rowCells = records[i];if (rowCells == null) {continue;}for (int j = 0; j < rowCells.length; j++) {CellValueRecordInterface cell = rowCells[j];if (cell instanceof FormulaRecordAggregate) {FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.getFormulaTokens(); Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).getFormulaRecord().getParsedExpression(); if (shifter.adjustFormula(ptgs, currentExternSheetIndex)) {fra.setParsedExpression(ptgs);}}}}}
public void UpdateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex){for (int i = 0; i < records.Length; i++){CellValueRecordInterface[] rowCells = records[i];if (rowCells == null){continue;}for (int j = 0; j < rowCells.Length; j++){CellValueRecordInterface cell = rowCells[j];if (cell is FormulaRecordAggregate){FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.FormulaTokens; Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).FormulaRecord.ParsedExpression; if (shifter.AdjustFormula(ptgs, currentExternSheetIndex)){fra.SetParsedExpression(ptgs);}}}}}