public void read(RecordStream rs) {while (rs.peekNextClass() == MergeCellsRecord.class) {MergeCellsRecord mcr = (MergeCellsRecord) rs.getNext();int nRegions = mcr.getNumAreas();for (int i = 0; i < nRegions; i++) {CellRangeAddress cra = mcr.getAreaAt(i);_mergedRegions.add(cra);}}}

public void Read(RecordStream rs){while (rs.PeekNextClass() == typeof(MergeCellsRecord)){MergeCellsRecord mcr = (MergeCellsRecord)rs.GetNext();int nRegions = mcr.NumAreas;for (int i = 0; i < nRegions; i++){_mergedRegions.Add(mcr.GetAreaAt(i));}}}
