text: public override void VisitContainedRecords(RecordVisitor rv){int nRegions = _mergedRegions.Count;if (nRegions < 1){return;}int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS;int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS;CellRangeAddress[] cras = (CellRangeAddress[])_mergedRegions.ToArray();for (int i = 0; i < nFullMergedCellsRecords; i++){int startIx = i * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, MAX_MERGED_REGIONS));}if (nLeftoverMergedRegions > 0){int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, nLeftoverMergedRegions));}}