//Matched output version. public void Collect_Text_IntoWorkbook(ref XmlDocument summaryXml, matchingSheetInfo sheetInfo, fillerInfo filler) { if (sheetInfo.IsColumn == true) { Collect_Text_IntoWorkbookColumn(ref summaryXml, sheetInfo.SheetName, sheetInfo.indexString, sheetInfo.LineIndex, sheetInfo.StartFrom, sheetInfo.EndBy, sheetInfo.OutputLineIndex, filler.indexString, ref filler.replaceInfo); } else { Collect_Text_IntoWorkbookRow(ref summaryXml, sheetInfo.SheetName, sheetInfo.indexString, sheetInfo.LineIndex, sheetInfo.StartFrom, sheetInfo.EndBy, sheetInfo.OutputLineIndex, filler.indexString, ref filler.replaceInfo); } }