text: 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);}}}}}