/// <summary> /// Visit each of the atomic BIFF records contained in this {@link RecordAggregate} in the order /// that they should be written to file. Implementors may or may not return the actual /// {@link Record}s being used to manage POI's internal implementation. Callers should not /// assume either way, and therefore only attempt to modify those {@link Record}s after cloning /// </summary> /// <param name="rv"></param> public override void VisitContainedRecords(RecordVisitor rv) { rv.VisitRecord(_formulaRecord); Record sharedFormulaRecord = _sharedValueManager.GetRecordForFirstCell(this); if (sharedFormulaRecord != null) { rv.VisitRecord(sharedFormulaRecord); } if (_formulaRecord.HasCachedResultString && _stringRecord != null) { rv.VisitRecord(_stringRecord); } }