// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetData sheetData1 = new SheetData(); string drawingrID = GetNextRelationShipId(); AppendSheetData(sheetData1, worksheetPart1, drawingrID); worksheet1.Append(sheetData1); if (worksheetPart1.DrawingsPart != null && worksheetPart1.DrawingsPart.WorksheetDrawing != null) { Drawing drawing1 = new Drawing() { Id = drawingrID }; worksheet1.Append(drawing1); } worksheetPart1.Worksheet = worksheet1; }
private static void GenerateWorksheetPartContent(WorksheetPart worksheetPart, SheetData sheetData) { Worksheet worksheet1 = new Worksheet(); SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "A1", SequenceOfReferences = new ListValue <StringValue>() { InnerText = "A1" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetData); worksheetPart.Worksheet = worksheet1; }
public XlWorksheet(Stylesheet stylesheet, SharedStringTable sharedStringTable) { this.stylesheet = stylesheet; this.sharedStringTable = sharedStringTable; worksheet = new Worksheet(); worksheet.Append(GenerateSheetViews()); worksheet.Append(GenerateSheetData()); // это необходимая часть }
/// <summary> /// Write excel file of a list of object as T /// Assume that maximum of 24 columns /// </summary> /// <typeparam name="T">Object type to pass in</typeparam> /// <param name="fileName">Full path of the file name of excel spreadsheet</param> /// <param name="objects">list of the object type</param> /// <param name="sheetName">Sheet names of Excel File</param> /// <param name="headerNames">Header names of the object</param> public void Create <T>( string fileName, List <T> objects, string sheetName, List <string> headerNames) { //Open the copied template workbook. using (SpreadsheetDocument myWorkbook = SpreadsheetDocument.Create(fileName, SpreadsheetDocumentType.Workbook)) { WorkbookPart workbookPart = myWorkbook.AddWorkbookPart(); WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); // Create Styles and Insert into Workbook WorkbookStylesPart stylesPart = myWorkbook.WorkbookPart.AddNewPart <WorkbookStylesPart>(); Stylesheet styles = new CustomStylesheet(); styles.Save(stylesPart); string relId = workbookPart.GetIdOfPart(worksheetPart); Workbook workbook = new Workbook(); FileVersion fileVersion = new FileVersion { ApplicationName = "Microsoft Office Excel" }; SheetData sheetData = CreateSheetData <T>(objects, headerNames, stylesPart); Worksheet worksheet = new Worksheet(); int numCols = headerNames.Count; int width = headerNames.Max(h => h.Length) + 5; Columns columns = new Columns(); for (int col = 0; col < numCols; col++) { Column c = CreateColumnData((UInt32)col + 1, (UInt32)numCols + 1, width); columns.Append(c); } worksheet.Append(columns); Sheets sheets = new Sheets(); Sheet sheet = new Sheet { Name = sheetName, SheetId = 1, Id = relId }; sheets.Append(sheet); workbook.Append(fileVersion); workbook.Append(sheets); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; worksheetPart.Worksheet.Save(); myWorkbook.WorkbookPart.Workbook = workbook; myWorkbook.WorkbookPart.Workbook.Save(); myWorkbook.Close(); } }
private void WriteWorksheet(WorkbookPart workbookPart, Sheets sheets, DotForm form) { //Add data to first sheet WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); Worksheet worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; Columns columns = new Columns(); columns.Append(new Column { Min = 1, Max = 2, Width = 4, CustomWidth = true }); columns.Append(new Column { Min = 3, Max = 7, Width = 12, CustomWidth = true }); columns.Append(new Column { Min = 8, Max = 8, Width = 40, CustomWidth = true }); columns.Append(new Column { Min = 9, Max = 9, Width = 20, CustomWidth = true }); columns.Append(new Column { Min = 10, Max = 11, Width = 4, CustomWidth = true }); var sheetData = new SheetData(); var dataValidations = new DataValidations(); worksheet.Append(columns); worksheet.Append(sheetData); var mergeCells = CreateOrGetMergeCells(worksheet); worksheet.Append(dataValidations); Sheet sheet = new Sheet { Name = form.EventTreeName, SheetId = (uint)sheets.Count() + 1, Id = workbookPart.GetIdOfPart(worksheetPart), }; sheets.Append(sheet); WriteHeader(sheetData, mergeCells); WriteEventHeader(form, sheetData, mergeCells); WriteExpertInformation(form, sheetData); WriteElicitationCodeInformation(sheetData, mergeCells); AddImage(form.GetFileStream, worksheetPart); var rowNumber = WriteNodes(form, sheetData, dataValidations); WriteSheetBottom(sheetData, rowNumber); worksheetPart.Worksheet.Save(); }
/// <summary> /// Set work book style /// </summary> /// <param name="worksheetPart">Work Sheet file</param> /// <param name="sheetData">Sheet data</param> private void GenerateWorksheetPartContent(WorksheetPart worksheetPart, SheetData sheetData) { Worksheet worksheet = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension = new SheetDimension() { Reference = "A1" }; SheetViews sheetViews = new SheetViews(); SheetView sheetView = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection = new Selection() { ActiveCell = "A1", SequenceOfReferences = new ListValue <StringValue>() { InnerText = "A1" } }; sheetView.Append(selection); sheetViews.Append(sheetView); SheetFormatProperties sheetFormatProperties = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D }; PageMargins pageMargins = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet.Append(sheetDimension); worksheet.Append(sheetViews); worksheet.Append(sheetFormatProperties); worksheet.Append(sheetData); worksheet.Append(pageMargins); worksheetPart.Worksheet = worksheet; }
/// <summary> /// Vytvoří repost do vstupního streamu /// </summary> /// <param name="file"></param> protected void Create(Stream file) { using (SpreadsheetDocument spreadSheet = SpreadsheetDocument.Create(file, SpreadsheetDocumentType.Workbook)) { WorkbookPart workbookpart = spreadSheet.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); WorkbookStylesPart wbsp = workbookpart.AddNewPart <WorkbookStylesPart>(); wbsp.Stylesheet = GenerateStyleSheet(); Sheets sheets = spreadSheet.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets()); uint id = 1; foreach (var result in sresult)//pro kazdy algoritmus delej sheet { WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>(); Worksheet worksheet = new Worksheet(); Columns columns = new Columns(); for (uint i = 1; i <= sparams.Senates.Count + 2; i++) { columns.Append(CreateColumnData(i, i, 20)); } worksheet.Append(columns); //pridano 2.3.2018 KUB var alg_name = ConvertAlgorithmName((from a in alginfo where a.AlgorithmID == result.UsedAlgorithm.ToString() select a.AlgorithmName).First()); Sheet sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = id, Name = alg_name /*ConvertAlgorithmName(alginfo[result.UsedAlgorithm].AlgorithmName)// chyba 2.3. KUB */ }; id++; sheets.Append(sheet); SheetData sheetData = new SheetData(); SimulationParamsExport(alginfo, sparams, result, sheetData); //tiskni informace o simulaci uint last_row_index = SenateInfoExport(sparams, sheetData, 5); //zacni od pateho radku s vypisem info o senatech last_row_index++; last_row_index = SimulationResultsExport(sparams, result, sheetData, last_row_index); //tiskni vysledky simulace last_row_index++; last_row_index = MaximumExport(result, sheetData, last_row_index); //tiskni maximum last_row_index++; last_row_index = MinimumExport(result, sheetData, last_row_index); //tiskni minimum last_row_index++; last_row_index = AvgExport(result, sheetData, last_row_index); //tiskni prumer last_row_index++; last_row_index = StdevExport(result, sheetData, last_row_index); //tiskni smerodatnou odchylku worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; } workbookpart.Workbook.Save(); } }
/// <summary> /// Write excel file of a list of object as T /// Assume that maximum of 24 columns /// </summary> /// <typeparam name="T">Object type to pass in</typeparam> /// <param name="fileName">Full path of the file name of excel spreadsheet</param> /// <param name="objects">list of the object type</param> /// <param name="sheetName">Sheet names of Excel File</param> /// <param name="headerNames">Header names of the object</param> public void Create( string fileName, DataTable dt) { //Open the copied template workbook. using (SpreadsheetDocument myWorkbook = SpreadsheetDocument.Create(fileName, SpreadsheetDocumentType.Workbook)) { WorkbookPart workbookPart = myWorkbook.AddWorkbookPart(); var worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); // Create Styles and Insert into Workbook var stylesPart = myWorkbook.WorkbookPart.AddNewPart <WorkbookStylesPart>(); Stylesheet styles = new CustomStylesheet(); styles.Save(stylesPart); string relId = workbookPart.GetIdOfPart(worksheetPart); var workbook = new Workbook(); var fileVersion = new FileVersion { ApplicationName = "Microsoft Office Excel" }; var worksheet = new Worksheet(); int numCols = dt.Columns.Count; var columns = new Columns(); for (int col = 0; col < numCols; col++) { int width = dt.Columns[col].ToString().Length + 5; Column c = new CustomColumn((UInt32)col + 1, (UInt32)numCols + 1, width); columns.Append(c); } worksheet.Append(columns); var sheets = new Sheets(); var sheet = new Sheet { Name = dt.TableName, SheetId = 1, Id = relId }; sheets.Append(sheet); workbook.Append(fileVersion); workbook.Append(sheets); SheetData sheetData = CreateSheetData(dt); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; UpdateBorderStyle(workbookPart, worksheetPart, dt); worksheetPart.Worksheet.Save(); myWorkbook.WorkbookPart.Workbook = workbook; myWorkbook.WorkbookPart.Workbook.Save(); myWorkbook.Close(); } }
/// <summary> /// Initialize the worksheet with required details /// </summary> /// <returns></returns> private Worksheet SetWorksheetData() { Worksheet worksheet = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); Columns columns = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 15U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; columns.Append(column1); columns.Append(column2); columns.Append(column3); columns.Append(column4); SheetData sheetData = new SheetData(); SheetProtection sheetProtection = new SheetProtection() { Sheet = true, Objects = true, Scenarios = true }; worksheet.Append(columns); worksheet.Append(sheetData); worksheet.Append(sheetProtection); return(worksheet); }
public void Create(string fileName) { FileName = fileName; using (SpreadsheetDocument doc = SpreadsheetDocument.Create(FileName, DocumentFormat.OpenXml.SpreadsheetDocumentType.Workbook)) { var workbookPart = doc.AddWorkbookPart(); var worksheetPart = workbookPart.AddNewPart<WorksheetPart>(); // Create Styles var stylesPart = doc.WorkbookPart.AddNewPart<WorkbookStylesPart>(); Style = new CustomStylesheet(); LoadCustomFonts(); LoadCustomBorders(); LoadCustomStyles(); Style.Save(stylesPart); string relId = workbookPart.GetIdOfPart(worksheetPart); // create workbook and sheet var workbook = new Workbook(); var worksheet = new Worksheet(); var fileVersion = new FileVersion { ApplicationName = "Microsoft Office Excel" }; // create columns var columns = new Columns(); CreateColumns(columns); worksheet.Append(columns); // create Sheet var sheets = new Sheets(); var sheet = new Sheet { Name = "My sheet", SheetId = 1, Id = relId }; sheets.Append(sheet); workbook.Append(fileVersion); workbook.Append(sheets); var sheetData = new SheetData(); LoadData(sheetData); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; worksheetPart.Worksheet.Save(); doc.WorkbookPart.Workbook = workbook; doc.WorkbookPart.Workbook.Save(); //doc.Close(); } }
public static void AddColumns(Worksheet workSheet2, int columnId, double width) { // Check if the column collection exists Columns cs = workSheet2.Elements <Columns>().FirstOrDefault(); if ((cs == null)) { // If Columns appended to worksheet after sheetdata Excel will throw an error. SheetData sd = workSheet2.Elements <SheetData>().FirstOrDefault(); if ((sd != null)) { //cs = workSheet2.InsertBefore(new Columns(), sd); cs = workSheet2.InsertBefore(new Columns(), sd); } else { cs = new Columns(); workSheet2.Append(cs); } } //create a column object to define the width of columns 1 to 3 Column c = new Column { Min = (uint)columnId, Max = (uint)columnId, Width = width, CustomWidth = true }; cs.Append(c); }
/// <summary> /// Creates a deep copy of this <see cref="ShapeModel"/> and associated shape in the worksheet. /// </summary> /// <param name="targetWorksheet">The worksheet into which the clone will be placed. If null, the cloned <see cref="ShapeModel"/> will be based on the original <see cref="Worksheet"/>/></param> /// <returns>The <see cref="ShapeModel"/> that represents the shape</returns> public ShapeModel Clone(Worksheet targetWorksheet) { // If no target worksheet is supplied, clone in sit (ie. on the current worksheet) Worksheet cloneToWorksheet = targetWorksheet == null ? this.Worksheet : targetWorksheet; if (cloneToWorksheet.WorksheetPart.DrawingsPart == null) { var drawingsPart = cloneToWorksheet.WorksheetPart.AddNewPart <OpenXmlPackaging.DrawingsPart>(); drawingsPart.WorksheetDrawing = new DrawingSpreadsheet.WorksheetDrawing(); // if a drawings part is being created then we need to add a Drawing to the end of the targetworksheet DocumentFormat.OpenXml.Spreadsheet.Drawing drawing = new DocumentFormat.OpenXml.Spreadsheet.Drawing() { Id = cloneToWorksheet.WorksheetPart.GetIdOfPart(cloneToWorksheet.WorksheetPart.DrawingsPart) }; cloneToWorksheet.Append(drawing); } // Clone the anchor for the template chart to get a new anchor + shape DrawingSpreadsheet.TwoCellAnchor clonedAnchor = (DrawingSpreadsheet.TwoCellAnchor) this.Anchor.CloneNode(true); DrawingSpreadsheet.Shape clonedShape = clonedAnchor.Descendants <DrawingSpreadsheet.Shape>().FirstOrDefault(); // Insert the cloned anchor. cloneToWorksheet.WorksheetPart.DrawingsPart.WorksheetDrawing.Append(clonedAnchor); // Insert the cloned anchor. return(new ShapeModel(cloneToWorksheet, clonedAnchor)); }
public void GenerateExcelFile(Matrix mat, Stream stream) { using (SpreadsheetDocument document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook)) { var relationshipId = "rId1"; //build Workbook Part var workbookPart = document.AddWorkbookPart(); var workbook = new Workbook(); var sheets = new Sheets(); var sheet1 = new Sheet() { Name = "MySheet", SheetId = 1, Id = relationshipId }; sheets.Append(sheet1); workbook.Append(sheets); workbookPart.Workbook = workbook; //build Worksheet Part var workSheetPart = workbookPart.AddNewPart <WorksheetPart>(relationshipId); var workSheet = new Worksheet(); var sheetData = GetData(mat); workSheet.Append(sheetData); workSheetPart.Worksheet = workSheet; } }
/// <summary> /// Crée une feuille. /// </summary> /// <param name="name">Le nom de la feuille.</param> /// <returns>La feuille créée.</returns> public WorksheetPart CreateSheet(string name) { var sheetPart = _package.WorkbookPart.AddNewPart <WorksheetPart>(); // Taille limite name = new string(name.Take(30).ToArray()); Worksheet workSheet = new Worksheet(); workSheet.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); workSheet.Append(new SheetData()); sheetPart.Worksheet = workSheet; // Get a unique ID for the new worksheet. Sheets sheets = _package.WorkbookPart.Workbook.Sheets; uint sheetId = 1; if (sheets.Elements <Sheet>().Any()) { sheetId = sheets.Elements <Sheet>().Select(s => s.SheetId.Value).Max() + 1; } var sheet = new Sheet() { Name = MakeValidSheetName(name), Id = _package.WorkbookPart.GetIdOfPart(sheetPart), SheetId = sheetId }; _package.WorkbookPart.Workbook.Sheets.Append(sheet); return(sheetPart); }
private void CreateDisplayNameWorksheet(WorkbookPart workbookPart, int lookupCounter) { string rId = "rId" + lookupCounter; workbookPart.Workbook.Sheets.AppendChild(new Sheet { Name = "DNValues", SheetId = (UInt32Value)(lookupCounter + (0U)), Id = rId, State = SheetStateValues.Hidden }); var dnWorksheetPart = workbookPart.AddNewPart <WorksheetPart>(rId); var dnWorksheet = new Worksheet { MCAttributes = new MarkupCompatibilityAttributes { Ignorable = "x14ac" } }; dnWorksheet.AddNamespaceDeclaration("r", R_SCHEMA); dnWorksheet.AddNamespaceDeclaration("mc", MC_SCHEMA); dnWorksheet.AddNamespaceDeclaration("x14ac", X14_AC_SCHEMA); var dnSheetProperties = new SheetProperties { CodeName = "Sheet" + lookupCounter }; var dnSheetDimension = new SheetDimension { Reference = "A1" }; dnWorksheet.Append(dnSheetProperties, dnSheetDimension, new SheetData()); dnWorksheetPart.Worksheet = dnWorksheet; }
private void GenWorksheetPart(WorksheetPart worksheetPart, GroupReport report) { if (worksheetPart == null) { throw new ArgumentNullException("worksheetPart", string.Format("Параметр {0} имеет значение null.", "worksheetPart")); } if (report == null) { throw new ArgumentNullException("template", string.Format("Параметр {0} имеет значение null.", "template")); } Worksheet workSheet = new Worksheet(); SheetData sheetData = new SheetData(); //записать в Excel названия полей Row headerRow = new Row(); addHeaderRow(headerRow, report); sheetData.AppendChild(headerRow); //записать в Excel строки с данными addDataRows(sheetData, report); workSheet.Append(sheetData); worksheetPart.Worksheet = workSheet; }
protected virtual void GenWorksheetPart(WorksheetPart worksheetPart, DataTable dt) { if (worksheetPart == null) { throw new ArgumentNullException("worksheetPart", "Параметр worksheetPart имеет значение null."); } if (dt == null) { throw new ArgumentNullException("Таблица", "Параметр таблица имеет значение null."); } Worksheet workSheet = new Worksheet(); SheetData sheetData = new SheetData(); //записать в Excel названия полей Row headerRow = new Row(); addHeaderRow(headerRow, dt); sheetData.AppendChild(headerRow); //записать в Excel строки с данными addDataRows(sheetData, dt); workSheet.Append(sheetData); worksheetPart.Worksheet = workSheet; }
/// <summary> /// Вставляет в лист Excel столбец определенной ширины. /// </summary> /// <param name="sheetName">Лист, в который вставляем столбец</param> /// <param name="columnIndex">Номер столбца по порядку, начиная с 1</param> /// <param name="columnWidth">Ширина вставляемого столбца</param> public void AddColumn(string sheetName, uint columnIndex, double columnWidth) { GetSpreadSheet(sheetName); Columns columns = _workSheet.Elements <Columns>().FirstOrDefault(); if (columns == null) { SheetData sheetData = _workSheet.Elements <SheetData>().FirstOrDefault(); if (sheetData != null) { columns = _workSheet.InsertBefore(new Columns(), sheetData); } else { columns = new Columns(); _workSheet.Append(columns); } } Column column = new Column() { Min = columnIndex, Max = columnIndex, Width = columnWidth, CustomWidth = true }; columns.Append(column); }
private static void BuildSheetColumns(Worksheet worksheet, SheetConfiguration configuration) { Columns columns = new Columns(); uint i = 1; foreach (var column in configuration.Columns) { var excelColumn = new Column() { Min = i, Max = i, CustomWidth = true }; i++; if (column.Width.HasValue) { var val = column.Width.Value == 0 ? 0 : column.Width.Value / 6.5; excelColumn.Width = new DoubleValue(val); } else { excelColumn.Width = new DoubleValue(10.0); } columns.Append(excelColumn); } worksheet.Append(columns); }
public static void AddColumnWidth(this Worksheet ws, IEnumerable <double> columnWidths) { Columns columns = new Columns(); uint pos = 1; foreach (var width in columnWidths) { Column column = new Column() { Min = (UInt32Value)pos, Max = (UInt32Value)pos, Width = width, BestFit = true, CustomWidth = true }; columns.Append(column); pos++; } SheetData sd = ws.GetFirstChild <SheetData>(); if (sd != null) { // insert this before the sheetdata (if it exists possible). ws.InsertBefore <Columns>(columns, sd); } else { ws.Append(columns); } }
public bool CreateSpreadSheet() { //Initiate the stream SpreadsheetStream = new MemoryStream(); try { //Create the spreadsheet in memory _spreadsheet = SpreadsheetDocument.Create(SpreadsheetStream, SpreadsheetDocumentType.Workbook); WorkbookPart workbookPart = _spreadsheet.AddWorkbookPart(); //Add WorkbookPart Workbook workbook = new Workbook(); //Initiate workbook Worksheet worksheet = new Worksheet(); //Initiate WorkSheet New Worksheet SheetData sheetData = new SheetData(); //Initiate SheetData WorkbookStylesPart stylesPart = _spreadsheet.WorkbookPart.AddNewPart <WorkbookStylesPart>(); stylesPart.Stylesheet = GenerateStyleSheet(); //Add StyleSheet stylesPart.Stylesheet.Save(); worksheet.Append(sheetData); _spreadsheet.WorkbookPart.Workbook = workbook; _spreadsheet.WorkbookPart.Workbook.Save(); } catch { return(false); } return(true); }
/// <summary> /// Create a basic spreadsheet template /// The structure of OpenXML spreadsheet is something like this from what I can tell: /// Spreadsheet /// | /// WorkbookPart /// / | \ /// Workbook WorkbookStylesPart WorksheetPart /// | | | /// Sheets StyleSheet Worksheet /// | / \ /// (refers to SheetData Columns /// Worksheetparts) | /// Rows /// /// Obviously this only covers the bits in this class! /// </summary> /// <returns></returns> public bool CreateSpreadsheet() { try { SpreadsheetStream = new MemoryStream(); // Create the spreadsheet on the MemoryStream _spreadSheet = SpreadsheetDocument.Create(SpreadsheetStream, SpreadsheetDocumentType.Workbook); WorkbookPart wbp = _spreadSheet.AddWorkbookPart(); // Add workbook part //WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>(); // Add worksheet part Workbook wb = new Workbook(); // Workbook FileVersion fv = new FileVersion(); fv.ApplicationName = "Excel xml demo"; Worksheet ws = new Worksheet(); // Worksheet SheetData sd = new SheetData(); // Data on worksheet // Add stylesheet WorkbookStylesPart stylesPart = _spreadSheet.WorkbookPart.AddNewPart <WorkbookStylesPart>(); stylesPart.Stylesheet = GenerateStyleSheet(); stylesPart.Stylesheet.Save(); ws.Append(sd); // Add sheet data to worksheet _spreadSheet.WorkbookPart.Workbook = wb; _spreadSheet.WorkbookPart.Workbook.Save(); } catch { return(false); } return(true); }
protected override void NewSheet(string?name) { var sheetId = "rId" + (++sheetCount); name = NewSheetName(name); Sheet sheet = new Sheet() { Name = name, SheetId = sheetCount, Id = sheetId }; sheets.Append(sheet); WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>(sheetId); Worksheet worksheet = new Worksheet(); sheetData = new SheetData(); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; currentCol = 0; currentRow = 0; NewLine(); }
public MemoryStream GetExcel(string[] fieldsToExpose, DataTable data) { MemoryStream stream = new MemoryStream(); UInt32 rowcount = 0; // Create the Excel document var document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook); var workbookPart = document.AddWorkbookPart(); var worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); var relId = workbookPart.GetIdOfPart(worksheetPart); var workbook = new Workbook(); var fileVersion = new FileVersion { ApplicationName = "Microsoft Office Excel" }; var worksheet = new Worksheet(); var sheetData = new SheetData(); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; var sheets = new Sheets(); var sheet = new Sheet { Name = "Sheet1", SheetId = 1, Id = relId }; sheets.Append(sheet); workbook.Append(fileVersion); workbook.Append(sheets); document.WorkbookPart.Workbook = workbook; document.WorkbookPart.Workbook.Save(); // Add header to the sheet var row = new Row { RowIndex = ++rowcount }; for (int i = 0; i < fieldsToExpose.Length; i++) { row.Append(CreateTextCell(ColumnLetter(i), rowcount, fieldsToExpose[i])); } sheetData.AppendChild(row); worksheetPart.Worksheet.Save(); // Add data to the sheet foreach (DataRow dataRow in data.Rows) { row = new Row { RowIndex = ++rowcount }; for (int i = 0; i < fieldsToExpose.Length; i++) { row.Append(CreateTextCell(ColumnLetter(i), rowcount, dataRow[fieldsToExpose[i]].ToString())); } sheetData.AppendChild(row); } worksheetPart.Worksheet.Save(); document.Close(); return(stream); }
private void CreateExcelFile() { using (SpreadsheetDocument document = SpreadsheetDocument.Create(_path, SpreadsheetDocumentType.Workbook)) { // Add a WorkbookPart to the document. WorkbookPart workbookpart = document.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); // Add a WorksheetPart to the WorkbookPart. WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>(); // Add Sheets to the Workbook. Sheets sheets = document.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets()); // Append a new worksheet and associate it with the workbook. Sheet sheet = new Sheet() { Id = document.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "HABANERO" }; sheets.Append(sheet); Worksheet worksheet = new Worksheet(); worksheet.Append(_sheetData); worksheetPart.Worksheet = worksheet; workbookpart.Workbook.Save(); document.Close(); } }
private static void ChangeWorksheetPart1(WorksheetPart worksheetPart1) { Worksheet worksheet1 = worksheetPart1.Worksheet; HeaderFooter headerFooter1 = new HeaderFooter(); OddHeader oddHeader1 = new OddHeader(); oddHeader1.Text = "&L&G"; headerFooter1.Append(oddHeader1); worksheet1.Append(headerFooter1); LegacyDrawingHeaderFooter legacyDrawingHeaderFooter1 = new LegacyDrawingHeaderFooter() { Id = "rId2" }; worksheet1.Append(legacyDrawingHeaderFooter1); }
private static void CopyAlternateContent([NotNull] Controls controls, [NotNull] Worksheet targetWorksheet) { var alternateContents = controls.ChildElements .Where(x => x is AlternateContent) .Select(x => x.GetFirstChild <AlternateContentChoice>().GetFirstChild <Control>()) .Select(x => (Control: (Control)x.CloneNode(true), CorrectId: x.Id)) .Pipe(x => x.Control.Id = x.CorrectId) .Select(x => new AlternateContent(new AlternateContentChoice(x.Control) { Requires = "x14" })) .Pipe(x => x.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006")) .Cast <OpenXmlElement>() .ToArray(); var alternateContentChoice = new AlternateContentChoice(new Controls(alternateContents)) { Requires = "x14" }; var alternateContent = new AlternateContent(alternateContentChoice); alternateContent.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); targetWorksheet.RemoveAllChildren <AlternateContent>(); targetWorksheet.Append(alternateContent); }
public MemoryStream CreateReport(DataTable result, string reportName = "") { var memoryStream = new MemoryStream(); var spreadsheetDocument = SpreadsheetDocument.Create(memoryStream, SpreadsheetDocumentType.Workbook); var workbookPart = spreadsheetDocument.AddWorkbookPart(); workbookPart.Workbook = new Workbook(); var worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); var sheetData = new SheetData(); WorkbookStylesPart workbookStylesPart = workbookPart.AddNewPart <WorkbookStylesPart>(); workbookStylesPart.Stylesheet = StyleSheetBuilder.CreateStylesheet(); workbookStylesPart.Stylesheet.Save(); var workSheet = new Worksheet(); var columns = BuildColumns(result); workSheet.Append(columns); workSheet.Append(sheetData); worksheetPart.Worksheet = workSheet; _reportName = StringExtensions.Coalesce(_reportName, reportName); var sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild(new Sheets()); var sheet = new Sheet { Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = _reportName }; sheets.AppendChild(sheet); BuildWorksheetHeader(sheetData); BuildHeaderRow(sheetData, result.Columns); BuildDataRows(sheetData, result.Rows); workbookPart.Workbook.Save(); spreadsheetDocument.Close(); memoryStream.Seek(0, SeekOrigin.Begin); return(memoryStream); }
private void CreateWorkSheet(WorksheetPart worksheetPart, DataGridView dgv) { Worksheet worksheet = new Worksheet(); SheetData sheetData = new SheetData(); UInt32Value currRowIndex = 1U; Row excelRow = new Row(); foreach (DataGridViewColumn col in dgv.Columns) { Cell cell = new Cell(); cell.DataType = CellValues.String; CellValue cellValue = new CellValue(); cellValue.Text = col.HeaderText; cell.Append(cellValue); excelRow.Append(cell); } sheetData.Append(excelRow); currRowIndex++; foreach (DataGridViewRow row in dgv.Rows) { excelRow = new Row(); excelRow.RowIndex = currRowIndex++; foreach (DataGridViewCell col in row.Cells) { Cell cell = new Cell(); CellValue cellValue = new CellValue(); cell.DataType = CellValues.String; cellValue.Text = col.Value?.ToString(); cell.Append(cellValue); excelRow.Append(cell); } sheetData.Append(excelRow); } SheetFormatProperties formattingProps = new SheetFormatProperties() { DefaultRowHeight = 20D, DefaultColumnWidth = 20D }; worksheet.Append(formattingProps); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; }
static void GenerateWorksheetPartContent <T>(WorksheetPart worksheetPart, IEnumerable <T> data, Dictionary <string, ExportInfo> exportInfos) { var worksheet = new Worksheet(); var columns = new Columns(); List <Column> columnsList; var sheetData = new SheetData(); ExportData(sheetData, data, exportInfos, out columnsList); if (columnsList != null) { columns.Append(columnsList); } worksheet.Append(columns); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; }
public static void FinalizeSpreadsheetWriting(ref SpreadsheetDocument spreadsheetDocument, ref SheetData sheetData) { Worksheet worksheet = new Worksheet(); worksheet.Append(sheetData); spreadsheetDocument.WorkbookPart.WorksheetParts.First().Worksheet = worksheet; spreadsheetDocument.WorkbookPart.Workbook.Save(); spreadsheetDocument.Close(); }
// Adds child parts and generates content of the specified part private static void CreateParts(SpreadsheetDocument document) { WorkbookPart workbookPart1 = document.AddWorkbookPart(); GenerateWorkbookPart1Content(workbookPart1); WorksheetPart worksheetPart1 = workbookPart1.AddNewPart<WorksheetPart>("rId1"); Worksheet worksheet1 = new Worksheet(); SheetData sheetData1 = new SheetData(); worksheet1.Append(sheetData1); worksheetPart1.Worksheet = worksheet1; //GenerateWorksheetPart1Content(worksheetPart1); }
public MemoryStream GetExcel(string[] fieldsToExpose, DataTable data) { MemoryStream stream = new MemoryStream(); UInt32 rowcount = 0; // Create the Excel document var document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook); var workbookPart = document.AddWorkbookPart(); var worksheetPart = workbookPart.AddNewPart<WorksheetPart>(); var relId = workbookPart.GetIdOfPart(worksheetPart); var workbook = new Workbook(); var fileVersion = new FileVersion { ApplicationName = "Microsoft Office Excel" }; var worksheet = new Worksheet(); var sheetData = new SheetData(); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; var sheets = new Sheets(); var sheet = new Sheet { Name = "Sheet1", SheetId = 1, Id = relId }; sheets.Append(sheet); workbook.Append(fileVersion); workbook.Append(sheets); document.WorkbookPart.Workbook = workbook; document.WorkbookPart.Workbook.Save(); // Add header to the sheet var row = new Row { RowIndex = ++rowcount }; for (int i = 0; i < fieldsToExpose.Length; i++) { row.Append(CreateTextCell(ColumnLetter(i), rowcount, fieldsToExpose[i])); } sheetData.AppendChild(row); worksheetPart.Worksheet.Save(); // Add data to the sheet foreach (DataRow dataRow in data.Rows) { row = new Row { RowIndex = ++rowcount }; for (int i = 0; i < fieldsToExpose.Length; i++) { row.Append(CreateTextCell(ColumnLetter(i), rowcount, dataRow[fieldsToExpose[i]].ToString())); } sheetData.AppendChild(row); } worksheetPart.Worksheet.Save(); document.Close(); return stream; }
private void CreateWorkSheet(WorksheetPart worksheetPart, DataGridView dgv) { Worksheet worksheet = new Worksheet(); SheetData sheetData = new SheetData(); UInt32Value currRowIndex = 1U; Row excelRow = new Row(); foreach(DataGridViewColumn col in dgv.Columns) { Cell cell = new Cell(); cell.DataType = CellValues.String; CellValue cellValue = new CellValue(); cellValue.Text = col.HeaderText; cell.Append(cellValue); excelRow.Append(cell); } sheetData.Append(excelRow); currRowIndex++; foreach (DataGridViewRow row in dgv.Rows) { excelRow = new Row(); excelRow.RowIndex = currRowIndex++; foreach (DataGridViewCell col in row.Cells) { Cell cell = new Cell(); CellValue cellValue = new CellValue(); cell.DataType = CellValues.String; cellValue.Text = col.Value?.ToString(); cell.Append(cellValue); excelRow.Append(cell); } sheetData.Append(excelRow); } SheetFormatProperties formattingProps = new SheetFormatProperties() { DefaultRowHeight = 20D, DefaultColumnWidth = 20D }; worksheet.Append(formattingProps); worksheet.Append(sheetData); worksheetPart.Worksheet = worksheet; }
// Generates content of worksheetPart2(create test value in Sheet2) private void GenerateWorksheetPart2Content(WorksheetPart worksheetPart2) { Worksheet worksheet2 = new Worksheet(); SheetDimension sheetDimension2 = new SheetDimension() { Reference = "A1:B4" }; SheetViews sheetViews2 = new SheetViews(); SheetView sheetView2 = new SheetView() { WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "B4", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "B4" } }; sheetView2.Append(selection1); sheetViews2.Append(sheetView2); SheetFormatProperties sheetFormatProperties2 = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D }; SheetData sheetData2 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell1 = new Cell() { CellReference = "A1", DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell1.Append(cellValue1); Cell cell2 = new Cell() { CellReference = "B1", DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "1"; cell2.Append(cellValue2); row1.Append(cell1); row1.Append(cell2); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell3 = new Cell() { CellReference = "A2" }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "1"; cell3.Append(cellValue3); Cell cell4 = new Cell() { CellReference = "B2" }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "100"; cell4.Append(cellValue4); row2.Append(cell3); row2.Append(cell4); Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell5 = new Cell() { CellReference = "A3" }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "2"; cell5.Append(cellValue5); Cell cell6 = new Cell() { CellReference = "B3" }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "120"; cell6.Append(cellValue6); row3.Append(cell5); row3.Append(cell6); Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell7 = new Cell() { CellReference = "A4" }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "3"; cell7.Append(cellValue7); Cell cell8 = new Cell() { CellReference = "B4" }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "132"; cell8.Append(cellValue8); row4.Append(cell7); row4.Append(cell8); sheetData2.Append(row1); sheetData2.Append(row2); sheetData2.Append(row3); sheetData2.Append(row4); worksheet2.Append(sheetDimension2); worksheet2.Append(sheetViews2); worksheet2.Append(sheetFormatProperties2); worksheet2.Append(sheetData2); worksheetPart2.Worksheet = worksheet2; }
// Generates content of worksheetPart1. protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart) { Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "B1:J59" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, TopLeftCell = "A25", ZoomScaleNormal = (UInt32Value)100U, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "N13", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "N13" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)2U, Width = 0.85546875D, Style = (UInt32Value)1U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 5.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 16D, Style = (UInt32Value)1U, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 9.140625D, Style = (UInt32Value)1U }; Column column5 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 4.28515625D, Style = (UInt32Value)1U, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 13.42578125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column7 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)8U, Width = 9.140625D, Style = (UInt32Value)1U }; Column column8 = new Column() { Min = (UInt32Value)9U, Max = (UInt32Value)9U, Width = 23D, Style = (UInt32Value)1U, CustomWidth = true }; Column column9 = new Column() { Min = (UInt32Value)10U, Max = (UInt32Value)10U, Width = 0.85546875D, Style = (UInt32Value)1U, CustomWidth = true }; Column column10 = new Column() { Min = (UInt32Value)11U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); columns1.Append(column7); columns1.Append(column8); columns1.Append(column9); columns1.Append(column10); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell1 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell1.Append(cellValue1); row1.Append(cell1); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell2 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "1"; cell2.Append(cellValue2); row2.Append(cell2); Row row3 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell3 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "2"; cell3.Append(cellValue3); Cell cell4 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)3U }; Cell cell5 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "3"; cell5.Append(cellValue4); Cell cell6 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)3U }; row3.Append(cell3); row3.Append(cell4); row3.Append(cell5); row3.Append(cell6); Row row4 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 4.5D, CustomHeight = true, DyDescent = 0.2D }; Cell cell7 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)7U }; Cell cell8 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)7U }; Cell cell9 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)7U }; Cell cell10 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)7U }; Cell cell11 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)7U }; Cell cell12 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)7U }; Cell cell13 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)7U }; Cell cell14 = new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)7U }; Cell cell15 = new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)7U }; row4.Append(cell7); row4.Append(cell8); row4.Append(cell9); row4.Append(cell10); row4.Append(cell11); row4.Append(cell12); row4.Append(cell13); row4.Append(cell14); row4.Append(cell15); Row row5 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell16 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)7U }; Cell cell17 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)7U }; Cell cell18 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)7U }; Cell cell19 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)7U }; Cell cell20 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)15U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "61"; cell20.Append(cellValue5); Cell cell21 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)7U }; Cell cell22 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)7U }; Cell cell23 = new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)7U }; Cell cell24 = new Cell() { CellReference = "J7", StyleIndex = (UInt32Value)7U }; row5.Append(cell16); row5.Append(cell17); row5.Append(cell18); row5.Append(cell19); row5.Append(cell20); row5.Append(cell21); row5.Append(cell22); row5.Append(cell23); row5.Append(cell24); Row row6 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell25 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)7U }; Cell cell26 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)7U }; Cell cell27 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)15U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "4"; cell27.Append(cellValue6); Cell cell28 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)7U }; Cell cell29 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)7U }; Cell cell30 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)7U }; Cell cell31 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)7U }; Cell cell32 = new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)7U }; Cell cell33 = new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)7U }; row6.Append(cell25); row6.Append(cell26); row6.Append(cell27); row6.Append(cell28); row6.Append(cell29); row6.Append(cell30); row6.Append(cell31); row6.Append(cell32); row6.Append(cell33); Row row7 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell34 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)7U }; Cell cell35 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)7U }; Cell cell36 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)7U }; Cell cell37 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)7U }; Cell cell38 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)7U }; Cell cell39 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)7U }; Cell cell40 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)7U }; Cell cell41 = new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)7U }; Cell cell42 = new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)3U }; row7.Append(cell34); row7.Append(cell35); row7.Append(cell36); row7.Append(cell37); row7.Append(cell38); row7.Append(cell39); row7.Append(cell40); row7.Append(cell41); row7.Append(cell42); Row row8 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell43 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)8U }; Cell cell44 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)9U }; Cell cell45 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)9U }; Cell cell46 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)9U }; Cell cell47 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)9U }; Cell cell48 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)9U }; Cell cell49 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)9U }; Cell cell50 = new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)9U }; Cell cell51 = new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)12U }; row8.Append(cell43); row8.Append(cell44); row8.Append(cell45); row8.Append(cell46); row8.Append(cell47); row8.Append(cell48); row8.Append(cell49); row8.Append(cell50); row8.Append(cell51); Row row9 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell52 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)11U }; Cell cell53 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "5"; cell53.Append(cellValue7); Cell cell54 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "6"; cell54.Append(cellValue8); Cell cell55 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)7U }; Cell cell56 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)7U }; Cell cell57 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)7U }; Cell cell58 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)7U }; Cell cell59 = new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)7U }; Cell cell60 = new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)12U }; row9.Append(cell52); row9.Append(cell53); row9.Append(cell54); row9.Append(cell55); row9.Append(cell56); row9.Append(cell57); row9.Append(cell58); row9.Append(cell59); row9.Append(cell60); Row row10 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell61 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)11U }; Cell cell62 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "7"; cell62.Append(cellValue9); Cell cell63 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "8"; cell63.Append(cellValue10); Cell cell64 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)7U }; Cell cell65 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)7U }; Cell cell66 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)7U }; Cell cell67 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)7U }; Cell cell68 = new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)7U }; Cell cell69 = new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)12U }; row10.Append(cell61); row10.Append(cell62); row10.Append(cell63); row10.Append(cell64); row10.Append(cell65); row10.Append(cell66); row10.Append(cell67); row10.Append(cell68); row10.Append(cell69); Row row11 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell70 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)11U }; Cell cell71 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)7U }; Cell cell72 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "9"; cell72.Append(cellValue11); Cell cell73 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)7U }; Cell cell74 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)7U }; Cell cell75 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)7U }; Cell cell76 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)7U }; Cell cell77 = new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)7U }; Cell cell78 = new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)12U }; row11.Append(cell70); row11.Append(cell71); row11.Append(cell72); row11.Append(cell73); row11.Append(cell74); row11.Append(cell75); row11.Append(cell76); row11.Append(cell77); row11.Append(cell78); Row row12 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell79 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)11U }; Cell cell80 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)7U }; Cell cell81 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "10"; cell81.Append(cellValue12); Cell cell82 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)5U }; Cell cell83 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)5U }; Cell cell84 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)5U }; Cell cell85 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)5U }; Cell cell86 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)6U }; Cell cell87 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)12U }; row12.Append(cell79); row12.Append(cell80); row12.Append(cell81); row12.Append(cell82); row12.Append(cell83); row12.Append(cell84); row12.Append(cell85); row12.Append(cell86); row12.Append(cell87); Row row13 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell88 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)11U }; Cell cell89 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "11"; cell89.Append(cellValue13); Cell cell90 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "12"; cell90.Append(cellValue14); Cell cell91 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)7U }; Cell cell92 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)7U }; Cell cell93 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)7U }; Cell cell94 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)7U }; Cell cell95 = new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)7U }; Cell cell96 = new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)12U }; row13.Append(cell88); row13.Append(cell89); row13.Append(cell90); row13.Append(cell91); row13.Append(cell92); row13.Append(cell93); row13.Append(cell94); row13.Append(cell95); row13.Append(cell96); Row row14 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell97 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)11U }; Cell cell98 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)7U }; Cell cell99 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "9"; cell99.Append(cellValue15); Cell cell100 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)7U }; Cell cell101 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)7U }; Cell cell102 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)7U }; Cell cell103 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)7U }; Cell cell104 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)7U }; Cell cell105 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)12U }; row14.Append(cell97); row14.Append(cell98); row14.Append(cell99); row14.Append(cell100); row14.Append(cell101); row14.Append(cell102); row14.Append(cell103); row14.Append(cell104); row14.Append(cell105); Row row15 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell106 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)11U }; Cell cell107 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)7U }; Cell cell108 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "13"; cell108.Append(cellValue16); Cell cell109 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)5U }; Cell cell110 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)5U }; Cell cell111 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)5U }; Cell cell112 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)5U }; Cell cell113 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)6U }; Cell cell114 = new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)12U }; row15.Append(cell106); row15.Append(cell107); row15.Append(cell108); row15.Append(cell109); row15.Append(cell110); row15.Append(cell111); row15.Append(cell112); row15.Append(cell113); row15.Append(cell114); Row row16 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell115 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)11U }; Cell cell116 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "14"; cell116.Append(cellValue17); Cell cell117 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "15"; cell117.Append(cellValue18); Cell cell118 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)7U }; Cell cell119 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)7U }; Cell cell120 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)7U }; Cell cell121 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)7U }; Cell cell122 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)7U }; Cell cell123 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)12U }; row16.Append(cell115); row16.Append(cell116); row16.Append(cell117); row16.Append(cell118); row16.Append(cell119); row16.Append(cell120); row16.Append(cell121); row16.Append(cell122); row16.Append(cell123); Row row17 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell124 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)11U }; Cell cell125 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)7U }; Cell cell126 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "16"; cell126.Append(cellValue19); Cell cell127 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)5U }; Cell cell128 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)5U }; Cell cell129 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)5U }; Cell cell130 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)5U }; Cell cell131 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)6U }; Cell cell132 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)12U }; row17.Append(cell124); row17.Append(cell125); row17.Append(cell126); row17.Append(cell127); row17.Append(cell128); row17.Append(cell129); row17.Append(cell130); row17.Append(cell131); row17.Append(cell132); Row row18 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell133 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)13U }; Cell cell134 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)3U }; Cell cell135 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)3U }; Cell cell136 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)3U }; Cell cell137 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)3U }; Cell cell138 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)3U }; Cell cell139 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)3U }; Cell cell140 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)3U }; Cell cell141 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)14U }; row18.Append(cell133); row18.Append(cell134); row18.Append(cell135); row18.Append(cell136); row18.Append(cell137); row18.Append(cell138); row18.Append(cell139); row18.Append(cell140); row18.Append(cell141); Row row19 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell142 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue20 = new CellValue(); cellValue20.Text = "17"; cell142.Append(cellValue20); row19.Append(cell142); Row row20 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell143 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)8U }; Cell cell144 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)9U }; Cell cell145 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)9U }; Cell cell146 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)9U }; Cell cell147 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)9U }; Cell cell148 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)9U }; Cell cell149 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)9U }; Cell cell150 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)9U }; Cell cell151 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)10U }; row20.Append(cell143); row20.Append(cell144); row20.Append(cell145); row20.Append(cell146); row20.Append(cell147); row20.Append(cell148); row20.Append(cell149); row20.Append(cell150); row20.Append(cell151); Row row21 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell152 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)11U }; Cell cell153 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue21 = new CellValue(); cellValue21.Text = "18"; cell153.Append(cellValue21); Cell cell154 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue22 = new CellValue(); cellValue22.Text = "19"; cell154.Append(cellValue22); Cell cell155 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)7U }; Cell cell156 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)7U }; Cell cell157 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)7U }; Cell cell158 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)7U }; Cell cell159 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)7U }; Cell cell160 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)12U }; row21.Append(cell152); row21.Append(cell153); row21.Append(cell154); row21.Append(cell155); row21.Append(cell156); row21.Append(cell157); row21.Append(cell158); row21.Append(cell159); row21.Append(cell160); Row row22 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D }; Cell cell161 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)11U }; Cell cell162 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue23 = new CellValue(); cellValue23.Text = "20"; cell162.Append(cellValue23); Cell cell163 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue24 = new CellValue(); cellValue24.Text = "21"; cell163.Append(cellValue24); Cell cell164 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)19U }; Cell cell165 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue25 = new CellValue(); cellValue25.Text = "22"; cell165.Append(cellValue25); Cell cell166 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue26 = new CellValue(); cellValue26.Text = "23"; cell166.Append(cellValue26); Cell cell167 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)7U }; Cell cell168 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)7U }; Cell cell169 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)12U }; row22.Append(cell161); row22.Append(cell162); row22.Append(cell163); row22.Append(cell164); row22.Append(cell165); row22.Append(cell166); row22.Append(cell167); row22.Append(cell168); row22.Append(cell169); Row row23 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell170 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)11U }; Cell cell171 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)7U }; Cell cell172 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue27 = new CellValue(); cellValue27.Text = "24"; cell172.Append(cellValue27); Cell cell173 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)6U }; Cell cell174 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)7U }; Cell cell175 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue28 = new CellValue(); cellValue28.Text = "25"; cell175.Append(cellValue28); Cell cell176 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)5U }; Cell cell177 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)6U }; Cell cell178 = new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)12U }; row23.Append(cell170); row23.Append(cell171); row23.Append(cell172); row23.Append(cell173); row23.Append(cell174); row23.Append(cell175); row23.Append(cell176); row23.Append(cell177); row23.Append(cell178); Row row24 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D }; Cell cell179 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)11U }; Cell cell180 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue29 = new CellValue(); cellValue29.Text = "26"; cell180.Append(cellValue29); Cell cell181 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString }; CellValue cellValue30 = new CellValue(); cellValue30.Text = "27"; cell181.Append(cellValue30); Cell cell182 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)20U }; Cell cell183 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue31 = new CellValue(); cellValue31.Text = "28"; cell183.Append(cellValue31); Cell cell184 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue32 = new CellValue(); cellValue32.Text = "29"; cell184.Append(cellValue32); Cell cell185 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)18U }; Cell cell186 = new Cell() { CellReference = "I28", StyleIndex = (UInt32Value)18U }; Cell cell187 = new Cell() { CellReference = "J28", StyleIndex = (UInt32Value)12U }; row24.Append(cell179); row24.Append(cell180); row24.Append(cell181); row24.Append(cell182); row24.Append(cell183); row24.Append(cell184); row24.Append(cell185); row24.Append(cell186); row24.Append(cell187); Row row25 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell188 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)11U }; Cell cell189 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)7U }; Cell cell190 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue33 = new CellValue(); cellValue33.Text = "30"; cell190.Append(cellValue33); Cell cell191 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)6U }; Cell cell192 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)7U }; Cell cell193 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue34 = new CellValue(); cellValue34.Text = "31"; cell193.Append(cellValue34); Cell cell194 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)5U }; Cell cell195 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)6U }; Cell cell196 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)12U }; row25.Append(cell188); row25.Append(cell189); row25.Append(cell190); row25.Append(cell191); row25.Append(cell192); row25.Append(cell193); row25.Append(cell194); row25.Append(cell195); row25.Append(cell196); Row row26 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D }; Cell cell197 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)11U }; Cell cell198 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue35 = new CellValue(); cellValue35.Text = "32"; cell198.Append(cellValue35); Cell cell199 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString }; CellValue cellValue36 = new CellValue(); cellValue36.Text = "33"; cell199.Append(cellValue36); Cell cell200 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)17U }; Cell cell201 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue37 = new CellValue(); cellValue37.Text = "34"; cell201.Append(cellValue37); Cell cell202 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue38 = new CellValue(); cellValue38.Text = "35"; cell202.Append(cellValue38); Cell cell203 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)18U }; Cell cell204 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)18U }; Cell cell205 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)12U }; row26.Append(cell197); row26.Append(cell198); row26.Append(cell199); row26.Append(cell200); row26.Append(cell201); row26.Append(cell202); row26.Append(cell203); row26.Append(cell204); row26.Append(cell205); Row row27 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell206 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)11U }; Cell cell207 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)7U }; Cell cell208 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue39 = new CellValue(); cellValue39.Text = "36"; cell208.Append(cellValue39); Cell cell209 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)6U }; Cell cell210 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)7U }; Cell cell211 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)4U }; Cell cell212 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)5U }; Cell cell213 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)6U }; Cell cell214 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)12U }; row27.Append(cell206); row27.Append(cell207); row27.Append(cell208); row27.Append(cell209); row27.Append(cell210); row27.Append(cell211); row27.Append(cell212); row27.Append(cell213); row27.Append(cell214); Row row28 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D }; Cell cell215 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)11U }; Cell cell216 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue40 = new CellValue(); cellValue40.Text = "37"; cell216.Append(cellValue40); Cell cell217 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString }; CellValue cellValue41 = new CellValue(); cellValue41.Text = "38"; cell217.Append(cellValue41); Cell cell218 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)17U }; Cell cell219 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue42 = new CellValue(); cellValue42.Text = "39"; cell219.Append(cellValue42); Cell cell220 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue43 = new CellValue(); cellValue43.Text = "40"; cell220.Append(cellValue43); Cell cell221 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)7U }; Cell cell222 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)7U }; Cell cell223 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)12U }; row28.Append(cell215); row28.Append(cell216); row28.Append(cell217); row28.Append(cell218); row28.Append(cell219); row28.Append(cell220); row28.Append(cell221); row28.Append(cell222); row28.Append(cell223); Row row29 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell224 = new Cell() { CellReference = "B33", StyleIndex = (UInt32Value)11U }; Cell cell225 = new Cell() { CellReference = "C33", StyleIndex = (UInt32Value)7U }; Cell cell226 = new Cell() { CellReference = "D33", StyleIndex = (UInt32Value)4U }; Cell cell227 = new Cell() { CellReference = "E33", StyleIndex = (UInt32Value)6U }; Cell cell228 = new Cell() { CellReference = "F33", StyleIndex = (UInt32Value)7U }; Cell cell229 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)4U }; Cell cell230 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)5U }; Cell cell231 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)6U }; Cell cell232 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)12U }; row29.Append(cell224); row29.Append(cell225); row29.Append(cell226); row29.Append(cell227); row29.Append(cell228); row29.Append(cell229); row29.Append(cell230); row29.Append(cell231); row29.Append(cell232); Row row30 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D }; Cell cell233 = new Cell() { CellReference = "B34", StyleIndex = (UInt32Value)11U }; Cell cell234 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue44 = new CellValue(); cellValue44.Text = "41"; cell234.Append(cellValue44); Cell cell235 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString }; CellValue cellValue45 = new CellValue(); cellValue45.Text = "42"; cell235.Append(cellValue45); Cell cell236 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)17U }; Cell cell237 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue46 = new CellValue(); cellValue46.Text = "43"; cell237.Append(cellValue46); Cell cell238 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue47 = new CellValue(); cellValue47.Text = "44"; cell238.Append(cellValue47); Cell cell239 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)7U }; Cell cell240 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)7U }; Cell cell241 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)12U }; row30.Append(cell233); row30.Append(cell234); row30.Append(cell235); row30.Append(cell236); row30.Append(cell237); row30.Append(cell238); row30.Append(cell239); row30.Append(cell240); row30.Append(cell241); Row row31 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell242 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)11U }; Cell cell243 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)7U }; Cell cell244 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)4U }; Cell cell245 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)6U }; Cell cell246 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)7U }; Cell cell247 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)4U }; Cell cell248 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)5U }; Cell cell249 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)6U }; Cell cell250 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)12U }; row31.Append(cell242); row31.Append(cell243); row31.Append(cell244); row31.Append(cell245); row31.Append(cell246); row31.Append(cell247); row31.Append(cell248); row31.Append(cell249); row31.Append(cell250); Row row32 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell251 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)11U }; Cell cell252 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue48 = new CellValue(); cellValue48.Text = "45"; cell252.Append(cellValue48); Cell cell253 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString }; CellValue cellValue49 = new CellValue(); cellValue49.Text = "46"; cell253.Append(cellValue49); Cell cell254 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)17U }; Cell cell255 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue50 = new CellValue(); cellValue50.Text = "47"; cell255.Append(cellValue50); Cell cell256 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue51 = new CellValue(); cellValue51.Text = "48"; cell256.Append(cellValue51); Cell cell257 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)7U }; Cell cell258 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)7U }; Cell cell259 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)12U }; row32.Append(cell251); row32.Append(cell252); row32.Append(cell253); row32.Append(cell254); row32.Append(cell255); row32.Append(cell256); row32.Append(cell257); row32.Append(cell258); row32.Append(cell259); Row row33 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell260 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)11U }; Cell cell261 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)7U }; Cell cell262 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)4U }; Cell cell263 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)6U }; Cell cell264 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)7U }; Cell cell265 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)4U }; Cell cell266 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)5U }; Cell cell267 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)6U }; Cell cell268 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)12U }; row33.Append(cell260); row33.Append(cell261); row33.Append(cell262); row33.Append(cell263); row33.Append(cell264); row33.Append(cell265); row33.Append(cell266); row33.Append(cell267); row33.Append(cell268); Row row34 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell269 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)11U }; Cell cell270 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue52 = new CellValue(); cellValue52.Text = "49"; cell270.Append(cellValue52); Cell cell271 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue53 = new CellValue(); cellValue53.Text = "50"; cell271.Append(cellValue53); Cell cell272 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)7U }; Cell cell273 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)7U }; Cell cell274 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)7U }; Cell cell275 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)7U }; Cell cell276 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)7U }; Cell cell277 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)12U }; row34.Append(cell269); row34.Append(cell270); row34.Append(cell271); row34.Append(cell272); row34.Append(cell273); row34.Append(cell274); row34.Append(cell275); row34.Append(cell276); row34.Append(cell277); Row row35 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 36D, CustomHeight = true, DyDescent = 0.2D }; Cell cell278 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)11U }; Cell cell279 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue54 = new CellValue(); cellValue54.Text = "51"; cell279.Append(cellValue54); Cell cell280 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue55 = new CellValue(); cellValue55.Text = "52"; cell280.Append(cellValue55); Cell cell281 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)18U }; Cell cell282 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)18U }; Cell cell283 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)18U }; Cell cell284 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)18U }; Cell cell285 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)18U }; Cell cell286 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)12U }; row35.Append(cell278); row35.Append(cell279); row35.Append(cell280); row35.Append(cell281); row35.Append(cell282); row35.Append(cell283); row35.Append(cell284); row35.Append(cell285); row35.Append(cell286); Row row36 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell287 = new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)11U }; Cell cell288 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)7U }; Cell cell289 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)7U }; Cell cell290 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)7U }; Cell cell291 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)7U }; Cell cell292 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)7U }; Cell cell293 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)7U }; Cell cell294 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)7U }; Cell cell295 = new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)12U }; row36.Append(cell287); row36.Append(cell288); row36.Append(cell289); row36.Append(cell290); row36.Append(cell291); row36.Append(cell292); row36.Append(cell293); row36.Append(cell294); row36.Append(cell295); Row row37 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell296 = new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)11U }; Cell cell297 = new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)7U }; Cell cell298 = new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue56 = new CellValue(); cellValue56.Text = "53"; cell298.Append(cellValue56); Cell cell299 = new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)7U }; Cell cell300 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue57 = new CellValue(); cellValue57.Text = "54"; cell300.Append(cellValue57); Cell cell301 = new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)7U }; Cell cell302 = new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)7U }; Cell cell303 = new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)7U }; Cell cell304 = new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)12U }; row37.Append(cell296); row37.Append(cell297); row37.Append(cell298); row37.Append(cell299); row37.Append(cell300); row37.Append(cell301); row37.Append(cell302); row37.Append(cell303); row37.Append(cell304); Row row38 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell305 = new Cell() { CellReference = "B42", StyleIndex = (UInt32Value)13U }; Cell cell306 = new Cell() { CellReference = "C42", StyleIndex = (UInt32Value)3U }; Cell cell307 = new Cell() { CellReference = "D42", StyleIndex = (UInt32Value)3U }; Cell cell308 = new Cell() { CellReference = "E42", StyleIndex = (UInt32Value)3U }; Cell cell309 = new Cell() { CellReference = "F42", StyleIndex = (UInt32Value)3U }; Cell cell310 = new Cell() { CellReference = "G42", StyleIndex = (UInt32Value)3U }; Cell cell311 = new Cell() { CellReference = "H42", StyleIndex = (UInt32Value)3U }; Cell cell312 = new Cell() { CellReference = "I42", StyleIndex = (UInt32Value)3U }; Cell cell313 = new Cell() { CellReference = "J42", StyleIndex = (UInt32Value)14U }; row38.Append(cell305); row38.Append(cell306); row38.Append(cell307); row38.Append(cell308); row38.Append(cell309); row38.Append(cell310); row38.Append(cell311); row38.Append(cell312); row38.Append(cell313); Row row39 = new Row() { RowIndex = (UInt32Value)43U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell314 = new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)7U }; Cell cell315 = new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)7U }; Cell cell316 = new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)7U }; Cell cell317 = new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)7U }; Cell cell318 = new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)7U }; Cell cell319 = new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)7U }; Cell cell320 = new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)7U }; Cell cell321 = new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)7U }; Cell cell322 = new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)7U }; row39.Append(cell314); row39.Append(cell315); row39.Append(cell316); row39.Append(cell317); row39.Append(cell318); row39.Append(cell319); row39.Append(cell320); row39.Append(cell321); row39.Append(cell322); Row row40 = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell323 = new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)8U }; Cell cell324 = new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)9U }; Cell cell325 = new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)9U }; Cell cell326 = new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)9U }; Cell cell327 = new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)9U }; Cell cell328 = new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)9U }; Cell cell329 = new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)9U }; Cell cell330 = new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)9U }; Cell cell331 = new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)10U }; row40.Append(cell323); row40.Append(cell324); row40.Append(cell325); row40.Append(cell326); row40.Append(cell327); row40.Append(cell328); row40.Append(cell329); row40.Append(cell330); row40.Append(cell331); Row row41 = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell332 = new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)11U }; Cell cell333 = new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue58 = new CellValue(); cellValue58.Text = "55"; cell333.Append(cellValue58); Cell cell334 = new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)7U }; Cell cell335 = new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)7U }; Cell cell336 = new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)7U }; Cell cell337 = new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)7U }; Cell cell338 = new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)7U }; Cell cell339 = new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)7U }; Cell cell340 = new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)12U }; row41.Append(cell332); row41.Append(cell333); row41.Append(cell334); row41.Append(cell335); row41.Append(cell336); row41.Append(cell337); row41.Append(cell338); row41.Append(cell339); row41.Append(cell340); Row row42 = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell341 = new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)13U }; Cell cell342 = new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)3U }; Cell cell343 = new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)3U }; Cell cell344 = new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)3U }; Cell cell345 = new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)3U }; Cell cell346 = new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)3U }; Cell cell347 = new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)3U }; Cell cell348 = new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)3U }; Cell cell349 = new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)14U }; row42.Append(cell341); row42.Append(cell342); row42.Append(cell343); row42.Append(cell344); row42.Append(cell345); row42.Append(cell346); row42.Append(cell347); row42.Append(cell348); row42.Append(cell349); Row row43 = new Row() { RowIndex = (UInt32Value)48U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell350 = new Cell() { CellReference = "B48", StyleIndex = (UInt32Value)8U }; Cell cell351 = new Cell() { CellReference = "C48", StyleIndex = (UInt32Value)9U }; Cell cell352 = new Cell() { CellReference = "D48", StyleIndex = (UInt32Value)9U }; Cell cell353 = new Cell() { CellReference = "E48", StyleIndex = (UInt32Value)9U }; Cell cell354 = new Cell() { CellReference = "F48", StyleIndex = (UInt32Value)9U }; Cell cell355 = new Cell() { CellReference = "G48", StyleIndex = (UInt32Value)9U }; Cell cell356 = new Cell() { CellReference = "H48", StyleIndex = (UInt32Value)9U }; Cell cell357 = new Cell() { CellReference = "I48", StyleIndex = (UInt32Value)9U }; Cell cell358 = new Cell() { CellReference = "J48", StyleIndex = (UInt32Value)10U }; row43.Append(cell350); row43.Append(cell351); row43.Append(cell352); row43.Append(cell353); row43.Append(cell354); row43.Append(cell355); row43.Append(cell356); row43.Append(cell357); row43.Append(cell358); Row row44 = new Row() { RowIndex = (UInt32Value)49U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell359 = new Cell() { CellReference = "B49", StyleIndex = (UInt32Value)11U }; Cell cell360 = new Cell() { CellReference = "C49", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue59 = new CellValue(); cellValue59.Text = "63"; cell360.Append(cellValue59); Cell cell361 = new Cell() { CellReference = "D49", StyleIndex = (UInt32Value)7U }; Cell cell362 = new Cell() { CellReference = "E49", StyleIndex = (UInt32Value)3U }; Cell cell363 = new Cell() { CellReference = "F49", StyleIndex = (UInt32Value)3U }; Cell cell364 = new Cell() { CellReference = "G49", StyleIndex = (UInt32Value)3U }; Cell cell365 = new Cell() { CellReference = "H49", StyleIndex = (UInt32Value)3U }; Cell cell366 = new Cell() { CellReference = "I49", StyleIndex = (UInt32Value)3U }; Cell cell367 = new Cell() { CellReference = "J49", StyleIndex = (UInt32Value)12U }; row44.Append(cell359); row44.Append(cell360); row44.Append(cell361); row44.Append(cell362); row44.Append(cell363); row44.Append(cell364); row44.Append(cell365); row44.Append(cell366); row44.Append(cell367); Row row45 = new Row() { RowIndex = (UInt32Value)50U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell368 = new Cell() { CellReference = "B50", StyleIndex = (UInt32Value)13U }; Cell cell369 = new Cell() { CellReference = "C50", StyleIndex = (UInt32Value)3U }; Cell cell370 = new Cell() { CellReference = "D50", StyleIndex = (UInt32Value)3U }; Cell cell371 = new Cell() { CellReference = "E50", StyleIndex = (UInt32Value)3U }; Cell cell372 = new Cell() { CellReference = "F50", StyleIndex = (UInt32Value)3U }; Cell cell373 = new Cell() { CellReference = "G50", StyleIndex = (UInt32Value)3U }; Cell cell374 = new Cell() { CellReference = "H50", StyleIndex = (UInt32Value)3U }; Cell cell375 = new Cell() { CellReference = "I50", StyleIndex = (UInt32Value)3U }; Cell cell376 = new Cell() { CellReference = "J50", StyleIndex = (UInt32Value)14U }; row45.Append(cell368); row45.Append(cell369); row45.Append(cell370); row45.Append(cell371); row45.Append(cell372); row45.Append(cell373); row45.Append(cell374); row45.Append(cell375); row45.Append(cell376); Row row46 = new Row() { RowIndex = (UInt32Value)52U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell377 = new Cell() { CellReference = "C52", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue60 = new CellValue(); cellValue60.Text = "64"; cell377.Append(cellValue60); Cell cell378 = new Cell() { CellReference = "E52", StyleIndex = (UInt32Value)3U }; Cell cell379 = new Cell() { CellReference = "F52", StyleIndex = (UInt32Value)3U }; Cell cell380 = new Cell() { CellReference = "G52", StyleIndex = (UInt32Value)3U }; Cell cell381 = new Cell() { CellReference = "H52", StyleIndex = (UInt32Value)3U }; Cell cell382 = new Cell() { CellReference = "I52", StyleIndex = (UInt32Value)3U }; row46.Append(cell377); row46.Append(cell378); row46.Append(cell379); row46.Append(cell380); row46.Append(cell381); row46.Append(cell382); Row row47 = new Row() { RowIndex = (UInt32Value)53U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D }; Row row48 = new Row() { RowIndex = (UInt32Value)54U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell383 = new Cell() { CellReference = "C54", StyleIndex = (UInt32Value)3U }; Cell cell384 = new Cell() { CellReference = "D54", StyleIndex = (UInt32Value)3U }; Cell cell385 = new Cell() { CellReference = "E54", StyleIndex = (UInt32Value)7U }; Cell cell386 = new Cell() { CellReference = "F54", StyleIndex = (UInt32Value)3U }; Cell cell387 = new Cell() { CellReference = "G54", StyleIndex = (UInt32Value)3U }; Cell cell388 = new Cell() { CellReference = "H54", StyleIndex = (UInt32Value)7U }; Cell cell389 = new Cell() { CellReference = "I54", StyleIndex = (UInt32Value)3U }; row48.Append(cell383); row48.Append(cell384); row48.Append(cell385); row48.Append(cell386); row48.Append(cell387); row48.Append(cell388); row48.Append(cell389); Row row49 = new Row() { RowIndex = (UInt32Value)55U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell390 = new Cell() { CellReference = "C55", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue61 = new CellValue(); cellValue61.Text = "56"; cell390.Append(cellValue61); Cell cell391 = new Cell() { CellReference = "F55", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue62 = new CellValue(); cellValue62.Text = "57"; cell391.Append(cellValue62); Cell cell392 = new Cell() { CellReference = "G55", StyleIndex = (UInt32Value)22U }; Cell cell393 = new Cell() { CellReference = "I55", StyleIndex = (UInt32Value)16U, DataType = CellValues.SharedString }; CellValue cellValue63 = new CellValue(); cellValue63.Text = "58"; cell393.Append(cellValue63); row49.Append(cell390); row49.Append(cell391); row49.Append(cell392); row49.Append(cell393); Row row50 = new Row() { RowIndex = (UInt32Value)56U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell394 = new Cell() { CellReference = "F56", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue64 = new CellValue(); cellValue64.Text = "62"; cell394.Append(cellValue64); Cell cell395 = new Cell() { CellReference = "G56", StyleIndex = (UInt32Value)22U }; row50.Append(cell394); row50.Append(cell395); Row row51 = new Row() { RowIndex = (UInt32Value)57U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D }; Cell cell396 = new Cell() { CellReference = "C57", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue65 = new CellValue(); cellValue65.Text = "59"; cell396.Append(cellValue65); Cell cell397 = new Cell() { CellReference = "D57", StyleIndex = (UInt32Value)3U }; row51.Append(cell396); row51.Append(cell397); Row row52 = new Row() { RowIndex = (UInt32Value)59U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 36D, CustomHeight = true, DyDescent = 0.2D }; Cell cell398 = new Cell() { CellReference = "C59", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue66 = new CellValue(); cellValue66.Text = "60"; cell398.Append(cellValue66); Cell cell399 = new Cell() { CellReference = "D59", StyleIndex = (UInt32Value)21U }; Cell cell400 = new Cell() { CellReference = "E59", StyleIndex = (UInt32Value)21U }; Cell cell401 = new Cell() { CellReference = "F59", StyleIndex = (UInt32Value)21U }; Cell cell402 = new Cell() { CellReference = "G59", StyleIndex = (UInt32Value)21U }; Cell cell403 = new Cell() { CellReference = "H59", StyleIndex = (UInt32Value)21U }; Cell cell404 = new Cell() { CellReference = "I59", StyleIndex = (UInt32Value)21U }; row52.Append(cell398); row52.Append(cell399); row52.Append(cell400); row52.Append(cell401); row52.Append(cell402); row52.Append(cell403); row52.Append(cell404); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); sheetData1.Append(row12); sheetData1.Append(row13); sheetData1.Append(row14); sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); sheetData1.Append(row22); sheetData1.Append(row23); sheetData1.Append(row24); sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); sheetData1.Append(row28); sheetData1.Append(row29); sheetData1.Append(row30); sheetData1.Append(row31); sheetData1.Append(row32); sheetData1.Append(row33); sheetData1.Append(row34); sheetData1.Append(row35); sheetData1.Append(row36); sheetData1.Append(row37); sheetData1.Append(row38); sheetData1.Append(row39); sheetData1.Append(row40); sheetData1.Append(row41); sheetData1.Append(row42); sheetData1.Append(row43); sheetData1.Append(row44); sheetData1.Append(row45); sheetData1.Append(row46); sheetData1.Append(row47); sheetData1.Append(row48); sheetData1.Append(row49); sheetData1.Append(row50); sheetData1.Append(row51); sheetData1.Append(row52); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)12U }; MergeCell mergeCell1 = new MergeCell() { Reference = "C59:I59" }; MergeCell mergeCell2 = new MergeCell() { Reference = "D34:E34" }; MergeCell mergeCell3 = new MergeCell() { Reference = "D36:E36" }; MergeCell mergeCell4 = new MergeCell() { Reference = "D39:I39" }; MergeCell mergeCell5 = new MergeCell() { Reference = "F56:G56" }; MergeCell mergeCell6 = new MergeCell() { Reference = "F55:G55" }; MergeCell mergeCell7 = new MergeCell() { Reference = "D32:E32" }; MergeCell mergeCell8 = new MergeCell() { Reference = "G30:I30" }; MergeCell mergeCell9 = new MergeCell() { Reference = "G28:I28" }; MergeCell mergeCell10 = new MergeCell() { Reference = "D26:E26" }; MergeCell mergeCell11 = new MergeCell() { Reference = "D28:E28" }; MergeCell mergeCell12 = new MergeCell() { Reference = "D30:E30" }; mergeCells1.Append(mergeCell1); mergeCells1.Append(mergeCell2); mergeCells1.Append(mergeCell3); mergeCells1.Append(mergeCell4); mergeCells1.Append(mergeCell5); mergeCells1.Append(mergeCell6); mergeCells1.Append(mergeCell7); mergeCells1.Append(mergeCell8); mergeCells1.Append(mergeCell9); mergeCells1.Append(mergeCell10); mergeCells1.Append(mergeCell11); mergeCells1.Append(mergeCell12); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheetPart.Worksheet = worksheet1; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension1 = new SheetDimension(){ Reference = "A1" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView(){ TabSelected = true, WorkbookViewId = (UInt32Value)0U }; sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties(){ BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 15D }; SheetData sheetData1 = new SheetData(); Row row1 = new Row(){ RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:1" } }; Cell cell1 = new Cell(){ CellReference = "A1", DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell1.Append(cellValue1); row1.Append(cell1); sheetData1.Append(row1); PageMargins pageMargins1 = new PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(sheetData1); worksheet1.Append(pageMargins1); worksheetPart1.Worksheet = worksheet1; }
public bool ImportExcel(string strNotificationFrequencyId, string strNotificationFrequency, string NotificationTime, string BillingCurrencyId, string strBillingCurrency, string ContractTypeId, string ContractType, string DepartmentId, string Department) { if (System.IO.File.Exists(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "ClientTemplate.xlsx"))) { System.IO.File.Delete(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "ClientTemplate.xlsx")); } string[] ListOfExportFieldName = new string[] { "NotificationFrequencyId", "Notification Frequency", "Notification Time", "BillingCurrencyId" , "Billing Currency","ContractTypeId","Contract Type","ClientContactDepartmentId","Client Contact Department","Client Name","1st Line of the Address", "2nd Line of the Address","City","County","Postcode","Company Number", "VAT Number","Client Bank","Sort Code","Client Bank A/c No","End Date", "Client Contact Start Date","Client Contact First Name","Client Contact Last Name","Client Contact 1st Line of the Address","Client Contact 2nd Line of the Address", "Client Contact City","Client Contact County","Client Contact Postcode","Client Contact Telephone Number","Client Contact Mobile Number","Client Contact Email Address"}; using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "ClientTemplate.xlsx"), SpreadsheetDocumentType.Workbook)) { SheetData sheetData = new SheetData(); Row row = new Row(); Row titleRow = new Row { RowIndex = (UInt32)1 }; //-------------------------Field Type---------------------------------- titleRow.AppendChild(CreateTextCell("A", ListOfExportFieldName[0], 1)); titleRow.AppendChild(CreateTextCell("B", ListOfExportFieldName[1], 1)); titleRow.AppendChild(CreateTextCell("C", ListOfExportFieldName[2], 1)); titleRow.AppendChild(CreateTextCell("D", ListOfExportFieldName[3], 1)); titleRow.AppendChild(CreateTextCell("E", ListOfExportFieldName[4], 1)); titleRow.AppendChild(CreateTextCell("F", ListOfExportFieldName[5], 1)); titleRow.AppendChild(CreateTextCell("G", ListOfExportFieldName[6], 1)); titleRow.AppendChild(CreateTextCell("H", ListOfExportFieldName[7], 1)); titleRow.AppendChild(CreateTextCell("I", ListOfExportFieldName[8], 1)); titleRow.AppendChild(CreateTextCell("J", ListOfExportFieldName[9], 1)); titleRow.AppendChild(CreateTextCell("K", ListOfExportFieldName[10], 1)); titleRow.AppendChild(CreateTextCell("L", ListOfExportFieldName[11], 1)); titleRow.AppendChild(CreateTextCell("M", ListOfExportFieldName[12], 1)); titleRow.AppendChild(CreateTextCell("N", ListOfExportFieldName[13], 1)); titleRow.AppendChild(CreateTextCell("O", ListOfExportFieldName[14], 1)); titleRow.AppendChild(CreateTextCell("P", ListOfExportFieldName[15], 1)); titleRow.AppendChild(CreateTextCell("Q", ListOfExportFieldName[16], 1)); titleRow.AppendChild(CreateTextCell("R", ListOfExportFieldName[17], 1)); titleRow.AppendChild(CreateTextCell("S", ListOfExportFieldName[18], 1)); titleRow.AppendChild(CreateTextCell("T", ListOfExportFieldName[19], 1)); titleRow.AppendChild(CreateTextCell("U", ListOfExportFieldName[20], 1)); titleRow.AppendChild(CreateTextCell("V", ListOfExportFieldName[21], 1)); titleRow.AppendChild(CreateTextCell("W", ListOfExportFieldName[22], 1)); titleRow.AppendChild(CreateTextCell("X", ListOfExportFieldName[23], 1)); titleRow.AppendChild(CreateTextCell("Y", ListOfExportFieldName[24], 1)); titleRow.AppendChild(CreateTextCell("Z", ListOfExportFieldName[25], 1)); titleRow.AppendChild(CreateTextCell("AA",ListOfExportFieldName[26], 1)); titleRow.AppendChild(CreateTextCell("AB",ListOfExportFieldName[27], 1)); titleRow.AppendChild(CreateTextCell("AC",ListOfExportFieldName[28], 1)); titleRow.AppendChild(CreateTextCell("AD",ListOfExportFieldName[29], 1)); titleRow.AppendChild(CreateTextCell("AE",ListOfExportFieldName[30], 1)); titleRow.AppendChild(CreateTextCell("AF",ListOfExportFieldName[31], 1)); // Append Row to SheetData sheetData.AppendChild(titleRow); DataTable dt = GetRecordFromSiteMaster(strNotificationFrequencyId, strNotificationFrequency, NotificationTime, BillingCurrencyId, strBillingCurrency, ContractTypeId, ContractType, DepartmentId, Department); if (dt != null) { for (int i = 0; i < dt.Rows.Count; i++) { Row Subrow = new Row(); Subrow.AppendChild(CreateTextCell("A", Convert.ToString(dt.Rows[i]["NotificationFrequencyId"]), i + 2)); Subrow.AppendChild(CreateTextCell("B", Convert.ToString(dt.Rows[i]["Notification Frequency"]), i + 2)); Subrow.AppendChild(CreateTextCell("C", Convert.ToString(dt.Rows[i]["Notification Time"]), i + 2)); Subrow.AppendChild(CreateTextCell("D", Convert.ToString(dt.Rows[i]["BillingCurrencyId"]), i + 2)); Subrow.AppendChild(CreateTextCell("E", Convert.ToString(dt.Rows[i]["Billing Currency"]), i + 2)); Subrow.AppendChild(CreateTextCell("F", Convert.ToString(dt.Rows[i]["ContractTypeId"]), i + 2)); Subrow.AppendChild(CreateTextCell("G", Convert.ToString(dt.Rows[i]["Contract Type"]), i + 2)); Subrow.AppendChild(CreateTextCell("H", Convert.ToString(dt.Rows[i]["ClientContactDepartmentId"]), i + 2)); Subrow.AppendChild(CreateTextCell("I", Convert.ToString(dt.Rows[i]["Client Contact Department"]), i + 2)); // Append Row to SheetData sheetData.AppendChild(Subrow); } } // Add a WorkbookPart to the document. WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); Worksheet sheet1 = new Worksheet(); //-------------------Column Size--------------------- Columns columns = new Columns(); uint ival = 1; foreach (string value in ListOfExportFieldName) { columns.Append(CreateColumnSize(1, ival, 28)); ival++; } sheet1.Append(columns); //-------------------Column Size--------------------- sheet1.Append(sheetData); // Add a WorksheetPart to the WorkbookPart. WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheetPart.Worksheet = sheet1; // Add Sheets to the Workbook. Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild<Sheets>(new Sheets()); // Append a new worksheet and associate it with the workbook. Sheet sheet = new Sheet() { Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "ClientTemplate" }; sheets.Append(sheet); // Close the document. spreadsheetDocument.Close(); } return true; }
//Main class function, export the mutationList to XLSX file, sets file name to testName. public static void saveXLS(String testName, List<Mutation> mutationList) { SpreadsheetDocument xl = null; string fullPath = Properties.Settings.Default.ExportSavePath + @"\" + testName; fullPath += ".xlsx"; try { xl = SpreadsheetDocument.Create(fullPath, SpreadsheetDocumentType.Workbook); } catch (IOException ) { throw ; } WorkbookPart wbp = xl.AddWorkbookPart(); WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>(); Workbook wb = new Workbook(); FileVersion fv = new FileVersion(); fv.ApplicationName = "Microsoft Office Excel"; Worksheet ws = new Worksheet(); SheetData sd = new SheetData(); WorkbookStylesPart wbsp = wbp.AddNewPart<WorkbookStylesPart>(); wbsp.Stylesheet = GenerateStyleSheet(); wbsp.Stylesheet.Save(); //save the longest width for each column. string[] longestWordPerColumn = new string[12]; int k = 0; //create and add header row. Row headerRow = new Row(); foreach (string s in Mutation.getHeaderForExport()) { Cell cell = new Cell(); cell.DataType = CellValues.String; cell.CellValue = new CellValue(s); cell.StyleIndex = 1; headerRow.AppendChild(cell); longestWordPerColumn[k] = s; k++; } sd.AppendChild(headerRow); //create and add rows for each mutation. foreach (Mutation m in mutationList) { Row newRow = new Row(); string[] infoString = m.getInfoForExport(); for (int i = 0; i < infoString.Length; i++) { Cell cell1 = new Cell(); if (i == 1) cell1.DataType = CellValues.Number; else cell1.DataType = CellValues.String; cell1.CellValue = new CellValue(infoString[i]); if (!m.CosmicName.Equals("-----")) cell1.StyleIndex = 2; else cell1.StyleIndex = 3; newRow.AppendChild(cell1); if (longestWordPerColumn[i].Length < infoString[i].Length) longestWordPerColumn[i] = infoString[i]; } sd.AppendChild(newRow); } //Sets the column width to longest width for each column. Columns columns = new Columns(); for (int i = 0; i < 12; i++) { columns.Append(CreateColumnData((UInt32)i + 1, (UInt32)i + 1, GetWidth("Calibri", 11, longestWordPerColumn[i]))); } ws.Append(columns); ws.Append(sd); wsp.Worksheet = ws; wsp.Worksheet.Save(); Sheets sheets = new Sheets(); Sheet sheet = new Sheet(); sheet.Name = "Sheet1"; sheet.SheetId = 1; sheet.Id = wbp.GetIdOfPart(wsp); sheets.Append(sheet); wb.Append(fv); wb.Append(sheets); xl.WorkbookPart.Workbook = wb; xl.WorkbookPart.Workbook.Save(); xl.Close(); }
protected void ExcelDl_Click(object sender, EventArgs e) { Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=ViewHistoryChart.xlsx"); Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; Response.Charset = ""; StringWriter sw = new StringWriter(); HtmlTextWriter hw = new HtmlTextWriter(sw); Chart1.RenderControl(hw); using (MemoryStream stream = new MemoryStream()) { using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook)) { var fileName = HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\ChartImage.png"; WorkbookPart wbp = spreadsheetDocument.AddWorkbookPart(); WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>(); Workbook wb = new Workbook(); FileVersion fv = new FileVersion(); fv.ApplicationName = "Microsoft Office Excel"; Worksheet ws = new Worksheet(); SheetData sd = new SheetData(); // add contents List<string> values = new List<string>(); //values.Add(lblSectionFunctionSelected.Text); uint i = 1; foreach (var value in values) { UInt32Value rowIndex = UInt32Value.FromUInt32(i); var row = new Row { RowIndex = rowIndex }; // add a row at the top of spreadsheet sd.Append(row); var cell = new Cell { CellValue = new CellValue(value), DataType = new EnumValue<CellValues>(CellValues.String) }; row.InsertAt(cell, 0); i++; } // add image DrawingsPart dp = wsp.AddNewPart<DrawingsPart>(); ImagePart imgp = dp.AddImagePart(ImagePartType.Png, wsp.GetIdOfPart(dp)); using (FileStream fs = new FileStream(fileName, FileMode.Open)) { imgp.FeedData(fs); } DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties nvdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties(); nvdp.Id = 1025; nvdp.Name = "Picture 1"; nvdp.Description = "Chart"; DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks(); picLocks.NoChangeAspect = true; picLocks.NoChangeArrowheads = true; DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties nvpdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties(); nvpdp.PictureLocks = picLocks; DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties nvpp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties(); nvpp.NonVisualDrawingProperties = nvdp; nvpp.NonVisualPictureDrawingProperties = nvpdp; DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch(); stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle(); DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill blipFill = new DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill(); DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip(); blip.Embed = dp.GetIdOfPart(imgp); blip.CompressionState = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print; blipFill.Blip = blip; blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle(); blipFill.Append(stretch); DocumentFormat.OpenXml.Drawing.Transform2D t2d = new DocumentFormat.OpenXml.Drawing.Transform2D(); DocumentFormat.OpenXml.Drawing.Offset offset = new DocumentFormat.OpenXml.Drawing.Offset(); offset.X = 0; offset.Y = 0; t2d.Offset = offset; Bitmap bm = new Bitmap(fileName); //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML //http://stackoverflow.com/questions/1341930/pixel-to-centimeter //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents(); extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution); extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution); bm.Dispose(); t2d.Extents = extents; DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties sp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties(); sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto; sp.Transform2D = t2d; DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry(); prstGeom.Preset = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle; prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList(); sp.Append(prstGeom); sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill()); DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture(); picture.NonVisualPictureProperties = nvpp; picture.BlipFill = blipFill; picture.ShapeProperties = sp; DocumentFormat.OpenXml.Drawing.Spreadsheet.Position pos = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Position(); pos.X = 0; pos.Y = 10; Extent ext = new Extent(); ext.Cx = extents.Cx; ext.Cy = extents.Cy; AbsoluteAnchor anchor = new AbsoluteAnchor(); anchor.Position = pos; anchor.Extent = ext; anchor.Append(picture); anchor.Append(new ClientData()); WorksheetDrawing wsd = new WorksheetDrawing(); wsd.Append(anchor); Drawing drawing = new Drawing(); drawing.Id = dp.GetIdOfPart(imgp); wsd.Save(dp); ws.Append(sd); ws.Append(drawing); wsp.Worksheet = ws; wsp.Worksheet.Save(); Sheets sheets = new Sheets(); Sheet sheet = new Sheet(); sheet.Name = "history chart"; sheet.SheetId = 1; sheet.Id = wbp.GetIdOfPart(wsp); sheets.Append(sheet); wb.Append(fv); wb.Append(sheets); spreadsheetDocument.WorkbookPart.Workbook = wb; spreadsheetDocument.WorkbookPart.Workbook.Save(); spreadsheetDocument.Close(); } File.WriteAllBytes(HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\temp.xlsx", stream.ToArray()); } Response.WriteFile(HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\temp.xlsx"); Response.Flush(); Response.Close(); Response.End(); }
public bool ImportExcel(string strPropbandid) { if (System.IO.File.Exists(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "OwnerTemplate.xlsx"))) { System.IO.File.Delete(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "OwnerTemplate.xlsx")); } string[] ListOfExportFieldName = new string[] { "ClientId", "Client", "NetworkId", "Network" , "PropertyId","Property Address","First Name","Last Name","Start Date","Bank Name","Bank Sort Code","Correspondence Address", "City","County","Post Code","E-mail Address","Mail Service","Telephone Number","Mobile Number","Managing Agent", "Managing Telephone Number","Managing Email","Notes","Client Reference Number"}; using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "OwnerTemplate.xlsx"), SpreadsheetDocumentType.Workbook)) { SheetData sheetData = new SheetData(); Row row = new Row(); Row titleRow = new Row { RowIndex = (UInt32)1 }; //-------------------------Field Type---------------------------------- titleRow.AppendChild(CreateTextCell("A", ListOfExportFieldName[0], 1)); titleRow.AppendChild(CreateTextCell("B", ListOfExportFieldName[1], 1)); titleRow.AppendChild(CreateTextCell("C", ListOfExportFieldName[2], 1)); titleRow.AppendChild(CreateTextCell("D", ListOfExportFieldName[3], 1)); titleRow.AppendChild(CreateTextCell("E", ListOfExportFieldName[4], 1)); titleRow.AppendChild(CreateTextCell("F", ListOfExportFieldName[5], 1)); titleRow.AppendChild(CreateTextCell("G", ListOfExportFieldName[6], 1)); titleRow.AppendChild(CreateTextCell("H", ListOfExportFieldName[7], 1)); titleRow.AppendChild(CreateTextCell("I", ListOfExportFieldName[8], 1)); titleRow.AppendChild(CreateTextCell("J", ListOfExportFieldName[9], 1)); titleRow.AppendChild(CreateTextCell("K", ListOfExportFieldName[10], 1)); titleRow.AppendChild(CreateTextCell("L", ListOfExportFieldName[11], 1)); titleRow.AppendChild(CreateTextCell("M", ListOfExportFieldName[12], 1)); titleRow.AppendChild(CreateTextCell("N", ListOfExportFieldName[13], 1)); titleRow.AppendChild(CreateTextCell("O", ListOfExportFieldName[14], 1)); titleRow.AppendChild(CreateTextCell("P", ListOfExportFieldName[15], 1)); titleRow.AppendChild(CreateTextCell("Q", ListOfExportFieldName[16], 1)); titleRow.AppendChild(CreateTextCell("R", ListOfExportFieldName[17], 1)); titleRow.AppendChild(CreateTextCell("S", ListOfExportFieldName[18], 1)); titleRow.AppendChild(CreateTextCell("T", ListOfExportFieldName[19], 1)); titleRow.AppendChild(CreateTextCell("U", ListOfExportFieldName[20], 1)); titleRow.AppendChild(CreateTextCell("V", ListOfExportFieldName[21], 1)); titleRow.AppendChild(CreateTextCell("W", ListOfExportFieldName[22], 1)); titleRow.AppendChild(CreateTextCell("X", ListOfExportFieldName[23], 1)); // Append Row to SheetData sheetData.AppendChild(titleRow); DataTable dt = GetRecordFromSiteMaster(strPropbandid); if (dt != null) { for (int i = 0; i < dt.Rows.Count; i++) { Row Subrow = new Row(); Subrow.AppendChild(CreateTextCell("A", Convert.ToString(dt.Rows[i]["ClientId"]), i + 2)); Subrow.AppendChild(CreateTextCell("B", Convert.ToString(dt.Rows[i]["Client"]), i + 2)); Subrow.AppendChild(CreateTextCell("C", Convert.ToString(dt.Rows[i]["NetworkId"]), i + 2)); Subrow.AppendChild(CreateTextCell("D", Convert.ToString(dt.Rows[i]["Network"]), i + 2)); Subrow.AppendChild(CreateTextCell("E", Convert.ToString(dt.Rows[i]["PropertyId"]), i + 2)); Subrow.AppendChild(CreateTextCell("F", Convert.ToString(dt.Rows[i]["Property Address"]), i + 2)); // Append Row to SheetData sheetData.AppendChild(Subrow); } } // Add a WorkbookPart to the document. WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); Worksheet sheet1 = new Worksheet(); //-------------------Column Size--------------------- Columns columns = new Columns(); uint ival = 1; foreach (string value in ListOfExportFieldName) { columns.Append(CreateColumnSize(1, ival, 28)); ival++; } sheet1.Append(columns); //-------------------Column Size--------------------- sheet1.Append(sheetData); // Add a WorksheetPart to the WorkbookPart. WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheetPart.Worksheet = sheet1; // Add Sheets to the Workbook. Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild<Sheets>(new Sheets()); // Append a new worksheet and associate it with the workbook. Sheet sheet = new Sheet() { Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "PropertyTemplate" }; sheets.Append(sheet); // Close the document. spreadsheetDocument.Close(); } return true; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetProperties sheetProperties1 = new SheetProperties(); PageSetupProperties pageSetupProperties1 = new PageSetupProperties() { FitToPage = true }; sheetProperties1.Append(pageSetupProperties1); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:AL30" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { ShowGridLines = false, ShowZeros = false, TabSelected = true, ZoomScale = (UInt32Value)85U, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "AM27", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "AM27" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 12.75D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 33.42578125D, BestFit = true, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)11U, Width = 2.140625D, BestFit = true, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)12U, Max = (UInt32Value)31U, Width = 3.140625D, BestFit = true, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)32U, Max = (UInt32Value)32U, Width = 4.28515625D, CustomWidth = true }; Column column5 = new Column() { Min = (UInt32Value)33U, Max = (UInt32Value)33U, Width = 3.140625D, BestFit = true, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)34U, Max = (UInt32Value)34U, Width = 9.28515625D, Style = (UInt32Value)62U, BestFit = true, CustomWidth = true }; Column column7 = new Column() { Min = (UInt32Value)35U, Max = (UInt32Value)35U, Width = 7.7109375D, Style = (UInt32Value)51U, BestFit = true, CustomWidth = true }; Column column8 = new Column() { Min = (UInt32Value)36U, Max = (UInt32Value)36U, Width = 9.28515625D, Style = (UInt32Value)62U, BestFit = true, CustomWidth = true }; Column column9 = new Column() { Min = (UInt32Value)37U, Max = (UInt32Value)37U, Width = 11.28515625D, Style = (UInt32Value)41U, BestFit = true, CustomWidth = true }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); columns1.Append(column7); columns1.Append(column8); columns1.Append(column9); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)10U }; Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)11U }; Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)11U }; Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)11U }; Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)11U }; Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)11U }; Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)11U }; Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)11U }; Cell cell9 = new Cell() { CellReference = "I1", StyleIndex = (UInt32Value)11U }; Cell cell10 = new Cell() { CellReference = "J1", StyleIndex = (UInt32Value)11U }; Cell cell11 = new Cell() { CellReference = "K1", StyleIndex = (UInt32Value)11U }; Cell cell12 = new Cell() { CellReference = "L1", StyleIndex = (UInt32Value)11U }; Cell cell13 = new Cell() { CellReference = "M1", StyleIndex = (UInt32Value)11U }; Cell cell14 = new Cell() { CellReference = "N1", StyleIndex = (UInt32Value)11U }; Cell cell15 = new Cell() { CellReference = "O1", StyleIndex = (UInt32Value)11U }; Cell cell16 = new Cell() { CellReference = "P1", StyleIndex = (UInt32Value)11U }; Cell cell17 = new Cell() { CellReference = "Q1", StyleIndex = (UInt32Value)11U }; Cell cell18 = new Cell() { CellReference = "R1", StyleIndex = (UInt32Value)11U }; Cell cell19 = new Cell() { CellReference = "S1", StyleIndex = (UInt32Value)11U }; Cell cell20 = new Cell() { CellReference = "T1", StyleIndex = (UInt32Value)11U }; Cell cell21 = new Cell() { CellReference = "U1", StyleIndex = (UInt32Value)11U }; Cell cell22 = new Cell() { CellReference = "V1", StyleIndex = (UInt32Value)11U }; Cell cell23 = new Cell() { CellReference = "W1", StyleIndex = (UInt32Value)11U }; Cell cell24 = new Cell() { CellReference = "X1", StyleIndex = (UInt32Value)11U }; Cell cell25 = new Cell() { CellReference = "Y1", StyleIndex = (UInt32Value)11U }; Cell cell26 = new Cell() { CellReference = "Z1", StyleIndex = (UInt32Value)11U }; Cell cell27 = new Cell() { CellReference = "AA1", StyleIndex = (UInt32Value)11U }; Cell cell28 = new Cell() { CellReference = "AB1", StyleIndex = (UInt32Value)11U }; Cell cell29 = new Cell() { CellReference = "AC1", StyleIndex = (UInt32Value)11U }; Cell cell30 = new Cell() { CellReference = "AD1", StyleIndex = (UInt32Value)11U }; Cell cell31 = new Cell() { CellReference = "AE1", StyleIndex = (UInt32Value)11U }; Cell cell32 = new Cell() { CellReference = "AF1", StyleIndex = (UInt32Value)11U }; Cell cell33 = new Cell() { CellReference = "AG1", StyleIndex = (UInt32Value)11U }; Cell cell34 = new Cell() { CellReference = "AH1", StyleIndex = (UInt32Value)52U }; Cell cell35 = new Cell() { CellReference = "AI1", StyleIndex = (UInt32Value)42U }; Cell cell36 = new Cell() { CellReference = "AJ1", StyleIndex = (UInt32Value)52U }; Cell cell37 = new Cell() { CellReference = "AK1", StyleIndex = (UInt32Value)38U }; row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); row1.Append(cell7); row1.Append(cell8); row1.Append(cell9); row1.Append(cell10); row1.Append(cell11); row1.Append(cell12); row1.Append(cell13); row1.Append(cell14); row1.Append(cell15); row1.Append(cell16); row1.Append(cell17); row1.Append(cell18); row1.Append(cell19); row1.Append(cell20); row1.Append(cell21); row1.Append(cell22); row1.Append(cell23); row1.Append(cell24); row1.Append(cell25); row1.Append(cell26); row1.Append(cell27); row1.Append(cell28); row1.Append(cell29); row1.Append(cell30); row1.Append(cell31); row1.Append(cell32); row1.Append(cell33); row1.Append(cell34); row1.Append(cell35); row1.Append(cell36); row1.Append(cell37); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell38 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)12U }; Cell cell39 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)13U }; Cell cell40 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)6U }; Cell cell41 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)5U }; Cell cell42 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)7U }; Cell cell43 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)7U }; Cell cell44 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)7U }; Cell cell45 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)7U }; Cell cell46 = new Cell() { CellReference = "I2", StyleIndex = (UInt32Value)7U }; Cell cell47 = new Cell() { CellReference = "J2", StyleIndex = (UInt32Value)7U }; Cell cell48 = new Cell() { CellReference = "K2", StyleIndex = (UInt32Value)7U }; Cell cell49 = new Cell() { CellReference = "L2", StyleIndex = (UInt32Value)7U }; Cell cell50 = new Cell() { CellReference = "M2", StyleIndex = (UInt32Value)7U }; Cell cell51 = new Cell() { CellReference = "N2", StyleIndex = (UInt32Value)7U }; Cell cell52 = new Cell() { CellReference = "O2", StyleIndex = (UInt32Value)7U }; Cell cell53 = new Cell() { CellReference = "P2", StyleIndex = (UInt32Value)7U }; Cell cell54 = new Cell() { CellReference = "Q2", StyleIndex = (UInt32Value)7U }; Cell cell55 = new Cell() { CellReference = "R2", StyleIndex = (UInt32Value)7U }; Cell cell56 = new Cell() { CellReference = "S2", StyleIndex = (UInt32Value)7U }; Cell cell57 = new Cell() { CellReference = "T2", StyleIndex = (UInt32Value)7U }; Cell cell58 = new Cell() { CellReference = "U2", StyleIndex = (UInt32Value)7U }; Cell cell59 = new Cell() { CellReference = "V2", StyleIndex = (UInt32Value)7U }; Cell cell60 = new Cell() { CellReference = "W2", StyleIndex = (UInt32Value)7U }; Cell cell61 = new Cell() { CellReference = "X2", StyleIndex = (UInt32Value)7U }; Cell cell62 = new Cell() { CellReference = "Y2", StyleIndex = (UInt32Value)7U }; Cell cell63 = new Cell() { CellReference = "Z2", StyleIndex = (UInt32Value)7U }; Cell cell64 = new Cell() { CellReference = "AA2", StyleIndex = (UInt32Value)7U }; Cell cell65 = new Cell() { CellReference = "AB2", StyleIndex = (UInt32Value)7U }; Cell cell66 = new Cell() { CellReference = "AC2", StyleIndex = (UInt32Value)7U }; Cell cell67 = new Cell() { CellReference = "AD2", StyleIndex = (UInt32Value)7U }; Cell cell68 = new Cell() { CellReference = "AE2", StyleIndex = (UInt32Value)7U }; Cell cell69 = new Cell() { CellReference = "AF2", StyleIndex = (UInt32Value)7U }; Cell cell70 = new Cell() { CellReference = "AG2", StyleIndex = (UInt32Value)7U }; Cell cell71 = new Cell() { CellReference = "AH2", StyleIndex = (UInt32Value)53U }; Cell cell72 = new Cell() { CellReference = "AI2", StyleIndex = (UInt32Value)43U }; Cell cell73 = new Cell() { CellReference = "AJ2", StyleIndex = (UInt32Value)53U }; Cell cell74 = new Cell() { CellReference = "AK2", StyleIndex = (UInt32Value)39U }; row2.Append(cell38); row2.Append(cell39); row2.Append(cell40); row2.Append(cell41); row2.Append(cell42); row2.Append(cell43); row2.Append(cell44); row2.Append(cell45); row2.Append(cell46); row2.Append(cell47); row2.Append(cell48); row2.Append(cell49); row2.Append(cell50); row2.Append(cell51); row2.Append(cell52); row2.Append(cell53); row2.Append(cell54); row2.Append(cell55); row2.Append(cell56); row2.Append(cell57); row2.Append(cell58); row2.Append(cell59); row2.Append(cell60); row2.Append(cell61); row2.Append(cell62); row2.Append(cell63); row2.Append(cell64); row2.Append(cell65); row2.Append(cell66); row2.Append(cell67); row2.Append(cell68); row2.Append(cell69); row2.Append(cell70); row2.Append(cell71); row2.Append(cell72); row2.Append(cell73); row2.Append(cell74); Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell75 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)12U }; Cell cell76 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)13U }; Cell cell77 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)6U }; Cell cell78 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)5U }; Cell cell79 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)7U }; Cell cell80 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)7U }; Cell cell81 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)7U }; Cell cell82 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)7U }; Cell cell83 = new Cell() { CellReference = "I3", StyleIndex = (UInt32Value)7U }; Cell cell84 = new Cell() { CellReference = "J3", StyleIndex = (UInt32Value)7U }; Cell cell85 = new Cell() { CellReference = "K3", StyleIndex = (UInt32Value)7U }; Cell cell86 = new Cell() { CellReference = "L3", StyleIndex = (UInt32Value)7U }; Cell cell87 = new Cell() { CellReference = "M3", StyleIndex = (UInt32Value)7U }; Cell cell88 = new Cell() { CellReference = "N3", StyleIndex = (UInt32Value)7U }; Cell cell89 = new Cell() { CellReference = "O3", StyleIndex = (UInt32Value)7U }; Cell cell90 = new Cell() { CellReference = "P3", StyleIndex = (UInt32Value)7U }; Cell cell91 = new Cell() { CellReference = "Q3", StyleIndex = (UInt32Value)7U }; Cell cell92 = new Cell() { CellReference = "R3", StyleIndex = (UInt32Value)7U }; Cell cell93 = new Cell() { CellReference = "S3", StyleIndex = (UInt32Value)7U }; Cell cell94 = new Cell() { CellReference = "T3", StyleIndex = (UInt32Value)7U }; Cell cell95 = new Cell() { CellReference = "U3", StyleIndex = (UInt32Value)7U }; Cell cell96 = new Cell() { CellReference = "V3", StyleIndex = (UInt32Value)7U }; Cell cell97 = new Cell() { CellReference = "W3", StyleIndex = (UInt32Value)7U }; Cell cell98 = new Cell() { CellReference = "X3", StyleIndex = (UInt32Value)7U }; Cell cell99 = new Cell() { CellReference = "Y3", StyleIndex = (UInt32Value)7U }; Cell cell100 = new Cell() { CellReference = "Z3", StyleIndex = (UInt32Value)7U }; Cell cell101 = new Cell() { CellReference = "AA3", StyleIndex = (UInt32Value)7U }; Cell cell102 = new Cell() { CellReference = "AB3", StyleIndex = (UInt32Value)7U }; Cell cell103 = new Cell() { CellReference = "AC3", StyleIndex = (UInt32Value)7U }; Cell cell104 = new Cell() { CellReference = "AD3", StyleIndex = (UInt32Value)7U }; Cell cell105 = new Cell() { CellReference = "AE3", StyleIndex = (UInt32Value)7U }; Cell cell106 = new Cell() { CellReference = "AF3", StyleIndex = (UInt32Value)7U }; Cell cell107 = new Cell() { CellReference = "AG3", StyleIndex = (UInt32Value)7U }; Cell cell108 = new Cell() { CellReference = "AH3", StyleIndex = (UInt32Value)53U }; Cell cell109 = new Cell() { CellReference = "AI3", StyleIndex = (UInt32Value)43U }; Cell cell110 = new Cell() { CellReference = "AJ3", StyleIndex = (UInt32Value)53U }; Cell cell111 = new Cell() { CellReference = "AK3", StyleIndex = (UInt32Value)39U }; row3.Append(cell75); row3.Append(cell76); row3.Append(cell77); row3.Append(cell78); row3.Append(cell79); row3.Append(cell80); row3.Append(cell81); row3.Append(cell82); row3.Append(cell83); row3.Append(cell84); row3.Append(cell85); row3.Append(cell86); row3.Append(cell87); row3.Append(cell88); row3.Append(cell89); row3.Append(cell90); row3.Append(cell91); row3.Append(cell92); row3.Append(cell93); row3.Append(cell94); row3.Append(cell95); row3.Append(cell96); row3.Append(cell97); row3.Append(cell98); row3.Append(cell99); row3.Append(cell100); row3.Append(cell101); row3.Append(cell102); row3.Append(cell103); row3.Append(cell104); row3.Append(cell105); row3.Append(cell106); row3.Append(cell107); row3.Append(cell108); row3.Append(cell109); row3.Append(cell110); row3.Append(cell111); Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell112 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)12U }; Cell cell113 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)13U }; Cell cell114 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)6U }; Cell cell115 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)5U }; Cell cell116 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)7U }; Cell cell117 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)7U }; Cell cell118 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)7U }; Cell cell119 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)7U }; Cell cell120 = new Cell() { CellReference = "I4", StyleIndex = (UInt32Value)7U }; Cell cell121 = new Cell() { CellReference = "J4", StyleIndex = (UInt32Value)7U }; Cell cell122 = new Cell() { CellReference = "K4", StyleIndex = (UInt32Value)7U }; Cell cell123 = new Cell() { CellReference = "L4", StyleIndex = (UInt32Value)7U }; Cell cell124 = new Cell() { CellReference = "M4", StyleIndex = (UInt32Value)7U }; Cell cell125 = new Cell() { CellReference = "N4", StyleIndex = (UInt32Value)7U }; Cell cell126 = new Cell() { CellReference = "O4", StyleIndex = (UInt32Value)7U }; Cell cell127 = new Cell() { CellReference = "P4", StyleIndex = (UInt32Value)7U }; Cell cell128 = new Cell() { CellReference = "Q4", StyleIndex = (UInt32Value)7U }; Cell cell129 = new Cell() { CellReference = "R4", StyleIndex = (UInt32Value)7U }; Cell cell130 = new Cell() { CellReference = "S4", StyleIndex = (UInt32Value)7U }; Cell cell131 = new Cell() { CellReference = "T4", StyleIndex = (UInt32Value)7U }; Cell cell132 = new Cell() { CellReference = "U4", StyleIndex = (UInt32Value)7U }; Cell cell133 = new Cell() { CellReference = "V4", StyleIndex = (UInt32Value)7U }; Cell cell134 = new Cell() { CellReference = "W4", StyleIndex = (UInt32Value)7U }; Cell cell135 = new Cell() { CellReference = "X4", StyleIndex = (UInt32Value)7U }; Cell cell136 = new Cell() { CellReference = "Y4", StyleIndex = (UInt32Value)7U }; Cell cell137 = new Cell() { CellReference = "Z4", StyleIndex = (UInt32Value)7U }; Cell cell138 = new Cell() { CellReference = "AA4", StyleIndex = (UInt32Value)7U }; Cell cell139 = new Cell() { CellReference = "AB4", StyleIndex = (UInt32Value)7U }; Cell cell140 = new Cell() { CellReference = "AC4", StyleIndex = (UInt32Value)7U }; Cell cell141 = new Cell() { CellReference = "AD4", StyleIndex = (UInt32Value)7U }; Cell cell142 = new Cell() { CellReference = "AE4", StyleIndex = (UInt32Value)7U }; Cell cell143 = new Cell() { CellReference = "AF4", StyleIndex = (UInt32Value)7U }; Cell cell144 = new Cell() { CellReference = "AG4", StyleIndex = (UInt32Value)7U }; Cell cell145 = new Cell() { CellReference = "AH4", StyleIndex = (UInt32Value)53U }; Cell cell146 = new Cell() { CellReference = "AI4", StyleIndex = (UInt32Value)43U }; Cell cell147 = new Cell() { CellReference = "AJ4", StyleIndex = (UInt32Value)53U }; Cell cell148 = new Cell() { CellReference = "AK4", StyleIndex = (UInt32Value)39U }; row4.Append(cell112); row4.Append(cell113); row4.Append(cell114); row4.Append(cell115); row4.Append(cell116); row4.Append(cell117); row4.Append(cell118); row4.Append(cell119); row4.Append(cell120); row4.Append(cell121); row4.Append(cell122); row4.Append(cell123); row4.Append(cell124); row4.Append(cell125); row4.Append(cell126); row4.Append(cell127); row4.Append(cell128); row4.Append(cell129); row4.Append(cell130); row4.Append(cell131); row4.Append(cell132); row4.Append(cell133); row4.Append(cell134); row4.Append(cell135); row4.Append(cell136); row4.Append(cell137); row4.Append(cell138); row4.Append(cell139); row4.Append(cell140); row4.Append(cell141); row4.Append(cell142); row4.Append(cell143); row4.Append(cell144); row4.Append(cell145); row4.Append(cell146); row4.Append(cell147); row4.Append(cell148); Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell149 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)12U }; Cell cell150 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)5U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "1"; cell150.Append(cellValue1); Cell cell151 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)6U }; Cell cell152 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)5U }; Cell cell153 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)7U }; Cell cell154 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)7U }; Cell cell155 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)7U }; Cell cell156 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)7U }; Cell cell157 = new Cell() { CellReference = "I5", StyleIndex = (UInt32Value)7U }; Cell cell158 = new Cell() { CellReference = "J5", StyleIndex = (UInt32Value)7U }; Cell cell159 = new Cell() { CellReference = "K5", StyleIndex = (UInt32Value)7U }; Cell cell160 = new Cell() { CellReference = "L5", StyleIndex = (UInt32Value)7U }; Cell cell161 = new Cell() { CellReference = "M5", StyleIndex = (UInt32Value)7U }; Cell cell162 = new Cell() { CellReference = "N5", StyleIndex = (UInt32Value)7U }; Cell cell163 = new Cell() { CellReference = "O5", StyleIndex = (UInt32Value)7U }; Cell cell164 = new Cell() { CellReference = "P5", StyleIndex = (UInt32Value)7U }; Cell cell165 = new Cell() { CellReference = "Q5", StyleIndex = (UInt32Value)7U }; Cell cell166 = new Cell() { CellReference = "R5", StyleIndex = (UInt32Value)7U }; Cell cell167 = new Cell() { CellReference = "S5", StyleIndex = (UInt32Value)7U }; Cell cell168 = new Cell() { CellReference = "T5", StyleIndex = (UInt32Value)7U }; Cell cell169 = new Cell() { CellReference = "U5", StyleIndex = (UInt32Value)7U }; Cell cell170 = new Cell() { CellReference = "V5", StyleIndex = (UInt32Value)7U }; Cell cell171 = new Cell() { CellReference = "W5", StyleIndex = (UInt32Value)7U }; Cell cell172 = new Cell() { CellReference = "X5", StyleIndex = (UInt32Value)7U }; Cell cell173 = new Cell() { CellReference = "Y5", StyleIndex = (UInt32Value)7U }; Cell cell174 = new Cell() { CellReference = "Z5", StyleIndex = (UInt32Value)7U }; Cell cell175 = new Cell() { CellReference = "AA5", StyleIndex = (UInt32Value)7U }; Cell cell176 = new Cell() { CellReference = "AB5", StyleIndex = (UInt32Value)7U }; Cell cell177 = new Cell() { CellReference = "AC5", StyleIndex = (UInt32Value)7U }; Cell cell178 = new Cell() { CellReference = "AD5", StyleIndex = (UInt32Value)7U }; Cell cell179 = new Cell() { CellReference = "AE5", StyleIndex = (UInt32Value)7U }; Cell cell180 = new Cell() { CellReference = "AF5", StyleIndex = (UInt32Value)7U }; Cell cell181 = new Cell() { CellReference = "AG5", StyleIndex = (UInt32Value)7U }; Cell cell182 = new Cell() { CellReference = "AH5", StyleIndex = (UInt32Value)53U }; Cell cell183 = new Cell() { CellReference = "AI5", StyleIndex = (UInt32Value)43U }; Cell cell184 = new Cell() { CellReference = "AJ5", StyleIndex = (UInt32Value)53U }; Cell cell185 = new Cell() { CellReference = "AK5", StyleIndex = (UInt32Value)39U }; row5.Append(cell149); row5.Append(cell150); row5.Append(cell151); row5.Append(cell152); row5.Append(cell153); row5.Append(cell154); row5.Append(cell155); row5.Append(cell156); row5.Append(cell157); row5.Append(cell158); row5.Append(cell159); row5.Append(cell160); row5.Append(cell161); row5.Append(cell162); row5.Append(cell163); row5.Append(cell164); row5.Append(cell165); row5.Append(cell166); row5.Append(cell167); row5.Append(cell168); row5.Append(cell169); row5.Append(cell170); row5.Append(cell171); row5.Append(cell172); row5.Append(cell173); row5.Append(cell174); row5.Append(cell175); row5.Append(cell176); row5.Append(cell177); row5.Append(cell178); row5.Append(cell179); row5.Append(cell180); row5.Append(cell181); row5.Append(cell182); row5.Append(cell183); row5.Append(cell184); row5.Append(cell185); Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell186 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)12U }; Cell cell187 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)5U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "2"; cell187.Append(cellValue2); Cell cell188 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)6U }; Cell cell189 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)5U }; Cell cell190 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)7U }; Cell cell191 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)7U }; Cell cell192 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)7U }; Cell cell193 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)7U }; Cell cell194 = new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)7U }; Cell cell195 = new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)7U }; Cell cell196 = new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)7U }; Cell cell197 = new Cell() { CellReference = "L6", StyleIndex = (UInt32Value)7U }; Cell cell198 = new Cell() { CellReference = "M6", StyleIndex = (UInt32Value)7U }; Cell cell199 = new Cell() { CellReference = "N6", StyleIndex = (UInt32Value)7U }; Cell cell200 = new Cell() { CellReference = "O6", StyleIndex = (UInt32Value)7U }; Cell cell201 = new Cell() { CellReference = "P6", StyleIndex = (UInt32Value)7U }; Cell cell202 = new Cell() { CellReference = "Q6", StyleIndex = (UInt32Value)7U }; Cell cell203 = new Cell() { CellReference = "R6", StyleIndex = (UInt32Value)7U }; Cell cell204 = new Cell() { CellReference = "S6", StyleIndex = (UInt32Value)7U }; Cell cell205 = new Cell() { CellReference = "T6", StyleIndex = (UInt32Value)7U }; Cell cell206 = new Cell() { CellReference = "U6", StyleIndex = (UInt32Value)7U }; Cell cell207 = new Cell() { CellReference = "V6", StyleIndex = (UInt32Value)7U }; Cell cell208 = new Cell() { CellReference = "W6", StyleIndex = (UInt32Value)7U }; Cell cell209 = new Cell() { CellReference = "X6", StyleIndex = (UInt32Value)7U }; Cell cell210 = new Cell() { CellReference = "Y6", StyleIndex = (UInt32Value)7U }; Cell cell211 = new Cell() { CellReference = "Z6", StyleIndex = (UInt32Value)7U }; Cell cell212 = new Cell() { CellReference = "AA6", StyleIndex = (UInt32Value)7U }; Cell cell213 = new Cell() { CellReference = "AB6", StyleIndex = (UInt32Value)7U }; Cell cell214 = new Cell() { CellReference = "AC6", StyleIndex = (UInt32Value)7U }; Cell cell215 = new Cell() { CellReference = "AD6", StyleIndex = (UInt32Value)7U }; Cell cell216 = new Cell() { CellReference = "AE6", StyleIndex = (UInt32Value)7U }; Cell cell217 = new Cell() { CellReference = "AF6", StyleIndex = (UInt32Value)7U }; Cell cell218 = new Cell() { CellReference = "AG6", StyleIndex = (UInt32Value)7U }; Cell cell219 = new Cell() { CellReference = "AH6", StyleIndex = (UInt32Value)53U }; Cell cell220 = new Cell() { CellReference = "AI6", StyleIndex = (UInt32Value)43U }; Cell cell221 = new Cell() { CellReference = "AJ6", StyleIndex = (UInt32Value)53U }; Cell cell222 = new Cell() { CellReference = "AK6", StyleIndex = (UInt32Value)39U }; row6.Append(cell186); row6.Append(cell187); row6.Append(cell188); row6.Append(cell189); row6.Append(cell190); row6.Append(cell191); row6.Append(cell192); row6.Append(cell193); row6.Append(cell194); row6.Append(cell195); row6.Append(cell196); row6.Append(cell197); row6.Append(cell198); row6.Append(cell199); row6.Append(cell200); row6.Append(cell201); row6.Append(cell202); row6.Append(cell203); row6.Append(cell204); row6.Append(cell205); row6.Append(cell206); row6.Append(cell207); row6.Append(cell208); row6.Append(cell209); row6.Append(cell210); row6.Append(cell211); row6.Append(cell212); row6.Append(cell213); row6.Append(cell214); row6.Append(cell215); row6.Append(cell216); row6.Append(cell217); row6.Append(cell218); row6.Append(cell219); row6.Append(cell220); row6.Append(cell221); row6.Append(cell222); Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 11.25D }; Cell cell223 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)12U }; Cell cell224 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)5U }; Cell cell225 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)6U }; Cell cell226 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)5U }; Cell cell227 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)7U }; Cell cell228 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)7U }; Cell cell229 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)7U }; Cell cell230 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)7U }; Cell cell231 = new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)7U }; Cell cell232 = new Cell() { CellReference = "J7", StyleIndex = (UInt32Value)7U }; Cell cell233 = new Cell() { CellReference = "K7", StyleIndex = (UInt32Value)7U }; Cell cell234 = new Cell() { CellReference = "L7", StyleIndex = (UInt32Value)7U }; Cell cell235 = new Cell() { CellReference = "M7", StyleIndex = (UInt32Value)7U }; Cell cell236 = new Cell() { CellReference = "N7", StyleIndex = (UInt32Value)7U }; Cell cell237 = new Cell() { CellReference = "O7", StyleIndex = (UInt32Value)7U }; Cell cell238 = new Cell() { CellReference = "P7", StyleIndex = (UInt32Value)7U }; Cell cell239 = new Cell() { CellReference = "Q7", StyleIndex = (UInt32Value)7U }; Cell cell240 = new Cell() { CellReference = "R7", StyleIndex = (UInt32Value)7U }; Cell cell241 = new Cell() { CellReference = "S7", StyleIndex = (UInt32Value)7U }; Cell cell242 = new Cell() { CellReference = "T7", StyleIndex = (UInt32Value)7U }; Cell cell243 = new Cell() { CellReference = "U7", StyleIndex = (UInt32Value)7U }; Cell cell244 = new Cell() { CellReference = "V7", StyleIndex = (UInt32Value)7U }; Cell cell245 = new Cell() { CellReference = "W7", StyleIndex = (UInt32Value)7U }; Cell cell246 = new Cell() { CellReference = "X7", StyleIndex = (UInt32Value)7U }; Cell cell247 = new Cell() { CellReference = "Y7", StyleIndex = (UInt32Value)7U }; Cell cell248 = new Cell() { CellReference = "Z7", StyleIndex = (UInt32Value)7U }; Cell cell249 = new Cell() { CellReference = "AA7", StyleIndex = (UInt32Value)7U }; Cell cell250 = new Cell() { CellReference = "AB7", StyleIndex = (UInt32Value)7U }; Cell cell251 = new Cell() { CellReference = "AC7", StyleIndex = (UInt32Value)7U }; Cell cell252 = new Cell() { CellReference = "AD7", StyleIndex = (UInt32Value)7U }; Cell cell253 = new Cell() { CellReference = "AE7", StyleIndex = (UInt32Value)7U }; Cell cell254 = new Cell() { CellReference = "AF7", StyleIndex = (UInt32Value)7U }; Cell cell255 = new Cell() { CellReference = "AG7", StyleIndex = (UInt32Value)7U }; Cell cell256 = new Cell() { CellReference = "AH7", StyleIndex = (UInt32Value)53U }; Cell cell257 = new Cell() { CellReference = "AI7", StyleIndex = (UInt32Value)43U }; Cell cell258 = new Cell() { CellReference = "AJ7", StyleIndex = (UInt32Value)53U }; Cell cell259 = new Cell() { CellReference = "AK7", StyleIndex = (UInt32Value)39U }; row7.Append(cell223); row7.Append(cell224); row7.Append(cell225); row7.Append(cell226); row7.Append(cell227); row7.Append(cell228); row7.Append(cell229); row7.Append(cell230); row7.Append(cell231); row7.Append(cell232); row7.Append(cell233); row7.Append(cell234); row7.Append(cell235); row7.Append(cell236); row7.Append(cell237); row7.Append(cell238); row7.Append(cell239); row7.Append(cell240); row7.Append(cell241); row7.Append(cell242); row7.Append(cell243); row7.Append(cell244); row7.Append(cell245); row7.Append(cell246); row7.Append(cell247); row7.Append(cell248); row7.Append(cell249); row7.Append(cell250); row7.Append(cell251); row7.Append(cell252); row7.Append(cell253); row7.Append(cell254); row7.Append(cell255); row7.Append(cell256); row7.Append(cell257); row7.Append(cell258); row7.Append(cell259); Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true, Height = 19.5D }; Cell cell260 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)12U }; Cell cell261 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "12"; cell261.Append(cellValue3); Cell cell262 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)32U }; Cell cell263 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)15U }; Cell cell264 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)7U }; Cell cell265 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)7U }; Cell cell266 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)7U }; Cell cell267 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)7U }; Cell cell268 = new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)7U }; Cell cell269 = new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)7U }; Cell cell270 = new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)7U }; Cell cell271 = new Cell() { CellReference = "L8", StyleIndex = (UInt32Value)7U }; Cell cell272 = new Cell() { CellReference = "M8", StyleIndex = (UInt32Value)7U }; Cell cell273 = new Cell() { CellReference = "N8", StyleIndex = (UInt32Value)7U }; Cell cell274 = new Cell() { CellReference = "O8", StyleIndex = (UInt32Value)7U }; Cell cell275 = new Cell() { CellReference = "P8", StyleIndex = (UInt32Value)7U }; Cell cell276 = new Cell() { CellReference = "Q8", StyleIndex = (UInt32Value)7U }; Cell cell277 = new Cell() { CellReference = "R8", StyleIndex = (UInt32Value)7U }; Cell cell278 = new Cell() { CellReference = "S8", StyleIndex = (UInt32Value)7U }; Cell cell279 = new Cell() { CellReference = "T8", StyleIndex = (UInt32Value)7U }; Cell cell280 = new Cell() { CellReference = "U8", StyleIndex = (UInt32Value)7U }; Cell cell281 = new Cell() { CellReference = "V8", StyleIndex = (UInt32Value)7U }; Cell cell282 = new Cell() { CellReference = "W8", StyleIndex = (UInt32Value)7U }; Cell cell283 = new Cell() { CellReference = "X8", StyleIndex = (UInt32Value)7U }; Cell cell284 = new Cell() { CellReference = "Y8", StyleIndex = (UInt32Value)7U }; Cell cell285 = new Cell() { CellReference = "Z8", StyleIndex = (UInt32Value)7U }; Cell cell286 = new Cell() { CellReference = "AA8", StyleIndex = (UInt32Value)7U }; Cell cell287 = new Cell() { CellReference = "AB8", StyleIndex = (UInt32Value)7U }; Cell cell288 = new Cell() { CellReference = "AC8", StyleIndex = (UInt32Value)7U }; Cell cell289 = new Cell() { CellReference = "AD8", StyleIndex = (UInt32Value)7U }; Cell cell290 = new Cell() { CellReference = "AE8", StyleIndex = (UInt32Value)7U }; Cell cell291 = new Cell() { CellReference = "AF8", StyleIndex = (UInt32Value)7U }; Cell cell292 = new Cell() { CellReference = "AG8", StyleIndex = (UInt32Value)7U }; Cell cell293 = new Cell() { CellReference = "AH8", StyleIndex = (UInt32Value)53U }; Cell cell294 = new Cell() { CellReference = "AI8", StyleIndex = (UInt32Value)43U }; Cell cell295 = new Cell() { CellReference = "AJ8", StyleIndex = (UInt32Value)53U }; Cell cell296 = new Cell() { CellReference = "AK8", StyleIndex = (UInt32Value)39U }; row8.Append(cell260); row8.Append(cell261); row8.Append(cell262); row8.Append(cell263); row8.Append(cell264); row8.Append(cell265); row8.Append(cell266); row8.Append(cell267); row8.Append(cell268); row8.Append(cell269); row8.Append(cell270); row8.Append(cell271); row8.Append(cell272); row8.Append(cell273); row8.Append(cell274); row8.Append(cell275); row8.Append(cell276); row8.Append(cell277); row8.Append(cell278); row8.Append(cell279); row8.Append(cell280); row8.Append(cell281); row8.Append(cell282); row8.Append(cell283); row8.Append(cell284); row8.Append(cell285); row8.Append(cell286); row8.Append(cell287); row8.Append(cell288); row8.Append(cell289); row8.Append(cell290); row8.Append(cell291); row8.Append(cell292); row8.Append(cell293); row8.Append(cell294); row8.Append(cell295); row8.Append(cell296); Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true }; Cell cell297 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)12U }; Cell cell298 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "3"; cell298.Append(cellValue4); Cell cell299 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)33U }; Cell cell300 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)5U }; Cell cell301 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)7U }; Cell cell302 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)7U }; Cell cell303 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)7U }; Cell cell304 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)7U }; Cell cell305 = new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)7U }; Cell cell306 = new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)7U }; Cell cell307 = new Cell() { CellReference = "K9", StyleIndex = (UInt32Value)7U }; Cell cell308 = new Cell() { CellReference = "L9", StyleIndex = (UInt32Value)7U }; Cell cell309 = new Cell() { CellReference = "M9", StyleIndex = (UInt32Value)7U }; Cell cell310 = new Cell() { CellReference = "N9", StyleIndex = (UInt32Value)7U }; Cell cell311 = new Cell() { CellReference = "O9", StyleIndex = (UInt32Value)7U }; Cell cell312 = new Cell() { CellReference = "P9", StyleIndex = (UInt32Value)7U }; Cell cell313 = new Cell() { CellReference = "Q9", StyleIndex = (UInt32Value)7U }; Cell cell314 = new Cell() { CellReference = "R9", StyleIndex = (UInt32Value)7U }; Cell cell315 = new Cell() { CellReference = "S9", StyleIndex = (UInt32Value)7U }; Cell cell316 = new Cell() { CellReference = "T9", StyleIndex = (UInt32Value)7U }; Cell cell317 = new Cell() { CellReference = "U9", StyleIndex = (UInt32Value)7U }; Cell cell318 = new Cell() { CellReference = "V9", StyleIndex = (UInt32Value)7U }; Cell cell319 = new Cell() { CellReference = "W9", StyleIndex = (UInt32Value)7U }; Cell cell320 = new Cell() { CellReference = "X9", StyleIndex = (UInt32Value)7U }; Cell cell321 = new Cell() { CellReference = "Y9", StyleIndex = (UInt32Value)7U }; Cell cell322 = new Cell() { CellReference = "Z9", StyleIndex = (UInt32Value)7U }; Cell cell323 = new Cell() { CellReference = "AA9", StyleIndex = (UInt32Value)7U }; Cell cell324 = new Cell() { CellReference = "AB9", StyleIndex = (UInt32Value)7U }; Cell cell325 = new Cell() { CellReference = "AC9", StyleIndex = (UInt32Value)7U }; Cell cell326 = new Cell() { CellReference = "AD9", StyleIndex = (UInt32Value)7U }; Cell cell327 = new Cell() { CellReference = "AE9", StyleIndex = (UInt32Value)7U }; Cell cell328 = new Cell() { CellReference = "AF9", StyleIndex = (UInt32Value)7U }; Cell cell329 = new Cell() { CellReference = "AG9", StyleIndex = (UInt32Value)7U }; Cell cell330 = new Cell() { CellReference = "AH9", StyleIndex = (UInt32Value)53U }; Cell cell331 = new Cell() { CellReference = "AI9", StyleIndex = (UInt32Value)43U }; Cell cell332 = new Cell() { CellReference = "AJ9", StyleIndex = (UInt32Value)53U }; Cell cell333 = new Cell() { CellReference = "AK9", StyleIndex = (UInt32Value)39U }; row9.Append(cell297); row9.Append(cell298); row9.Append(cell299); row9.Append(cell300); row9.Append(cell301); row9.Append(cell302); row9.Append(cell303); row9.Append(cell304); row9.Append(cell305); row9.Append(cell306); row9.Append(cell307); row9.Append(cell308); row9.Append(cell309); row9.Append(cell310); row9.Append(cell311); row9.Append(cell312); row9.Append(cell313); row9.Append(cell314); row9.Append(cell315); row9.Append(cell316); row9.Append(cell317); row9.Append(cell318); row9.Append(cell319); row9.Append(cell320); row9.Append(cell321); row9.Append(cell322); row9.Append(cell323); row9.Append(cell324); row9.Append(cell325); row9.Append(cell326); row9.Append(cell327); row9.Append(cell328); row9.Append(cell329); row9.Append(cell330); row9.Append(cell331); row9.Append(cell332); row9.Append(cell333); Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true }; Cell cell334 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)12U }; Cell cell335 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)16U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "13"; cell335.Append(cellValue5); Cell cell336 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)32U }; Cell cell337 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)5U }; Cell cell338 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)7U }; Cell cell339 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)7U }; Cell cell340 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)7U }; Cell cell341 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)7U }; Cell cell342 = new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)7U }; Cell cell343 = new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)7U }; Cell cell344 = new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)7U }; Cell cell345 = new Cell() { CellReference = "L10", StyleIndex = (UInt32Value)7U }; Cell cell346 = new Cell() { CellReference = "M10", StyleIndex = (UInt32Value)7U }; Cell cell347 = new Cell() { CellReference = "N10", StyleIndex = (UInt32Value)7U }; Cell cell348 = new Cell() { CellReference = "O10", StyleIndex = (UInt32Value)7U }; Cell cell349 = new Cell() { CellReference = "P10", StyleIndex = (UInt32Value)7U }; Cell cell350 = new Cell() { CellReference = "Q10", StyleIndex = (UInt32Value)7U }; Cell cell351 = new Cell() { CellReference = "R10", StyleIndex = (UInt32Value)7U }; Cell cell352 = new Cell() { CellReference = "S10", StyleIndex = (UInt32Value)7U }; Cell cell353 = new Cell() { CellReference = "T10", StyleIndex = (UInt32Value)7U }; Cell cell354 = new Cell() { CellReference = "U10", StyleIndex = (UInt32Value)7U }; Cell cell355 = new Cell() { CellReference = "V10", StyleIndex = (UInt32Value)7U }; Cell cell356 = new Cell() { CellReference = "W10", StyleIndex = (UInt32Value)7U }; Cell cell357 = new Cell() { CellReference = "X10", StyleIndex = (UInt32Value)7U }; Cell cell358 = new Cell() { CellReference = "Y10", StyleIndex = (UInt32Value)7U }; Cell cell359 = new Cell() { CellReference = "Z10", StyleIndex = (UInt32Value)7U }; Cell cell360 = new Cell() { CellReference = "AA10", StyleIndex = (UInt32Value)7U }; Cell cell361 = new Cell() { CellReference = "AB10", StyleIndex = (UInt32Value)7U }; Cell cell362 = new Cell() { CellReference = "AC10", StyleIndex = (UInt32Value)7U }; Cell cell363 = new Cell() { CellReference = "AD10", StyleIndex = (UInt32Value)7U }; Cell cell364 = new Cell() { CellReference = "AE10", StyleIndex = (UInt32Value)7U }; Cell cell365 = new Cell() { CellReference = "AF10", StyleIndex = (UInt32Value)7U }; Cell cell366 = new Cell() { CellReference = "AG10", StyleIndex = (UInt32Value)7U }; Cell cell367 = new Cell() { CellReference = "AH10", StyleIndex = (UInt32Value)53U }; Cell cell368 = new Cell() { CellReference = "AI10", StyleIndex = (UInt32Value)43U }; Cell cell369 = new Cell() { CellReference = "AJ10", StyleIndex = (UInt32Value)53U }; Cell cell370 = new Cell() { CellReference = "AK10", StyleIndex = (UInt32Value)39U }; row10.Append(cell334); row10.Append(cell335); row10.Append(cell336); row10.Append(cell337); row10.Append(cell338); row10.Append(cell339); row10.Append(cell340); row10.Append(cell341); row10.Append(cell342); row10.Append(cell343); row10.Append(cell344); row10.Append(cell345); row10.Append(cell346); row10.Append(cell347); row10.Append(cell348); row10.Append(cell349); row10.Append(cell350); row10.Append(cell351); row10.Append(cell352); row10.Append(cell353); row10.Append(cell354); row10.Append(cell355); row10.Append(cell356); row10.Append(cell357); row10.Append(cell358); row10.Append(cell359); row10.Append(cell360); row10.Append(cell361); row10.Append(cell362); row10.Append(cell363); row10.Append(cell364); row10.Append(cell365); row10.Append(cell366); row10.Append(cell367); row10.Append(cell368); row10.Append(cell369); row10.Append(cell370); Row row11 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)4U, CustomFormat = true }; Cell cell371 = new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)12U }; Cell cell372 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "14"; cell372.Append(cellValue6); Cell cell373 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)34U }; Cell cell374 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)5U }; Cell cell375 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)7U }; Cell cell376 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)7U }; Cell cell377 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)7U }; Cell cell378 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)7U }; Cell cell379 = new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)7U }; Cell cell380 = new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)7U }; Cell cell381 = new Cell() { CellReference = "K11", StyleIndex = (UInt32Value)7U }; Cell cell382 = new Cell() { CellReference = "L11", StyleIndex = (UInt32Value)7U }; Cell cell383 = new Cell() { CellReference = "M11", StyleIndex = (UInt32Value)7U }; Cell cell384 = new Cell() { CellReference = "N11", StyleIndex = (UInt32Value)7U }; Cell cell385 = new Cell() { CellReference = "O11", StyleIndex = (UInt32Value)7U }; Cell cell386 = new Cell() { CellReference = "P11", StyleIndex = (UInt32Value)7U }; Cell cell387 = new Cell() { CellReference = "Q11", StyleIndex = (UInt32Value)7U }; Cell cell388 = new Cell() { CellReference = "R11", StyleIndex = (UInt32Value)7U }; Cell cell389 = new Cell() { CellReference = "S11", StyleIndex = (UInt32Value)7U }; Cell cell390 = new Cell() { CellReference = "T11", StyleIndex = (UInt32Value)7U }; Cell cell391 = new Cell() { CellReference = "U11", StyleIndex = (UInt32Value)7U }; Cell cell392 = new Cell() { CellReference = "V11", StyleIndex = (UInt32Value)7U }; Cell cell393 = new Cell() { CellReference = "W11", StyleIndex = (UInt32Value)7U }; Cell cell394 = new Cell() { CellReference = "X11", StyleIndex = (UInt32Value)7U }; Cell cell395 = new Cell() { CellReference = "Y11", StyleIndex = (UInt32Value)7U }; Cell cell396 = new Cell() { CellReference = "Z11", StyleIndex = (UInt32Value)7U }; Cell cell397 = new Cell() { CellReference = "AA11", StyleIndex = (UInt32Value)7U }; Cell cell398 = new Cell() { CellReference = "AB11", StyleIndex = (UInt32Value)7U }; Cell cell399 = new Cell() { CellReference = "AC11", StyleIndex = (UInt32Value)7U }; Cell cell400 = new Cell() { CellReference = "AD11", StyleIndex = (UInt32Value)7U }; Cell cell401 = new Cell() { CellReference = "AE11", StyleIndex = (UInt32Value)7U }; Cell cell402 = new Cell() { CellReference = "AF11", StyleIndex = (UInt32Value)7U }; Cell cell403 = new Cell() { CellReference = "AG11", StyleIndex = (UInt32Value)7U }; Cell cell404 = new Cell() { CellReference = "AH11", StyleIndex = (UInt32Value)53U }; Cell cell405 = new Cell() { CellReference = "AI11", StyleIndex = (UInt32Value)43U }; Cell cell406 = new Cell() { CellReference = "AJ11", StyleIndex = (UInt32Value)53U }; Cell cell407 = new Cell() { CellReference = "AK11", StyleIndex = (UInt32Value)39U }; row11.Append(cell371); row11.Append(cell372); row11.Append(cell373); row11.Append(cell374); row11.Append(cell375); row11.Append(cell376); row11.Append(cell377); row11.Append(cell378); row11.Append(cell379); row11.Append(cell380); row11.Append(cell381); row11.Append(cell382); row11.Append(cell383); row11.Append(cell384); row11.Append(cell385); row11.Append(cell386); row11.Append(cell387); row11.Append(cell388); row11.Append(cell389); row11.Append(cell390); row11.Append(cell391); row11.Append(cell392); row11.Append(cell393); row11.Append(cell394); row11.Append(cell395); row11.Append(cell396); row11.Append(cell397); row11.Append(cell398); row11.Append(cell399); row11.Append(cell400); row11.Append(cell401); row11.Append(cell402); row11.Append(cell403); row11.Append(cell404); row11.Append(cell405); row11.Append(cell406); row11.Append(cell407); Row row12 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)5U, CustomFormat = true }; Cell cell408 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)12U }; Cell cell409 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "15"; cell409.Append(cellValue7); Cell cell410 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)35U }; Cell cell411 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)6U }; Cell cell412 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)7U }; Cell cell413 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)7U }; Cell cell414 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)7U }; Cell cell415 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)7U }; Cell cell416 = new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)7U }; Cell cell417 = new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)7U }; Cell cell418 = new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)7U }; Cell cell419 = new Cell() { CellReference = "L12", StyleIndex = (UInt32Value)7U }; Cell cell420 = new Cell() { CellReference = "M12", StyleIndex = (UInt32Value)7U }; Cell cell421 = new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)7U }; Cell cell422 = new Cell() { CellReference = "O12", StyleIndex = (UInt32Value)7U }; Cell cell423 = new Cell() { CellReference = "P12", StyleIndex = (UInt32Value)7U }; Cell cell424 = new Cell() { CellReference = "Q12", StyleIndex = (UInt32Value)7U }; Cell cell425 = new Cell() { CellReference = "R12", StyleIndex = (UInt32Value)7U }; Cell cell426 = new Cell() { CellReference = "S12", StyleIndex = (UInt32Value)7U }; Cell cell427 = new Cell() { CellReference = "T12", StyleIndex = (UInt32Value)7U }; Cell cell428 = new Cell() { CellReference = "U12", StyleIndex = (UInt32Value)7U }; Cell cell429 = new Cell() { CellReference = "V12", StyleIndex = (UInt32Value)7U }; Cell cell430 = new Cell() { CellReference = "W12", StyleIndex = (UInt32Value)7U }; Cell cell431 = new Cell() { CellReference = "X12", StyleIndex = (UInt32Value)7U }; Cell cell432 = new Cell() { CellReference = "Y12", StyleIndex = (UInt32Value)7U }; Cell cell433 = new Cell() { CellReference = "Z12", StyleIndex = (UInt32Value)7U }; Cell cell434 = new Cell() { CellReference = "AA12", StyleIndex = (UInt32Value)7U }; Cell cell435 = new Cell() { CellReference = "AB12", StyleIndex = (UInt32Value)7U }; Cell cell436 = new Cell() { CellReference = "AC12", StyleIndex = (UInt32Value)7U }; Cell cell437 = new Cell() { CellReference = "AD12", StyleIndex = (UInt32Value)7U }; Cell cell438 = new Cell() { CellReference = "AE12", StyleIndex = (UInt32Value)7U }; Cell cell439 = new Cell() { CellReference = "AF12", StyleIndex = (UInt32Value)7U }; Cell cell440 = new Cell() { CellReference = "AG12", StyleIndex = (UInt32Value)7U }; Cell cell441 = new Cell() { CellReference = "AH12", StyleIndex = (UInt32Value)53U }; Cell cell442 = new Cell() { CellReference = "AI12", StyleIndex = (UInt32Value)43U }; Cell cell443 = new Cell() { CellReference = "AJ12", StyleIndex = (UInt32Value)53U }; Cell cell444 = new Cell() { CellReference = "AK12", StyleIndex = (UInt32Value)39U }; row12.Append(cell408); row12.Append(cell409); row12.Append(cell410); row12.Append(cell411); row12.Append(cell412); row12.Append(cell413); row12.Append(cell414); row12.Append(cell415); row12.Append(cell416); row12.Append(cell417); row12.Append(cell418); row12.Append(cell419); row12.Append(cell420); row12.Append(cell421); row12.Append(cell422); row12.Append(cell423); row12.Append(cell424); row12.Append(cell425); row12.Append(cell426); row12.Append(cell427); row12.Append(cell428); row12.Append(cell429); row12.Append(cell430); row12.Append(cell431); row12.Append(cell432); row12.Append(cell433); row12.Append(cell434); row12.Append(cell435); row12.Append(cell436); row12.Append(cell437); row12.Append(cell438); row12.Append(cell439); row12.Append(cell440); row12.Append(cell441); row12.Append(cell442); row12.Append(cell443); row12.Append(cell444); Row row13 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, StyleIndex = (UInt32Value)5U, CustomFormat = true, Height = 11.25D }; Cell cell445 = new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)12U }; Cell cell446 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "16"; cell446.Append(cellValue8); Cell cell447 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)36U }; Cell cell448 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)6U }; Cell cell449 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)7U }; Cell cell450 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)7U }; Cell cell451 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)7U }; Cell cell452 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)7U }; Cell cell453 = new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)7U }; Cell cell454 = new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)7U }; Cell cell455 = new Cell() { CellReference = "K13", StyleIndex = (UInt32Value)7U }; Cell cell456 = new Cell() { CellReference = "L13", StyleIndex = (UInt32Value)7U }; Cell cell457 = new Cell() { CellReference = "M13", StyleIndex = (UInt32Value)7U }; Cell cell458 = new Cell() { CellReference = "N13", StyleIndex = (UInt32Value)7U }; Cell cell459 = new Cell() { CellReference = "O13", StyleIndex = (UInt32Value)7U }; Cell cell460 = new Cell() { CellReference = "P13", StyleIndex = (UInt32Value)7U }; Cell cell461 = new Cell() { CellReference = "Q13", StyleIndex = (UInt32Value)7U }; Cell cell462 = new Cell() { CellReference = "R13", StyleIndex = (UInt32Value)7U }; Cell cell463 = new Cell() { CellReference = "S13", StyleIndex = (UInt32Value)7U }; Cell cell464 = new Cell() { CellReference = "T13", StyleIndex = (UInt32Value)7U }; Cell cell465 = new Cell() { CellReference = "U13", StyleIndex = (UInt32Value)7U }; Cell cell466 = new Cell() { CellReference = "V13", StyleIndex = (UInt32Value)7U }; Cell cell467 = new Cell() { CellReference = "W13", StyleIndex = (UInt32Value)7U }; Cell cell468 = new Cell() { CellReference = "X13", StyleIndex = (UInt32Value)7U }; Cell cell469 = new Cell() { CellReference = "Y13", StyleIndex = (UInt32Value)7U }; Cell cell470 = new Cell() { CellReference = "Z13", StyleIndex = (UInt32Value)7U }; Cell cell471 = new Cell() { CellReference = "AA13", StyleIndex = (UInt32Value)7U }; Cell cell472 = new Cell() { CellReference = "AB13", StyleIndex = (UInt32Value)7U }; Cell cell473 = new Cell() { CellReference = "AC13", StyleIndex = (UInt32Value)7U }; Cell cell474 = new Cell() { CellReference = "AD13", StyleIndex = (UInt32Value)7U }; Cell cell475 = new Cell() { CellReference = "AE13", StyleIndex = (UInt32Value)7U }; Cell cell476 = new Cell() { CellReference = "AF13", StyleIndex = (UInt32Value)7U }; Cell cell477 = new Cell() { CellReference = "AG13", StyleIndex = (UInt32Value)7U }; Cell cell478 = new Cell() { CellReference = "AH13", StyleIndex = (UInt32Value)53U }; Cell cell479 = new Cell() { CellReference = "AI13", StyleIndex = (UInt32Value)43U }; Cell cell480 = new Cell() { CellReference = "AJ13", StyleIndex = (UInt32Value)53U }; Cell cell481 = new Cell() { CellReference = "AK13", StyleIndex = (UInt32Value)39U }; row13.Append(cell445); row13.Append(cell446); row13.Append(cell447); row13.Append(cell448); row13.Append(cell449); row13.Append(cell450); row13.Append(cell451); row13.Append(cell452); row13.Append(cell453); row13.Append(cell454); row13.Append(cell455); row13.Append(cell456); row13.Append(cell457); row13.Append(cell458); row13.Append(cell459); row13.Append(cell460); row13.Append(cell461); row13.Append(cell462); row13.Append(cell463); row13.Append(cell464); row13.Append(cell465); row13.Append(cell466); row13.Append(cell467); row13.Append(cell468); row13.Append(cell469); row13.Append(cell470); row13.Append(cell471); row13.Append(cell472); row13.Append(cell473); row13.Append(cell474); row13.Append(cell475); row13.Append(cell476); row13.Append(cell477); row13.Append(cell478); row13.Append(cell479); row13.Append(cell480); row13.Append(cell481); Row row14 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell482 = new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)17U }; Cell cell483 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "17"; cell483.Append(cellValue9); Cell cell484 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)37U }; Cell cell485 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)18U }; Cell cell486 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)18U }; Cell cell487 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)18U }; Cell cell488 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)18U }; Cell cell489 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)18U }; Cell cell490 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)18U }; Cell cell491 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)18U }; Cell cell492 = new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)18U }; Cell cell493 = new Cell() { CellReference = "L14", StyleIndex = (UInt32Value)18U }; Cell cell494 = new Cell() { CellReference = "M14", StyleIndex = (UInt32Value)18U }; Cell cell495 = new Cell() { CellReference = "N14", StyleIndex = (UInt32Value)18U }; Cell cell496 = new Cell() { CellReference = "O14", StyleIndex = (UInt32Value)18U }; Cell cell497 = new Cell() { CellReference = "P14", StyleIndex = (UInt32Value)18U }; Cell cell498 = new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)18U }; Cell cell499 = new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)18U }; Cell cell500 = new Cell() { CellReference = "S14", StyleIndex = (UInt32Value)18U }; Cell cell501 = new Cell() { CellReference = "T14", StyleIndex = (UInt32Value)18U }; Cell cell502 = new Cell() { CellReference = "U14", StyleIndex = (UInt32Value)18U }; Cell cell503 = new Cell() { CellReference = "V14", StyleIndex = (UInt32Value)18U }; Cell cell504 = new Cell() { CellReference = "W14", StyleIndex = (UInt32Value)18U }; Cell cell505 = new Cell() { CellReference = "X14", StyleIndex = (UInt32Value)18U }; Cell cell506 = new Cell() { CellReference = "Y14", StyleIndex = (UInt32Value)18U }; Cell cell507 = new Cell() { CellReference = "Z14", StyleIndex = (UInt32Value)18U }; Cell cell508 = new Cell() { CellReference = "AA14", StyleIndex = (UInt32Value)18U }; Cell cell509 = new Cell() { CellReference = "AB14", StyleIndex = (UInt32Value)18U }; Cell cell510 = new Cell() { CellReference = "AC14", StyleIndex = (UInt32Value)18U }; Cell cell511 = new Cell() { CellReference = "AD14", StyleIndex = (UInt32Value)18U }; Cell cell512 = new Cell() { CellReference = "AE14", StyleIndex = (UInt32Value)18U }; Cell cell513 = new Cell() { CellReference = "AF14", StyleIndex = (UInt32Value)18U }; Cell cell514 = new Cell() { CellReference = "AG14", StyleIndex = (UInt32Value)18U }; Cell cell515 = new Cell() { CellReference = "AH14", StyleIndex = (UInt32Value)54U }; Cell cell516 = new Cell() { CellReference = "AI14", StyleIndex = (UInt32Value)44U }; Cell cell517 = new Cell() { CellReference = "AJ14", StyleIndex = (UInt32Value)54U }; Cell cell518 = new Cell() { CellReference = "AK14", StyleIndex = (UInt32Value)30U }; Cell cell519 = new Cell() { CellReference = "AL14", StyleIndex = (UInt32Value)18U }; row14.Append(cell482); row14.Append(cell483); row14.Append(cell484); row14.Append(cell485); row14.Append(cell486); row14.Append(cell487); row14.Append(cell488); row14.Append(cell489); row14.Append(cell490); row14.Append(cell491); row14.Append(cell492); row14.Append(cell493); row14.Append(cell494); row14.Append(cell495); row14.Append(cell496); row14.Append(cell497); row14.Append(cell498); row14.Append(cell499); row14.Append(cell500); row14.Append(cell501); row14.Append(cell502); row14.Append(cell503); row14.Append(cell504); row14.Append(cell505); row14.Append(cell506); row14.Append(cell507); row14.Append(cell508); row14.Append(cell509); row14.Append(cell510); row14.Append(cell511); row14.Append(cell512); row14.Append(cell513); row14.Append(cell514); row14.Append(cell515); row14.Append(cell516); row14.Append(cell517); row14.Append(cell518); row14.Append(cell519); Row row15 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell520 = new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)17U }; Cell cell521 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "18"; cell521.Append(cellValue10); Cell cell522 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)37U }; Cell cell523 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)18U }; Cell cell524 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)18U }; Cell cell525 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)18U }; Cell cell526 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)18U }; Cell cell527 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)18U }; Cell cell528 = new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)18U }; Cell cell529 = new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)18U }; Cell cell530 = new Cell() { CellReference = "K15", StyleIndex = (UInt32Value)18U }; Cell cell531 = new Cell() { CellReference = "L15", StyleIndex = (UInt32Value)18U }; Cell cell532 = new Cell() { CellReference = "M15", StyleIndex = (UInt32Value)18U }; Cell cell533 = new Cell() { CellReference = "N15", StyleIndex = (UInt32Value)18U }; Cell cell534 = new Cell() { CellReference = "O15", StyleIndex = (UInt32Value)18U }; Cell cell535 = new Cell() { CellReference = "P15", StyleIndex = (UInt32Value)18U }; Cell cell536 = new Cell() { CellReference = "Q15", StyleIndex = (UInt32Value)18U }; Cell cell537 = new Cell() { CellReference = "R15", StyleIndex = (UInt32Value)18U }; Cell cell538 = new Cell() { CellReference = "S15", StyleIndex = (UInt32Value)18U }; Cell cell539 = new Cell() { CellReference = "T15", StyleIndex = (UInt32Value)18U }; Cell cell540 = new Cell() { CellReference = "U15", StyleIndex = (UInt32Value)18U }; Cell cell541 = new Cell() { CellReference = "V15", StyleIndex = (UInt32Value)18U }; Cell cell542 = new Cell() { CellReference = "W15", StyleIndex = (UInt32Value)18U }; Cell cell543 = new Cell() { CellReference = "X15", StyleIndex = (UInt32Value)18U }; Cell cell544 = new Cell() { CellReference = "Y15", StyleIndex = (UInt32Value)18U }; Cell cell545 = new Cell() { CellReference = "Z15", StyleIndex = (UInt32Value)18U }; Cell cell546 = new Cell() { CellReference = "AA15", StyleIndex = (UInt32Value)18U }; Cell cell547 = new Cell() { CellReference = "AB15", StyleIndex = (UInt32Value)18U }; Cell cell548 = new Cell() { CellReference = "AC15", StyleIndex = (UInt32Value)18U }; Cell cell549 = new Cell() { CellReference = "AD15", StyleIndex = (UInt32Value)18U }; Cell cell550 = new Cell() { CellReference = "AE15", StyleIndex = (UInt32Value)18U }; Cell cell551 = new Cell() { CellReference = "AF15", StyleIndex = (UInt32Value)18U }; Cell cell552 = new Cell() { CellReference = "AG15", StyleIndex = (UInt32Value)18U }; Cell cell553 = new Cell() { CellReference = "AH15", StyleIndex = (UInt32Value)54U }; Cell cell554 = new Cell() { CellReference = "AI15", StyleIndex = (UInt32Value)44U }; Cell cell555 = new Cell() { CellReference = "AJ15", StyleIndex = (UInt32Value)54U }; Cell cell556 = new Cell() { CellReference = "AK15", StyleIndex = (UInt32Value)30U }; Cell cell557 = new Cell() { CellReference = "AL15", StyleIndex = (UInt32Value)18U }; row15.Append(cell520); row15.Append(cell521); row15.Append(cell522); row15.Append(cell523); row15.Append(cell524); row15.Append(cell525); row15.Append(cell526); row15.Append(cell527); row15.Append(cell528); row15.Append(cell529); row15.Append(cell530); row15.Append(cell531); row15.Append(cell532); row15.Append(cell533); row15.Append(cell534); row15.Append(cell535); row15.Append(cell536); row15.Append(cell537); row15.Append(cell538); row15.Append(cell539); row15.Append(cell540); row15.Append(cell541); row15.Append(cell542); row15.Append(cell543); row15.Append(cell544); row15.Append(cell545); row15.Append(cell546); row15.Append(cell547); row15.Append(cell548); row15.Append(cell549); row15.Append(cell550); row15.Append(cell551); row15.Append(cell552); row15.Append(cell553); row15.Append(cell554); row15.Append(cell555); row15.Append(cell556); row15.Append(cell557); Row row16 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell558 = new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)17U }; Cell cell559 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)14U }; Cell cell560 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)18U }; Cell cell561 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)18U }; Cell cell562 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)18U }; Cell cell563 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)18U }; Cell cell564 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)18U }; Cell cell565 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)18U }; Cell cell566 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)18U }; Cell cell567 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)18U }; Cell cell568 = new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)18U }; Cell cell569 = new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)18U }; Cell cell570 = new Cell() { CellReference = "M16", StyleIndex = (UInt32Value)18U }; Cell cell571 = new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)18U }; Cell cell572 = new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)18U }; Cell cell573 = new Cell() { CellReference = "P16", StyleIndex = (UInt32Value)18U }; Cell cell574 = new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)18U }; Cell cell575 = new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)18U }; Cell cell576 = new Cell() { CellReference = "S16", StyleIndex = (UInt32Value)18U }; Cell cell577 = new Cell() { CellReference = "T16", StyleIndex = (UInt32Value)18U }; Cell cell578 = new Cell() { CellReference = "U16", StyleIndex = (UInt32Value)18U }; Cell cell579 = new Cell() { CellReference = "V16", StyleIndex = (UInt32Value)18U }; Cell cell580 = new Cell() { CellReference = "W16", StyleIndex = (UInt32Value)18U }; Cell cell581 = new Cell() { CellReference = "X16", StyleIndex = (UInt32Value)18U }; Cell cell582 = new Cell() { CellReference = "Y16", StyleIndex = (UInt32Value)18U }; Cell cell583 = new Cell() { CellReference = "Z16", StyleIndex = (UInt32Value)18U }; Cell cell584 = new Cell() { CellReference = "AA16", StyleIndex = (UInt32Value)18U }; Cell cell585 = new Cell() { CellReference = "AB16", StyleIndex = (UInt32Value)18U }; Cell cell586 = new Cell() { CellReference = "AC16", StyleIndex = (UInt32Value)18U }; Cell cell587 = new Cell() { CellReference = "AD16", StyleIndex = (UInt32Value)18U }; Cell cell588 = new Cell() { CellReference = "AE16", StyleIndex = (UInt32Value)18U }; Cell cell589 = new Cell() { CellReference = "AF16", StyleIndex = (UInt32Value)18U }; Cell cell590 = new Cell() { CellReference = "AG16", StyleIndex = (UInt32Value)18U }; Cell cell591 = new Cell() { CellReference = "AH16", StyleIndex = (UInt32Value)54U }; Cell cell592 = new Cell() { CellReference = "AI16", StyleIndex = (UInt32Value)44U }; Cell cell593 = new Cell() { CellReference = "AJ16", StyleIndex = (UInt32Value)54U }; Cell cell594 = new Cell() { CellReference = "AK16", StyleIndex = (UInt32Value)30U }; Cell cell595 = new Cell() { CellReference = "AL16", StyleIndex = (UInt32Value)18U }; row16.Append(cell558); row16.Append(cell559); row16.Append(cell560); row16.Append(cell561); row16.Append(cell562); row16.Append(cell563); row16.Append(cell564); row16.Append(cell565); row16.Append(cell566); row16.Append(cell567); row16.Append(cell568); row16.Append(cell569); row16.Append(cell570); row16.Append(cell571); row16.Append(cell572); row16.Append(cell573); row16.Append(cell574); row16.Append(cell575); row16.Append(cell576); row16.Append(cell577); row16.Append(cell578); row16.Append(cell579); row16.Append(cell580); row16.Append(cell581); row16.Append(cell582); row16.Append(cell583); row16.Append(cell584); row16.Append(cell585); row16.Append(cell586); row16.Append(cell587); row16.Append(cell588); row16.Append(cell589); row16.Append(cell590); row16.Append(cell591); row16.Append(cell592); row16.Append(cell593); row16.Append(cell594); row16.Append(cell595); Row row17 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell596 = new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)17U }; Cell cell597 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "5"; cell597.Append(cellValue11); Cell cell598 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)20U }; Cell cell599 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)21U }; Cell cell600 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)21U }; Cell cell601 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)21U }; Cell cell602 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)21U }; Cell cell603 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)21U }; Cell cell604 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)21U }; Cell cell605 = new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)21U }; Cell cell606 = new Cell() { CellReference = "K17", StyleIndex = (UInt32Value)21U }; Cell cell607 = new Cell() { CellReference = "L17", StyleIndex = (UInt32Value)21U }; Cell cell608 = new Cell() { CellReference = "M17", StyleIndex = (UInt32Value)21U }; Cell cell609 = new Cell() { CellReference = "N17", StyleIndex = (UInt32Value)21U }; Cell cell610 = new Cell() { CellReference = "O17", StyleIndex = (UInt32Value)21U }; Cell cell611 = new Cell() { CellReference = "P17", StyleIndex = (UInt32Value)21U }; Cell cell612 = new Cell() { CellReference = "Q17", StyleIndex = (UInt32Value)21U }; Cell cell613 = new Cell() { CellReference = "R17", StyleIndex = (UInt32Value)21U }; Cell cell614 = new Cell() { CellReference = "S17", StyleIndex = (UInt32Value)21U }; Cell cell615 = new Cell() { CellReference = "T17", StyleIndex = (UInt32Value)21U }; Cell cell616 = new Cell() { CellReference = "U17", StyleIndex = (UInt32Value)21U }; Cell cell617 = new Cell() { CellReference = "V17", StyleIndex = (UInt32Value)21U }; Cell cell618 = new Cell() { CellReference = "W17", StyleIndex = (UInt32Value)21U }; Cell cell619 = new Cell() { CellReference = "X17", StyleIndex = (UInt32Value)21U }; Cell cell620 = new Cell() { CellReference = "Y17", StyleIndex = (UInt32Value)21U }; Cell cell621 = new Cell() { CellReference = "Z17", StyleIndex = (UInt32Value)21U }; Cell cell622 = new Cell() { CellReference = "AA17", StyleIndex = (UInt32Value)21U }; Cell cell623 = new Cell() { CellReference = "AB17", StyleIndex = (UInt32Value)21U }; Cell cell624 = new Cell() { CellReference = "AC17", StyleIndex = (UInt32Value)21U }; Cell cell625 = new Cell() { CellReference = "AD17", StyleIndex = (UInt32Value)21U }; Cell cell626 = new Cell() { CellReference = "AE17", StyleIndex = (UInt32Value)21U }; Cell cell627 = new Cell() { CellReference = "AF17", StyleIndex = (UInt32Value)21U }; Cell cell628 = new Cell() { CellReference = "AG17", StyleIndex = (UInt32Value)21U }; Cell cell629 = new Cell() { CellReference = "AH17", StyleIndex = (UInt32Value)55U }; Cell cell630 = new Cell() { CellReference = "AI17", StyleIndex = (UInt32Value)45U }; Cell cell631 = new Cell() { CellReference = "AJ17", StyleIndex = (UInt32Value)54U }; Cell cell632 = new Cell() { CellReference = "AK17", StyleIndex = (UInt32Value)30U }; row17.Append(cell596); row17.Append(cell597); row17.Append(cell598); row17.Append(cell599); row17.Append(cell600); row17.Append(cell601); row17.Append(cell602); row17.Append(cell603); row17.Append(cell604); row17.Append(cell605); row17.Append(cell606); row17.Append(cell607); row17.Append(cell608); row17.Append(cell609); row17.Append(cell610); row17.Append(cell611); row17.Append(cell612); row17.Append(cell613); row17.Append(cell614); row17.Append(cell615); row17.Append(cell616); row17.Append(cell617); row17.Append(cell618); row17.Append(cell619); row17.Append(cell620); row17.Append(cell621); row17.Append(cell622); row17.Append(cell623); row17.Append(cell624); row17.Append(cell625); row17.Append(cell626); row17.Append(cell627); row17.Append(cell628); row17.Append(cell629); row17.Append(cell630); row17.Append(cell631); row17.Append(cell632); Row row18 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:38" }, Height = 12.75D, CustomHeight = true }; Cell cell633 = new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)17U }; Cell cell634 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "6"; cell634.Append(cellValue12); Cell cell635 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)23U }; Cell cell636 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)23U }; Cell cell637 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)23U }; Cell cell638 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)23U }; Cell cell639 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)23U }; Cell cell640 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)23U }; Cell cell641 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)23U }; Cell cell642 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)23U }; Cell cell643 = new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)23U }; Cell cell644 = new Cell() { CellReference = "L18", StyleIndex = (UInt32Value)23U }; Cell cell645 = new Cell() { CellReference = "M18", StyleIndex = (UInt32Value)23U }; Cell cell646 = new Cell() { CellReference = "N18", StyleIndex = (UInt32Value)23U }; Cell cell647 = new Cell() { CellReference = "O18", StyleIndex = (UInt32Value)23U }; Cell cell648 = new Cell() { CellReference = "P18", StyleIndex = (UInt32Value)23U }; Cell cell649 = new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)23U }; Cell cell650 = new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)23U }; Cell cell651 = new Cell() { CellReference = "S18", StyleIndex = (UInt32Value)23U }; Cell cell652 = new Cell() { CellReference = "T18", StyleIndex = (UInt32Value)23U }; Cell cell653 = new Cell() { CellReference = "U18", StyleIndex = (UInt32Value)23U }; Cell cell654 = new Cell() { CellReference = "V18", StyleIndex = (UInt32Value)23U }; Cell cell655 = new Cell() { CellReference = "W18", StyleIndex = (UInt32Value)23U }; Cell cell656 = new Cell() { CellReference = "X18", StyleIndex = (UInt32Value)23U }; Cell cell657 = new Cell() { CellReference = "Y18", StyleIndex = (UInt32Value)23U }; Cell cell658 = new Cell() { CellReference = "Z18", StyleIndex = (UInt32Value)23U }; Cell cell659 = new Cell() { CellReference = "AA18", StyleIndex = (UInt32Value)23U }; Cell cell660 = new Cell() { CellReference = "AB18", StyleIndex = (UInt32Value)23U }; Cell cell661 = new Cell() { CellReference = "AC18", StyleIndex = (UInt32Value)23U }; Cell cell662 = new Cell() { CellReference = "AD18", StyleIndex = (UInt32Value)23U }; Cell cell663 = new Cell() { CellReference = "AE18", StyleIndex = (UInt32Value)23U }; Cell cell664 = new Cell() { CellReference = "AF18", StyleIndex = (UInt32Value)23U }; Cell cell665 = new Cell() { CellReference = "AG18", StyleIndex = (UInt32Value)26U }; Cell cell666 = new Cell() { CellReference = "AH18", StyleIndex = (UInt32Value)56U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "7"; cell666.Append(cellValue13); Cell cell667 = new Cell() { CellReference = "AI18", StyleIndex = (UInt32Value)46U, DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "9"; cell667.Append(cellValue14); Cell cell668 = new Cell() { CellReference = "AJ18", StyleIndex = (UInt32Value)63U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "8"; cell668.Append(cellValue15); Cell cell669 = new Cell() { CellReference = "AK18", StyleIndex = (UInt32Value)40U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "4"; cell669.Append(cellValue16); row18.Append(cell633); row18.Append(cell634); row18.Append(cell635); row18.Append(cell636); row18.Append(cell637); row18.Append(cell638); row18.Append(cell639); row18.Append(cell640); row18.Append(cell641); row18.Append(cell642); row18.Append(cell643); row18.Append(cell644); row18.Append(cell645); row18.Append(cell646); row18.Append(cell647); row18.Append(cell648); row18.Append(cell649); row18.Append(cell650); row18.Append(cell651); row18.Append(cell652); row18.Append(cell653); row18.Append(cell654); row18.Append(cell655); row18.Append(cell656); row18.Append(cell657); row18.Append(cell658); row18.Append(cell659); row18.Append(cell660); row18.Append(cell661); row18.Append(cell662); row18.Append(cell663); row18.Append(cell664); row18.Append(cell665); row18.Append(cell666); row18.Append(cell667); row18.Append(cell668); row18.Append(cell669); Row row19 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell670 = new Cell() { CellReference = "A19", StyleIndex = (UInt32Value)17U }; Cell cell671 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)24U }; Cell cell672 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)25U }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "1"; cell672.Append(cellValue17); Cell cell673 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)25U }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "2"; cell673.Append(cellValue18); Cell cell674 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)25U }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "3"; cell674.Append(cellValue19); Cell cell675 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)25U }; CellValue cellValue20 = new CellValue(); cellValue20.Text = "4"; cell675.Append(cellValue20); Cell cell676 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)25U }; CellValue cellValue21 = new CellValue(); cellValue21.Text = "5"; cell676.Append(cellValue21); Cell cell677 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)25U }; CellValue cellValue22 = new CellValue(); cellValue22.Text = "6"; cell677.Append(cellValue22); Cell cell678 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)25U }; CellValue cellValue23 = new CellValue(); cellValue23.Text = "7"; cell678.Append(cellValue23); Cell cell679 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)25U }; CellValue cellValue24 = new CellValue(); cellValue24.Text = "8"; cell679.Append(cellValue24); Cell cell680 = new Cell() { CellReference = "K19", StyleIndex = (UInt32Value)25U }; CellValue cellValue25 = new CellValue(); cellValue25.Text = "9"; cell680.Append(cellValue25); Cell cell681 = new Cell() { CellReference = "L19", StyleIndex = (UInt32Value)25U }; CellValue cellValue26 = new CellValue(); cellValue26.Text = "10"; cell681.Append(cellValue26); Cell cell682 = new Cell() { CellReference = "M19", StyleIndex = (UInt32Value)25U }; CellValue cellValue27 = new CellValue(); cellValue27.Text = "11"; cell682.Append(cellValue27); Cell cell683 = new Cell() { CellReference = "N19", StyleIndex = (UInt32Value)25U }; CellValue cellValue28 = new CellValue(); cellValue28.Text = "12"; cell683.Append(cellValue28); Cell cell684 = new Cell() { CellReference = "O19", StyleIndex = (UInt32Value)25U }; CellValue cellValue29 = new CellValue(); cellValue29.Text = "13"; cell684.Append(cellValue29); Cell cell685 = new Cell() { CellReference = "P19", StyleIndex = (UInt32Value)25U }; CellValue cellValue30 = new CellValue(); cellValue30.Text = "14"; cell685.Append(cellValue30); Cell cell686 = new Cell() { CellReference = "Q19", StyleIndex = (UInt32Value)25U }; CellValue cellValue31 = new CellValue(); cellValue31.Text = "15"; cell686.Append(cellValue31); Cell cell687 = new Cell() { CellReference = "R19", StyleIndex = (UInt32Value)25U }; CellValue cellValue32 = new CellValue(); cellValue32.Text = "16"; cell687.Append(cellValue32); Cell cell688 = new Cell() { CellReference = "S19", StyleIndex = (UInt32Value)25U }; CellValue cellValue33 = new CellValue(); cellValue33.Text = "17"; cell688.Append(cellValue33); Cell cell689 = new Cell() { CellReference = "T19", StyleIndex = (UInt32Value)25U }; CellValue cellValue34 = new CellValue(); cellValue34.Text = "18"; cell689.Append(cellValue34); Cell cell690 = new Cell() { CellReference = "U19", StyleIndex = (UInt32Value)25U }; CellValue cellValue35 = new CellValue(); cellValue35.Text = "19"; cell690.Append(cellValue35); Cell cell691 = new Cell() { CellReference = "V19", StyleIndex = (UInt32Value)25U }; CellValue cellValue36 = new CellValue(); cellValue36.Text = "20"; cell691.Append(cellValue36); Cell cell692 = new Cell() { CellReference = "W19", StyleIndex = (UInt32Value)25U }; CellValue cellValue37 = new CellValue(); cellValue37.Text = "21"; cell692.Append(cellValue37); Cell cell693 = new Cell() { CellReference = "X19", StyleIndex = (UInt32Value)25U }; CellValue cellValue38 = new CellValue(); cellValue38.Text = "22"; cell693.Append(cellValue38); Cell cell694 = new Cell() { CellReference = "Y19", StyleIndex = (UInt32Value)25U }; CellValue cellValue39 = new CellValue(); cellValue39.Text = "23"; cell694.Append(cellValue39); Cell cell695 = new Cell() { CellReference = "Z19", StyleIndex = (UInt32Value)25U }; CellValue cellValue40 = new CellValue(); cellValue40.Text = "24"; cell695.Append(cellValue40); Cell cell696 = new Cell() { CellReference = "AA19", StyleIndex = (UInt32Value)25U }; CellValue cellValue41 = new CellValue(); cellValue41.Text = "25"; cell696.Append(cellValue41); Cell cell697 = new Cell() { CellReference = "AB19", StyleIndex = (UInt32Value)25U }; CellValue cellValue42 = new CellValue(); cellValue42.Text = "26"; cell697.Append(cellValue42); Cell cell698 = new Cell() { CellReference = "AC19", StyleIndex = (UInt32Value)25U }; CellValue cellValue43 = new CellValue(); cellValue43.Text = "27"; cell698.Append(cellValue43); Cell cell699 = new Cell() { CellReference = "AD19", StyleIndex = (UInt32Value)25U }; CellValue cellValue44 = new CellValue(); cellValue44.Text = "28"; cell699.Append(cellValue44); Cell cell700 = new Cell() { CellReference = "AE19", StyleIndex = (UInt32Value)25U }; CellValue cellValue45 = new CellValue(); cellValue45.Text = "29"; cell700.Append(cellValue45); Cell cell701 = new Cell() { CellReference = "AF19", StyleIndex = (UInt32Value)25U }; CellValue cellValue46 = new CellValue(); cellValue46.Text = "30"; cell701.Append(cellValue46); Cell cell702 = new Cell() { CellReference = "AG19", StyleIndex = (UInt32Value)25U }; CellValue cellValue47 = new CellValue(); cellValue47.Text = "31"; cell702.Append(cellValue47); Cell cell703 = new Cell() { CellReference = "AH19", StyleIndex = (UInt32Value)57U, DataType = CellValues.SharedString }; CellValue cellValue48 = new CellValue(); cellValue48.Text = "10"; cell703.Append(cellValue48); Cell cell704 = new Cell() { CellReference = "AI19", StyleIndex = (UInt32Value)47U, DataType = CellValues.SharedString }; CellValue cellValue49 = new CellValue(); cellValue49.Text = "11"; cell704.Append(cellValue49); Cell cell705 = new Cell() { CellReference = "AJ19", StyleIndex = (UInt32Value)63U }; Cell cell706 = new Cell() { CellReference = "AK19", StyleIndex = (UInt32Value)40U }; row19.Append(cell670); row19.Append(cell671); row19.Append(cell672); row19.Append(cell673); row19.Append(cell674); row19.Append(cell675); row19.Append(cell676); row19.Append(cell677); row19.Append(cell678); row19.Append(cell679); row19.Append(cell680); row19.Append(cell681); row19.Append(cell682); row19.Append(cell683); row19.Append(cell684); row19.Append(cell685); row19.Append(cell686); row19.Append(cell687); row19.Append(cell688); row19.Append(cell689); row19.Append(cell690); row19.Append(cell691); row19.Append(cell692); row19.Append(cell693); row19.Append(cell694); row19.Append(cell695); row19.Append(cell696); row19.Append(cell697); row19.Append(cell698); row19.Append(cell699); row19.Append(cell700); row19.Append(cell701); row19.Append(cell702); row19.Append(cell703); row19.Append(cell704); row19.Append(cell705); row19.Append(cell706); Row row20 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell707 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)17U }; Cell cell708 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)2U }; Cell cell709 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)8U }; Cell cell710 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)8U }; Cell cell711 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)8U }; Cell cell712 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)8U }; Cell cell713 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)8U }; Cell cell714 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)8U }; Cell cell715 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)8U }; Cell cell716 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)8U }; Cell cell717 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)8U }; Cell cell718 = new Cell() { CellReference = "L20", StyleIndex = (UInt32Value)8U }; Cell cell719 = new Cell() { CellReference = "M20", StyleIndex = (UInt32Value)8U }; Cell cell720 = new Cell() { CellReference = "N20", StyleIndex = (UInt32Value)8U }; Cell cell721 = new Cell() { CellReference = "O20", StyleIndex = (UInt32Value)8U }; Cell cell722 = new Cell() { CellReference = "P20", StyleIndex = (UInt32Value)8U }; Cell cell723 = new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)8U }; Cell cell724 = new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)8U }; Cell cell725 = new Cell() { CellReference = "S20", StyleIndex = (UInt32Value)8U }; Cell cell726 = new Cell() { CellReference = "T20", StyleIndex = (UInt32Value)8U }; Cell cell727 = new Cell() { CellReference = "U20", StyleIndex = (UInt32Value)8U }; Cell cell728 = new Cell() { CellReference = "V20", StyleIndex = (UInt32Value)8U }; Cell cell729 = new Cell() { CellReference = "W20", StyleIndex = (UInt32Value)8U }; Cell cell730 = new Cell() { CellReference = "X20", StyleIndex = (UInt32Value)8U }; Cell cell731 = new Cell() { CellReference = "Y20", StyleIndex = (UInt32Value)8U }; Cell cell732 = new Cell() { CellReference = "Z20", StyleIndex = (UInt32Value)8U }; Cell cell733 = new Cell() { CellReference = "AA20", StyleIndex = (UInt32Value)8U }; Cell cell734 = new Cell() { CellReference = "AB20", StyleIndex = (UInt32Value)8U }; Cell cell735 = new Cell() { CellReference = "AC20", StyleIndex = (UInt32Value)8U }; Cell cell736 = new Cell() { CellReference = "AD20", StyleIndex = (UInt32Value)8U }; Cell cell737 = new Cell() { CellReference = "AE20", StyleIndex = (UInt32Value)8U }; Cell cell738 = new Cell() { CellReference = "AF20", StyleIndex = (UInt32Value)8U }; Cell cell739 = new Cell() { CellReference = "AG20", StyleIndex = (UInt32Value)8U }; Cell cell740 = new Cell() { CellReference = "AH20", StyleIndex = (UInt32Value)58U }; CellFormula cellFormula1 = new CellFormula(); cellFormula1.Text = "SUM(C20:AG20)"; CellValue cellValue50 = new CellValue(); cellValue50.Text = "0"; cell740.Append(cellFormula1); cell740.Append(cellValue50); Cell cell741 = new Cell() { CellReference = "AI20", StyleIndex = (UInt32Value)28U }; Cell cell742 = new Cell() { CellReference = "AJ20", StyleIndex = (UInt32Value)58U }; Cell cell743 = new Cell() { CellReference = "AK20", StyleIndex = (UInt32Value)28U }; CellFormula cellFormula2 = new CellFormula(); cellFormula2.Text = "+AH20*AI20*AJ20"; CellValue cellValue51 = new CellValue(); cellValue51.Text = "0"; cell743.Append(cellFormula2); cell743.Append(cellValue51); row20.Append(cell707); row20.Append(cell708); row20.Append(cell709); row20.Append(cell710); row20.Append(cell711); row20.Append(cell712); row20.Append(cell713); row20.Append(cell714); row20.Append(cell715); row20.Append(cell716); row20.Append(cell717); row20.Append(cell718); row20.Append(cell719); row20.Append(cell720); row20.Append(cell721); row20.Append(cell722); row20.Append(cell723); row20.Append(cell724); row20.Append(cell725); row20.Append(cell726); row20.Append(cell727); row20.Append(cell728); row20.Append(cell729); row20.Append(cell730); row20.Append(cell731); row20.Append(cell732); row20.Append(cell733); row20.Append(cell734); row20.Append(cell735); row20.Append(cell736); row20.Append(cell737); row20.Append(cell738); row20.Append(cell739); row20.Append(cell740); row20.Append(cell741); row20.Append(cell742); row20.Append(cell743); Row row21 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell744 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)17U }; Cell cell745 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue52 = new CellValue(); cellValue52.Text = "0"; cell745.Append(cellValue52); Cell cell746 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula3 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "C21:AE21", SharedIndex = (UInt32Value)0U }; cellFormula3.Text = "SUM(C20:C20)"; CellValue cellValue53 = new CellValue(); cellValue53.Text = "0"; cell746.Append(cellFormula3); cell746.Append(cellValue53); Cell cell747 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula4 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula4.Text = ""; CellValue cellValue54 = new CellValue(); cellValue54.Text = "0"; cell747.Append(cellFormula4); cell747.Append(cellValue54); Cell cell748 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula5 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula5.Text = ""; CellValue cellValue55 = new CellValue(); cellValue55.Text = "0"; cell748.Append(cellFormula5); cell748.Append(cellValue55); Cell cell749 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula6 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula6.Text = ""; CellValue cellValue56 = new CellValue(); cellValue56.Text = "0"; cell749.Append(cellFormula6); cell749.Append(cellValue56); Cell cell750 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula7 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula7.Text = ""; CellValue cellValue57 = new CellValue(); cellValue57.Text = "0"; cell750.Append(cellFormula7); cell750.Append(cellValue57); Cell cell751 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula8 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula8.Text = ""; CellValue cellValue58 = new CellValue(); cellValue58.Text = "0"; cell751.Append(cellFormula8); cell751.Append(cellValue58); Cell cell752 = new Cell() { CellReference = "I21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula9 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula9.Text = ""; CellValue cellValue59 = new CellValue(); cellValue59.Text = "0"; cell752.Append(cellFormula9); cell752.Append(cellValue59); Cell cell753 = new Cell() { CellReference = "J21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula10 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula10.Text = ""; CellValue cellValue60 = new CellValue(); cellValue60.Text = "0"; cell753.Append(cellFormula10); cell753.Append(cellValue60); Cell cell754 = new Cell() { CellReference = "K21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula11 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula11.Text = ""; CellValue cellValue61 = new CellValue(); cellValue61.Text = "0"; cell754.Append(cellFormula11); cell754.Append(cellValue61); Cell cell755 = new Cell() { CellReference = "L21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula12 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula12.Text = ""; CellValue cellValue62 = new CellValue(); cellValue62.Text = "0"; cell755.Append(cellFormula12); cell755.Append(cellValue62); Cell cell756 = new Cell() { CellReference = "M21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula13 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula13.Text = ""; CellValue cellValue63 = new CellValue(); cellValue63.Text = "0"; cell756.Append(cellFormula13); cell756.Append(cellValue63); Cell cell757 = new Cell() { CellReference = "N21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula14 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula14.Text = ""; CellValue cellValue64 = new CellValue(); cellValue64.Text = "0"; cell757.Append(cellFormula14); cell757.Append(cellValue64); Cell cell758 = new Cell() { CellReference = "O21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula15 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula15.Text = ""; CellValue cellValue65 = new CellValue(); cellValue65.Text = "0"; cell758.Append(cellFormula15); cell758.Append(cellValue65); Cell cell759 = new Cell() { CellReference = "P21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula16 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula16.Text = ""; CellValue cellValue66 = new CellValue(); cellValue66.Text = "0"; cell759.Append(cellFormula16); cell759.Append(cellValue66); Cell cell760 = new Cell() { CellReference = "Q21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula17 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula17.Text = ""; CellValue cellValue67 = new CellValue(); cellValue67.Text = "0"; cell760.Append(cellFormula17); cell760.Append(cellValue67); Cell cell761 = new Cell() { CellReference = "R21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula18 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula18.Text = ""; CellValue cellValue68 = new CellValue(); cellValue68.Text = "0"; cell761.Append(cellFormula18); cell761.Append(cellValue68); Cell cell762 = new Cell() { CellReference = "S21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula19 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula19.Text = ""; CellValue cellValue69 = new CellValue(); cellValue69.Text = "0"; cell762.Append(cellFormula19); cell762.Append(cellValue69); Cell cell763 = new Cell() { CellReference = "T21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula20 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula20.Text = ""; CellValue cellValue70 = new CellValue(); cellValue70.Text = "0"; cell763.Append(cellFormula20); cell763.Append(cellValue70); Cell cell764 = new Cell() { CellReference = "U21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula21 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula21.Text = ""; CellValue cellValue71 = new CellValue(); cellValue71.Text = "0"; cell764.Append(cellFormula21); cell764.Append(cellValue71); Cell cell765 = new Cell() { CellReference = "V21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula22 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula22.Text = ""; CellValue cellValue72 = new CellValue(); cellValue72.Text = "0"; cell765.Append(cellFormula22); cell765.Append(cellValue72); Cell cell766 = new Cell() { CellReference = "W21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula23 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula23.Text = ""; CellValue cellValue73 = new CellValue(); cellValue73.Text = "0"; cell766.Append(cellFormula23); cell766.Append(cellValue73); Cell cell767 = new Cell() { CellReference = "X21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula24 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula24.Text = ""; CellValue cellValue74 = new CellValue(); cellValue74.Text = "0"; cell767.Append(cellFormula24); cell767.Append(cellValue74); Cell cell768 = new Cell() { CellReference = "Y21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula25 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula25.Text = ""; CellValue cellValue75 = new CellValue(); cellValue75.Text = "0"; cell768.Append(cellFormula25); cell768.Append(cellValue75); Cell cell769 = new Cell() { CellReference = "Z21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula26 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula26.Text = ""; CellValue cellValue76 = new CellValue(); cellValue76.Text = "0"; cell769.Append(cellFormula26); cell769.Append(cellValue76); Cell cell770 = new Cell() { CellReference = "AA21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula27 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula27.Text = ""; CellValue cellValue77 = new CellValue(); cellValue77.Text = "0"; cell770.Append(cellFormula27); cell770.Append(cellValue77); Cell cell771 = new Cell() { CellReference = "AB21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula28 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula28.Text = ""; CellValue cellValue78 = new CellValue(); cellValue78.Text = "0"; cell771.Append(cellFormula28); cell771.Append(cellValue78); Cell cell772 = new Cell() { CellReference = "AC21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula29 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula29.Text = ""; CellValue cellValue79 = new CellValue(); cellValue79.Text = "0"; cell772.Append(cellFormula29); cell772.Append(cellValue79); Cell cell773 = new Cell() { CellReference = "AD21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula30 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula30.Text = ""; CellValue cellValue80 = new CellValue(); cellValue80.Text = "0"; cell773.Append(cellFormula30); cell773.Append(cellValue80); Cell cell774 = new Cell() { CellReference = "AE21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula31 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula31.Text = ""; CellValue cellValue81 = new CellValue(); cellValue81.Text = "0"; cell774.Append(cellFormula31); cell774.Append(cellValue81); Cell cell775 = new Cell() { CellReference = "AF21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula32 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "AF21:AG21", SharedIndex = (UInt32Value)1U }; cellFormula32.Text = "SUM(AF20:AF20)"; CellValue cellValue82 = new CellValue(); cellValue82.Text = "0"; cell775.Append(cellFormula32); cell775.Append(cellValue82); Cell cell776 = new Cell() { CellReference = "AG21", StyleIndex = (UInt32Value)9U }; CellFormula cellFormula33 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula33.Text = ""; CellValue cellValue83 = new CellValue(); cellValue83.Text = "0"; cell776.Append(cellFormula33); cell776.Append(cellValue83); Cell cell777 = new Cell() { CellReference = "AH21", StyleIndex = (UInt32Value)59U }; CellFormula cellFormula34 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "AH21:AK21", SharedIndex = (UInt32Value)2U }; cellFormula34.Text = "SUM(AH20:AH20)"; CellValue cellValue84 = new CellValue(); cellValue84.Text = "0"; cell777.Append(cellFormula34); cell777.Append(cellValue84); Cell cell778 = new Cell() { CellReference = "AI21", StyleIndex = (UInt32Value)29U }; CellFormula cellFormula35 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)2U }; cellFormula35.Text = ""; CellValue cellValue85 = new CellValue(); cellValue85.Text = "0"; cell778.Append(cellFormula35); cell778.Append(cellValue85); Cell cell779 = new Cell() { CellReference = "AJ21", StyleIndex = (UInt32Value)59U }; CellFormula cellFormula36 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)2U }; cellFormula36.Text = ""; CellValue cellValue86 = new CellValue(); cellValue86.Text = "0"; cell779.Append(cellFormula36); cell779.Append(cellValue86); Cell cell780 = new Cell() { CellReference = "AK21", StyleIndex = (UInt32Value)29U }; CellFormula cellFormula37 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)2U }; cellFormula37.Text = ""; CellValue cellValue87 = new CellValue(); cellValue87.Text = "0"; cell780.Append(cellFormula37); cell780.Append(cellValue87); row21.Append(cell744); row21.Append(cell745); row21.Append(cell746); row21.Append(cell747); row21.Append(cell748); row21.Append(cell749); row21.Append(cell750); row21.Append(cell751); row21.Append(cell752); row21.Append(cell753); row21.Append(cell754); row21.Append(cell755); row21.Append(cell756); row21.Append(cell757); row21.Append(cell758); row21.Append(cell759); row21.Append(cell760); row21.Append(cell761); row21.Append(cell762); row21.Append(cell763); row21.Append(cell764); row21.Append(cell765); row21.Append(cell766); row21.Append(cell767); row21.Append(cell768); row21.Append(cell769); row21.Append(cell770); row21.Append(cell771); row21.Append(cell772); row21.Append(cell773); row21.Append(cell774); row21.Append(cell775); row21.Append(cell776); row21.Append(cell777); row21.Append(cell778); row21.Append(cell779); row21.Append(cell780); Row row22 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell781 = new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)17U }; Cell cell782 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)18U }; Cell cell783 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)18U }; Cell cell784 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)18U }; Cell cell785 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)18U }; Cell cell786 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)18U }; Cell cell787 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)18U }; Cell cell788 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)18U }; Cell cell789 = new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)18U }; Cell cell790 = new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)18U }; Cell cell791 = new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)18U }; Cell cell792 = new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)18U }; Cell cell793 = new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)18U }; Cell cell794 = new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)18U }; Cell cell795 = new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)18U }; Cell cell796 = new Cell() { CellReference = "P22", StyleIndex = (UInt32Value)18U }; Cell cell797 = new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)18U }; Cell cell798 = new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)18U }; Cell cell799 = new Cell() { CellReference = "S22", StyleIndex = (UInt32Value)18U }; Cell cell800 = new Cell() { CellReference = "T22", StyleIndex = (UInt32Value)18U }; Cell cell801 = new Cell() { CellReference = "U22", StyleIndex = (UInt32Value)18U }; Cell cell802 = new Cell() { CellReference = "V22", StyleIndex = (UInt32Value)18U }; Cell cell803 = new Cell() { CellReference = "W22", StyleIndex = (UInt32Value)18U }; Cell cell804 = new Cell() { CellReference = "X22", StyleIndex = (UInt32Value)18U }; Cell cell805 = new Cell() { CellReference = "Y22", StyleIndex = (UInt32Value)18U }; Cell cell806 = new Cell() { CellReference = "Z22", StyleIndex = (UInt32Value)18U }; Cell cell807 = new Cell() { CellReference = "AA22", StyleIndex = (UInt32Value)18U }; Cell cell808 = new Cell() { CellReference = "AB22", StyleIndex = (UInt32Value)18U }; Cell cell809 = new Cell() { CellReference = "AC22", StyleIndex = (UInt32Value)18U }; Cell cell810 = new Cell() { CellReference = "AD22", StyleIndex = (UInt32Value)18U }; Cell cell811 = new Cell() { CellReference = "AE22", StyleIndex = (UInt32Value)18U }; Cell cell812 = new Cell() { CellReference = "AF22", StyleIndex = (UInt32Value)18U }; Cell cell813 = new Cell() { CellReference = "AG22", StyleIndex = (UInt32Value)18U }; Cell cell814 = new Cell() { CellReference = "AH22", StyleIndex = (UInt32Value)54U }; Cell cell815 = new Cell() { CellReference = "AI22", StyleIndex = (UInt32Value)44U }; Cell cell816 = new Cell() { CellReference = "AJ22", StyleIndex = (UInt32Value)54U }; Cell cell817 = new Cell() { CellReference = "AK22", StyleIndex = (UInt32Value)30U }; Cell cell818 = new Cell() { CellReference = "AL22", StyleIndex = (UInt32Value)18U }; row22.Append(cell781); row22.Append(cell782); row22.Append(cell783); row22.Append(cell784); row22.Append(cell785); row22.Append(cell786); row22.Append(cell787); row22.Append(cell788); row22.Append(cell789); row22.Append(cell790); row22.Append(cell791); row22.Append(cell792); row22.Append(cell793); row22.Append(cell794); row22.Append(cell795); row22.Append(cell796); row22.Append(cell797); row22.Append(cell798); row22.Append(cell799); row22.Append(cell800); row22.Append(cell801); row22.Append(cell802); row22.Append(cell803); row22.Append(cell804); row22.Append(cell805); row22.Append(cell806); row22.Append(cell807); row22.Append(cell808); row22.Append(cell809); row22.Append(cell810); row22.Append(cell811); row22.Append(cell812); row22.Append(cell813); row22.Append(cell814); row22.Append(cell815); row22.Append(cell816); row22.Append(cell817); row22.Append(cell818); Row row23 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell819 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)17U }; Cell cell820 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)27U, DataType = CellValues.SharedString }; CellValue cellValue88 = new CellValue(); cellValue88.Text = "0"; cell820.Append(cellValue88); Cell cell821 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula38 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "C23:AE23", SharedIndex = (UInt32Value)3U }; cellFormula38.Text = "+C21"; CellValue cellValue89 = new CellValue(); cellValue89.Text = "0"; cell821.Append(cellFormula38); cell821.Append(cellValue89); Cell cell822 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula39 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula39.Text = ""; CellValue cellValue90 = new CellValue(); cellValue90.Text = "0"; cell822.Append(cellFormula39); cell822.Append(cellValue90); Cell cell823 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula40 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula40.Text = ""; CellValue cellValue91 = new CellValue(); cellValue91.Text = "0"; cell823.Append(cellFormula40); cell823.Append(cellValue91); Cell cell824 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula41 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula41.Text = ""; CellValue cellValue92 = new CellValue(); cellValue92.Text = "0"; cell824.Append(cellFormula41); cell824.Append(cellValue92); Cell cell825 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula42 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula42.Text = ""; CellValue cellValue93 = new CellValue(); cellValue93.Text = "0"; cell825.Append(cellFormula42); cell825.Append(cellValue93); Cell cell826 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula43 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula43.Text = ""; CellValue cellValue94 = new CellValue(); cellValue94.Text = "0"; cell826.Append(cellFormula43); cell826.Append(cellValue94); Cell cell827 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula44 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula44.Text = ""; CellValue cellValue95 = new CellValue(); cellValue95.Text = "0"; cell827.Append(cellFormula44); cell827.Append(cellValue95); Cell cell828 = new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula45 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula45.Text = ""; CellValue cellValue96 = new CellValue(); cellValue96.Text = "0"; cell828.Append(cellFormula45); cell828.Append(cellValue96); Cell cell829 = new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula46 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula46.Text = ""; CellValue cellValue97 = new CellValue(); cellValue97.Text = "0"; cell829.Append(cellFormula46); cell829.Append(cellValue97); Cell cell830 = new Cell() { CellReference = "L23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula47 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula47.Text = ""; CellValue cellValue98 = new CellValue(); cellValue98.Text = "0"; cell830.Append(cellFormula47); cell830.Append(cellValue98); Cell cell831 = new Cell() { CellReference = "M23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula48 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula48.Text = ""; CellValue cellValue99 = new CellValue(); cellValue99.Text = "0"; cell831.Append(cellFormula48); cell831.Append(cellValue99); Cell cell832 = new Cell() { CellReference = "N23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula49 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula49.Text = ""; CellValue cellValue100 = new CellValue(); cellValue100.Text = "0"; cell832.Append(cellFormula49); cell832.Append(cellValue100); Cell cell833 = new Cell() { CellReference = "O23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula50 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula50.Text = ""; CellValue cellValue101 = new CellValue(); cellValue101.Text = "0"; cell833.Append(cellFormula50); cell833.Append(cellValue101); Cell cell834 = new Cell() { CellReference = "P23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula51 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula51.Text = ""; CellValue cellValue102 = new CellValue(); cellValue102.Text = "0"; cell834.Append(cellFormula51); cell834.Append(cellValue102); Cell cell835 = new Cell() { CellReference = "Q23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula52 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula52.Text = ""; CellValue cellValue103 = new CellValue(); cellValue103.Text = "0"; cell835.Append(cellFormula52); cell835.Append(cellValue103); Cell cell836 = new Cell() { CellReference = "R23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula53 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula53.Text = ""; CellValue cellValue104 = new CellValue(); cellValue104.Text = "0"; cell836.Append(cellFormula53); cell836.Append(cellValue104); Cell cell837 = new Cell() { CellReference = "S23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula54 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula54.Text = ""; CellValue cellValue105 = new CellValue(); cellValue105.Text = "0"; cell837.Append(cellFormula54); cell837.Append(cellValue105); Cell cell838 = new Cell() { CellReference = "T23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula55 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula55.Text = ""; CellValue cellValue106 = new CellValue(); cellValue106.Text = "0"; cell838.Append(cellFormula55); cell838.Append(cellValue106); Cell cell839 = new Cell() { CellReference = "U23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula56 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula56.Text = ""; CellValue cellValue107 = new CellValue(); cellValue107.Text = "0"; cell839.Append(cellFormula56); cell839.Append(cellValue107); Cell cell840 = new Cell() { CellReference = "V23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula57 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula57.Text = ""; CellValue cellValue108 = new CellValue(); cellValue108.Text = "0"; cell840.Append(cellFormula57); cell840.Append(cellValue108); Cell cell841 = new Cell() { CellReference = "W23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula58 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula58.Text = ""; CellValue cellValue109 = new CellValue(); cellValue109.Text = "0"; cell841.Append(cellFormula58); cell841.Append(cellValue109); Cell cell842 = new Cell() { CellReference = "X23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula59 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula59.Text = ""; CellValue cellValue110 = new CellValue(); cellValue110.Text = "0"; cell842.Append(cellFormula59); cell842.Append(cellValue110); Cell cell843 = new Cell() { CellReference = "Y23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula60 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula60.Text = ""; CellValue cellValue111 = new CellValue(); cellValue111.Text = "0"; cell843.Append(cellFormula60); cell843.Append(cellValue111); Cell cell844 = new Cell() { CellReference = "Z23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula61 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula61.Text = ""; CellValue cellValue112 = new CellValue(); cellValue112.Text = "0"; cell844.Append(cellFormula61); cell844.Append(cellValue112); Cell cell845 = new Cell() { CellReference = "AA23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula62 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula62.Text = ""; CellValue cellValue113 = new CellValue(); cellValue113.Text = "0"; cell845.Append(cellFormula62); cell845.Append(cellValue113); Cell cell846 = new Cell() { CellReference = "AB23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula63 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula63.Text = ""; CellValue cellValue114 = new CellValue(); cellValue114.Text = "0"; cell846.Append(cellFormula63); cell846.Append(cellValue114); Cell cell847 = new Cell() { CellReference = "AC23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula64 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula64.Text = ""; CellValue cellValue115 = new CellValue(); cellValue115.Text = "0"; cell847.Append(cellFormula64); cell847.Append(cellValue115); Cell cell848 = new Cell() { CellReference = "AD23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula65 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula65.Text = ""; CellValue cellValue116 = new CellValue(); cellValue116.Text = "0"; cell848.Append(cellFormula65); cell848.Append(cellValue116); Cell cell849 = new Cell() { CellReference = "AE23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula66 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)3U }; cellFormula66.Text = ""; CellValue cellValue117 = new CellValue(); cellValue117.Text = "0"; cell849.Append(cellFormula66); cell849.Append(cellValue117); Cell cell850 = new Cell() { CellReference = "AF23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula67 = new CellFormula(); cellFormula67.Text = "+AF21"; CellValue cellValue118 = new CellValue(); cellValue118.Text = "0"; cell850.Append(cellFormula67); cell850.Append(cellValue118); Cell cell851 = new Cell() { CellReference = "AG23", StyleIndex = (UInt32Value)25U }; CellFormula cellFormula68 = new CellFormula(); cellFormula68.Text = "+AG21"; CellValue cellValue119 = new CellValue(); cellValue119.Text = "0"; cell851.Append(cellFormula68); cell851.Append(cellValue119); Cell cell852 = new Cell() { CellReference = "AH23", StyleIndex = (UInt32Value)60U }; CellFormula cellFormula69 = new CellFormula(); cellFormula69.Text = "+AH21"; CellValue cellValue120 = new CellValue(); cellValue120.Text = "0"; cell852.Append(cellFormula69); cell852.Append(cellValue120); Cell cell853 = new Cell() { CellReference = "AI23", StyleIndex = (UInt32Value)48U }; Cell cell854 = new Cell() { CellReference = "AJ23", StyleIndex = (UInt32Value)60U }; CellFormula cellFormula70 = new CellFormula(); cellFormula70.Text = "+AJ21"; CellValue cellValue121 = new CellValue(); cellValue121.Text = "0"; cell854.Append(cellFormula70); cell854.Append(cellValue121); Cell cell855 = new Cell() { CellReference = "AK23", StyleIndex = (UInt32Value)31U }; row23.Append(cell819); row23.Append(cell820); row23.Append(cell821); row23.Append(cell822); row23.Append(cell823); row23.Append(cell824); row23.Append(cell825); row23.Append(cell826); row23.Append(cell827); row23.Append(cell828); row23.Append(cell829); row23.Append(cell830); row23.Append(cell831); row23.Append(cell832); row23.Append(cell833); row23.Append(cell834); row23.Append(cell835); row23.Append(cell836); row23.Append(cell837); row23.Append(cell838); row23.Append(cell839); row23.Append(cell840); row23.Append(cell841); row23.Append(cell842); row23.Append(cell843); row23.Append(cell844); row23.Append(cell845); row23.Append(cell846); row23.Append(cell847); row23.Append(cell848); row23.Append(cell849); row23.Append(cell850); row23.Append(cell851); row23.Append(cell852); row23.Append(cell853); row23.Append(cell854); row23.Append(cell855); Row row24 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell856 = new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)1U }; Cell cell857 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)1U }; Cell cell858 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)1U }; Cell cell859 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)1U }; Cell cell860 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)1U }; Cell cell861 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)1U }; Cell cell862 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)1U }; Cell cell863 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)1U }; Cell cell864 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)1U }; Cell cell865 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)1U }; Cell cell866 = new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)1U }; Cell cell867 = new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)1U }; Cell cell868 = new Cell() { CellReference = "M26", StyleIndex = (UInt32Value)1U }; Cell cell869 = new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)1U }; Cell cell870 = new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)1U }; Cell cell871 = new Cell() { CellReference = "P26", StyleIndex = (UInt32Value)1U }; Cell cell872 = new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)1U }; Cell cell873 = new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)1U }; Cell cell874 = new Cell() { CellReference = "S26", StyleIndex = (UInt32Value)1U }; Cell cell875 = new Cell() { CellReference = "T26", StyleIndex = (UInt32Value)1U }; Cell cell876 = new Cell() { CellReference = "U26", StyleIndex = (UInt32Value)1U }; Cell cell877 = new Cell() { CellReference = "V26", StyleIndex = (UInt32Value)1U }; Cell cell878 = new Cell() { CellReference = "W26", StyleIndex = (UInt32Value)1U }; Cell cell879 = new Cell() { CellReference = "X26", StyleIndex = (UInt32Value)1U }; Cell cell880 = new Cell() { CellReference = "Y26", StyleIndex = (UInt32Value)1U }; Cell cell881 = new Cell() { CellReference = "Z26", StyleIndex = (UInt32Value)1U }; Cell cell882 = new Cell() { CellReference = "AA26", StyleIndex = (UInt32Value)1U }; Cell cell883 = new Cell() { CellReference = "AB26", StyleIndex = (UInt32Value)1U }; Cell cell884 = new Cell() { CellReference = "AC26", StyleIndex = (UInt32Value)1U }; Cell cell885 = new Cell() { CellReference = "AD26", StyleIndex = (UInt32Value)1U }; Cell cell886 = new Cell() { CellReference = "AE26", StyleIndex = (UInt32Value)1U }; Cell cell887 = new Cell() { CellReference = "AF26", StyleIndex = (UInt32Value)1U }; Cell cell888 = new Cell() { CellReference = "AG26", StyleIndex = (UInt32Value)1U }; Cell cell889 = new Cell() { CellReference = "AH26", StyleIndex = (UInt32Value)61U }; Cell cell890 = new Cell() { CellReference = "AI26", StyleIndex = (UInt32Value)49U }; Cell cell891 = new Cell() { CellReference = "AJ26", StyleIndex = (UInt32Value)61U }; row24.Append(cell856); row24.Append(cell857); row24.Append(cell858); row24.Append(cell859); row24.Append(cell860); row24.Append(cell861); row24.Append(cell862); row24.Append(cell863); row24.Append(cell864); row24.Append(cell865); row24.Append(cell866); row24.Append(cell867); row24.Append(cell868); row24.Append(cell869); row24.Append(cell870); row24.Append(cell871); row24.Append(cell872); row24.Append(cell873); row24.Append(cell874); row24.Append(cell875); row24.Append(cell876); row24.Append(cell877); row24.Append(cell878); row24.Append(cell879); row24.Append(cell880); row24.Append(cell881); row24.Append(cell882); row24.Append(cell883); row24.Append(cell884); row24.Append(cell885); row24.Append(cell886); row24.Append(cell887); row24.Append(cell888); row24.Append(cell889); row24.Append(cell890); row24.Append(cell891); Row row25 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell892 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)1U }; Cell cell893 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)1U }; Cell cell894 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)1U }; Cell cell895 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)1U }; Cell cell896 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)1U }; Cell cell897 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)1U }; Cell cell898 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)1U }; Cell cell899 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)1U }; Cell cell900 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)1U }; Cell cell901 = new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)1U }; Cell cell902 = new Cell() { CellReference = "K27", StyleIndex = (UInt32Value)1U }; Cell cell903 = new Cell() { CellReference = "L27", StyleIndex = (UInt32Value)1U }; Cell cell904 = new Cell() { CellReference = "M27", StyleIndex = (UInt32Value)1U }; Cell cell905 = new Cell() { CellReference = "N27", StyleIndex = (UInt32Value)1U }; Cell cell906 = new Cell() { CellReference = "O27", StyleIndex = (UInt32Value)1U }; Cell cell907 = new Cell() { CellReference = "P27", StyleIndex = (UInt32Value)1U }; Cell cell908 = new Cell() { CellReference = "Q27", StyleIndex = (UInt32Value)1U }; Cell cell909 = new Cell() { CellReference = "R27", StyleIndex = (UInt32Value)1U }; Cell cell910 = new Cell() { CellReference = "S27", StyleIndex = (UInt32Value)1U }; Cell cell911 = new Cell() { CellReference = "T27", StyleIndex = (UInt32Value)1U }; Cell cell912 = new Cell() { CellReference = "U27", StyleIndex = (UInt32Value)1U }; Cell cell913 = new Cell() { CellReference = "V27", StyleIndex = (UInt32Value)1U }; Cell cell914 = new Cell() { CellReference = "W27", StyleIndex = (UInt32Value)1U }; Cell cell915 = new Cell() { CellReference = "X27", StyleIndex = (UInt32Value)1U }; Cell cell916 = new Cell() { CellReference = "Y27", StyleIndex = (UInt32Value)1U }; Cell cell917 = new Cell() { CellReference = "Z27", StyleIndex = (UInt32Value)1U }; Cell cell918 = new Cell() { CellReference = "AA27", StyleIndex = (UInt32Value)1U }; Cell cell919 = new Cell() { CellReference = "AB27", StyleIndex = (UInt32Value)1U }; Cell cell920 = new Cell() { CellReference = "AC27", StyleIndex = (UInt32Value)1U }; Cell cell921 = new Cell() { CellReference = "AD27", StyleIndex = (UInt32Value)1U }; Cell cell922 = new Cell() { CellReference = "AE27", StyleIndex = (UInt32Value)1U }; Cell cell923 = new Cell() { CellReference = "AF27", StyleIndex = (UInt32Value)1U }; Cell cell924 = new Cell() { CellReference = "AG27", StyleIndex = (UInt32Value)1U }; Cell cell925 = new Cell() { CellReference = "AH27", StyleIndex = (UInt32Value)61U }; Cell cell926 = new Cell() { CellReference = "AI27", StyleIndex = (UInt32Value)49U }; Cell cell927 = new Cell() { CellReference = "AJ27", StyleIndex = (UInt32Value)61U }; row25.Append(cell892); row25.Append(cell893); row25.Append(cell894); row25.Append(cell895); row25.Append(cell896); row25.Append(cell897); row25.Append(cell898); row25.Append(cell899); row25.Append(cell900); row25.Append(cell901); row25.Append(cell902); row25.Append(cell903); row25.Append(cell904); row25.Append(cell905); row25.Append(cell906); row25.Append(cell907); row25.Append(cell908); row25.Append(cell909); row25.Append(cell910); row25.Append(cell911); row25.Append(cell912); row25.Append(cell913); row25.Append(cell914); row25.Append(cell915); row25.Append(cell916); row25.Append(cell917); row25.Append(cell918); row25.Append(cell919); row25.Append(cell920); row25.Append(cell921); row25.Append(cell922); row25.Append(cell923); row25.Append(cell924); row25.Append(cell925); row25.Append(cell926); row25.Append(cell927); Row row26 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell928 = new Cell() { CellReference = "AI28", StyleIndex = (UInt32Value)49U }; row26.Append(cell928); Row row27 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell929 = new Cell() { CellReference = "AI29", StyleIndex = (UInt32Value)50U }; row27.Append(cell929); Row row28 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:38" } }; Cell cell930 = new Cell() { CellReference = "AI30", StyleIndex = (UInt32Value)50U }; row28.Append(cell930); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); sheetData1.Append(row12); sheetData1.Append(row13); sheetData1.Append(row14); sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); sheetData1.Append(row22); sheetData1.Append(row23); sheetData1.Append(row24); sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); sheetData1.Append(row28); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)2U }; MergeCell mergeCell1 = new MergeCell() { Reference = "AJ18:AJ19" }; MergeCell mergeCell2 = new MergeCell() { Reference = "AK18:AK19" }; mergeCells1.Append(mergeCell1); mergeCells1.Append(mergeCell2); PhoneticProperties phoneticProperties1 = new PhoneticProperties() { FontId = (UInt32Value)0U, Type = PhoneticValues.NoConversion }; PageMargins pageMargins1 = new PageMargins() { Left = 0.75D, Right = 0.68D, Top = 0.95D, Bottom = 1D, Header = 0D, Footer = 0D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Scale = (UInt32Value)71U, Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)300U, VerticalDpi = (UInt32Value)300U, Id = "rId1" }; HeaderFooter headerFooter1 = new HeaderFooter() { AlignWithMargins = false }; Drawing drawing1 = new Drawing() { Id = "rId2" }; worksheet1.Append(sheetProperties1); worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(phoneticProperties1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheet1.Append(headerFooter1); worksheet1.Append(drawing1); worksheetPart1.Worksheet = worksheet1; }
//OverRide public void saveXLS(String testName, DataSet ds) { SpreadsheetDocument xl = null; string fullPath = Properties.Settings.Default.ExportSavePath + @"\" + testName; fullPath += ".xlsx"; try { xl = SpreadsheetDocument.Create(fullPath, SpreadsheetDocumentType.Workbook); } catch (IOException) { MessageBox.Show("Another Copy of the Document is open, Please close the document and retry export"); throw; } WorkbookPart wbp = xl.AddWorkbookPart(); WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>(); Workbook wb = new Workbook(); FileVersion fv = new FileVersion(); fv.ApplicationName = "Microsoft Office Excel"; Worksheet ws = new Worksheet(); SheetData sd = new SheetData(); WorkbookStylesPart wbsp = wbp.AddNewPart<WorkbookStylesPart>(); wbsp.Stylesheet = GenerateStyleSheet(); wbsp.Stylesheet.Save(); //save the longest width for each column. string[] longestWordPerColumn = new string[35]; int k = 0; //create and add header row. Row headerRow = new Row(); //add headers for germline mutation export string[] germlineHeaders = { "Chromosome", "Position", "Gene Name", "Ref", "Var", "Strand", "Ref Codon", "Var Codon", "Ref AA", "Var AA", "AA Name", "CDS Name", "Cosmic Details", "Shows", "History", "RefSNP", "Clinical Significance", "MAF", "Chromosome Sample Count", "Alleles", "Allepe pop %" }; foreach (string s in germlineHeaders) { Cell cell = new Cell(); cell.DataType = CellValues.String; cell.CellValue = new CellValue(s); cell.StyleIndex = 1; headerRow.AppendChild(cell); longestWordPerColumn[k] = s; k++; } sd.AppendChild(headerRow); List<Mutation> mutationList = new List<Mutation>();//remove this //create and add rows for each mutation. //Here we go through ds int tbllength = ds.Tables[0].Rows.Count; String[] infoString = new String[21]; for (int rowNum = 0; rowNum < tbllength; rowNum++)//for each mutation m { Row newRow = new Row(); for (int j = 0; j < 21; j++) { infoString[j] = (string)ds.Tables[0].Rows[rowNum].ItemArray[j]; } //string[] infoString = m.getInfoForExport(); for (int i = 0; i < infoString.Length; i++) { Cell cell1 = new Cell(); if (i == 1) cell1.DataType = CellValues.Number; else cell1.DataType = CellValues.String; cell1.CellValue = new CellValue(infoString[i]); if (!infoString[12].Equals("-----"))//index 12 is the Cosmic Name postion so cell1.StyleIndex = 2; else cell1.StyleIndex = 3; newRow.AppendChild(cell1); //if (longestWordPerColumn[i].Length < infoString[i].Length) // longestWordPerColumn[i] = infoString[i]; } sd.AppendChild(newRow); } //Sets the column width to longest width for each column. Columns columns = new Columns(); for (int i = 0; i < 21; i++) { columns.Append(CreateColumnData((UInt32)i + 1, (UInt32)i + 1, GetWidth("Calibri", 11, longestWordPerColumn[i]))); } ws.Append(columns); ws.Append(sd); wsp.Worksheet = ws; wsp.Worksheet.Save(); Sheets sheets = new Sheets(); Sheet sheet = new Sheet(); sheet.Name = "Sheet1"; sheet.SheetId = 1; sheet.Id = wbp.GetIdOfPart(wsp); sheets.Append(sheet); wb.Append(fv); wb.Append(sheets); xl.WorkbookPart.Workbook = wb; xl.WorkbookPart.Workbook.Save(); xl.Close(); }
protected virtual void GenWorksheetPart(WorksheetPart worksheetPart, DataTable dt) { if (worksheetPart == null) throw new ArgumentNullException("worksheetPart", "Параметр worksheetPart имеет значение null."); if (dt == null) throw new ArgumentNullException("Таблица", "Параметр таблица имеет значение null."); Worksheet workSheet = new Worksheet(); SheetData sheetData = new SheetData(); //записать в Excel названия полей Row headerRow = new Row(); addHeaderRow(headerRow, dt); sheetData.AppendChild(headerRow); //записать в Excel строки с данными addDataRows(sheetData, dt); workSheet.Append(sheetData); worksheetPart.Worksheet = workSheet; }
// Generates content of worksheetPart1. protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart) { Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:H31" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "A23", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A23:XFD24" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 35.42578125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 5.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 5.28515625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 6.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 10.42578125D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 4.85546875D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 6.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true }; Column column8 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)8U, Width = 11.85546875D, Style = (UInt32Value)1U, CustomWidth = true }; Column column9 = new Column() { Min = (UInt32Value)9U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); columns1.Append(column7); columns1.Append(column8); columns1.Append(column9); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell1.Append(cellValue1); Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "1"; cell2.Append(cellValue2); Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)8U }; Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)8U }; Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)8U }; Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)9U }; Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "2"; cell7.Append(cellValue3); Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)6U }; row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); row1.Append(cell7); row1.Append(cell8); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell9 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)6U }; Cell cell10 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)10U }; Cell cell11 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)11U }; Cell cell12 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)11U }; Cell cell13 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)11U }; Cell cell14 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)12U }; Cell cell15 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "3"; cell15.Append(cellValue4); Cell cell16 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)6U }; row2.Append(cell9); row2.Append(cell10); row2.Append(cell11); row2.Append(cell12); row2.Append(cell13); row2.Append(cell14); row2.Append(cell15); row2.Append(cell16); Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell17 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)6U }; Cell cell18 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)10U }; Cell cell19 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)11U }; Cell cell20 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)11U }; Cell cell21 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)11U }; Cell cell22 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)12U }; Cell cell23 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "4"; cell23.Append(cellValue5); Cell cell24 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)6U }; row3.Append(cell17); row3.Append(cell18); row3.Append(cell19); row3.Append(cell20); row3.Append(cell21); row3.Append(cell22); row3.Append(cell23); row3.Append(cell24); Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell25 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)6U }; Cell cell26 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)13U }; Cell cell27 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)14U }; Cell cell28 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)14U }; Cell cell29 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)14U }; Cell cell30 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)15U }; Cell cell31 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "5"; cell31.Append(cellValue6); Cell cell32 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)6U }; row4.Append(cell25); row4.Append(cell26); row4.Append(cell27); row4.Append(cell28); row4.Append(cell29); row4.Append(cell30); row4.Append(cell31); row4.Append(cell32); Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell33 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "6"; cell33.Append(cellValue7); Cell cell34 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "7"; cell34.Append(cellValue8); Cell cell35 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)6U }; Cell cell36 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)6U }; Cell cell37 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)6U }; Cell cell38 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)6U }; Cell cell39 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)6U }; Cell cell40 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)6U }; row5.Append(cell33); row5.Append(cell34); row5.Append(cell35); row5.Append(cell36); row5.Append(cell37); row5.Append(cell38); row5.Append(cell39); row5.Append(cell40); Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell41 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "8"; cell41.Append(cellValue9); Cell cell42 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "9"; cell42.Append(cellValue10); Cell cell43 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)6U }; Cell cell44 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)6U }; Cell cell45 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)6U }; Cell cell46 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)6U }; Cell cell47 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)6U }; Cell cell48 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)6U }; row6.Append(cell41); row6.Append(cell42); row6.Append(cell43); row6.Append(cell44); row6.Append(cell45); row6.Append(cell46); row6.Append(cell47); row6.Append(cell48); Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell49 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "10"; cell49.Append(cellValue11); Cell cell50 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "11"; cell50.Append(cellValue12); Cell cell51 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)6U }; Cell cell52 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)6U }; Cell cell53 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)6U }; Cell cell54 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)6U }; Cell cell55 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)6U }; Cell cell56 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)6U }; row7.Append(cell49); row7.Append(cell50); row7.Append(cell51); row7.Append(cell52); row7.Append(cell53); row7.Append(cell54); row7.Append(cell55); row7.Append(cell56); Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell57 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "12"; cell57.Append(cellValue13); Cell cell58 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "13"; cell58.Append(cellValue14); Cell cell59 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)6U }; Cell cell60 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)6U }; Cell cell61 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)6U }; Cell cell62 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)6U }; Cell cell63 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)6U }; Cell cell64 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)6U }; row8.Append(cell57); row8.Append(cell58); row8.Append(cell59); row8.Append(cell60); row8.Append(cell61); row8.Append(cell62); row8.Append(cell63); row8.Append(cell64); Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell65 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "14"; cell65.Append(cellValue15); Cell cell66 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "9"; cell66.Append(cellValue16); Cell cell67 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)6U }; Cell cell68 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)6U }; Cell cell69 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)6U }; Cell cell70 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)6U }; Cell cell71 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)6U }; Cell cell72 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)6U }; row9.Append(cell65); row9.Append(cell66); row9.Append(cell67); row9.Append(cell68); row9.Append(cell69); row9.Append(cell70); row9.Append(cell71); row9.Append(cell72); Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell73 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "15"; cell73.Append(cellValue17); row10.Append(cell73); Row row11 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell74 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "16"; cell74.Append(cellValue18); Cell cell75 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "41"; cell75.Append(cellValue19); Cell cell76 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue20 = new CellValue(); cellValue20.Text = "17"; cell76.Append(cellValue20); Cell cell77 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue21 = new CellValue(); cellValue21.Text = "18"; cell77.Append(cellValue21); Cell cell78 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue22 = new CellValue(); cellValue22.Text = "19"; cell78.Append(cellValue22); Cell cell79 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue23 = new CellValue(); cellValue23.Text = "20"; cell79.Append(cellValue23); Cell cell80 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue24 = new CellValue(); cellValue24.Text = "21"; cell80.Append(cellValue24); Cell cell81 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue25 = new CellValue(); cellValue25.Text = "22"; cell81.Append(cellValue25); row11.Append(cell74); row11.Append(cell75); row11.Append(cell76); row11.Append(cell77); row11.Append(cell78); row11.Append(cell79); row11.Append(cell80); row11.Append(cell81); uint row = 13; var dynamicRows = new List<Row>(); int count = sampleSelectionRequest.AnalysesCount; foreach (var work in sampleSelectionRequest.AnalyzeWorks.Where(w => w.IsPresent && w.Work.IsWork)) { Row row12 = new Row() { RowIndex = row, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; double price = (double) sampleSelectionRequest.PriceList.GetPrice(sampleSelectionRequest.PlantVariety.Plant, work.Work).Price; double cost = price * count; double fullCost; double vat = Taxes.CalculateVat(price, out fullCost); Cell cell82 = new Cell() { CellReference = "A"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String }; CellValue cellValue26 = new CellValue(); cellValue26.Text = work.Work.Name; cell82.Append(cellValue26); Cell cell83 = new Cell() { CellReference = "B"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String }; CellValue cellValue27 = new CellValue(); cellValue27.Text = Unit.Value; cell83.Append(cellValue27); Cell cell84 = new Cell() { CellReference = "C"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String }; CellValue cellValue28 = new CellValue(); cellValue28.Text = count.ToString("N0"); cell84.Append(cellValue28); Cell cell85 = new Cell() { CellReference = "D"+row, StyleIndex = (UInt32Value)3U }; CellValue cellValue29 = new CellValue(); cellValue29.Text = price.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell85.Append(cellValue29); Cell cell86 = new Cell() { CellReference = "E"+row, StyleIndex = (UInt32Value)3U }; CellValue cellValue30 = new CellValue(); cellValue30.Text = cost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell86.Append(cellValue30); Cell cell87 = new Cell() { CellReference = "F"+row, StyleIndex = (UInt32Value)3U }; CellValue cellValue31 = new CellValue(); cellValue31.Text = Taxes.VatPercent.ToString("N0"); cell87.Append(cellValue31); Cell cell88 = new Cell() { CellReference = "G"+row, StyleIndex = (UInt32Value)3U }; CellValue cellValue32 = new CellValue(); cellValue32.Text = vat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell88.Append(cellValue32); Cell cell89 = new Cell() { CellReference = "H"+row, StyleIndex = (UInt32Value)3U }; CellValue cellValue33 = new CellValue(); cellValue33.Text = fullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell89.Append(cellValue33); row12.Append(cell82); row12.Append(cell83); row12.Append(cell84); row12.Append(cell85); row12.Append(cell86); row12.Append(cell87); row12.Append(cell88); row12.Append(cell89); dynamicRows.Add(row12); sumPrice += price; sumCost += cost; sumVat += vat; sumFullCost += cost; row++; } Row row25 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell183 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue127 = new CellValue(); cellValue127.Text = "37"; cell183.Append(cellValue127); Cell cell184 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue128 = new CellValue(); cellValue128.Text = "42"; cell184.Append(cellValue128); Cell cell185 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)5U }; Cell cell186 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)4U }; Cell cell187 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)4U }; Cell cell188 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)4U }; Cell cell189 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U }; Cell cell190 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)4U }; row25.Append(cell183); row25.Append(cell184); row25.Append(cell185); row25.Append(cell186); row25.Append(cell187); row25.Append(cell188); row25.Append(cell189); row25.Append(cell190); Row row26 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell191 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue129 = new CellValue(); cellValue129.Text = "38"; cell191.Append(cellValue129); Cell cell192 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue130 = new CellValue(); cellValue130.Text = "43"; cell192.Append(cellValue130); Cell cell193 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)5U }; Cell cell194 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)4U }; Cell cell195 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)4U }; Cell cell196 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)4U }; Cell cell197 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)4U }; Cell cell198 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)4U }; row26.Append(cell191); row26.Append(cell192); row26.Append(cell193); row26.Append(cell194); row26.Append(cell195); row26.Append(cell196); row26.Append(cell197); row26.Append(cell198); Row row27 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D }; Cell cell199 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue131 = new CellValue(); cellValue131.Text = "39"; cell199.Append(cellValue131); row27.Append(cell199); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); foreach (var dynamicRow in dynamicRows) { sheetData1.Append(dynamicRow); } sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)13U }; MergeCell mergeCell1 = new MergeCell() { Reference = "A1:A4" }; MergeCell mergeCell2 = new MergeCell() { Reference = "G1:H1" }; MergeCell mergeCell3 = new MergeCell() { Reference = "G2:H2" }; MergeCell mergeCell4 = new MergeCell() { Reference = "G3:H3" }; MergeCell mergeCell5 = new MergeCell() { Reference = "G4:H4" }; MergeCell mergeCell6 = new MergeCell() { Reference = "B1:F4" }; MergeCell mergeCell7 = new MergeCell() { Reference = "B29:C29" }; MergeCell mergeCell8 = new MergeCell() { Reference = "B5:H5" }; MergeCell mergeCell9 = new MergeCell() { Reference = "B6:H6" }; MergeCell mergeCell10 = new MergeCell() { Reference = "B7:H7" }; MergeCell mergeCell11 = new MergeCell() { Reference = "B9:H9" }; MergeCell mergeCell12 = new MergeCell() { Reference = "B8:H8" }; MergeCell mergeCell13 = new MergeCell() { Reference = "B27:C27" }; mergeCells1.Append(mergeCell1); mergeCells1.Append(mergeCell2); mergeCells1.Append(mergeCell3); mergeCells1.Append(mergeCell4); mergeCells1.Append(mergeCell5); mergeCells1.Append(mergeCell6); mergeCells1.Append(mergeCell7); mergeCells1.Append(mergeCell8); mergeCells1.Append(mergeCell9); mergeCells1.Append(mergeCell10); mergeCells1.Append(mergeCell11); mergeCells1.Append(mergeCell12); mergeCells1.Append(mergeCell13); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheetPart.Worksheet = worksheet1; }
// Generates content of worksheetPart1. protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart) { Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:E30" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "A2", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A2:E2" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 42.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 11.5703125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 6.85546875D, Style = (UInt32Value)1U, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 11.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 13.5703125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell1 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell1.Append(cellValue1); row1.Append(cell1); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, Height = 23.25D, CustomHeight = true, DyDescent = 0.2D }; Cell cell2 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "1"; cell2.Append(cellValue2); Cell cell3 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)4U }; Cell cell4 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)4U }; Cell cell5 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)4U }; Cell cell6 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)4U }; row2.Append(cell2); row2.Append(cell3); row2.Append(cell4); row2.Append(cell5); row2.Append(cell6); Row row3 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell7 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "2"; cell7.Append(cellValue3); row3.Append(cell7); Row row4 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, Height = 60D, DyDescent = 0.2D }; Cell cell8 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "3"; cell8.Append(cellValue4); Cell cell9 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "4"; cell9.Append(cellValue5); Cell cell10 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "5"; cell10.Append(cellValue6); Cell cell11 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "6"; cell11.Append(cellValue7); Cell cell12 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "7"; cell12.Append(cellValue8); row4.Append(cell8); row4.Append(cell9); row4.Append(cell10); row4.Append(cell11); row4.Append(cell12); uint row = 7; var dynamicRows = new List<Row>(); int count = sampleSelectionRequest.AnalysesCount; foreach (var work in sampleSelectionRequest.AnalyzeWorks.Where(w => w.IsPresent && w.Work.IsWork)) { Row row14 = new Row() { RowIndex = row, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; double price = (double)sampleSelectionRequest.PriceList.GetPrice(sampleSelectionRequest.PlantVariety.Plant, work.Work).Price; double cost = price * count; double fullCost; double vat = Taxes.CalculateVat(price, out fullCost); Cell cell58 = new Cell() { CellReference = "A" + row, StyleIndex = (UInt32Value)2U, DataType = CellValues.String }; CellValue cellValue54 = new CellValue(); cellValue54.Text = work.Work.Name; cell58.Append(cellValue54); Cell cell59 = new Cell() { CellReference = "B"+row, StyleIndex = (UInt32Value)2U }; CellValue cellValue55 = new CellValue(); cellValue55.Text = price.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell59.Append(cellValue55); Cell cell60 = new Cell() { CellReference = "C"+row, StyleIndex = (UInt32Value)2U }; CellValue cellValue56 = new CellValue(); cellValue56.Text = Taxes.VatPercent.ToString("N0"); cell60.Append(cellValue56); Cell cell61 = new Cell() { CellReference = "D"+row, StyleIndex = (UInt32Value)2U }; CellValue cellValue57 = new CellValue(); cellValue57.Text = vat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell61.Append(cellValue57); Cell cell62 = new Cell() { CellReference = "E" + row, StyleIndex = (UInt32Value)2U }; CellValue cellValue58 = new CellValue(); cellValue58.Text = fullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell62.Append(cellValue58); row14.Append(cell58); row14.Append(cell59); row14.Append(cell60); row14.Append(cell61); row14.Append(cell62); dynamicRows.Add(row14); sumPrice += price; sumCost += cost; sumVat += vat; sumFullCost += cost; row++; } Row row15 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell63 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue59 = new CellValue(); cellValue59.Text = "18"; cell63.Append(cellValue59); Cell cell64 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)1U }; CellValue cellValue60 = new CellValue(); cellValue60.Text = sumFullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell64.Append(cellValue60); row15.Append(cell63); row15.Append(cell64); Row row16 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell65 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue61 = new CellValue(); cellValue61.Text = "19"; cell65.Append(cellValue61); Cell cell66 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)1U }; CellValue cellValue62 = new CellValue(); cellValue62.Text = sumVat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat); cell66.Append(cellValue62); row16.Append(cell65); row16.Append(cell66); Row row17 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell67 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue63 = new CellValue(); cellValue63.Text = "20"; cell67.Append(cellValue63); Cell cell68 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)1U }; CellValue cellValue64 = new CellValue(); cellValue64.Text = sumFullCost.ToString(); cell68.Append(cellValue64); row17.Append(cell67); row17.Append(cell68); Row row18 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell69 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue65 = new CellValue(); cellValue65.Text = "21"; cell69.Append(cellValue65); Cell cell70 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue66 = new CellValue(); cellValue66.Text = "22"; cell70.Append(cellValue66); row18.Append(cell69); row18.Append(cell70); Row row19 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell71 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue67 = new CellValue(); cellValue67.Text = "23"; cell71.Append(cellValue67); Cell cell72 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue68 = new CellValue(); cellValue68.Text = "24"; cell72.Append(cellValue68); row19.Append(cell71); row19.Append(cell72); Row row20 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell73 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue69 = new CellValue(); cellValue69.Text = "25"; cell73.Append(cellValue69); Cell cell74 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue70 = new CellValue(); cellValue70.Text = "26"; cell74.Append(cellValue70); row20.Append(cell73); row20.Append(cell74); Row row21 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D }; Cell cell75 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue71 = new CellValue(); cellValue71.Text = "27"; cell75.Append(cellValue71); Cell cell76 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString }; CellValue cellValue72 = new CellValue(); cellValue72.Text = "27"; cell76.Append(cellValue72); row21.Append(cell75); row21.Append(cell76); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); foreach (var dynamicRow in dynamicRows) { sheetData1.Append(dynamicRow); } sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)1U }; MergeCell mergeCell1 = new MergeCell() { Reference = "A2:E2" }; mergeCells1.Append(mergeCell1); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheetPart.Worksheet = worksheet1; }
// Generates content of worksheetPart3(create Sheet1) private void GenerateWorksheetPart3Content(WorksheetPart worksheetPart3) { Worksheet worksheet3 = new Worksheet(); SheetDimension sheetDimension3 = new SheetDimension() { Reference = "A1:B5" }; SheetViews sheetViews3 = new SheetViews(); SheetView sheetView3 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; sheetViews3.Append(sheetView3); SheetFormatProperties sheetFormatProperties3 = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 13D, BestFit = true, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 12.28515625D, BestFit = true, CustomWidth = true }; columns1.Append(column1); columns1.Append(column2); SheetData sheetData3 = new SheetData(); Row row5 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell9 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "3"; cell9.Append(cellValue9); Cell cell10 = new Cell() { CellReference = "B1", DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "2"; cell10.Append(cellValue10); row5.Append(cell9); row5.Append(cell10); Row row6 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell11 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)3U }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "1"; cell11.Append(cellValue11); Cell cell12 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)1U }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "100"; cell12.Append(cellValue12); row6.Append(cell11); row6.Append(cell12); Row row7 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell13 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)3U }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "2"; cell13.Append(cellValue13); Cell cell14 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)1U }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "120"; cell14.Append(cellValue14); row7.Append(cell13); row7.Append(cell14); Row row8 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell15 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)3U }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "3"; cell15.Append(cellValue15); Cell cell16 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)1U }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "132"; cell16.Append(cellValue16); row8.Append(cell15); row8.Append(cell16); Row row9 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D }; Cell cell17 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "4"; cell17.Append(cellValue17); Cell cell18 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)1U }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "352"; cell18.Append(cellValue18); row9.Append(cell17); row9.Append(cell18); sheetData3.Append(row5); sheetData3.Append(row6); sheetData3.Append(row7); sheetData3.Append(row8); sheetData3.Append(row9); PageMargins pageMargins3 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet3.Append(sheetDimension3); worksheet3.Append(sheetViews3); worksheet3.Append(sheetFormatProperties3); worksheet3.Append(columns1); worksheet3.Append(sheetData3); worksheet3.Append(pageMargins3); worksheetPart3.Worksheet = worksheet3; }
/// <summary> /// Generate an excel file with the list of users /// </summary> /// <param name="dataSource">The list of users</param> /// <returns>MemoryStream</returns> public static MemoryStream GenerateUserReport(List<UserModel> dataSource, string logoPath) { MemoryStream ms = new MemoryStream(); using (SpreadsheetDocument document = SpreadsheetDocument.Create(ms, SpreadsheetDocumentType.Workbook)) { //create the new workbook WorkbookPart workbookPart = document.AddWorkbookPart(); Workbook workbook = new Workbook(); workbookPart.Workbook = workbook; // If we don't add a "WorkbookStylesPart", OLEDB will refuse to connect to this .xlsx file ! WorkbookStylesPart workbookStylesPart = workbookPart.AddNewPart<WorkbookStylesPart>("rIdStyles"); //get and save the stylesheet Stylesheet stylesheet = VocStyleSheet(); workbookStylesPart.Stylesheet = stylesheet; workbookStylesPart.Stylesheet.Save(); //add the new workseet WorksheetPart worksheetPart = workbookPart.AddNewPart<WorksheetPart>(); Worksheet worksheet = new Worksheet(); SheetData sheetData1 = new SheetData(); Sheets sheets = new Sheets(); //get the number of columns in the report Row rowTitle; //get the string name of the columns string[] excelColumnNamesTitle = new string[4]; for (int n = 0; n < 4; n++) excelColumnNamesTitle[n] = GetExcelColumnName(n); //build the title for (int i = 1; i <= 6; i++) { rowTitle = new Row() { RowIndex = (UInt32Value)(uint)i }; for (int cellval = 0; cellval < 4; cellval++) { AppendTextCell(excelColumnNamesTitle[cellval] + i, string.Empty, rowTitle, 3); } sheetData1.Append(rowTitle); } MergeCells mergeCells = new MergeCells(); Row currentRowTitle = sheetData1.Elements<Row>().FirstOrDefault(row => row.RowIndex.Value == (uint)2); //add the business application name UpdateStringCellValue("A2", Resources.Common.UserList, currentRowTitle, 5); //merge all cells in the title MergeCell mergeCell = new MergeCell(); mergeCell.Reference = "A2:D4"; mergeCells.Append(mergeCell); Drawing drawing = AddLogo(logoPath, worksheetPart); Columns columns = new Columns(); columns.Append(CreateColumnData((UInt32Value)(uint)1, (UInt32Value)(uint)1, 45)); columns.Append(CreateColumnData((UInt32Value)(uint)2, (UInt32Value)(uint)2, 42)); columns.Append(CreateColumnData((UInt32Value)(uint)3, (UInt32Value)(uint)3, 10)); columns.Append(CreateColumnData((UInt32Value)(uint)4, (UInt32Value)(uint)4, 32)); worksheet.Append(columns); int rowIndex = 8; Row rowData = new Row() { RowIndex = (UInt32Value)(uint)rowIndex }; AppendTextCell("A" + rowIndex, Resources.Common.Email, rowData, 2); AppendTextCell("B" + rowIndex, Resources.Common.FullName, rowData, 2); AppendTextCell("C" + rowIndex, Resources.Common.Active, rowData, 2); AppendTextCell("D" + rowIndex, Resources.Common.Role, rowData, 2); sheetData1.Append(rowData); rowIndex = 9; //build the data foreach (var item in dataSource) { rowData = new Row() { RowIndex = (UInt32Value)(uint)rowIndex }; AppendTextCell("A" + rowIndex.ToString(), item.Email, rowData, 1); AppendTextCell("B" + rowIndex.ToString(), item.FullName, rowData, 1); AppendTextCell("C" + rowIndex.ToString(), item.IsActive, rowData, 1); AppendTextCell("D" + rowIndex.ToString(), item.Role, rowData, 1); sheetData1.Append(rowData); rowIndex++; } //add the information of the current sheet worksheet.Append(sheetData1); //add merged cells worksheet.InsertAfter(mergeCells, worksheet.Elements<SheetData>().First()); worksheet.Append(drawing); worksheetPart.Worksheet = worksheet; worksheetPart.Worksheet.Save(); //create the new sheet for this report Sheet sheet = new Sheet() { Name = Resources.Common.UserList, SheetId = (UInt32Value)1, Id = workbookPart.GetIdOfPart(worksheetPart) }; sheets.Append(sheet); //add the new sheet to the report workbook.Append(sheets); //save all report workbook.Save(); //close the stream. document.Close(); } return ms; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetProperties sheetProperties1 = new SheetProperties(); PageSetupProperties pageSetupProperties1 = new PageSetupProperties() { FitToPage = true }; sheetProperties1.Append(pageSetupProperties1); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "B3:AR42" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { ShowZeros = false, TabSelected = true, TopLeftCell = "B1", ZoomScale = (UInt32Value)85U, WorkbookViewId = (UInt32Value)0U }; Pane pane1 = new Pane() { HorizontalSplit = 5D, TopLeftCell = "G1", ActivePane = PaneValues.TopRight, State = PaneStateValues.FrozenSplit }; Selection selection1 = new Selection() { ActiveCell = "B13", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "B13 B13" } }; Selection selection2 = new Selection() { Pane = PaneValues.TopRight, ActiveCell = "AM21", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "AM21:AM26" } }; sheetView1.Append(pane1); sheetView1.Append(selection1); sheetView1.Append(selection2); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultColumnWidth = 11.42578125D, DefaultRowHeight = 12.75D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 6.140625D, Style = (UInt32Value)4U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 39.7109375D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 30D, Style = (UInt32Value)4U, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 17.85546875D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true }; Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 12.42578125D, Style = (UInt32Value)4U, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 14.5703125D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true }; Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)20U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true }; Column column8 = new Column() { Min = (UInt32Value)21U, Max = (UInt32Value)21U, Width = 4.140625D, Style = (UInt32Value)44U, CustomWidth = true }; Column column9 = new Column() { Min = (UInt32Value)22U, Max = (UInt32Value)22U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true }; Column column10 = new Column() { Min = (UInt32Value)23U, Max = (UInt32Value)23U, Width = 3.140625D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true }; Column column11 = new Column() { Min = (UInt32Value)24U, Max = (UInt32Value)33U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true }; Column column12 = new Column() { Min = (UInt32Value)34U, Max = (UInt32Value)37U, Width = 4D, Style = (UInt32Value)44U, CustomWidth = true }; Column column13 = new Column() { Min = (UInt32Value)38U, Max = (UInt32Value)38U, Width = 10.42578125D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true }; Column column14 = new Column() { Min = (UInt32Value)39U, Max = (UInt32Value)39U, Width = 14D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true }; Column column15 = new Column() { Min = (UInt32Value)40U, Max = (UInt32Value)40U, Width = 13.7109375D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true }; Column column16 = new Column() { Min = (UInt32Value)41U, Max = (UInt32Value)41U, Width = 10D, Style = (UInt32Value)4U, CustomWidth = true }; Column column17 = new Column() { Min = (UInt32Value)42U, Max = (UInt32Value)44U, Width = 13.7109375D, Style = (UInt32Value)4U, CustomWidth = true }; Column column18 = new Column() { Min = (UInt32Value)45U, Max = (UInt32Value)45U, Width = 11.42578125D, Style = (UInt32Value)4U, CustomWidth = true }; Column column19 = new Column() { Min = (UInt32Value)46U, Max = (UInt32Value)16384U, Width = 11.42578125D, Style = (UInt32Value)4U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); columns1.Append(column7); columns1.Append(column8); columns1.Append(column9); columns1.Append(column10); columns1.Append(column11); columns1.Append(column12); columns1.Append(column13); columns1.Append(column14); columns1.Append(column15); columns1.Append(column16); columns1.Append(column17); columns1.Append(column18); columns1.Append(column19); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell1 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)5U }; Cell cell2 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)5U }; Cell cell3 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)5U }; Cell cell4 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)5U }; Cell cell5 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)6U }; Cell cell6 = new Cell() { CellReference = "AO3", StyleIndex = (UInt32Value)6U }; Cell cell7 = new Cell() { CellReference = "AP3", StyleIndex = (UInt32Value)6U }; Cell cell8 = new Cell() { CellReference = "AQ3", StyleIndex = (UInt32Value)6U }; Cell cell9 = new Cell() { CellReference = "AR3", StyleIndex = (UInt32Value)6U }; row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); row1.Append(cell7); row1.Append(cell8); row1.Append(cell9); Row row2 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell10 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)7U }; Cell cell11 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)7U }; Cell cell12 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)7U }; Cell cell13 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell13.Append(cellValue1); Cell cell14 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "30"; cell14.Append(cellValue2); row2.Append(cell10); row2.Append(cell11); row2.Append(cell12); row2.Append(cell13); row2.Append(cell14); Row row3 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell15 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)7U }; Cell cell16 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)7U }; Cell cell17 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)7U }; Cell cell18 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "1"; cell18.Append(cellValue3); Cell cell19 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)10U }; row3.Append(cell15); row3.Append(cell16); row3.Append(cell17); row3.Append(cell18); row3.Append(cell19); Row row4 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell20 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "2"; cell20.Append(cellValue4); Cell cell21 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "3"; cell21.Append(cellValue5); Cell cell22 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)11U }; row4.Append(cell20); row4.Append(cell21); row4.Append(cell22); Row row5 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell23 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "4"; cell23.Append(cellValue6); Cell cell24 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)7U }; row5.Append(cell23); row5.Append(cell24); Row row6 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell25 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)7U }; Cell cell26 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)7U }; Cell cell27 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)7U }; Cell cell28 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)7U }; Cell cell29 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)7U }; row6.Append(cell25); row6.Append(cell26); row6.Append(cell27); row6.Append(cell28); row6.Append(cell29); Row row7 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell30 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "5"; cell30.Append(cellValue7); Cell cell31 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)9U }; Cell cell32 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)9U }; Cell cell33 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)9U }; row7.Append(cell30); row7.Append(cell31); row7.Append(cell32); row7.Append(cell33); Row row8 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell34 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "6"; cell34.Append(cellValue8); Cell cell35 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)9U }; Cell cell36 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)9U }; Cell cell37 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)9U }; row8.Append(cell34); row8.Append(cell35); row8.Append(cell36); row8.Append(cell37); Row row9 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell38 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "7"; cell38.Append(cellValue9); Cell cell39 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)9U }; Cell cell40 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)9U }; Cell cell41 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)9U }; Cell cell42 = new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)12U }; row9.Append(cell38); row9.Append(cell39); row9.Append(cell40); row9.Append(cell41); row9.Append(cell42); Row row10 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell43 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "8"; cell43.Append(cellValue10); Cell cell44 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)13U }; Cell cell45 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)13U }; Cell cell46 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)9U }; Cell cell47 = new Cell() { CellReference = "N13", StyleIndex = (UInt32Value)12U }; row10.Append(cell43); row10.Append(cell44); row10.Append(cell45); row10.Append(cell46); row10.Append(cell47); Row row11 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell48 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "9"; cell48.Append(cellValue11); Cell cell49 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)13U }; Cell cell50 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)13U }; Cell cell51 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)9U }; Cell cell52 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)9U }; Cell cell53 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)12U }; Cell cell54 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)12U }; Cell cell55 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)12U }; Cell cell56 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)12U }; Cell cell57 = new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)12U }; Cell cell58 = new Cell() { CellReference = "L14", StyleIndex = (UInt32Value)12U }; Cell cell59 = new Cell() { CellReference = "M14", StyleIndex = (UInt32Value)12U }; Cell cell60 = new Cell() { CellReference = "N14", StyleIndex = (UInt32Value)12U }; Cell cell61 = new Cell() { CellReference = "O14", StyleIndex = (UInt32Value)12U }; Cell cell62 = new Cell() { CellReference = "P14", StyleIndex = (UInt32Value)12U }; Cell cell63 = new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)12U }; Cell cell64 = new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)12U }; Cell cell65 = new Cell() { CellReference = "S14", StyleIndex = (UInt32Value)12U }; Cell cell66 = new Cell() { CellReference = "T14", StyleIndex = (UInt32Value)12U }; row11.Append(cell48); row11.Append(cell49); row11.Append(cell50); row11.Append(cell51); row11.Append(cell52); row11.Append(cell53); row11.Append(cell54); row11.Append(cell55); row11.Append(cell56); row11.Append(cell57); row11.Append(cell58); row11.Append(cell59); row11.Append(cell60); row11.Append(cell61); row11.Append(cell62); row11.Append(cell63); row11.Append(cell64); row11.Append(cell65); row11.Append(cell66); Row row12 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell67 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "10"; cell67.Append(cellValue12); Cell cell68 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)13U }; Cell cell69 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)13U }; Cell cell70 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)14U }; row12.Append(cell67); row12.Append(cell68); row12.Append(cell69); row12.Append(cell70); Row row13 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell71 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "11"; cell71.Append(cellValue13); Cell cell72 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)15U }; Cell cell73 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)16U }; Cell cell74 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)9U }; Cell cell75 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)9U }; Cell cell76 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)2U }; Cell cell77 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)2U }; Cell cell78 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)2U }; Cell cell79 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)2U }; Cell cell80 = new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)2U }; Cell cell81 = new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)2U }; Cell cell82 = new Cell() { CellReference = "M16", StyleIndex = (UInt32Value)2U }; Cell cell83 = new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)2U }; Cell cell84 = new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)2U }; Cell cell85 = new Cell() { CellReference = "P16", StyleIndex = (UInt32Value)2U }; Cell cell86 = new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)2U }; Cell cell87 = new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)2U }; Cell cell88 = new Cell() { CellReference = "S16", StyleIndex = (UInt32Value)2U }; Cell cell89 = new Cell() { CellReference = "T16", StyleIndex = (UInt32Value)2U }; Cell cell90 = new Cell() { CellReference = "U16", StyleIndex = (UInt32Value)2U }; Cell cell91 = new Cell() { CellReference = "V16", StyleIndex = (UInt32Value)2U }; Cell cell92 = new Cell() { CellReference = "W16", StyleIndex = (UInt32Value)2U }; Cell cell93 = new Cell() { CellReference = "X16", StyleIndex = (UInt32Value)2U }; Cell cell94 = new Cell() { CellReference = "Y16", StyleIndex = (UInt32Value)2U }; Cell cell95 = new Cell() { CellReference = "Z16", StyleIndex = (UInt32Value)2U }; Cell cell96 = new Cell() { CellReference = "AA16", StyleIndex = (UInt32Value)2U }; Cell cell97 = new Cell() { CellReference = "AB16", StyleIndex = (UInt32Value)2U }; Cell cell98 = new Cell() { CellReference = "AC16", StyleIndex = (UInt32Value)2U }; Cell cell99 = new Cell() { CellReference = "AD16", StyleIndex = (UInt32Value)2U }; Cell cell100 = new Cell() { CellReference = "AE16", StyleIndex = (UInt32Value)2U }; Cell cell101 = new Cell() { CellReference = "AF16", StyleIndex = (UInt32Value)2U }; Cell cell102 = new Cell() { CellReference = "AG16", StyleIndex = (UInt32Value)2U }; Cell cell103 = new Cell() { CellReference = "AH16", StyleIndex = (UInt32Value)2U }; Cell cell104 = new Cell() { CellReference = "AI16", StyleIndex = (UInt32Value)2U }; Cell cell105 = new Cell() { CellReference = "AJ16", StyleIndex = (UInt32Value)2U }; Cell cell106 = new Cell() { CellReference = "AK16", StyleIndex = (UInt32Value)2U }; Cell cell107 = new Cell() { CellReference = "AL16", StyleIndex = (UInt32Value)2U }; Cell cell108 = new Cell() { CellReference = "AM16", StyleIndex = (UInt32Value)2U }; Cell cell109 = new Cell() { CellReference = "AN16", StyleIndex = (UInt32Value)2U }; Cell cell110 = new Cell() { CellReference = "AO16", StyleIndex = (UInt32Value)2U }; Cell cell111 = new Cell() { CellReference = "AP16", StyleIndex = (UInt32Value)2U }; Cell cell112 = new Cell() { CellReference = "AQ16", StyleIndex = (UInt32Value)2U }; Cell cell113 = new Cell() { CellReference = "AR16", StyleIndex = (UInt32Value)2U }; row13.Append(cell71); row13.Append(cell72); row13.Append(cell73); row13.Append(cell74); row13.Append(cell75); row13.Append(cell76); row13.Append(cell77); row13.Append(cell78); row13.Append(cell79); row13.Append(cell80); row13.Append(cell81); row13.Append(cell82); row13.Append(cell83); row13.Append(cell84); row13.Append(cell85); row13.Append(cell86); row13.Append(cell87); row13.Append(cell88); row13.Append(cell89); row13.Append(cell90); row13.Append(cell91); row13.Append(cell92); row13.Append(cell93); row13.Append(cell94); row13.Append(cell95); row13.Append(cell96); row13.Append(cell97); row13.Append(cell98); row13.Append(cell99); row13.Append(cell100); row13.Append(cell101); row13.Append(cell102); row13.Append(cell103); row13.Append(cell104); row13.Append(cell105); row13.Append(cell106); row13.Append(cell107); row13.Append(cell108); row13.Append(cell109); row13.Append(cell110); row13.Append(cell111); row13.Append(cell112); row13.Append(cell113); Row row14 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell114 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)9U }; Cell cell115 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)9U }; Cell cell116 = new Cell() { CellReference = "AL17", StyleIndex = (UInt32Value)4U }; Cell cell117 = new Cell() { CellReference = "AM17", StyleIndex = (UInt32Value)4U }; Cell cell118 = new Cell() { CellReference = "AN17", StyleIndex = (UInt32Value)4U }; Cell cell119 = new Cell() { CellReference = "AO17", StyleIndex = (UInt32Value)2U }; Cell cell120 = new Cell() { CellReference = "AP17", StyleIndex = (UInt32Value)2U }; Cell cell121 = new Cell() { CellReference = "AQ17", StyleIndex = (UInt32Value)2U }; Cell cell122 = new Cell() { CellReference = "AR17", StyleIndex = (UInt32Value)2U }; row14.Append(cell114); row14.Append(cell115); row14.Append(cell116); row14.Append(cell117); row14.Append(cell118); row14.Append(cell119); row14.Append(cell120); row14.Append(cell121); row14.Append(cell122); Row row15 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell123 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)79U }; CellFormula cellFormula1 = new CellFormula(); cellFormula1.Text = "+F6"; CellValue cellValue14 = new CellValue(); cellValue14.Text = "0"; cell123.Append(cellFormula1); cell123.Append(cellValue14); Cell cell124 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)80U }; Cell cell125 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)80U }; Cell cell126 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)80U }; Cell cell127 = new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)80U }; Cell cell128 = new Cell() { CellReference = "L18", StyleIndex = (UInt32Value)80U }; Cell cell129 = new Cell() { CellReference = "M18", StyleIndex = (UInt32Value)80U }; Cell cell130 = new Cell() { CellReference = "N18", StyleIndex = (UInt32Value)80U }; Cell cell131 = new Cell() { CellReference = "O18", StyleIndex = (UInt32Value)80U }; Cell cell132 = new Cell() { CellReference = "P18", StyleIndex = (UInt32Value)80U }; Cell cell133 = new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)80U }; Cell cell134 = new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)80U }; Cell cell135 = new Cell() { CellReference = "S18", StyleIndex = (UInt32Value)80U }; Cell cell136 = new Cell() { CellReference = "T18", StyleIndex = (UInt32Value)80U }; Cell cell137 = new Cell() { CellReference = "U18", StyleIndex = (UInt32Value)80U }; Cell cell138 = new Cell() { CellReference = "V18", StyleIndex = (UInt32Value)80U }; Cell cell139 = new Cell() { CellReference = "W18", StyleIndex = (UInt32Value)80U }; Cell cell140 = new Cell() { CellReference = "X18", StyleIndex = (UInt32Value)80U }; Cell cell141 = new Cell() { CellReference = "Y18", StyleIndex = (UInt32Value)80U }; Cell cell142 = new Cell() { CellReference = "Z18", StyleIndex = (UInt32Value)80U }; Cell cell143 = new Cell() { CellReference = "AA18", StyleIndex = (UInt32Value)80U }; Cell cell144 = new Cell() { CellReference = "AB18", StyleIndex = (UInt32Value)80U }; Cell cell145 = new Cell() { CellReference = "AC18", StyleIndex = (UInt32Value)80U }; Cell cell146 = new Cell() { CellReference = "AD18", StyleIndex = (UInt32Value)80U }; Cell cell147 = new Cell() { CellReference = "AE18", StyleIndex = (UInt32Value)80U }; Cell cell148 = new Cell() { CellReference = "AF18", StyleIndex = (UInt32Value)80U }; Cell cell149 = new Cell() { CellReference = "AG18", StyleIndex = (UInt32Value)80U }; Cell cell150 = new Cell() { CellReference = "AH18", StyleIndex = (UInt32Value)80U }; Cell cell151 = new Cell() { CellReference = "AI18", StyleIndex = (UInt32Value)80U }; Cell cell152 = new Cell() { CellReference = "AJ18", StyleIndex = (UInt32Value)80U }; Cell cell153 = new Cell() { CellReference = "AK18", StyleIndex = (UInt32Value)80U }; Cell cell154 = new Cell() { CellReference = "AL18", StyleIndex = (UInt32Value)80U }; Cell cell155 = new Cell() { CellReference = "AM18", StyleIndex = (UInt32Value)80U }; Cell cell156 = new Cell() { CellReference = "AN18", StyleIndex = (UInt32Value)81U }; Cell cell157 = new Cell() { CellReference = "AO18", StyleIndex = (UInt32Value)2U }; Cell cell158 = new Cell() { CellReference = "AP18", StyleIndex = (UInt32Value)2U }; Cell cell159 = new Cell() { CellReference = "AQ18", StyleIndex = (UInt32Value)2U }; Cell cell160 = new Cell() { CellReference = "AR18", StyleIndex = (UInt32Value)2U }; row15.Append(cell123); row15.Append(cell124); row15.Append(cell125); row15.Append(cell126); row15.Append(cell127); row15.Append(cell128); row15.Append(cell129); row15.Append(cell130); row15.Append(cell131); row15.Append(cell132); row15.Append(cell133); row15.Append(cell134); row15.Append(cell135); row15.Append(cell136); row15.Append(cell137); row15.Append(cell138); row15.Append(cell139); row15.Append(cell140); row15.Append(cell141); row15.Append(cell142); row15.Append(cell143); row15.Append(cell144); row15.Append(cell145); row15.Append(cell146); row15.Append(cell147); row15.Append(cell148); row15.Append(cell149); row15.Append(cell150); row15.Append(cell151); row15.Append(cell152); row15.Append(cell153); row15.Append(cell154); row15.Append(cell155); row15.Append(cell156); row15.Append(cell157); row15.Append(cell158); row15.Append(cell159); row15.Append(cell160); Row row16 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 12.75D, CustomHeight = true }; Cell cell161 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "12"; cell161.Append(cellValue15); Cell cell162 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "13"; cell162.Append(cellValue16); Cell cell163 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "14"; cell163.Append(cellValue17); Cell cell164 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "15"; cell164.Append(cellValue18); Cell cell165 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "16"; cell165.Append(cellValue19); Cell cell166 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue20 = new CellValue(); cellValue20.Text = "17"; cell166.Append(cellValue20); Cell cell167 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue21 = new CellValue(); cellValue21.Text = "18"; cell167.Append(cellValue21); Cell cell168 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue22 = new CellValue(); cellValue22.Text = "19"; cell168.Append(cellValue22); Cell cell169 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue23 = new CellValue(); cellValue23.Text = "20"; cell169.Append(cellValue23); Cell cell170 = new Cell() { CellReference = "K19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue24 = new CellValue(); cellValue24.Text = "20"; cell170.Append(cellValue24); Cell cell171 = new Cell() { CellReference = "L19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue25 = new CellValue(); cellValue25.Text = "21"; cell171.Append(cellValue25); Cell cell172 = new Cell() { CellReference = "M19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue26 = new CellValue(); cellValue26.Text = "22"; cell172.Append(cellValue26); Cell cell173 = new Cell() { CellReference = "N19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue27 = new CellValue(); cellValue27.Text = "17"; cell173.Append(cellValue27); Cell cell174 = new Cell() { CellReference = "O19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue28 = new CellValue(); cellValue28.Text = "18"; cell174.Append(cellValue28); Cell cell175 = new Cell() { CellReference = "P19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue29 = new CellValue(); cellValue29.Text = "19"; cell175.Append(cellValue29); Cell cell176 = new Cell() { CellReference = "Q19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue30 = new CellValue(); cellValue30.Text = "20"; cell176.Append(cellValue30); Cell cell177 = new Cell() { CellReference = "R19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue31 = new CellValue(); cellValue31.Text = "20"; cell177.Append(cellValue31); Cell cell178 = new Cell() { CellReference = "S19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue32 = new CellValue(); cellValue32.Text = "21"; cell178.Append(cellValue32); Cell cell179 = new Cell() { CellReference = "T19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue33 = new CellValue(); cellValue33.Text = "22"; cell179.Append(cellValue33); Cell cell180 = new Cell() { CellReference = "U19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue34 = new CellValue(); cellValue34.Text = "17"; cell180.Append(cellValue34); Cell cell181 = new Cell() { CellReference = "V19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue35 = new CellValue(); cellValue35.Text = "18"; cell181.Append(cellValue35); Cell cell182 = new Cell() { CellReference = "W19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue36 = new CellValue(); cellValue36.Text = "19"; cell182.Append(cellValue36); Cell cell183 = new Cell() { CellReference = "X19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue37 = new CellValue(); cellValue37.Text = "20"; cell183.Append(cellValue37); Cell cell184 = new Cell() { CellReference = "Y19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue38 = new CellValue(); cellValue38.Text = "20"; cell184.Append(cellValue38); Cell cell185 = new Cell() { CellReference = "Z19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue39 = new CellValue(); cellValue39.Text = "21"; cell185.Append(cellValue39); Cell cell186 = new Cell() { CellReference = "AA19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue40 = new CellValue(); cellValue40.Text = "22"; cell186.Append(cellValue40); Cell cell187 = new Cell() { CellReference = "AB19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue41 = new CellValue(); cellValue41.Text = "17"; cell187.Append(cellValue41); Cell cell188 = new Cell() { CellReference = "AC19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue42 = new CellValue(); cellValue42.Text = "18"; cell188.Append(cellValue42); Cell cell189 = new Cell() { CellReference = "AD19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue43 = new CellValue(); cellValue43.Text = "19"; cell189.Append(cellValue43); Cell cell190 = new Cell() { CellReference = "AE19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue44 = new CellValue(); cellValue44.Text = "20"; cell190.Append(cellValue44); Cell cell191 = new Cell() { CellReference = "AF19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue45 = new CellValue(); cellValue45.Text = "20"; cell191.Append(cellValue45); Cell cell192 = new Cell() { CellReference = "AG19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue46 = new CellValue(); cellValue46.Text = "21"; cell192.Append(cellValue46); Cell cell193 = new Cell() { CellReference = "AH19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue47 = new CellValue(); cellValue47.Text = "22"; cell193.Append(cellValue47); Cell cell194 = new Cell() { CellReference = "AI19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue48 = new CellValue(); cellValue48.Text = "17"; cell194.Append(cellValue48); Cell cell195 = new Cell() { CellReference = "AJ19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue49 = new CellValue(); cellValue49.Text = "18"; cell195.Append(cellValue49); Cell cell196 = new Cell() { CellReference = "AK19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue50 = new CellValue(); cellValue50.Text = "19"; cell196.Append(cellValue50); Cell cell197 = new Cell() { CellReference = "AL19", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue51 = new CellValue(); cellValue51.Text = "23"; cell197.Append(cellValue51); Cell cell198 = new Cell() { CellReference = "AM19", StyleIndex = (UInt32Value)23U, DataType = CellValues.SharedString }; CellValue cellValue52 = new CellValue(); cellValue52.Text = "24"; cell198.Append(cellValue52); Cell cell199 = new Cell() { CellReference = "AN19", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue53 = new CellValue(); cellValue53.Text = "25"; cell199.Append(cellValue53); Cell cell200 = new Cell() { CellReference = "AO19", StyleIndex = (UInt32Value)2U }; Cell cell201 = new Cell() { CellReference = "AP19", StyleIndex = (UInt32Value)2U }; Cell cell202 = new Cell() { CellReference = "AQ19", StyleIndex = (UInt32Value)2U }; Cell cell203 = new Cell() { CellReference = "AR19", StyleIndex = (UInt32Value)2U }; row16.Append(cell161); row16.Append(cell162); row16.Append(cell163); row16.Append(cell164); row16.Append(cell165); row16.Append(cell166); row16.Append(cell167); row16.Append(cell168); row16.Append(cell169); row16.Append(cell170); row16.Append(cell171); row16.Append(cell172); row16.Append(cell173); row16.Append(cell174); row16.Append(cell175); row16.Append(cell176); row16.Append(cell177); row16.Append(cell178); row16.Append(cell179); row16.Append(cell180); row16.Append(cell181); row16.Append(cell182); row16.Append(cell183); row16.Append(cell184); row16.Append(cell185); row16.Append(cell186); row16.Append(cell187); row16.Append(cell188); row16.Append(cell189); row16.Append(cell190); row16.Append(cell191); row16.Append(cell192); row16.Append(cell193); row16.Append(cell194); row16.Append(cell195); row16.Append(cell196); row16.Append(cell197); row16.Append(cell198); row16.Append(cell199); row16.Append(cell200); row16.Append(cell201); row16.Append(cell202); row16.Append(cell203); Row row17 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true }; Cell cell204 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)24U }; Cell cell205 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)25U }; Cell cell206 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)25U }; Cell cell207 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue54 = new CellValue(); cellValue54.Text = "26"; cell207.Append(cellValue54); Cell cell208 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)26U }; Cell cell209 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)27U }; CellValue cellValue55 = new CellValue(); cellValue55.Text = "1"; cell209.Append(cellValue55); Cell cell210 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)27U }; CellValue cellValue56 = new CellValue(); cellValue56.Text = "2"; cell210.Append(cellValue56); Cell cell211 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)27U }; CellValue cellValue57 = new CellValue(); cellValue57.Text = "3"; cell211.Append(cellValue57); Cell cell212 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)27U }; CellValue cellValue58 = new CellValue(); cellValue58.Text = "4"; cell212.Append(cellValue58); Cell cell213 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)27U }; CellValue cellValue59 = new CellValue(); cellValue59.Text = "5"; cell213.Append(cellValue59); Cell cell214 = new Cell() { CellReference = "L20", StyleIndex = (UInt32Value)27U }; CellValue cellValue60 = new CellValue(); cellValue60.Text = "6"; cell214.Append(cellValue60); Cell cell215 = new Cell() { CellReference = "M20", StyleIndex = (UInt32Value)27U }; CellValue cellValue61 = new CellValue(); cellValue61.Text = "7"; cell215.Append(cellValue61); Cell cell216 = new Cell() { CellReference = "N20", StyleIndex = (UInt32Value)27U }; CellValue cellValue62 = new CellValue(); cellValue62.Text = "8"; cell216.Append(cellValue62); Cell cell217 = new Cell() { CellReference = "O20", StyleIndex = (UInt32Value)27U }; CellValue cellValue63 = new CellValue(); cellValue63.Text = "9"; cell217.Append(cellValue63); Cell cell218 = new Cell() { CellReference = "P20", StyleIndex = (UInt32Value)27U }; CellValue cellValue64 = new CellValue(); cellValue64.Text = "10"; cell218.Append(cellValue64); Cell cell219 = new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)27U }; CellValue cellValue65 = new CellValue(); cellValue65.Text = "11"; cell219.Append(cellValue65); Cell cell220 = new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)27U }; CellValue cellValue66 = new CellValue(); cellValue66.Text = "12"; cell220.Append(cellValue66); Cell cell221 = new Cell() { CellReference = "S20", StyleIndex = (UInt32Value)27U }; CellValue cellValue67 = new CellValue(); cellValue67.Text = "13"; cell221.Append(cellValue67); Cell cell222 = new Cell() { CellReference = "T20", StyleIndex = (UInt32Value)27U }; CellValue cellValue68 = new CellValue(); cellValue68.Text = "14"; cell222.Append(cellValue68); Cell cell223 = new Cell() { CellReference = "U20", StyleIndex = (UInt32Value)27U }; CellValue cellValue69 = new CellValue(); cellValue69.Text = "15"; cell223.Append(cellValue69); Cell cell224 = new Cell() { CellReference = "V20", StyleIndex = (UInt32Value)27U }; CellValue cellValue70 = new CellValue(); cellValue70.Text = "16"; cell224.Append(cellValue70); Cell cell225 = new Cell() { CellReference = "W20", StyleIndex = (UInt32Value)27U }; CellValue cellValue71 = new CellValue(); cellValue71.Text = "17"; cell225.Append(cellValue71); Cell cell226 = new Cell() { CellReference = "X20", StyleIndex = (UInt32Value)27U }; CellValue cellValue72 = new CellValue(); cellValue72.Text = "18"; cell226.Append(cellValue72); Cell cell227 = new Cell() { CellReference = "Y20", StyleIndex = (UInt32Value)27U }; CellValue cellValue73 = new CellValue(); cellValue73.Text = "19"; cell227.Append(cellValue73); Cell cell228 = new Cell() { CellReference = "Z20", StyleIndex = (UInt32Value)27U }; CellValue cellValue74 = new CellValue(); cellValue74.Text = "20"; cell228.Append(cellValue74); Cell cell229 = new Cell() { CellReference = "AA20", StyleIndex = (UInt32Value)27U }; CellValue cellValue75 = new CellValue(); cellValue75.Text = "21"; cell229.Append(cellValue75); Cell cell230 = new Cell() { CellReference = "AB20", StyleIndex = (UInt32Value)27U }; CellValue cellValue76 = new CellValue(); cellValue76.Text = "22"; cell230.Append(cellValue76); Cell cell231 = new Cell() { CellReference = "AC20", StyleIndex = (UInt32Value)27U }; CellValue cellValue77 = new CellValue(); cellValue77.Text = "23"; cell231.Append(cellValue77); Cell cell232 = new Cell() { CellReference = "AD20", StyleIndex = (UInt32Value)27U }; CellValue cellValue78 = new CellValue(); cellValue78.Text = "24"; cell232.Append(cellValue78); Cell cell233 = new Cell() { CellReference = "AE20", StyleIndex = (UInt32Value)27U }; CellValue cellValue79 = new CellValue(); cellValue79.Text = "25"; cell233.Append(cellValue79); Cell cell234 = new Cell() { CellReference = "AF20", StyleIndex = (UInt32Value)27U }; CellValue cellValue80 = new CellValue(); cellValue80.Text = "26"; cell234.Append(cellValue80); Cell cell235 = new Cell() { CellReference = "AG20", StyleIndex = (UInt32Value)27U }; CellValue cellValue81 = new CellValue(); cellValue81.Text = "27"; cell235.Append(cellValue81); Cell cell236 = new Cell() { CellReference = "AH20", StyleIndex = (UInt32Value)27U }; CellValue cellValue82 = new CellValue(); cellValue82.Text = "28"; cell236.Append(cellValue82); Cell cell237 = new Cell() { CellReference = "AI20", StyleIndex = (UInt32Value)27U }; CellValue cellValue83 = new CellValue(); cellValue83.Text = "29"; cell237.Append(cellValue83); Cell cell238 = new Cell() { CellReference = "AJ20", StyleIndex = (UInt32Value)27U }; CellValue cellValue84 = new CellValue(); cellValue84.Text = "30"; cell238.Append(cellValue84); Cell cell239 = new Cell() { CellReference = "AK20", StyleIndex = (UInt32Value)27U }; CellValue cellValue85 = new CellValue(); cellValue85.Text = "31"; cell239.Append(cellValue85); Cell cell240 = new Cell() { CellReference = "AL20", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue86 = new CellValue(); cellValue86.Text = "27"; cell240.Append(cellValue86); Cell cell241 = new Cell() { CellReference = "AM20", StyleIndex = (UInt32Value)28U, DataType = CellValues.SharedString }; CellValue cellValue87 = new CellValue(); cellValue87.Text = "28"; cell241.Append(cellValue87); Cell cell242 = new Cell() { CellReference = "AN20", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue88 = new CellValue(); cellValue88.Text = "29"; cell242.Append(cellValue88); Cell cell243 = new Cell() { CellReference = "AO20", StyleIndex = (UInt32Value)2U }; Cell cell244 = new Cell() { CellReference = "AP20", StyleIndex = (UInt32Value)2U }; Cell cell245 = new Cell() { CellReference = "AQ20", StyleIndex = (UInt32Value)2U }; Cell cell246 = new Cell() { CellReference = "AR20", StyleIndex = (UInt32Value)2U }; row17.Append(cell204); row17.Append(cell205); row17.Append(cell206); row17.Append(cell207); row17.Append(cell208); row17.Append(cell209); row17.Append(cell210); row17.Append(cell211); row17.Append(cell212); row17.Append(cell213); row17.Append(cell214); row17.Append(cell215); row17.Append(cell216); row17.Append(cell217); row17.Append(cell218); row17.Append(cell219); row17.Append(cell220); row17.Append(cell221); row17.Append(cell222); row17.Append(cell223); row17.Append(cell224); row17.Append(cell225); row17.Append(cell226); row17.Append(cell227); row17.Append(cell228); row17.Append(cell229); row17.Append(cell230); row17.Append(cell231); row17.Append(cell232); row17.Append(cell233); row17.Append(cell234); row17.Append(cell235); row17.Append(cell236); row17.Append(cell237); row17.Append(cell238); row17.Append(cell239); row17.Append(cell240); row17.Append(cell241); row17.Append(cell242); row17.Append(cell243); row17.Append(cell244); row17.Append(cell245); row17.Append(cell246); Row row18 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true }; Cell cell247 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)29U }; Cell cell248 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)30U }; Cell cell249 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)31U }; Cell cell250 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)31U, DataType = CellValues.SharedString }; CellValue cellValue89 = new CellValue(); cellValue89.Text = "31"; cell250.Append(cellValue89); Cell cell251 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)32U }; Cell cell252 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)33U }; Cell cell253 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)34U }; Cell cell254 = new Cell() { CellReference = "I21", StyleIndex = (UInt32Value)34U }; Cell cell255 = new Cell() { CellReference = "J21", StyleIndex = (UInt32Value)34U }; Cell cell256 = new Cell() { CellReference = "K21", StyleIndex = (UInt32Value)34U }; Cell cell257 = new Cell() { CellReference = "L21", StyleIndex = (UInt32Value)34U }; CellValue cellValue90 = new CellValue(); cellValue90.Text = "0"; cell257.Append(cellValue90); Cell cell258 = new Cell() { CellReference = "M21", StyleIndex = (UInt32Value)34U }; Cell cell259 = new Cell() { CellReference = "N21", StyleIndex = (UInt32Value)35U }; Cell cell260 = new Cell() { CellReference = "O21", StyleIndex = (UInt32Value)34U }; Cell cell261 = new Cell() { CellReference = "P21", StyleIndex = (UInt32Value)34U }; Cell cell262 = new Cell() { CellReference = "Q21", StyleIndex = (UInt32Value)34U }; Cell cell263 = new Cell() { CellReference = "R21", StyleIndex = (UInt32Value)34U }; Cell cell264 = new Cell() { CellReference = "S21", StyleIndex = (UInt32Value)34U }; Cell cell265 = new Cell() { CellReference = "T21", StyleIndex = (UInt32Value)34U }; Cell cell266 = new Cell() { CellReference = "U21", StyleIndex = (UInt32Value)35U }; Cell cell267 = new Cell() { CellReference = "V21", StyleIndex = (UInt32Value)34U }; Cell cell268 = new Cell() { CellReference = "W21", StyleIndex = (UInt32Value)34U }; Cell cell269 = new Cell() { CellReference = "X21", StyleIndex = (UInt32Value)34U }; Cell cell270 = new Cell() { CellReference = "Y21", StyleIndex = (UInt32Value)34U }; Cell cell271 = new Cell() { CellReference = "Z21", StyleIndex = (UInt32Value)34U }; Cell cell272 = new Cell() { CellReference = "AA21", StyleIndex = (UInt32Value)34U }; Cell cell273 = new Cell() { CellReference = "AB21", StyleIndex = (UInt32Value)35U }; Cell cell274 = new Cell() { CellReference = "AC21", StyleIndex = (UInt32Value)35U }; Cell cell275 = new Cell() { CellReference = "AD21", StyleIndex = (UInt32Value)35U }; Cell cell276 = new Cell() { CellReference = "AE21", StyleIndex = (UInt32Value)34U }; Cell cell277 = new Cell() { CellReference = "AF21", StyleIndex = (UInt32Value)34U }; Cell cell278 = new Cell() { CellReference = "AG21", StyleIndex = (UInt32Value)34U }; Cell cell279 = new Cell() { CellReference = "AH21", StyleIndex = (UInt32Value)34U }; Cell cell280 = new Cell() { CellReference = "AI21", StyleIndex = (UInt32Value)34U }; Cell cell281 = new Cell() { CellReference = "AJ21", StyleIndex = (UInt32Value)34U }; Cell cell282 = new Cell() { CellReference = "AK21", StyleIndex = (UInt32Value)34U }; Cell cell283 = new Cell() { CellReference = "AL21", StyleIndex = (UInt32Value)36U }; CellFormula cellFormula2 = new CellFormula(); cellFormula2.Text = "SUM(G21:AK21)"; CellValue cellValue91 = new CellValue(); cellValue91.Text = "0"; cell283.Append(cellFormula2); cell283.Append(cellValue91); Cell cell284 = new Cell() { CellReference = "AM21", StyleIndex = (UInt32Value)92U }; CellValue cellValue92 = new CellValue(); cellValue92.Text = "0"; cell284.Append(cellValue92); Cell cell285 = new Cell() { CellReference = "AN21", StyleIndex = (UInt32Value)89U }; CellFormula cellFormula3 = new CellFormula(); cellFormula3.Text = "SUM(AM21*AL21)"; CellValue cellValue93 = new CellValue(); cellValue93.Text = "0"; cell285.Append(cellFormula3); cell285.Append(cellValue93); Cell cell286 = new Cell() { CellReference = "AO21", StyleIndex = (UInt32Value)2U }; Cell cell287 = new Cell() { CellReference = "AP21", StyleIndex = (UInt32Value)2U }; Cell cell288 = new Cell() { CellReference = "AQ21", StyleIndex = (UInt32Value)2U }; Cell cell289 = new Cell() { CellReference = "AR21", StyleIndex = (UInt32Value)2U }; row18.Append(cell247); row18.Append(cell248); row18.Append(cell249); row18.Append(cell250); row18.Append(cell251); row18.Append(cell252); row18.Append(cell253); row18.Append(cell254); row18.Append(cell255); row18.Append(cell256); row18.Append(cell257); row18.Append(cell258); row18.Append(cell259); row18.Append(cell260); row18.Append(cell261); row18.Append(cell262); row18.Append(cell263); row18.Append(cell264); row18.Append(cell265); row18.Append(cell266); row18.Append(cell267); row18.Append(cell268); row18.Append(cell269); row18.Append(cell270); row18.Append(cell271); row18.Append(cell272); row18.Append(cell273); row18.Append(cell274); row18.Append(cell275); row18.Append(cell276); row18.Append(cell277); row18.Append(cell278); row18.Append(cell279); row18.Append(cell280); row18.Append(cell281); row18.Append(cell282); row18.Append(cell283); row18.Append(cell284); row18.Append(cell285); row18.Append(cell286); row18.Append(cell287); row18.Append(cell288); row18.Append(cell289); Row row19 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true }; Cell cell290 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)37U }; Cell cell291 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)64U }; Cell cell292 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)61U }; Cell cell293 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString }; CellValue cellValue94 = new CellValue(); cellValue94.Text = "31"; cell293.Append(cellValue94); Cell cell294 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)38U }; Cell cell295 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)33U }; Cell cell296 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)34U }; Cell cell297 = new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)34U }; Cell cell298 = new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)34U }; Cell cell299 = new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)34U }; Cell cell300 = new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)34U }; Cell cell301 = new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)34U }; Cell cell302 = new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)34U }; Cell cell303 = new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)34U }; Cell cell304 = new Cell() { CellReference = "P22", StyleIndex = (UInt32Value)35U }; Cell cell305 = new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)34U }; Cell cell306 = new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)34U }; Cell cell307 = new Cell() { CellReference = "S22", StyleIndex = (UInt32Value)34U }; Cell cell308 = new Cell() { CellReference = "T22", StyleIndex = (UInt32Value)34U }; Cell cell309 = new Cell() { CellReference = "U22", StyleIndex = (UInt32Value)34U }; Cell cell310 = new Cell() { CellReference = "V22", StyleIndex = (UInt32Value)35U }; Cell cell311 = new Cell() { CellReference = "W22", StyleIndex = (UInt32Value)34U }; Cell cell312 = new Cell() { CellReference = "X22", StyleIndex = (UInt32Value)34U }; Cell cell313 = new Cell() { CellReference = "Y22", StyleIndex = (UInt32Value)34U }; Cell cell314 = new Cell() { CellReference = "Z22", StyleIndex = (UInt32Value)34U }; Cell cell315 = new Cell() { CellReference = "AA22", StyleIndex = (UInt32Value)34U }; Cell cell316 = new Cell() { CellReference = "AB22", StyleIndex = (UInt32Value)35U }; Cell cell317 = new Cell() { CellReference = "AC22", StyleIndex = (UInt32Value)35U }; Cell cell318 = new Cell() { CellReference = "AD22", StyleIndex = (UInt32Value)35U }; CellValue cellValue95 = new CellValue(); cellValue95.Text = "0"; cell318.Append(cellValue95); Cell cell319 = new Cell() { CellReference = "AE22", StyleIndex = (UInt32Value)34U }; Cell cell320 = new Cell() { CellReference = "AF22", StyleIndex = (UInt32Value)34U }; Cell cell321 = new Cell() { CellReference = "AG22", StyleIndex = (UInt32Value)34U }; Cell cell322 = new Cell() { CellReference = "AH22", StyleIndex = (UInt32Value)34U }; Cell cell323 = new Cell() { CellReference = "AI22", StyleIndex = (UInt32Value)34U }; Cell cell324 = new Cell() { CellReference = "AJ22", StyleIndex = (UInt32Value)34U }; Cell cell325 = new Cell() { CellReference = "AK22", StyleIndex = (UInt32Value)34U }; Cell cell326 = new Cell() { CellReference = "AL22", StyleIndex = (UInt32Value)36U }; CellFormula cellFormula4 = new CellFormula(); cellFormula4.Text = "SUM(G22:AK22)"; CellValue cellValue96 = new CellValue(); cellValue96.Text = "0"; cell326.Append(cellFormula4); cell326.Append(cellValue96); Cell cell327 = new Cell() { CellReference = "AM22", StyleIndex = (UInt32Value)92U }; CellValue cellValue97 = new CellValue(); cellValue97.Text = "0"; cell327.Append(cellValue97); Cell cell328 = new Cell() { CellReference = "AN22", StyleIndex = (UInt32Value)89U }; CellFormula cellFormula5 = new CellFormula(); cellFormula5.Text = "SUM(AM22*AL22)"; CellValue cellValue98 = new CellValue(); cellValue98.Text = "0"; cell328.Append(cellFormula5); cell328.Append(cellValue98); Cell cell329 = new Cell() { CellReference = "AO22", StyleIndex = (UInt32Value)2U }; Cell cell330 = new Cell() { CellReference = "AP22", StyleIndex = (UInt32Value)2U }; Cell cell331 = new Cell() { CellReference = "AQ22", StyleIndex = (UInt32Value)2U }; Cell cell332 = new Cell() { CellReference = "AR22", StyleIndex = (UInt32Value)2U }; row19.Append(cell290); row19.Append(cell291); row19.Append(cell292); row19.Append(cell293); row19.Append(cell294); row19.Append(cell295); row19.Append(cell296); row19.Append(cell297); row19.Append(cell298); row19.Append(cell299); row19.Append(cell300); row19.Append(cell301); row19.Append(cell302); row19.Append(cell303); row19.Append(cell304); row19.Append(cell305); row19.Append(cell306); row19.Append(cell307); row19.Append(cell308); row19.Append(cell309); row19.Append(cell310); row19.Append(cell311); row19.Append(cell312); row19.Append(cell313); row19.Append(cell314); row19.Append(cell315); row19.Append(cell316); row19.Append(cell317); row19.Append(cell318); row19.Append(cell319); row19.Append(cell320); row19.Append(cell321); row19.Append(cell322); row19.Append(cell323); row19.Append(cell324); row19.Append(cell325); row19.Append(cell326); row19.Append(cell327); row19.Append(cell328); row19.Append(cell329); row19.Append(cell330); row19.Append(cell331); row19.Append(cell332); Row row20 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true }; Cell cell333 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)37U }; Cell cell334 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)64U }; Cell cell335 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)61U }; Cell cell336 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString }; CellValue cellValue99 = new CellValue(); cellValue99.Text = "31"; cell336.Append(cellValue99); Cell cell337 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)38U }; Cell cell338 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)40U }; Cell cell339 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)35U }; Cell cell340 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)35U }; Cell cell341 = new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)34U }; Cell cell342 = new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)34U }; Cell cell343 = new Cell() { CellReference = "L23", StyleIndex = (UInt32Value)35U }; Cell cell344 = new Cell() { CellReference = "M23", StyleIndex = (UInt32Value)35U }; Cell cell345 = new Cell() { CellReference = "N23", StyleIndex = (UInt32Value)34U }; Cell cell346 = new Cell() { CellReference = "O23", StyleIndex = (UInt32Value)34U }; Cell cell347 = new Cell() { CellReference = "P23", StyleIndex = (UInt32Value)34U }; Cell cell348 = new Cell() { CellReference = "Q23", StyleIndex = (UInt32Value)34U }; Cell cell349 = new Cell() { CellReference = "R23", StyleIndex = (UInt32Value)34U }; Cell cell350 = new Cell() { CellReference = "S23", StyleIndex = (UInt32Value)35U }; Cell cell351 = new Cell() { CellReference = "T23", StyleIndex = (UInt32Value)35U }; Cell cell352 = new Cell() { CellReference = "U23", StyleIndex = (UInt32Value)34U }; Cell cell353 = new Cell() { CellReference = "V23", StyleIndex = (UInt32Value)34U }; Cell cell354 = new Cell() { CellReference = "W23", StyleIndex = (UInt32Value)35U }; Cell cell355 = new Cell() { CellReference = "X23", StyleIndex = (UInt32Value)34U }; Cell cell356 = new Cell() { CellReference = "Y23", StyleIndex = (UInt32Value)34U }; Cell cell357 = new Cell() { CellReference = "Z23", StyleIndex = (UInt32Value)35U }; Cell cell358 = new Cell() { CellReference = "AA23", StyleIndex = (UInt32Value)35U }; Cell cell359 = new Cell() { CellReference = "AB23", StyleIndex = (UInt32Value)35U }; Cell cell360 = new Cell() { CellReference = "AC23", StyleIndex = (UInt32Value)35U }; CellValue cellValue100 = new CellValue(); cellValue100.Text = "0"; cell360.Append(cellValue100); Cell cell361 = new Cell() { CellReference = "AD23", StyleIndex = (UInt32Value)35U }; Cell cell362 = new Cell() { CellReference = "AE23", StyleIndex = (UInt32Value)34U }; Cell cell363 = new Cell() { CellReference = "AF23", StyleIndex = (UInt32Value)34U }; Cell cell364 = new Cell() { CellReference = "AG23", StyleIndex = (UInt32Value)35U }; Cell cell365 = new Cell() { CellReference = "AH23", StyleIndex = (UInt32Value)35U }; Cell cell366 = new Cell() { CellReference = "AI23", StyleIndex = (UInt32Value)35U }; Cell cell367 = new Cell() { CellReference = "AJ23", StyleIndex = (UInt32Value)35U }; Cell cell368 = new Cell() { CellReference = "AK23", StyleIndex = (UInt32Value)35U }; Cell cell369 = new Cell() { CellReference = "AL23", StyleIndex = (UInt32Value)36U }; CellFormula cellFormula6 = new CellFormula(); cellFormula6.Text = "SUM(G23:AK23)"; CellValue cellValue101 = new CellValue(); cellValue101.Text = "0"; cell369.Append(cellFormula6); cell369.Append(cellValue101); Cell cell370 = new Cell() { CellReference = "AM23", StyleIndex = (UInt32Value)92U }; CellValue cellValue102 = new CellValue(); cellValue102.Text = "0"; cell370.Append(cellValue102); Cell cell371 = new Cell() { CellReference = "AN23", StyleIndex = (UInt32Value)89U }; CellFormula cellFormula7 = new CellFormula(); cellFormula7.Text = "SUM(AM23*AL23)"; CellValue cellValue103 = new CellValue(); cellValue103.Text = "0"; cell371.Append(cellFormula7); cell371.Append(cellValue103); Cell cell372 = new Cell() { CellReference = "AO23", StyleIndex = (UInt32Value)2U }; Cell cell373 = new Cell() { CellReference = "AP23", StyleIndex = (UInt32Value)2U }; Cell cell374 = new Cell() { CellReference = "AQ23", StyleIndex = (UInt32Value)2U }; Cell cell375 = new Cell() { CellReference = "AR23", StyleIndex = (UInt32Value)2U }; row20.Append(cell333); row20.Append(cell334); row20.Append(cell335); row20.Append(cell336); row20.Append(cell337); row20.Append(cell338); row20.Append(cell339); row20.Append(cell340); row20.Append(cell341); row20.Append(cell342); row20.Append(cell343); row20.Append(cell344); row20.Append(cell345); row20.Append(cell346); row20.Append(cell347); row20.Append(cell348); row20.Append(cell349); row20.Append(cell350); row20.Append(cell351); row20.Append(cell352); row20.Append(cell353); row20.Append(cell354); row20.Append(cell355); row20.Append(cell356); row20.Append(cell357); row20.Append(cell358); row20.Append(cell359); row20.Append(cell360); row20.Append(cell361); row20.Append(cell362); row20.Append(cell363); row20.Append(cell364); row20.Append(cell365); row20.Append(cell366); row20.Append(cell367); row20.Append(cell368); row20.Append(cell369); row20.Append(cell370); row20.Append(cell371); row20.Append(cell372); row20.Append(cell373); row20.Append(cell374); row20.Append(cell375); Row row21 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true }; Cell cell376 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)41U }; Cell cell377 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)64U }; Cell cell378 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)61U }; Cell cell379 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString }; CellValue cellValue104 = new CellValue(); cellValue104.Text = "31"; cell379.Append(cellValue104); Cell cell380 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)38U }; Cell cell381 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)33U }; Cell cell382 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)34U }; Cell cell383 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)34U }; Cell cell384 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)34U }; Cell cell385 = new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)34U }; Cell cell386 = new Cell() { CellReference = "L24", StyleIndex = (UInt32Value)34U }; Cell cell387 = new Cell() { CellReference = "M24", StyleIndex = (UInt32Value)34U }; Cell cell388 = new Cell() { CellReference = "N24", StyleIndex = (UInt32Value)34U }; Cell cell389 = new Cell() { CellReference = "O24", StyleIndex = (UInt32Value)35U }; Cell cell390 = new Cell() { CellReference = "P24", StyleIndex = (UInt32Value)34U }; Cell cell391 = new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)34U }; Cell cell392 = new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)34U }; Cell cell393 = new Cell() { CellReference = "S24", StyleIndex = (UInt32Value)34U }; Cell cell394 = new Cell() { CellReference = "T24", StyleIndex = (UInt32Value)34U }; Cell cell395 = new Cell() { CellReference = "U24", StyleIndex = (UInt32Value)35U }; Cell cell396 = new Cell() { CellReference = "V24", StyleIndex = (UInt32Value)35U }; Cell cell397 = new Cell() { CellReference = "W24", StyleIndex = (UInt32Value)35U }; Cell cell398 = new Cell() { CellReference = "X24", StyleIndex = (UInt32Value)34U }; Cell cell399 = new Cell() { CellReference = "Y24", StyleIndex = (UInt32Value)34U }; Cell cell400 = new Cell() { CellReference = "Z24", StyleIndex = (UInt32Value)34U }; Cell cell401 = new Cell() { CellReference = "AA24", StyleIndex = (UInt32Value)35U }; Cell cell402 = new Cell() { CellReference = "AB24", StyleIndex = (UInt32Value)35U }; Cell cell403 = new Cell() { CellReference = "AC24", StyleIndex = (UInt32Value)35U }; Cell cell404 = new Cell() { CellReference = "AD24", StyleIndex = (UInt32Value)35U }; Cell cell405 = new Cell() { CellReference = "AE24", StyleIndex = (UInt32Value)34U }; Cell cell406 = new Cell() { CellReference = "AF24", StyleIndex = (UInt32Value)34U }; Cell cell407 = new Cell() { CellReference = "AG24", StyleIndex = (UInt32Value)34U }; Cell cell408 = new Cell() { CellReference = "AH24", StyleIndex = (UInt32Value)34U }; Cell cell409 = new Cell() { CellReference = "AI24", StyleIndex = (UInt32Value)34U }; Cell cell410 = new Cell() { CellReference = "AJ24", StyleIndex = (UInt32Value)34U }; Cell cell411 = new Cell() { CellReference = "AK24", StyleIndex = (UInt32Value)34U }; Cell cell412 = new Cell() { CellReference = "AL24", StyleIndex = (UInt32Value)36U }; CellFormula cellFormula8 = new CellFormula(); cellFormula8.Text = "SUM(G24:AK24)"; CellValue cellValue105 = new CellValue(); cellValue105.Text = "0"; cell412.Append(cellFormula8); cell412.Append(cellValue105); Cell cell413 = new Cell() { CellReference = "AM24", StyleIndex = (UInt32Value)92U }; CellValue cellValue106 = new CellValue(); cellValue106.Text = "0"; cell413.Append(cellValue106); Cell cell414 = new Cell() { CellReference = "AN24", StyleIndex = (UInt32Value)89U }; CellFormula cellFormula9 = new CellFormula(); cellFormula9.Text = "SUM(AM24*AL24)"; CellValue cellValue107 = new CellValue(); cellValue107.Text = "0"; cell414.Append(cellFormula9); cell414.Append(cellValue107); Cell cell415 = new Cell() { CellReference = "AO24", StyleIndex = (UInt32Value)2U }; Cell cell416 = new Cell() { CellReference = "AP24", StyleIndex = (UInt32Value)2U }; Cell cell417 = new Cell() { CellReference = "AQ24", StyleIndex = (UInt32Value)2U }; Cell cell418 = new Cell() { CellReference = "AR24", StyleIndex = (UInt32Value)2U }; row21.Append(cell376); row21.Append(cell377); row21.Append(cell378); row21.Append(cell379); row21.Append(cell380); row21.Append(cell381); row21.Append(cell382); row21.Append(cell383); row21.Append(cell384); row21.Append(cell385); row21.Append(cell386); row21.Append(cell387); row21.Append(cell388); row21.Append(cell389); row21.Append(cell390); row21.Append(cell391); row21.Append(cell392); row21.Append(cell393); row21.Append(cell394); row21.Append(cell395); row21.Append(cell396); row21.Append(cell397); row21.Append(cell398); row21.Append(cell399); row21.Append(cell400); row21.Append(cell401); row21.Append(cell402); row21.Append(cell403); row21.Append(cell404); row21.Append(cell405); row21.Append(cell406); row21.Append(cell407); row21.Append(cell408); row21.Append(cell409); row21.Append(cell410); row21.Append(cell411); row21.Append(cell412); row21.Append(cell413); row21.Append(cell414); row21.Append(cell415); row21.Append(cell416); row21.Append(cell417); row21.Append(cell418); Row row22 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true }; Cell cell419 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)41U }; Cell cell420 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)65U }; Cell cell421 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)66U }; Cell cell422 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)66U, DataType = CellValues.SharedString }; CellValue cellValue108 = new CellValue(); cellValue108.Text = "31"; cell422.Append(cellValue108); Cell cell423 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)39U }; Cell cell424 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)67U }; Cell cell425 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)68U }; Cell cell426 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)68U }; Cell cell427 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)68U }; Cell cell428 = new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)68U }; Cell cell429 = new Cell() { CellReference = "L25", StyleIndex = (UInt32Value)68U }; Cell cell430 = new Cell() { CellReference = "M25", StyleIndex = (UInt32Value)68U }; Cell cell431 = new Cell() { CellReference = "N25", StyleIndex = (UInt32Value)68U }; Cell cell432 = new Cell() { CellReference = "O25", StyleIndex = (UInt32Value)68U }; Cell cell433 = new Cell() { CellReference = "P25", StyleIndex = (UInt32Value)68U }; Cell cell434 = new Cell() { CellReference = "Q25", StyleIndex = (UInt32Value)68U }; Cell cell435 = new Cell() { CellReference = "R25", StyleIndex = (UInt32Value)68U }; Cell cell436 = new Cell() { CellReference = "S25", StyleIndex = (UInt32Value)68U }; Cell cell437 = new Cell() { CellReference = "T25", StyleIndex = (UInt32Value)68U }; Cell cell438 = new Cell() { CellReference = "U25", StyleIndex = (UInt32Value)68U }; Cell cell439 = new Cell() { CellReference = "V25", StyleIndex = (UInt32Value)68U }; Cell cell440 = new Cell() { CellReference = "W25", StyleIndex = (UInt32Value)68U }; Cell cell441 = new Cell() { CellReference = "X25", StyleIndex = (UInt32Value)68U }; Cell cell442 = new Cell() { CellReference = "Y25", StyleIndex = (UInt32Value)68U }; Cell cell443 = new Cell() { CellReference = "Z25", StyleIndex = (UInt32Value)68U }; Cell cell444 = new Cell() { CellReference = "AA25", StyleIndex = (UInt32Value)69U }; Cell cell445 = new Cell() { CellReference = "AB25", StyleIndex = (UInt32Value)69U }; Cell cell446 = new Cell() { CellReference = "AC25", StyleIndex = (UInt32Value)69U }; Cell cell447 = new Cell() { CellReference = "AD25", StyleIndex = (UInt32Value)69U }; Cell cell448 = new Cell() { CellReference = "AE25", StyleIndex = (UInt32Value)68U }; Cell cell449 = new Cell() { CellReference = "AF25", StyleIndex = (UInt32Value)68U }; CellValue cellValue109 = new CellValue(); cellValue109.Text = "0"; cell449.Append(cellValue109); Cell cell450 = new Cell() { CellReference = "AG25", StyleIndex = (UInt32Value)68U }; Cell cell451 = new Cell() { CellReference = "AH25", StyleIndex = (UInt32Value)68U }; Cell cell452 = new Cell() { CellReference = "AI25", StyleIndex = (UInt32Value)68U }; Cell cell453 = new Cell() { CellReference = "AJ25", StyleIndex = (UInt32Value)68U }; Cell cell454 = new Cell() { CellReference = "AK25", StyleIndex = (UInt32Value)68U }; Cell cell455 = new Cell() { CellReference = "AL25", StyleIndex = (UInt32Value)70U }; CellFormula cellFormula10 = new CellFormula(); cellFormula10.Text = "SUM(G25:AK25)"; CellValue cellValue110 = new CellValue(); cellValue110.Text = "0"; cell455.Append(cellFormula10); cell455.Append(cellValue110); Cell cell456 = new Cell() { CellReference = "AM25", StyleIndex = (UInt32Value)93U }; CellValue cellValue111 = new CellValue(); cellValue111.Text = "0"; cell456.Append(cellValue111); Cell cell457 = new Cell() { CellReference = "AN25", StyleIndex = (UInt32Value)90U }; CellFormula cellFormula11 = new CellFormula(); cellFormula11.Text = "SUM(AM25*AL25)"; CellValue cellValue112 = new CellValue(); cellValue112.Text = "0"; cell457.Append(cellFormula11); cell457.Append(cellValue112); Cell cell458 = new Cell() { CellReference = "AO25", StyleIndex = (UInt32Value)2U }; Cell cell459 = new Cell() { CellReference = "AP25", StyleIndex = (UInt32Value)2U }; Cell cell460 = new Cell() { CellReference = "AQ25", StyleIndex = (UInt32Value)2U }; Cell cell461 = new Cell() { CellReference = "AR25", StyleIndex = (UInt32Value)2U }; row22.Append(cell419); row22.Append(cell420); row22.Append(cell421); row22.Append(cell422); row22.Append(cell423); row22.Append(cell424); row22.Append(cell425); row22.Append(cell426); row22.Append(cell427); row22.Append(cell428); row22.Append(cell429); row22.Append(cell430); row22.Append(cell431); row22.Append(cell432); row22.Append(cell433); row22.Append(cell434); row22.Append(cell435); row22.Append(cell436); row22.Append(cell437); row22.Append(cell438); row22.Append(cell439); row22.Append(cell440); row22.Append(cell441); row22.Append(cell442); row22.Append(cell443); row22.Append(cell444); row22.Append(cell445); row22.Append(cell446); row22.Append(cell447); row22.Append(cell448); row22.Append(cell449); row22.Append(cell450); row22.Append(cell451); row22.Append(cell452); row22.Append(cell453); row22.Append(cell454); row22.Append(cell455); row22.Append(cell456); row22.Append(cell457); row22.Append(cell458); row22.Append(cell459); row22.Append(cell460); row22.Append(cell461); Row row23 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true }; Cell cell462 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString }; CellValue cellValue113 = new CellValue(); cellValue113.Text = "25"; cell462.Append(cellValue113); Cell cell463 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)42U }; Cell cell464 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)43U }; Cell cell465 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)62U }; Cell cell466 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)63U }; Cell cell467 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)71U }; CellFormula cellFormula12 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "G26:AK26", SharedIndex = (UInt32Value)0U }; cellFormula12.Text = "SUM(G21:G25)"; CellValue cellValue114 = new CellValue(); cellValue114.Text = "0"; cell467.Append(cellFormula12); cell467.Append(cellValue114); Cell cell468 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula13 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula13.Text = ""; CellValue cellValue115 = new CellValue(); cellValue115.Text = "0"; cell468.Append(cellFormula13); cell468.Append(cellValue115); Cell cell469 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula14 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula14.Text = ""; CellValue cellValue116 = new CellValue(); cellValue116.Text = "0"; cell469.Append(cellFormula14); cell469.Append(cellValue116); Cell cell470 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula15 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula15.Text = ""; CellValue cellValue117 = new CellValue(); cellValue117.Text = "0"; cell470.Append(cellFormula15); cell470.Append(cellValue117); Cell cell471 = new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula16 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula16.Text = ""; CellValue cellValue118 = new CellValue(); cellValue118.Text = "0"; cell471.Append(cellFormula16); cell471.Append(cellValue118); Cell cell472 = new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula17 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula17.Text = ""; CellValue cellValue119 = new CellValue(); cellValue119.Text = "0"; cell472.Append(cellFormula17); cell472.Append(cellValue119); Cell cell473 = new Cell() { CellReference = "M26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula18 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula18.Text = ""; CellValue cellValue120 = new CellValue(); cellValue120.Text = "0"; cell473.Append(cellFormula18); cell473.Append(cellValue120); Cell cell474 = new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula19 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula19.Text = ""; CellValue cellValue121 = new CellValue(); cellValue121.Text = "0"; cell474.Append(cellFormula19); cell474.Append(cellValue121); Cell cell475 = new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula20 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula20.Text = ""; CellValue cellValue122 = new CellValue(); cellValue122.Text = "0"; cell475.Append(cellFormula20); cell475.Append(cellValue122); Cell cell476 = new Cell() { CellReference = "P26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula21 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula21.Text = ""; CellValue cellValue123 = new CellValue(); cellValue123.Text = "0"; cell476.Append(cellFormula21); cell476.Append(cellValue123); Cell cell477 = new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula22 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula22.Text = ""; CellValue cellValue124 = new CellValue(); cellValue124.Text = "0"; cell477.Append(cellFormula22); cell477.Append(cellValue124); Cell cell478 = new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula23 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula23.Text = ""; CellValue cellValue125 = new CellValue(); cellValue125.Text = "0"; cell478.Append(cellFormula23); cell478.Append(cellValue125); Cell cell479 = new Cell() { CellReference = "S26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula24 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula24.Text = ""; CellValue cellValue126 = new CellValue(); cellValue126.Text = "0"; cell479.Append(cellFormula24); cell479.Append(cellValue126); Cell cell480 = new Cell() { CellReference = "T26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula25 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula25.Text = ""; CellValue cellValue127 = new CellValue(); cellValue127.Text = "0"; cell480.Append(cellFormula25); cell480.Append(cellValue127); Cell cell481 = new Cell() { CellReference = "U26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula26 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula26.Text = ""; CellValue cellValue128 = new CellValue(); cellValue128.Text = "0"; cell481.Append(cellFormula26); cell481.Append(cellValue128); Cell cell482 = new Cell() { CellReference = "V26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula27 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula27.Text = ""; CellValue cellValue129 = new CellValue(); cellValue129.Text = "0"; cell482.Append(cellFormula27); cell482.Append(cellValue129); Cell cell483 = new Cell() { CellReference = "W26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula28 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula28.Text = ""; CellValue cellValue130 = new CellValue(); cellValue130.Text = "0"; cell483.Append(cellFormula28); cell483.Append(cellValue130); Cell cell484 = new Cell() { CellReference = "X26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula29 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula29.Text = ""; CellValue cellValue131 = new CellValue(); cellValue131.Text = "0"; cell484.Append(cellFormula29); cell484.Append(cellValue131); Cell cell485 = new Cell() { CellReference = "Y26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula30 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula30.Text = ""; CellValue cellValue132 = new CellValue(); cellValue132.Text = "0"; cell485.Append(cellFormula30); cell485.Append(cellValue132); Cell cell486 = new Cell() { CellReference = "Z26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula31 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula31.Text = ""; CellValue cellValue133 = new CellValue(); cellValue133.Text = "0"; cell486.Append(cellFormula31); cell486.Append(cellValue133); Cell cell487 = new Cell() { CellReference = "AA26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula32 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula32.Text = ""; CellValue cellValue134 = new CellValue(); cellValue134.Text = "0"; cell487.Append(cellFormula32); cell487.Append(cellValue134); Cell cell488 = new Cell() { CellReference = "AB26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula33 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula33.Text = ""; CellValue cellValue135 = new CellValue(); cellValue135.Text = "0"; cell488.Append(cellFormula33); cell488.Append(cellValue135); Cell cell489 = new Cell() { CellReference = "AC26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula34 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula34.Text = ""; CellValue cellValue136 = new CellValue(); cellValue136.Text = "0"; cell489.Append(cellFormula34); cell489.Append(cellValue136); Cell cell490 = new Cell() { CellReference = "AD26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula35 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula35.Text = ""; CellValue cellValue137 = new CellValue(); cellValue137.Text = "0"; cell490.Append(cellFormula35); cell490.Append(cellValue137); Cell cell491 = new Cell() { CellReference = "AE26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula36 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula36.Text = ""; CellValue cellValue138 = new CellValue(); cellValue138.Text = "0"; cell491.Append(cellFormula36); cell491.Append(cellValue138); Cell cell492 = new Cell() { CellReference = "AF26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula37 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula37.Text = ""; CellValue cellValue139 = new CellValue(); cellValue139.Text = "0"; cell492.Append(cellFormula37); cell492.Append(cellValue139); Cell cell493 = new Cell() { CellReference = "AG26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula38 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula38.Text = ""; CellValue cellValue140 = new CellValue(); cellValue140.Text = "0"; cell493.Append(cellFormula38); cell493.Append(cellValue140); Cell cell494 = new Cell() { CellReference = "AH26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula39 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula39.Text = ""; CellValue cellValue141 = new CellValue(); cellValue141.Text = "0"; cell494.Append(cellFormula39); cell494.Append(cellValue141); Cell cell495 = new Cell() { CellReference = "AI26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula40 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula40.Text = ""; CellValue cellValue142 = new CellValue(); cellValue142.Text = "0"; cell495.Append(cellFormula40); cell495.Append(cellValue142); Cell cell496 = new Cell() { CellReference = "AJ26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula41 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula41.Text = ""; CellValue cellValue143 = new CellValue(); cellValue143.Text = "0"; cell496.Append(cellFormula41); cell496.Append(cellValue143); Cell cell497 = new Cell() { CellReference = "AK26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula42 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula42.Text = ""; CellValue cellValue144 = new CellValue(); cellValue144.Text = "0"; cell497.Append(cellFormula42); cell497.Append(cellValue144); Cell cell498 = new Cell() { CellReference = "AL26", StyleIndex = (UInt32Value)72U }; CellFormula cellFormula43 = new CellFormula(); cellFormula43.Text = "SUM(AL21:AL25)"; CellValue cellValue145 = new CellValue(); cellValue145.Text = "0"; cell498.Append(cellFormula43); cell498.Append(cellValue145); Cell cell499 = new Cell() { CellReference = "AM26", StyleIndex = (UInt32Value)94U }; CellFormula cellFormula44 = new CellFormula(); cellFormula44.Text = "SUM(AM21:AM25)"; CellValue cellValue146 = new CellValue(); cellValue146.Text = "0"; cell499.Append(cellFormula44); cell499.Append(cellValue146); Cell cell500 = new Cell() { CellReference = "AN26", StyleIndex = (UInt32Value)91U }; CellFormula cellFormula45 = new CellFormula(); cellFormula45.Text = "SUM(AN21:AN25)"; CellValue cellValue147 = new CellValue(); cellValue147.Text = "0"; cell500.Append(cellFormula45); cell500.Append(cellValue147); Cell cell501 = new Cell() { CellReference = "AO26", StyleIndex = (UInt32Value)2U }; Cell cell502 = new Cell() { CellReference = "AP26", StyleIndex = (UInt32Value)2U }; Cell cell503 = new Cell() { CellReference = "AQ26", StyleIndex = (UInt32Value)2U }; Cell cell504 = new Cell() { CellReference = "AR26", StyleIndex = (UInt32Value)2U }; row23.Append(cell462); row23.Append(cell463); row23.Append(cell464); row23.Append(cell465); row23.Append(cell466); row23.Append(cell467); row23.Append(cell468); row23.Append(cell469); row23.Append(cell470); row23.Append(cell471); row23.Append(cell472); row23.Append(cell473); row23.Append(cell474); row23.Append(cell475); row23.Append(cell476); row23.Append(cell477); row23.Append(cell478); row23.Append(cell479); row23.Append(cell480); row23.Append(cell481); row23.Append(cell482); row23.Append(cell483); row23.Append(cell484); row23.Append(cell485); row23.Append(cell486); row23.Append(cell487); row23.Append(cell488); row23.Append(cell489); row23.Append(cell490); row23.Append(cell491); row23.Append(cell492); row23.Append(cell493); row23.Append(cell494); row23.Append(cell495); row23.Append(cell496); row23.Append(cell497); row23.Append(cell498); row23.Append(cell499); row23.Append(cell500); row23.Append(cell501); row23.Append(cell502); row23.Append(cell503); row23.Append(cell504); Row row24 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell505 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)12U }; Cell cell506 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)12U }; Cell cell507 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)12U }; Cell cell508 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)12U }; Cell cell509 = new Cell() { CellReference = "AL27", StyleIndex = (UInt32Value)4U }; Cell cell510 = new Cell() { CellReference = "AM27", StyleIndex = (UInt32Value)4U }; Cell cell511 = new Cell() { CellReference = "AN27", StyleIndex = (UInt32Value)4U }; Cell cell512 = new Cell() { CellReference = "AO27", StyleIndex = (UInt32Value)2U }; Cell cell513 = new Cell() { CellReference = "AP27", StyleIndex = (UInt32Value)2U }; Cell cell514 = new Cell() { CellReference = "AQ27", StyleIndex = (UInt32Value)2U }; Cell cell515 = new Cell() { CellReference = "AR27", StyleIndex = (UInt32Value)2U }; row24.Append(cell505); row24.Append(cell506); row24.Append(cell507); row24.Append(cell508); row24.Append(cell509); row24.Append(cell510); row24.Append(cell511); row24.Append(cell512); row24.Append(cell513); row24.Append(cell514); row24.Append(cell515); Row row25 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell516 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)12U }; Cell cell517 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)12U }; Cell cell518 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)12U }; Cell cell519 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)12U }; Cell cell520 = new Cell() { CellReference = "AO28", StyleIndex = (UInt32Value)2U }; Cell cell521 = new Cell() { CellReference = "AP28", StyleIndex = (UInt32Value)2U }; Cell cell522 = new Cell() { CellReference = "AQ28", StyleIndex = (UInt32Value)2U }; Cell cell523 = new Cell() { CellReference = "AR28", StyleIndex = (UInt32Value)2U }; row25.Append(cell516); row25.Append(cell517); row25.Append(cell518); row25.Append(cell519); row25.Append(cell520); row25.Append(cell521); row25.Append(cell522); row25.Append(cell523); Row row26 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true }; Cell cell524 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)45U, DataType = CellValues.SharedString }; CellValue cellValue148 = new CellValue(); cellValue148.Text = "14"; cell524.Append(cellValue148); Cell cell525 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)46U, DataType = CellValues.SharedString }; CellValue cellValue149 = new CellValue(); cellValue149.Text = "32"; cell525.Append(cellValue149); Cell cell526 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)2U }; Cell cell527 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)2U }; Cell cell528 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)2U }; Cell cell529 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)2U }; Cell cell530 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)2U }; Cell cell531 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)2U }; Cell cell532 = new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)2U }; Cell cell533 = new Cell() { CellReference = "L29", StyleIndex = (UInt32Value)2U }; Cell cell534 = new Cell() { CellReference = "M29", StyleIndex = (UInt32Value)2U }; Cell cell535 = new Cell() { CellReference = "N29", StyleIndex = (UInt32Value)2U }; Cell cell536 = new Cell() { CellReference = "O29", StyleIndex = (UInt32Value)2U }; Cell cell537 = new Cell() { CellReference = "P29", StyleIndex = (UInt32Value)2U }; Cell cell538 = new Cell() { CellReference = "Q29", StyleIndex = (UInt32Value)2U }; Cell cell539 = new Cell() { CellReference = "R29", StyleIndex = (UInt32Value)2U }; Cell cell540 = new Cell() { CellReference = "S29", StyleIndex = (UInt32Value)2U }; Cell cell541 = new Cell() { CellReference = "T29", StyleIndex = (UInt32Value)2U }; Cell cell542 = new Cell() { CellReference = "U29", StyleIndex = (UInt32Value)2U }; Cell cell543 = new Cell() { CellReference = "V29", StyleIndex = (UInt32Value)2U }; Cell cell544 = new Cell() { CellReference = "W29", StyleIndex = (UInt32Value)2U }; Cell cell545 = new Cell() { CellReference = "X29", StyleIndex = (UInt32Value)2U }; Cell cell546 = new Cell() { CellReference = "Y29", StyleIndex = (UInt32Value)2U }; Cell cell547 = new Cell() { CellReference = "Z29", StyleIndex = (UInt32Value)2U }; Cell cell548 = new Cell() { CellReference = "AA29", StyleIndex = (UInt32Value)2U }; Cell cell549 = new Cell() { CellReference = "AB29", StyleIndex = (UInt32Value)2U }; Cell cell550 = new Cell() { CellReference = "AC29", StyleIndex = (UInt32Value)2U }; Cell cell551 = new Cell() { CellReference = "AD29", StyleIndex = (UInt32Value)2U }; Cell cell552 = new Cell() { CellReference = "AE29", StyleIndex = (UInt32Value)2U }; Cell cell553 = new Cell() { CellReference = "AF29", StyleIndex = (UInt32Value)2U }; Cell cell554 = new Cell() { CellReference = "AG29", StyleIndex = (UInt32Value)2U }; Cell cell555 = new Cell() { CellReference = "AH29", StyleIndex = (UInt32Value)2U }; Cell cell556 = new Cell() { CellReference = "AI29", StyleIndex = (UInt32Value)2U }; Cell cell557 = new Cell() { CellReference = "AJ29", StyleIndex = (UInt32Value)2U }; Cell cell558 = new Cell() { CellReference = "AK29", StyleIndex = (UInt32Value)2U }; Cell cell559 = new Cell() { CellReference = "AL29", StyleIndex = (UInt32Value)47U }; Cell cell560 = new Cell() { CellReference = "AM29", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString }; CellValue cellValue150 = new CellValue(); cellValue150.Text = "33"; cell560.Append(cellValue150); Cell cell561 = new Cell() { CellReference = "AN29", StyleIndex = (UInt32Value)49U }; CellFormula cellFormula46 = new CellFormula(); cellFormula46.Text = "+AL26"; CellValue cellValue151 = new CellValue(); cellValue151.Text = "0"; cell561.Append(cellFormula46); cell561.Append(cellValue151); Cell cell562 = new Cell() { CellReference = "AO29", StyleIndex = (UInt32Value)2U }; Cell cell563 = new Cell() { CellReference = "AP29", StyleIndex = (UInt32Value)2U }; Cell cell564 = new Cell() { CellReference = "AQ29", StyleIndex = (UInt32Value)2U }; Cell cell565 = new Cell() { CellReference = "AR29", StyleIndex = (UInt32Value)2U }; row26.Append(cell524); row26.Append(cell525); row26.Append(cell526); row26.Append(cell527); row26.Append(cell528); row26.Append(cell529); row26.Append(cell530); row26.Append(cell531); row26.Append(cell532); row26.Append(cell533); row26.Append(cell534); row26.Append(cell535); row26.Append(cell536); row26.Append(cell537); row26.Append(cell538); row26.Append(cell539); row26.Append(cell540); row26.Append(cell541); row26.Append(cell542); row26.Append(cell543); row26.Append(cell544); row26.Append(cell545); row26.Append(cell546); row26.Append(cell547); row26.Append(cell548); row26.Append(cell549); row26.Append(cell550); row26.Append(cell551); row26.Append(cell552); row26.Append(cell553); row26.Append(cell554); row26.Append(cell555); row26.Append(cell556); row26.Append(cell557); row26.Append(cell558); row26.Append(cell559); row26.Append(cell560); row26.Append(cell561); row26.Append(cell562); row26.Append(cell563); row26.Append(cell564); row26.Append(cell565); Row row27 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true }; Cell cell566 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)4U }; Cell cell567 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString }; CellValue cellValue152 = new CellValue(); cellValue152.Text = "30"; cell567.Append(cellValue152); Cell cell568 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)51U }; Cell cell569 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)2U }; Cell cell570 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)2U }; Cell cell571 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)2U }; Cell cell572 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)2U }; Cell cell573 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)2U }; Cell cell574 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)2U }; Cell cell575 = new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)2U }; Cell cell576 = new Cell() { CellReference = "L30", StyleIndex = (UInt32Value)2U }; Cell cell577 = new Cell() { CellReference = "M30", StyleIndex = (UInt32Value)2U }; Cell cell578 = new Cell() { CellReference = "N30", StyleIndex = (UInt32Value)2U }; Cell cell579 = new Cell() { CellReference = "O30", StyleIndex = (UInt32Value)2U }; Cell cell580 = new Cell() { CellReference = "P30", StyleIndex = (UInt32Value)2U }; Cell cell581 = new Cell() { CellReference = "Q30", StyleIndex = (UInt32Value)2U }; Cell cell582 = new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)2U }; Cell cell583 = new Cell() { CellReference = "S30", StyleIndex = (UInt32Value)2U }; Cell cell584 = new Cell() { CellReference = "T30", StyleIndex = (UInt32Value)2U }; Cell cell585 = new Cell() { CellReference = "U30", StyleIndex = (UInt32Value)2U }; Cell cell586 = new Cell() { CellReference = "V30", StyleIndex = (UInt32Value)2U }; Cell cell587 = new Cell() { CellReference = "W30", StyleIndex = (UInt32Value)2U }; Cell cell588 = new Cell() { CellReference = "X30", StyleIndex = (UInt32Value)2U }; Cell cell589 = new Cell() { CellReference = "Y30", StyleIndex = (UInt32Value)2U }; Cell cell590 = new Cell() { CellReference = "Z30", StyleIndex = (UInt32Value)2U }; Cell cell591 = new Cell() { CellReference = "AA30", StyleIndex = (UInt32Value)2U }; Cell cell592 = new Cell() { CellReference = "AB30", StyleIndex = (UInt32Value)2U }; Cell cell593 = new Cell() { CellReference = "AC30", StyleIndex = (UInt32Value)2U }; Cell cell594 = new Cell() { CellReference = "AD30", StyleIndex = (UInt32Value)2U }; Cell cell595 = new Cell() { CellReference = "AE30", StyleIndex = (UInt32Value)2U }; Cell cell596 = new Cell() { CellReference = "AF30", StyleIndex = (UInt32Value)2U }; Cell cell597 = new Cell() { CellReference = "AG30", StyleIndex = (UInt32Value)2U }; Cell cell598 = new Cell() { CellReference = "AH30", StyleIndex = (UInt32Value)2U }; Cell cell599 = new Cell() { CellReference = "AI30", StyleIndex = (UInt32Value)2U }; Cell cell600 = new Cell() { CellReference = "AJ30", StyleIndex = (UInt32Value)2U }; Cell cell601 = new Cell() { CellReference = "AK30", StyleIndex = (UInt32Value)2U }; Cell cell602 = new Cell() { CellReference = "AL30", StyleIndex = (UInt32Value)47U }; Cell cell603 = new Cell() { CellReference = "AM30", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString }; CellValue cellValue153 = new CellValue(); cellValue153.Text = "34"; cell603.Append(cellValue153); Cell cell604 = new Cell() { CellReference = "AN30", StyleIndex = (UInt32Value)85U, DataType = CellValues.Error }; CellFormula cellFormula47 = new CellFormula(); cellFormula47.Text = "+AN26/AN29"; CellValue cellValue154 = new CellValue(); cellValue154.Text = "#DIV/0!"; cell604.Append(cellFormula47); cell604.Append(cellValue154); Cell cell605 = new Cell() { CellReference = "AO30", StyleIndex = (UInt32Value)2U }; Cell cell606 = new Cell() { CellReference = "AP30", StyleIndex = (UInt32Value)2U }; Cell cell607 = new Cell() { CellReference = "AQ30", StyleIndex = (UInt32Value)2U }; Cell cell608 = new Cell() { CellReference = "AR30", StyleIndex = (UInt32Value)2U }; row27.Append(cell566); row27.Append(cell567); row27.Append(cell568); row27.Append(cell569); row27.Append(cell570); row27.Append(cell571); row27.Append(cell572); row27.Append(cell573); row27.Append(cell574); row27.Append(cell575); row27.Append(cell576); row27.Append(cell577); row27.Append(cell578); row27.Append(cell579); row27.Append(cell580); row27.Append(cell581); row27.Append(cell582); row27.Append(cell583); row27.Append(cell584); row27.Append(cell585); row27.Append(cell586); row27.Append(cell587); row27.Append(cell588); row27.Append(cell589); row27.Append(cell590); row27.Append(cell591); row27.Append(cell592); row27.Append(cell593); row27.Append(cell594); row27.Append(cell595); row27.Append(cell596); row27.Append(cell597); row27.Append(cell598); row27.Append(cell599); row27.Append(cell600); row27.Append(cell601); row27.Append(cell602); row27.Append(cell603); row27.Append(cell604); row27.Append(cell605); row27.Append(cell606); row27.Append(cell607); row27.Append(cell608); Row row28 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true }; Cell cell609 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)4U }; Cell cell610 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString }; CellValue cellValue155 = new CellValue(); cellValue155.Text = "35"; cell610.Append(cellValue155); Cell cell611 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)51U }; Cell cell612 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)2U }; Cell cell613 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)2U }; Cell cell614 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)2U }; Cell cell615 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)2U }; Cell cell616 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)2U }; Cell cell617 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)2U }; Cell cell618 = new Cell() { CellReference = "K31", StyleIndex = (UInt32Value)2U }; Cell cell619 = new Cell() { CellReference = "L31", StyleIndex = (UInt32Value)2U }; Cell cell620 = new Cell() { CellReference = "M31", StyleIndex = (UInt32Value)2U }; Cell cell621 = new Cell() { CellReference = "N31", StyleIndex = (UInt32Value)2U }; Cell cell622 = new Cell() { CellReference = "O31", StyleIndex = (UInt32Value)2U }; Cell cell623 = new Cell() { CellReference = "P31", StyleIndex = (UInt32Value)2U }; Cell cell624 = new Cell() { CellReference = "Q31", StyleIndex = (UInt32Value)2U }; Cell cell625 = new Cell() { CellReference = "R31", StyleIndex = (UInt32Value)2U }; Cell cell626 = new Cell() { CellReference = "S31", StyleIndex = (UInt32Value)2U }; Cell cell627 = new Cell() { CellReference = "T31", StyleIndex = (UInt32Value)2U }; Cell cell628 = new Cell() { CellReference = "U31", StyleIndex = (UInt32Value)2U }; Cell cell629 = new Cell() { CellReference = "V31", StyleIndex = (UInt32Value)2U }; Cell cell630 = new Cell() { CellReference = "W31", StyleIndex = (UInt32Value)2U }; Cell cell631 = new Cell() { CellReference = "X31", StyleIndex = (UInt32Value)2U }; Cell cell632 = new Cell() { CellReference = "Y31", StyleIndex = (UInt32Value)2U }; Cell cell633 = new Cell() { CellReference = "Z31", StyleIndex = (UInt32Value)2U }; Cell cell634 = new Cell() { CellReference = "AA31", StyleIndex = (UInt32Value)2U }; Cell cell635 = new Cell() { CellReference = "AB31", StyleIndex = (UInt32Value)2U }; Cell cell636 = new Cell() { CellReference = "AC31", StyleIndex = (UInt32Value)2U }; Cell cell637 = new Cell() { CellReference = "AD31", StyleIndex = (UInt32Value)2U }; Cell cell638 = new Cell() { CellReference = "AE31", StyleIndex = (UInt32Value)2U }; Cell cell639 = new Cell() { CellReference = "AF31", StyleIndex = (UInt32Value)2U }; Cell cell640 = new Cell() { CellReference = "AG31", StyleIndex = (UInt32Value)2U }; Cell cell641 = new Cell() { CellReference = "AH31", StyleIndex = (UInt32Value)2U }; Cell cell642 = new Cell() { CellReference = "AI31", StyleIndex = (UInt32Value)2U }; Cell cell643 = new Cell() { CellReference = "AJ31", StyleIndex = (UInt32Value)2U }; Cell cell644 = new Cell() { CellReference = "AK31", StyleIndex = (UInt32Value)2U }; Cell cell645 = new Cell() { CellReference = "AL31", StyleIndex = (UInt32Value)47U }; Cell cell646 = new Cell() { CellReference = "AM31", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString }; CellValue cellValue156 = new CellValue(); cellValue156.Text = "36"; cell646.Append(cellValue156); Cell cell647 = new Cell() { CellReference = "AN31", StyleIndex = (UInt32Value)86U, DataType = CellValues.Error }; CellFormula cellFormula48 = new CellFormula(); cellFormula48.Text = "+AN30*AN29"; CellValue cellValue157 = new CellValue(); cellValue157.Text = "#DIV/0!"; cell647.Append(cellFormula48); cell647.Append(cellValue157); Cell cell648 = new Cell() { CellReference = "AO31", StyleIndex = (UInt32Value)2U }; Cell cell649 = new Cell() { CellReference = "AP31", StyleIndex = (UInt32Value)2U }; Cell cell650 = new Cell() { CellReference = "AQ31", StyleIndex = (UInt32Value)2U }; Cell cell651 = new Cell() { CellReference = "AR31", StyleIndex = (UInt32Value)2U }; row28.Append(cell609); row28.Append(cell610); row28.Append(cell611); row28.Append(cell612); row28.Append(cell613); row28.Append(cell614); row28.Append(cell615); row28.Append(cell616); row28.Append(cell617); row28.Append(cell618); row28.Append(cell619); row28.Append(cell620); row28.Append(cell621); row28.Append(cell622); row28.Append(cell623); row28.Append(cell624); row28.Append(cell625); row28.Append(cell626); row28.Append(cell627); row28.Append(cell628); row28.Append(cell629); row28.Append(cell630); row28.Append(cell631); row28.Append(cell632); row28.Append(cell633); row28.Append(cell634); row28.Append(cell635); row28.Append(cell636); row28.Append(cell637); row28.Append(cell638); row28.Append(cell639); row28.Append(cell640); row28.Append(cell641); row28.Append(cell642); row28.Append(cell643); row28.Append(cell644); row28.Append(cell645); row28.Append(cell646); row28.Append(cell647); row28.Append(cell648); row28.Append(cell649); row28.Append(cell650); row28.Append(cell651); Row row29 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true }; Cell cell652 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString }; CellValue cellValue158 = new CellValue(); cellValue158.Text = "37"; cell652.Append(cellValue158); Cell cell653 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)51U }; Cell cell654 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)2U }; Cell cell655 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)2U }; Cell cell656 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)2U }; Cell cell657 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)2U }; Cell cell658 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)2U }; Cell cell659 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)2U }; Cell cell660 = new Cell() { CellReference = "K32", StyleIndex = (UInt32Value)2U }; Cell cell661 = new Cell() { CellReference = "L32", StyleIndex = (UInt32Value)2U }; Cell cell662 = new Cell() { CellReference = "M32", StyleIndex = (UInt32Value)2U }; Cell cell663 = new Cell() { CellReference = "N32", StyleIndex = (UInt32Value)2U }; Cell cell664 = new Cell() { CellReference = "O32", StyleIndex = (UInt32Value)2U }; Cell cell665 = new Cell() { CellReference = "P32", StyleIndex = (UInt32Value)2U }; Cell cell666 = new Cell() { CellReference = "Q32", StyleIndex = (UInt32Value)2U }; Cell cell667 = new Cell() { CellReference = "R32", StyleIndex = (UInt32Value)2U }; Cell cell668 = new Cell() { CellReference = "S32", StyleIndex = (UInt32Value)2U }; Cell cell669 = new Cell() { CellReference = "T32", StyleIndex = (UInt32Value)2U }; Cell cell670 = new Cell() { CellReference = "U32", StyleIndex = (UInt32Value)2U }; Cell cell671 = new Cell() { CellReference = "V32", StyleIndex = (UInt32Value)2U }; Cell cell672 = new Cell() { CellReference = "W32", StyleIndex = (UInt32Value)2U }; Cell cell673 = new Cell() { CellReference = "X32", StyleIndex = (UInt32Value)2U }; Cell cell674 = new Cell() { CellReference = "Y32", StyleIndex = (UInt32Value)2U }; Cell cell675 = new Cell() { CellReference = "Z32", StyleIndex = (UInt32Value)2U }; Cell cell676 = new Cell() { CellReference = "AA32", StyleIndex = (UInt32Value)2U }; Cell cell677 = new Cell() { CellReference = "AB32", StyleIndex = (UInt32Value)2U }; Cell cell678 = new Cell() { CellReference = "AC32", StyleIndex = (UInt32Value)2U }; Cell cell679 = new Cell() { CellReference = "AD32", StyleIndex = (UInt32Value)2U }; Cell cell680 = new Cell() { CellReference = "AE32", StyleIndex = (UInt32Value)2U }; Cell cell681 = new Cell() { CellReference = "AF32", StyleIndex = (UInt32Value)2U }; Cell cell682 = new Cell() { CellReference = "AG32", StyleIndex = (UInt32Value)2U }; Cell cell683 = new Cell() { CellReference = "AH32", StyleIndex = (UInt32Value)2U }; Cell cell684 = new Cell() { CellReference = "AI32", StyleIndex = (UInt32Value)2U }; Cell cell685 = new Cell() { CellReference = "AJ32", StyleIndex = (UInt32Value)2U }; Cell cell686 = new Cell() { CellReference = "AK32", StyleIndex = (UInt32Value)2U }; Cell cell687 = new Cell() { CellReference = "AL32", StyleIndex = (UInt32Value)47U }; Cell cell688 = new Cell() { CellReference = "AM32", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString }; CellValue cellValue159 = new CellValue(); cellValue159.Text = "38"; cell688.Append(cellValue159); Cell cell689 = new Cell() { CellReference = "AN32", StyleIndex = (UInt32Value)87U, DataType = CellValues.Error }; CellFormula cellFormula49 = new CellFormula(); cellFormula49.Text = "+AN31*0.21"; CellValue cellValue160 = new CellValue(); cellValue160.Text = "#DIV/0!"; cell689.Append(cellFormula49); cell689.Append(cellValue160); Cell cell690 = new Cell() { CellReference = "AO32", StyleIndex = (UInt32Value)2U }; Cell cell691 = new Cell() { CellReference = "AP32", StyleIndex = (UInt32Value)2U }; Cell cell692 = new Cell() { CellReference = "AQ32", StyleIndex = (UInt32Value)2U }; Cell cell693 = new Cell() { CellReference = "AR32", StyleIndex = (UInt32Value)2U }; row29.Append(cell652); row29.Append(cell653); row29.Append(cell654); row29.Append(cell655); row29.Append(cell656); row29.Append(cell657); row29.Append(cell658); row29.Append(cell659); row29.Append(cell660); row29.Append(cell661); row29.Append(cell662); row29.Append(cell663); row29.Append(cell664); row29.Append(cell665); row29.Append(cell666); row29.Append(cell667); row29.Append(cell668); row29.Append(cell669); row29.Append(cell670); row29.Append(cell671); row29.Append(cell672); row29.Append(cell673); row29.Append(cell674); row29.Append(cell675); row29.Append(cell676); row29.Append(cell677); row29.Append(cell678); row29.Append(cell679); row29.Append(cell680); row29.Append(cell681); row29.Append(cell682); row29.Append(cell683); row29.Append(cell684); row29.Append(cell685); row29.Append(cell686); row29.Append(cell687); row29.Append(cell688); row29.Append(cell689); row29.Append(cell690); row29.Append(cell691); row29.Append(cell692); row29.Append(cell693); Row row30 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell694 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)1U }; Cell cell695 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)1U }; Cell cell696 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)1U }; Cell cell697 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)1U }; Cell cell698 = new Cell() { CellReference = "K33", StyleIndex = (UInt32Value)1U }; Cell cell699 = new Cell() { CellReference = "L33", StyleIndex = (UInt32Value)1U }; Cell cell700 = new Cell() { CellReference = "M33", StyleIndex = (UInt32Value)1U }; Cell cell701 = new Cell() { CellReference = "N33", StyleIndex = (UInt32Value)1U }; Cell cell702 = new Cell() { CellReference = "O33", StyleIndex = (UInt32Value)1U }; Cell cell703 = new Cell() { CellReference = "P33", StyleIndex = (UInt32Value)1U }; Cell cell704 = new Cell() { CellReference = "Q33", StyleIndex = (UInt32Value)1U }; Cell cell705 = new Cell() { CellReference = "R33", StyleIndex = (UInt32Value)1U }; Cell cell706 = new Cell() { CellReference = "S33", StyleIndex = (UInt32Value)1U }; Cell cell707 = new Cell() { CellReference = "T33", StyleIndex = (UInt32Value)1U }; Cell cell708 = new Cell() { CellReference = "U33", StyleIndex = (UInt32Value)1U }; Cell cell709 = new Cell() { CellReference = "V33", StyleIndex = (UInt32Value)1U }; Cell cell710 = new Cell() { CellReference = "W33", StyleIndex = (UInt32Value)1U }; Cell cell711 = new Cell() { CellReference = "X33", StyleIndex = (UInt32Value)1U }; Cell cell712 = new Cell() { CellReference = "Y33", StyleIndex = (UInt32Value)1U }; Cell cell713 = new Cell() { CellReference = "Z33", StyleIndex = (UInt32Value)1U }; Cell cell714 = new Cell() { CellReference = "AA33", StyleIndex = (UInt32Value)1U }; Cell cell715 = new Cell() { CellReference = "AB33", StyleIndex = (UInt32Value)1U }; Cell cell716 = new Cell() { CellReference = "AC33", StyleIndex = (UInt32Value)1U }; Cell cell717 = new Cell() { CellReference = "AD33", StyleIndex = (UInt32Value)1U }; Cell cell718 = new Cell() { CellReference = "AE33", StyleIndex = (UInt32Value)1U }; Cell cell719 = new Cell() { CellReference = "AF33", StyleIndex = (UInt32Value)1U }; Cell cell720 = new Cell() { CellReference = "AG33", StyleIndex = (UInt32Value)1U }; Cell cell721 = new Cell() { CellReference = "AH33", StyleIndex = (UInt32Value)1U }; Cell cell722 = new Cell() { CellReference = "AI33", StyleIndex = (UInt32Value)1U }; Cell cell723 = new Cell() { CellReference = "AJ33", StyleIndex = (UInt32Value)1U }; Cell cell724 = new Cell() { CellReference = "AK33", StyleIndex = (UInt32Value)1U }; Cell cell725 = new Cell() { CellReference = "AL33", StyleIndex = (UInt32Value)52U }; Cell cell726 = new Cell() { CellReference = "AM33", StyleIndex = (UInt32Value)53U, DataType = CellValues.SharedString }; CellValue cellValue161 = new CellValue(); cellValue161.Text = "39"; cell726.Append(cellValue161); Cell cell727 = new Cell() { CellReference = "AN33", StyleIndex = (UInt32Value)88U, DataType = CellValues.Error }; CellFormula cellFormula50 = new CellFormula(); cellFormula50.Text = "SUM(AN31:AN32)"; CellValue cellValue162 = new CellValue(); cellValue162.Text = "#DIV/0!"; cell727.Append(cellFormula50); cell727.Append(cellValue162); row30.Append(cell694); row30.Append(cell695); row30.Append(cell696); row30.Append(cell697); row30.Append(cell698); row30.Append(cell699); row30.Append(cell700); row30.Append(cell701); row30.Append(cell702); row30.Append(cell703); row30.Append(cell704); row30.Append(cell705); row30.Append(cell706); row30.Append(cell707); row30.Append(cell708); row30.Append(cell709); row30.Append(cell710); row30.Append(cell711); row30.Append(cell712); row30.Append(cell713); row30.Append(cell714); row30.Append(cell715); row30.Append(cell716); row30.Append(cell717); row30.Append(cell718); row30.Append(cell719); row30.Append(cell720); row30.Append(cell721); row30.Append(cell722); row30.Append(cell723); row30.Append(cell724); row30.Append(cell725); row30.Append(cell726); row30.Append(cell727); Row row31 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 51D, CustomHeight = true }; Cell cell728 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString }; CellValue cellValue163 = new CellValue(); cellValue163.Text = "40"; cell728.Append(cellValue163); Cell cell729 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString }; CellValue cellValue164 = new CellValue(); cellValue164.Text = "14"; cell729.Append(cellValue164); Cell cell730 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString }; CellValue cellValue165 = new CellValue(); cellValue165.Text = "41"; cell730.Append(cellValue165); Cell cell731 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString }; CellValue cellValue166 = new CellValue(); cellValue166.Text = "42"; cell731.Append(cellValue166); Cell cell732 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)82U, DataType = CellValues.SharedString }; CellValue cellValue167 = new CellValue(); cellValue167.Text = "43"; cell732.Append(cellValue167); Cell cell733 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)83U }; Cell cell734 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)84U }; Cell cell735 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)2U }; Cell cell736 = new Cell() { CellReference = "K34", StyleIndex = (UInt32Value)2U }; Cell cell737 = new Cell() { CellReference = "L34", StyleIndex = (UInt32Value)2U }; Cell cell738 = new Cell() { CellReference = "M34", StyleIndex = (UInt32Value)2U }; Cell cell739 = new Cell() { CellReference = "N34", StyleIndex = (UInt32Value)2U }; Cell cell740 = new Cell() { CellReference = "O34", StyleIndex = (UInt32Value)2U }; Cell cell741 = new Cell() { CellReference = "P34", StyleIndex = (UInt32Value)2U }; Cell cell742 = new Cell() { CellReference = "Q34", StyleIndex = (UInt32Value)2U }; Cell cell743 = new Cell() { CellReference = "R34", StyleIndex = (UInt32Value)2U }; Cell cell744 = new Cell() { CellReference = "S34", StyleIndex = (UInt32Value)2U }; Cell cell745 = new Cell() { CellReference = "T34", StyleIndex = (UInt32Value)2U }; Cell cell746 = new Cell() { CellReference = "U34", StyleIndex = (UInt32Value)2U }; Cell cell747 = new Cell() { CellReference = "V34", StyleIndex = (UInt32Value)2U }; Cell cell748 = new Cell() { CellReference = "W34", StyleIndex = (UInt32Value)2U }; Cell cell749 = new Cell() { CellReference = "X34", StyleIndex = (UInt32Value)2U }; Cell cell750 = new Cell() { CellReference = "Y34", StyleIndex = (UInt32Value)2U }; Cell cell751 = new Cell() { CellReference = "Z34", StyleIndex = (UInt32Value)2U }; Cell cell752 = new Cell() { CellReference = "AA34", StyleIndex = (UInt32Value)2U }; Cell cell753 = new Cell() { CellReference = "AB34", StyleIndex = (UInt32Value)2U }; Cell cell754 = new Cell() { CellReference = "AC34", StyleIndex = (UInt32Value)2U }; Cell cell755 = new Cell() { CellReference = "AD34", StyleIndex = (UInt32Value)2U }; Cell cell756 = new Cell() { CellReference = "AE34", StyleIndex = (UInt32Value)2U }; Cell cell757 = new Cell() { CellReference = "AF34", StyleIndex = (UInt32Value)2U }; Cell cell758 = new Cell() { CellReference = "AG34", StyleIndex = (UInt32Value)2U }; Cell cell759 = new Cell() { CellReference = "AH34", StyleIndex = (UInt32Value)2U }; Cell cell760 = new Cell() { CellReference = "AI34", StyleIndex = (UInt32Value)2U }; Cell cell761 = new Cell() { CellReference = "AJ34", StyleIndex = (UInt32Value)2U }; Cell cell762 = new Cell() { CellReference = "AK34", StyleIndex = (UInt32Value)2U }; Cell cell763 = new Cell() { CellReference = "AL34", StyleIndex = (UInt32Value)2U }; Cell cell764 = new Cell() { CellReference = "AM34", StyleIndex = (UInt32Value)2U }; Cell cell765 = new Cell() { CellReference = "AN34", StyleIndex = (UInt32Value)2U }; Cell cell766 = new Cell() { CellReference = "AO34", StyleIndex = (UInt32Value)2U }; Cell cell767 = new Cell() { CellReference = "AP34", StyleIndex = (UInt32Value)2U }; Cell cell768 = new Cell() { CellReference = "AQ34", StyleIndex = (UInt32Value)2U }; Cell cell769 = new Cell() { CellReference = "AR34", StyleIndex = (UInt32Value)2U }; row31.Append(cell728); row31.Append(cell729); row31.Append(cell730); row31.Append(cell731); row31.Append(cell732); row31.Append(cell733); row31.Append(cell734); row31.Append(cell735); row31.Append(cell736); row31.Append(cell737); row31.Append(cell738); row31.Append(cell739); row31.Append(cell740); row31.Append(cell741); row31.Append(cell742); row31.Append(cell743); row31.Append(cell744); row31.Append(cell745); row31.Append(cell746); row31.Append(cell747); row31.Append(cell748); row31.Append(cell749); row31.Append(cell750); row31.Append(cell751); row31.Append(cell752); row31.Append(cell753); row31.Append(cell754); row31.Append(cell755); row31.Append(cell756); row31.Append(cell757); row31.Append(cell758); row31.Append(cell759); row31.Append(cell760); row31.Append(cell761); row31.Append(cell762); row31.Append(cell763); row31.Append(cell764); row31.Append(cell765); row31.Append(cell766); row31.Append(cell767); row31.Append(cell768); row31.Append(cell769); Row row32 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell770 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)4U }; Cell cell771 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)55U }; Cell cell772 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)56U }; Cell cell773 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)56U }; Cell cell774 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)56U }; Cell cell775 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)73U }; CellFormula cellFormula51 = new CellFormula(); cellFormula51.Text = "+AL21"; CellValue cellValue168 = new CellValue(); cellValue168.Text = "0"; cell775.Append(cellFormula51); cell775.Append(cellValue168); Cell cell776 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)74U }; Cell cell777 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)75U }; Cell cell778 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)2U }; Cell cell779 = new Cell() { CellReference = "K35", StyleIndex = (UInt32Value)2U }; Cell cell780 = new Cell() { CellReference = "L35", StyleIndex = (UInt32Value)2U }; Cell cell781 = new Cell() { CellReference = "M35", StyleIndex = (UInt32Value)2U }; Cell cell782 = new Cell() { CellReference = "N35", StyleIndex = (UInt32Value)2U }; Cell cell783 = new Cell() { CellReference = "O35", StyleIndex = (UInt32Value)2U }; Cell cell784 = new Cell() { CellReference = "P35", StyleIndex = (UInt32Value)2U }; Cell cell785 = new Cell() { CellReference = "Q35", StyleIndex = (UInt32Value)2U }; Cell cell786 = new Cell() { CellReference = "R35", StyleIndex = (UInt32Value)2U }; Cell cell787 = new Cell() { CellReference = "S35", StyleIndex = (UInt32Value)2U }; Cell cell788 = new Cell() { CellReference = "T35", StyleIndex = (UInt32Value)2U }; Cell cell789 = new Cell() { CellReference = "U35", StyleIndex = (UInt32Value)2U }; Cell cell790 = new Cell() { CellReference = "V35", StyleIndex = (UInt32Value)2U }; Cell cell791 = new Cell() { CellReference = "W35", StyleIndex = (UInt32Value)2U }; Cell cell792 = new Cell() { CellReference = "X35", StyleIndex = (UInt32Value)2U }; Cell cell793 = new Cell() { CellReference = "Y35", StyleIndex = (UInt32Value)2U }; Cell cell794 = new Cell() { CellReference = "Z35", StyleIndex = (UInt32Value)2U }; Cell cell795 = new Cell() { CellReference = "AA35", StyleIndex = (UInt32Value)2U }; Cell cell796 = new Cell() { CellReference = "AB35", StyleIndex = (UInt32Value)2U }; Cell cell797 = new Cell() { CellReference = "AC35", StyleIndex = (UInt32Value)2U }; Cell cell798 = new Cell() { CellReference = "AD35", StyleIndex = (UInt32Value)2U }; Cell cell799 = new Cell() { CellReference = "AE35", StyleIndex = (UInt32Value)2U }; Cell cell800 = new Cell() { CellReference = "AF35", StyleIndex = (UInt32Value)2U }; Cell cell801 = new Cell() { CellReference = "AG35", StyleIndex = (UInt32Value)2U }; Cell cell802 = new Cell() { CellReference = "AH35", StyleIndex = (UInt32Value)2U }; Cell cell803 = new Cell() { CellReference = "AI35", StyleIndex = (UInt32Value)2U }; Cell cell804 = new Cell() { CellReference = "AJ35", StyleIndex = (UInt32Value)2U }; Cell cell805 = new Cell() { CellReference = "AK35", StyleIndex = (UInt32Value)2U }; Cell cell806 = new Cell() { CellReference = "AL35", StyleIndex = (UInt32Value)2U }; Cell cell807 = new Cell() { CellReference = "AM35", StyleIndex = (UInt32Value)2U }; Cell cell808 = new Cell() { CellReference = "AN35", StyleIndex = (UInt32Value)2U }; Cell cell809 = new Cell() { CellReference = "AO35", StyleIndex = (UInt32Value)2U }; Cell cell810 = new Cell() { CellReference = "AP35", StyleIndex = (UInt32Value)2U }; Cell cell811 = new Cell() { CellReference = "AQ35", StyleIndex = (UInt32Value)2U }; Cell cell812 = new Cell() { CellReference = "AR35", StyleIndex = (UInt32Value)2U }; row32.Append(cell770); row32.Append(cell771); row32.Append(cell772); row32.Append(cell773); row32.Append(cell774); row32.Append(cell775); row32.Append(cell776); row32.Append(cell777); row32.Append(cell778); row32.Append(cell779); row32.Append(cell780); row32.Append(cell781); row32.Append(cell782); row32.Append(cell783); row32.Append(cell784); row32.Append(cell785); row32.Append(cell786); row32.Append(cell787); row32.Append(cell788); row32.Append(cell789); row32.Append(cell790); row32.Append(cell791); row32.Append(cell792); row32.Append(cell793); row32.Append(cell794); row32.Append(cell795); row32.Append(cell796); row32.Append(cell797); row32.Append(cell798); row32.Append(cell799); row32.Append(cell800); row32.Append(cell801); row32.Append(cell802); row32.Append(cell803); row32.Append(cell804); row32.Append(cell805); row32.Append(cell806); row32.Append(cell807); row32.Append(cell808); row32.Append(cell809); row32.Append(cell810); row32.Append(cell811); row32.Append(cell812); Row row33 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell813 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)4U }; Cell cell814 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)55U }; Cell cell815 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)56U }; Cell cell816 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)56U }; Cell cell817 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)56U }; Cell cell818 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)73U }; CellFormula cellFormula52 = new CellFormula(); cellFormula52.Text = "+AL22"; CellValue cellValue169 = new CellValue(); cellValue169.Text = "0"; cell818.Append(cellFormula52); cell818.Append(cellValue169); Cell cell819 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)74U }; Cell cell820 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)75U }; Cell cell821 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)2U }; Cell cell822 = new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)2U }; Cell cell823 = new Cell() { CellReference = "L36", StyleIndex = (UInt32Value)2U }; Cell cell824 = new Cell() { CellReference = "M36", StyleIndex = (UInt32Value)2U }; Cell cell825 = new Cell() { CellReference = "N36", StyleIndex = (UInt32Value)2U }; Cell cell826 = new Cell() { CellReference = "O36", StyleIndex = (UInt32Value)2U }; Cell cell827 = new Cell() { CellReference = "P36", StyleIndex = (UInt32Value)2U }; Cell cell828 = new Cell() { CellReference = "Q36", StyleIndex = (UInt32Value)2U }; Cell cell829 = new Cell() { CellReference = "R36", StyleIndex = (UInt32Value)2U }; Cell cell830 = new Cell() { CellReference = "S36", StyleIndex = (UInt32Value)2U }; Cell cell831 = new Cell() { CellReference = "T36", StyleIndex = (UInt32Value)2U }; Cell cell832 = new Cell() { CellReference = "U36", StyleIndex = (UInt32Value)2U }; Cell cell833 = new Cell() { CellReference = "V36", StyleIndex = (UInt32Value)2U }; Cell cell834 = new Cell() { CellReference = "W36", StyleIndex = (UInt32Value)2U }; Cell cell835 = new Cell() { CellReference = "X36", StyleIndex = (UInt32Value)2U }; Cell cell836 = new Cell() { CellReference = "Y36", StyleIndex = (UInt32Value)2U }; Cell cell837 = new Cell() { CellReference = "Z36", StyleIndex = (UInt32Value)2U }; Cell cell838 = new Cell() { CellReference = "AA36", StyleIndex = (UInt32Value)2U }; Cell cell839 = new Cell() { CellReference = "AB36", StyleIndex = (UInt32Value)2U }; Cell cell840 = new Cell() { CellReference = "AC36", StyleIndex = (UInt32Value)2U }; Cell cell841 = new Cell() { CellReference = "AD36", StyleIndex = (UInt32Value)2U }; Cell cell842 = new Cell() { CellReference = "AE36", StyleIndex = (UInt32Value)2U }; Cell cell843 = new Cell() { CellReference = "AF36", StyleIndex = (UInt32Value)2U }; Cell cell844 = new Cell() { CellReference = "AG36", StyleIndex = (UInt32Value)2U }; Cell cell845 = new Cell() { CellReference = "AH36", StyleIndex = (UInt32Value)2U }; Cell cell846 = new Cell() { CellReference = "AI36", StyleIndex = (UInt32Value)2U }; Cell cell847 = new Cell() { CellReference = "AJ36", StyleIndex = (UInt32Value)2U }; Cell cell848 = new Cell() { CellReference = "AK36", StyleIndex = (UInt32Value)2U }; Cell cell849 = new Cell() { CellReference = "AL36", StyleIndex = (UInt32Value)2U }; Cell cell850 = new Cell() { CellReference = "AM36", StyleIndex = (UInt32Value)2U }; Cell cell851 = new Cell() { CellReference = "AN36", StyleIndex = (UInt32Value)2U }; Cell cell852 = new Cell() { CellReference = "AO36", StyleIndex = (UInt32Value)2U }; Cell cell853 = new Cell() { CellReference = "AP36", StyleIndex = (UInt32Value)2U }; Cell cell854 = new Cell() { CellReference = "AQ36", StyleIndex = (UInt32Value)2U }; Cell cell855 = new Cell() { CellReference = "AR36", StyleIndex = (UInt32Value)2U }; row33.Append(cell813); row33.Append(cell814); row33.Append(cell815); row33.Append(cell816); row33.Append(cell817); row33.Append(cell818); row33.Append(cell819); row33.Append(cell820); row33.Append(cell821); row33.Append(cell822); row33.Append(cell823); row33.Append(cell824); row33.Append(cell825); row33.Append(cell826); row33.Append(cell827); row33.Append(cell828); row33.Append(cell829); row33.Append(cell830); row33.Append(cell831); row33.Append(cell832); row33.Append(cell833); row33.Append(cell834); row33.Append(cell835); row33.Append(cell836); row33.Append(cell837); row33.Append(cell838); row33.Append(cell839); row33.Append(cell840); row33.Append(cell841); row33.Append(cell842); row33.Append(cell843); row33.Append(cell844); row33.Append(cell845); row33.Append(cell846); row33.Append(cell847); row33.Append(cell848); row33.Append(cell849); row33.Append(cell850); row33.Append(cell851); row33.Append(cell852); row33.Append(cell853); row33.Append(cell854); row33.Append(cell855); Row row34 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell856 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)4U }; Cell cell857 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)55U }; Cell cell858 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)56U }; Cell cell859 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)56U }; Cell cell860 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)56U }; Cell cell861 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)73U }; CellFormula cellFormula53 = new CellFormula(); cellFormula53.Text = "+AL23"; CellValue cellValue170 = new CellValue(); cellValue170.Text = "0"; cell861.Append(cellFormula53); cell861.Append(cellValue170); Cell cell862 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)74U }; Cell cell863 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)75U }; Cell cell864 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)2U }; Cell cell865 = new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)2U }; Cell cell866 = new Cell() { CellReference = "L37", StyleIndex = (UInt32Value)2U }; Cell cell867 = new Cell() { CellReference = "M37", StyleIndex = (UInt32Value)2U }; Cell cell868 = new Cell() { CellReference = "N37", StyleIndex = (UInt32Value)2U }; Cell cell869 = new Cell() { CellReference = "O37", StyleIndex = (UInt32Value)2U }; Cell cell870 = new Cell() { CellReference = "P37", StyleIndex = (UInt32Value)2U }; Cell cell871 = new Cell() { CellReference = "Q37", StyleIndex = (UInt32Value)2U }; Cell cell872 = new Cell() { CellReference = "R37", StyleIndex = (UInt32Value)2U }; Cell cell873 = new Cell() { CellReference = "S37", StyleIndex = (UInt32Value)2U }; Cell cell874 = new Cell() { CellReference = "T37", StyleIndex = (UInt32Value)2U }; Cell cell875 = new Cell() { CellReference = "U37", StyleIndex = (UInt32Value)2U }; Cell cell876 = new Cell() { CellReference = "V37", StyleIndex = (UInt32Value)2U }; Cell cell877 = new Cell() { CellReference = "W37", StyleIndex = (UInt32Value)2U }; Cell cell878 = new Cell() { CellReference = "X37", StyleIndex = (UInt32Value)2U }; Cell cell879 = new Cell() { CellReference = "Y37", StyleIndex = (UInt32Value)2U }; Cell cell880 = new Cell() { CellReference = "Z37", StyleIndex = (UInt32Value)2U }; Cell cell881 = new Cell() { CellReference = "AA37", StyleIndex = (UInt32Value)2U }; Cell cell882 = new Cell() { CellReference = "AB37", StyleIndex = (UInt32Value)2U }; Cell cell883 = new Cell() { CellReference = "AC37", StyleIndex = (UInt32Value)2U }; Cell cell884 = new Cell() { CellReference = "AD37", StyleIndex = (UInt32Value)2U }; Cell cell885 = new Cell() { CellReference = "AE37", StyleIndex = (UInt32Value)2U }; Cell cell886 = new Cell() { CellReference = "AF37", StyleIndex = (UInt32Value)2U }; Cell cell887 = new Cell() { CellReference = "AG37", StyleIndex = (UInt32Value)2U }; Cell cell888 = new Cell() { CellReference = "AH37", StyleIndex = (UInt32Value)2U }; Cell cell889 = new Cell() { CellReference = "AI37", StyleIndex = (UInt32Value)2U }; Cell cell890 = new Cell() { CellReference = "AJ37", StyleIndex = (UInt32Value)2U }; Cell cell891 = new Cell() { CellReference = "AK37", StyleIndex = (UInt32Value)2U }; Cell cell892 = new Cell() { CellReference = "AL37", StyleIndex = (UInt32Value)2U }; Cell cell893 = new Cell() { CellReference = "AM37", StyleIndex = (UInt32Value)2U }; Cell cell894 = new Cell() { CellReference = "AN37", StyleIndex = (UInt32Value)2U }; Cell cell895 = new Cell() { CellReference = "AO37", StyleIndex = (UInt32Value)2U }; Cell cell896 = new Cell() { CellReference = "AP37", StyleIndex = (UInt32Value)2U }; Cell cell897 = new Cell() { CellReference = "AQ37", StyleIndex = (UInt32Value)2U }; Cell cell898 = new Cell() { CellReference = "AR37", StyleIndex = (UInt32Value)2U }; row34.Append(cell856); row34.Append(cell857); row34.Append(cell858); row34.Append(cell859); row34.Append(cell860); row34.Append(cell861); row34.Append(cell862); row34.Append(cell863); row34.Append(cell864); row34.Append(cell865); row34.Append(cell866); row34.Append(cell867); row34.Append(cell868); row34.Append(cell869); row34.Append(cell870); row34.Append(cell871); row34.Append(cell872); row34.Append(cell873); row34.Append(cell874); row34.Append(cell875); row34.Append(cell876); row34.Append(cell877); row34.Append(cell878); row34.Append(cell879); row34.Append(cell880); row34.Append(cell881); row34.Append(cell882); row34.Append(cell883); row34.Append(cell884); row34.Append(cell885); row34.Append(cell886); row34.Append(cell887); row34.Append(cell888); row34.Append(cell889); row34.Append(cell890); row34.Append(cell891); row34.Append(cell892); row34.Append(cell893); row34.Append(cell894); row34.Append(cell895); row34.Append(cell896); row34.Append(cell897); row34.Append(cell898); Row row35 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell899 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)4U }; Cell cell900 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)57U }; Cell cell901 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)58U }; Cell cell902 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)58U }; Cell cell903 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)58U }; Cell cell904 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)73U }; CellFormula cellFormula54 = new CellFormula(); cellFormula54.Text = "+AL24"; CellValue cellValue171 = new CellValue(); cellValue171.Text = "0"; cell904.Append(cellFormula54); cell904.Append(cellValue171); Cell cell905 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)74U }; Cell cell906 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)75U }; Cell cell907 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)2U }; Cell cell908 = new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)2U }; Cell cell909 = new Cell() { CellReference = "L38", StyleIndex = (UInt32Value)2U }; Cell cell910 = new Cell() { CellReference = "M38", StyleIndex = (UInt32Value)2U }; Cell cell911 = new Cell() { CellReference = "N38", StyleIndex = (UInt32Value)2U }; Cell cell912 = new Cell() { CellReference = "O38", StyleIndex = (UInt32Value)2U }; Cell cell913 = new Cell() { CellReference = "P38", StyleIndex = (UInt32Value)2U }; Cell cell914 = new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)2U }; Cell cell915 = new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)2U }; Cell cell916 = new Cell() { CellReference = "S38", StyleIndex = (UInt32Value)2U }; Cell cell917 = new Cell() { CellReference = "T38", StyleIndex = (UInt32Value)2U }; Cell cell918 = new Cell() { CellReference = "U38", StyleIndex = (UInt32Value)2U }; Cell cell919 = new Cell() { CellReference = "V38", StyleIndex = (UInt32Value)2U }; Cell cell920 = new Cell() { CellReference = "W38", StyleIndex = (UInt32Value)2U }; Cell cell921 = new Cell() { CellReference = "X38", StyleIndex = (UInt32Value)2U }; Cell cell922 = new Cell() { CellReference = "Y38", StyleIndex = (UInt32Value)2U }; Cell cell923 = new Cell() { CellReference = "Z38", StyleIndex = (UInt32Value)2U }; Cell cell924 = new Cell() { CellReference = "AA38", StyleIndex = (UInt32Value)2U }; Cell cell925 = new Cell() { CellReference = "AB38", StyleIndex = (UInt32Value)2U }; Cell cell926 = new Cell() { CellReference = "AC38", StyleIndex = (UInt32Value)2U }; Cell cell927 = new Cell() { CellReference = "AD38", StyleIndex = (UInt32Value)2U }; Cell cell928 = new Cell() { CellReference = "AE38", StyleIndex = (UInt32Value)2U }; Cell cell929 = new Cell() { CellReference = "AF38", StyleIndex = (UInt32Value)2U }; Cell cell930 = new Cell() { CellReference = "AG38", StyleIndex = (UInt32Value)2U }; Cell cell931 = new Cell() { CellReference = "AH38", StyleIndex = (UInt32Value)2U }; Cell cell932 = new Cell() { CellReference = "AI38", StyleIndex = (UInt32Value)2U }; Cell cell933 = new Cell() { CellReference = "AJ38", StyleIndex = (UInt32Value)2U }; Cell cell934 = new Cell() { CellReference = "AK38", StyleIndex = (UInt32Value)2U }; Cell cell935 = new Cell() { CellReference = "AL38", StyleIndex = (UInt32Value)2U }; Cell cell936 = new Cell() { CellReference = "AM38", StyleIndex = (UInt32Value)2U }; Cell cell937 = new Cell() { CellReference = "AN38", StyleIndex = (UInt32Value)2U }; Cell cell938 = new Cell() { CellReference = "AO38", StyleIndex = (UInt32Value)2U }; Cell cell939 = new Cell() { CellReference = "AP38", StyleIndex = (UInt32Value)2U }; Cell cell940 = new Cell() { CellReference = "AQ38", StyleIndex = (UInt32Value)2U }; Cell cell941 = new Cell() { CellReference = "AR38", StyleIndex = (UInt32Value)2U }; row35.Append(cell899); row35.Append(cell900); row35.Append(cell901); row35.Append(cell902); row35.Append(cell903); row35.Append(cell904); row35.Append(cell905); row35.Append(cell906); row35.Append(cell907); row35.Append(cell908); row35.Append(cell909); row35.Append(cell910); row35.Append(cell911); row35.Append(cell912); row35.Append(cell913); row35.Append(cell914); row35.Append(cell915); row35.Append(cell916); row35.Append(cell917); row35.Append(cell918); row35.Append(cell919); row35.Append(cell920); row35.Append(cell921); row35.Append(cell922); row35.Append(cell923); row35.Append(cell924); row35.Append(cell925); row35.Append(cell926); row35.Append(cell927); row35.Append(cell928); row35.Append(cell929); row35.Append(cell930); row35.Append(cell931); row35.Append(cell932); row35.Append(cell933); row35.Append(cell934); row35.Append(cell935); row35.Append(cell936); row35.Append(cell937); row35.Append(cell938); row35.Append(cell939); row35.Append(cell940); row35.Append(cell941); Row row36 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true }; Cell cell942 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)4U }; Cell cell943 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)57U }; Cell cell944 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)58U }; Cell cell945 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)58U }; Cell cell946 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)58U }; Cell cell947 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)73U }; CellFormula cellFormula55 = new CellFormula(); cellFormula55.Text = "+AL25"; CellValue cellValue172 = new CellValue(); cellValue172.Text = "0"; cell947.Append(cellFormula55); cell947.Append(cellValue172); Cell cell948 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)74U }; Cell cell949 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)75U }; Cell cell950 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)2U }; Cell cell951 = new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)2U }; Cell cell952 = new Cell() { CellReference = "L39", StyleIndex = (UInt32Value)2U }; Cell cell953 = new Cell() { CellReference = "M39", StyleIndex = (UInt32Value)2U }; Cell cell954 = new Cell() { CellReference = "N39", StyleIndex = (UInt32Value)2U }; Cell cell955 = new Cell() { CellReference = "O39", StyleIndex = (UInt32Value)2U }; Cell cell956 = new Cell() { CellReference = "P39", StyleIndex = (UInt32Value)2U }; Cell cell957 = new Cell() { CellReference = "Q39", StyleIndex = (UInt32Value)2U }; Cell cell958 = new Cell() { CellReference = "R39", StyleIndex = (UInt32Value)2U }; Cell cell959 = new Cell() { CellReference = "S39", StyleIndex = (UInt32Value)2U }; Cell cell960 = new Cell() { CellReference = "T39", StyleIndex = (UInt32Value)2U }; Cell cell961 = new Cell() { CellReference = "U39", StyleIndex = (UInt32Value)2U }; Cell cell962 = new Cell() { CellReference = "V39", StyleIndex = (UInt32Value)2U }; Cell cell963 = new Cell() { CellReference = "W39", StyleIndex = (UInt32Value)2U }; Cell cell964 = new Cell() { CellReference = "X39", StyleIndex = (UInt32Value)2U }; Cell cell965 = new Cell() { CellReference = "Y39", StyleIndex = (UInt32Value)2U }; Cell cell966 = new Cell() { CellReference = "Z39", StyleIndex = (UInt32Value)2U }; Cell cell967 = new Cell() { CellReference = "AA39", StyleIndex = (UInt32Value)2U }; Cell cell968 = new Cell() { CellReference = "AB39", StyleIndex = (UInt32Value)2U }; Cell cell969 = new Cell() { CellReference = "AC39", StyleIndex = (UInt32Value)2U }; Cell cell970 = new Cell() { CellReference = "AD39", StyleIndex = (UInt32Value)2U }; Cell cell971 = new Cell() { CellReference = "AE39", StyleIndex = (UInt32Value)2U }; Cell cell972 = new Cell() { CellReference = "AF39", StyleIndex = (UInt32Value)2U }; Cell cell973 = new Cell() { CellReference = "AG39", StyleIndex = (UInt32Value)2U }; Cell cell974 = new Cell() { CellReference = "AH39", StyleIndex = (UInt32Value)2U }; Cell cell975 = new Cell() { CellReference = "AI39", StyleIndex = (UInt32Value)2U }; Cell cell976 = new Cell() { CellReference = "AJ39", StyleIndex = (UInt32Value)2U }; Cell cell977 = new Cell() { CellReference = "AK39", StyleIndex = (UInt32Value)2U }; Cell cell978 = new Cell() { CellReference = "AL39", StyleIndex = (UInt32Value)2U }; Cell cell979 = new Cell() { CellReference = "AM39", StyleIndex = (UInt32Value)2U }; Cell cell980 = new Cell() { CellReference = "AN39", StyleIndex = (UInt32Value)2U }; Cell cell981 = new Cell() { CellReference = "AO39", StyleIndex = (UInt32Value)2U }; Cell cell982 = new Cell() { CellReference = "AP39", StyleIndex = (UInt32Value)2U }; Cell cell983 = new Cell() { CellReference = "AQ39", StyleIndex = (UInt32Value)2U }; Cell cell984 = new Cell() { CellReference = "AR39", StyleIndex = (UInt32Value)2U }; row36.Append(cell942); row36.Append(cell943); row36.Append(cell944); row36.Append(cell945); row36.Append(cell946); row36.Append(cell947); row36.Append(cell948); row36.Append(cell949); row36.Append(cell950); row36.Append(cell951); row36.Append(cell952); row36.Append(cell953); row36.Append(cell954); row36.Append(cell955); row36.Append(cell956); row36.Append(cell957); row36.Append(cell958); row36.Append(cell959); row36.Append(cell960); row36.Append(cell961); row36.Append(cell962); row36.Append(cell963); row36.Append(cell964); row36.Append(cell965); row36.Append(cell966); row36.Append(cell967); row36.Append(cell968); row36.Append(cell969); row36.Append(cell970); row36.Append(cell971); row36.Append(cell972); row36.Append(cell973); row36.Append(cell974); row36.Append(cell975); row36.Append(cell976); row36.Append(cell977); row36.Append(cell978); row36.Append(cell979); row36.Append(cell980); row36.Append(cell981); row36.Append(cell982); row36.Append(cell983); row36.Append(cell984); Row row37 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell985 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)59U, DataType = CellValues.SharedString }; CellValue cellValue173 = new CellValue(); cellValue173.Text = "39"; cell985.Append(cellValue173); Cell cell986 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)60U }; Cell cell987 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)60U }; Cell cell988 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)60U }; Cell cell989 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)76U }; CellFormula cellFormula56 = new CellFormula(); cellFormula56.Text = "SUM(G35:I39)"; CellValue cellValue174 = new CellValue(); cellValue174.Text = "0"; cell989.Append(cellFormula56); cell989.Append(cellValue174); Cell cell990 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)77U }; Cell cell991 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)78U }; Cell cell992 = new Cell() { CellReference = "AN40", StyleIndex = (UInt32Value)4U }; row37.Append(cell985); row37.Append(cell986); row37.Append(cell987); row37.Append(cell988); row37.Append(cell989); row37.Append(cell990); row37.Append(cell991); row37.Append(cell992); Row row38 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell993 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)44U }; Cell cell994 = new Cell() { CellReference = "AN41", StyleIndex = (UInt32Value)4U }; row38.Append(cell993); row38.Append(cell994); Row row39 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } }; Cell cell995 = new Cell() { CellReference = "AN42", StyleIndex = (UInt32Value)4U }; row39.Append(cell995); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); sheetData1.Append(row12); sheetData1.Append(row13); sheetData1.Append(row14); sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); sheetData1.Append(row22); sheetData1.Append(row23); sheetData1.Append(row24); sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); sheetData1.Append(row28); sheetData1.Append(row29); sheetData1.Append(row30); sheetData1.Append(row31); sheetData1.Append(row32); sheetData1.Append(row33); sheetData1.Append(row34); sheetData1.Append(row35); sheetData1.Append(row36); sheetData1.Append(row37); sheetData1.Append(row38); sheetData1.Append(row39); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)8U }; MergeCell mergeCell1 = new MergeCell() { Reference = "G38:I38" }; MergeCell mergeCell2 = new MergeCell() { Reference = "G39:I39" }; MergeCell mergeCell3 = new MergeCell() { Reference = "G40:I40" }; MergeCell mergeCell4 = new MergeCell() { Reference = "G18:AN18" }; MergeCell mergeCell5 = new MergeCell() { Reference = "G34:I34" }; MergeCell mergeCell6 = new MergeCell() { Reference = "G35:I35" }; MergeCell mergeCell7 = new MergeCell() { Reference = "G36:I36" }; MergeCell mergeCell8 = new MergeCell() { Reference = "G37:I37" }; mergeCells1.Append(mergeCell1); mergeCells1.Append(mergeCell2); mergeCells1.Append(mergeCell3); mergeCells1.Append(mergeCell4); mergeCells1.Append(mergeCell5); mergeCells1.Append(mergeCell6); mergeCells1.Append(mergeCell7); mergeCells1.Append(mergeCell8); PhoneticProperties phoneticProperties1 = new PhoneticProperties() { FontId = (UInt32Value)0U, Type = PhoneticValues.NoConversion }; ConditionalFormatting conditionalFormatting1 = new ConditionalFormatting() { SequenceOfReferences = new ListValue<StringValue>() { InnerText = "G21:AK25" } }; ConditionalFormattingRule conditionalFormattingRule1 = new ConditionalFormattingRule() { Type = ConditionalFormatValues.CellIs, FormatId = (UInt32Value)0U, Priority = 1, Operator = ConditionalFormattingOperatorValues.GreaterThanOrEqual }; Formula formula1 = new Formula(); formula1.Text = "1"; conditionalFormattingRule1.Append(formula1); conditionalFormatting1.Append(conditionalFormattingRule1); PageMargins pageMargins1 = new PageMargins() { Left = 0.75D, Right = 0.75D, Top = 0.91D, Bottom = 1D, Header = 0D, Footer = 0D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Scale = (UInt32Value)52U, Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)300U, VerticalDpi = (UInt32Value)300U, Id = "rId1" }; HeaderFooter headerFooter1 = new HeaderFooter() { AlignWithMargins = false }; Drawing drawing1 = new Drawing() { Id = "rId2" }; worksheet1.Append(sheetProperties1); worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(phoneticProperties1); worksheet1.Append(conditionalFormatting1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheet1.Append(headerFooter1); worksheet1.Append(drawing1); worksheetPart1.Worksheet = worksheet1; }
/// <summary> /// Generate an excel file with the information of certificates /// </summary> /// <param name="dataSource">The list of certificates</param> /// <returns>MemoryStream</returns> public static MemoryStream GenerateCertificateReport(CertificateListModel model, string logoPath) { MemoryStream ms = new MemoryStream(); using (SpreadsheetDocument document = SpreadsheetDocument.Create(ms, SpreadsheetDocumentType.Workbook)) { //create the new workbook WorkbookPart workbookPart = document.AddWorkbookPart(); Workbook workbook = new Workbook(); workbookPart.Workbook = workbook; // If we don't add a "WorkbookStylesPart", OLEDB will refuse to connect to this .xlsx file ! WorkbookStylesPart workbookStylesPart = workbookPart.AddNewPart<WorkbookStylesPart>("rIdStyles"); //get and save the stylesheet Stylesheet stylesheet = VocStyleSheet(); workbookStylesPart.Stylesheet = stylesheet; workbookStylesPart.Stylesheet.Save(); //add the new workseet WorksheetPart worksheetPart = workbookPart.AddNewPart<WorksheetPart>(); Worksheet worksheet = new Worksheet(); SheetData sheetData1 = new SheetData(); Sheets sheets = new Sheets(); //get the number of columns in the report Row rowTitle; //get the string name of the columns string[] excelColumnNamesTitle = new string[4]; for (int n = 0; n < 4; n++) excelColumnNamesTitle[n] = GetExcelColumnName(n); //build the title for (int i = 1; i <= 6; i++) { rowTitle = new Row() { RowIndex = (UInt32Value)(uint)i }; for (int cellval = 0; cellval < 4; cellval++) { AppendTextCell(excelColumnNamesTitle[cellval] + i, string.Empty, rowTitle, 3); } sheetData1.Append(rowTitle); } List<CertificateDocument> dataSource = model.Certificates.Collection; MergeCells mergeCells = new MergeCells(); Row currentRowTitle = sheetData1.Elements<Row>().FirstOrDefault(row => row.RowIndex.Value == (uint)2); //add the title UpdateStringCellValue("A2", Resources.Common.CertificateList, currentRowTitle, 5); //set min date and max date in header Row currentRowDateTitle = sheetData1.Elements<Row>().FirstOrDefault(row => row.RowIndex.Value == (uint)5); string minDate, maxDate; //get dates if (string.IsNullOrEmpty(model.IssuanceDateFrom) || string.IsNullOrEmpty(model.IssuanceDateTo)) { minDate = dataSource.Select(x => x.Certificate.IssuanceDate.GetValueOrDefault()).Min().ToString("dd/MM/yyyy"); maxDate = dataSource.Select(x => x.Certificate.IssuanceDate.GetValueOrDefault()).Max().ToString("dd/MM/yyyy"); } else { minDate = model.IssuanceDateFrom; maxDate = model.IssuanceDateTo; } //write both dates UpdateStringCellValue("B5", Resources.Common.IssuanceDateFrom + ": "+minDate, currentRowDateTitle, 7); UpdateStringCellValue("C5", Resources.Common.IssuanceDateTo + ": " + maxDate, currentRowDateTitle, 7); //merge all cells in the title MergeCell mergeCell = new MergeCell(); mergeCell.Reference = "A2:D4"; mergeCells.Append(mergeCell); Drawing drawing = AddLogo(logoPath, worksheetPart); Columns columns = new Columns(); columns.Append(CreateColumnData((UInt32Value)(uint)1, (UInt32Value)(uint)1, 32)); columns.Append(CreateColumnData((UInt32Value)(uint)2, (UInt32Value)(uint)2, 30)); columns.Append(CreateColumnData((UInt32Value)(uint)3, (UInt32Value)(uint)3, 33)); columns.Append(CreateColumnData((UInt32Value)(uint)4, (UInt32Value)(uint)4, 45)); worksheet.Append(columns); int rowIndex = 8; Row rowData = new Row() { RowIndex = (UInt32Value)(uint)rowIndex }; AppendTextCell("A" + rowIndex, Resources.Common.CertificateNumber, rowData, 2); AppendTextCell("B" + rowIndex, Resources.Common.IssuanceDate, rowData, 2); AppendTextCell("C" + rowIndex, Resources.Common.CertificateStatus, rowData, 2); AppendTextCell("D" + rowIndex, Resources.Common.EntryPoint, rowData, 2); sheetData1.Append(rowData); rowIndex = 9; //build the data foreach (var item in dataSource) { rowData = new Row() { RowIndex = (UInt32Value)(uint)rowIndex }; AppendTextCell("A" + rowIndex.ToString(), item.Certificate.Sequential, rowData, 1); AppendTextCell("B" + rowIndex.ToString(), item.Certificate.IssuanceDate.HasValue ? item.Certificate.IssuanceDate.Value.ToString("dd/MM/yyyy") : "", rowData, 1); AppendTextCell("C" + rowIndex.ToString(), item.Certificate.CertificateStatusId.ToString(), rowData, 1); AppendTextCell("D" + rowIndex.ToString(), item.Certificate.EntryPoint != null ? item.Certificate.EntryPoint.Name : "", rowData, 1); sheetData1.Append(rowData); rowIndex++; } //add the information of the current sheet worksheet.Append(sheetData1); //add merged cells worksheet.InsertAfter(mergeCells, worksheet.Elements<SheetData>().First()); worksheet.Append(drawing); worksheetPart.Worksheet = worksheet; worksheetPart.Worksheet.Save(); //create the new sheet for this report Sheet sheet = new Sheet() { Name = Resources.Common.CertificateList, SheetId = (UInt32Value)1, Id = workbookPart.GetIdOfPart(worksheetPart) }; sheets.Append(sheet); //add the new sheet to the report workbook.Append(sheets); //save all report workbook.Save(); //close the stream. document.Close(); } return ms; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "O9", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "O9" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D }; SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:1" }, DyDescent = 0.25D }; Cell cell1 = new Cell() { CellReference = "A1", DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "2"; cell1.Append(cellValue1); row1.Append(cell1); sheetData1.Append(row1); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; S.Drawing drawing1 = new S.Drawing() { Id = "rId1" }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(sheetData1); worksheet1.Append(pageMargins1); worksheet1.Append(drawing1); worksheetPart1.Worksheet = worksheet1; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension(){ Reference = "A1:G4" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView(){ TabSelected = true, WorkbookViewId = (UInt32Value)0U }; sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties(){ DefaultRowHeight = 15D }; Columns columns1 = new Columns(); Column column1 = new Column(){ Min = (UInt32Value)1U, Max = (UInt32Value)3U, Width = 10.5703125D, CustomWidth = true }; Column column2 = new Column(){ Min = (UInt32Value)5U, Max = (UInt32Value)7U, Width = 10.5703125D, CustomWidth = true }; columns1.Append(column1); columns1.Append(column2); SheetData sheetData1 = new SheetData(); Row row1 = new Row(){ RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } }; Cell cell1 = new Cell(){ CellReference = "A1", DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "12"; cell1.Append(cellValue1); Cell cell2 = new Cell(){ CellReference = "B1", DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "13"; cell2.Append(cellValue2); Cell cell3 = new Cell(){ CellReference = "C1", DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "14"; cell3.Append(cellValue3); Cell cell4 = new Cell(){ CellReference = "E1", DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "12"; cell4.Append(cellValue4); Cell cell5 = new Cell(){ CellReference = "F1", DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "13"; cell5.Append(cellValue5); Cell cell6 = new Cell(){ CellReference = "G1", DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "14"; cell6.Append(cellValue6); row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); Row row2 = new Row(){ RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } }; Cell cell7 = new Cell(){ CellReference = "A2", DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "0"; cell7.Append(cellValue7); Cell cell8 = new Cell(){ CellReference = "B2", DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "2"; cell8.Append(cellValue8); Cell cell9 = new Cell(){ CellReference = "C2" }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "1"; cell9.Append(cellValue9); Cell cell10 = new Cell(){ CellReference = "E2", DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "4"; cell10.Append(cellValue10); Cell cell11 = new Cell(){ CellReference = "F2", DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "9"; cell11.Append(cellValue11); Cell cell12 = new Cell(){ CellReference = "G2" }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "3"; cell12.Append(cellValue12); row2.Append(cell7); row2.Append(cell8); row2.Append(cell9); row2.Append(cell10); row2.Append(cell11); row2.Append(cell12); Row row3 = new Row(){ RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } }; Cell cell13 = new Cell(){ CellReference = "A3", DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "1"; cell13.Append(cellValue13); Cell cell14 = new Cell(){ CellReference = "B3", DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "3"; cell14.Append(cellValue14); Cell cell15 = new Cell(){ CellReference = "C3" }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "2"; cell15.Append(cellValue15); Cell cell16 = new Cell(){ CellReference = "E3", DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "5"; cell16.Append(cellValue16); Cell cell17 = new Cell(){ CellReference = "F3", DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "10"; cell17.Append(cellValue17); Cell cell18 = new Cell(){ CellReference = "G3" }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "4"; cell18.Append(cellValue18); row3.Append(cell13); row3.Append(cell14); row3.Append(cell15); row3.Append(cell16); row3.Append(cell17); row3.Append(cell18); Row row4 = new Row(){ RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } }; Cell cell19 = new Cell(){ CellReference = "A4", DataType = CellValues.SharedString }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "6"; cell19.Append(cellValue19); Cell cell20 = new Cell(){ CellReference = "B4", DataType = CellValues.SharedString }; CellValue cellValue20 = new CellValue(); cellValue20.Text = "7"; cell20.Append(cellValue20); Cell cell21 = new Cell(){ CellReference = "C4" }; CellValue cellValue21 = new CellValue(); cellValue21.Text = "3"; cell21.Append(cellValue21); Cell cell22 = new Cell(){ CellReference = "E4", DataType = CellValues.SharedString }; CellValue cellValue22 = new CellValue(); cellValue22.Text = "8"; cell22.Append(cellValue22); Cell cell23 = new Cell(){ CellReference = "F4", DataType = CellValues.SharedString }; CellValue cellValue23 = new CellValue(); cellValue23.Text = "11"; cell23.Append(cellValue23); Cell cell24 = new Cell(){ CellReference = "G4" }; CellValue cellValue24 = new CellValue(); cellValue24.Text = "5"; cell24.Append(cellValue24); row4.Append(cell19); row4.Append(cell20); row4.Append(cell21); row4.Append(cell22); row4.Append(cell23); row4.Append(cell24); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); PhoneticProperties phoneticProperties13 = new PhoneticProperties(){ FontId = (UInt32Value)1U }; PageMargins pageMargins1 = new PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; S.Drawing drawing1 = new S.Drawing(){ Id = "rId1" }; TableParts tableParts1 = new TableParts(){ Count = (UInt32Value)2U }; TablePart tablePart1 = new TablePart(){ Id = "rId2" }; TablePart tablePart2 = new TablePart(){ Id = "rId3" }; tableParts1.Append(tablePart1); tableParts1.Append(tablePart2); WorksheetExtensionList worksheetExtensionList1 = new WorksheetExtensionList(); WorksheetExtension worksheetExtension1 = new WorksheetExtension(){ Uri = "{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}" }; worksheetExtension1.AddNamespaceDeclaration("x15", "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"); X14.SlicerList slicerList1 = new X14.SlicerList(); slicerList1.AddNamespaceDeclaration("x14", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"); X14.SlicerRef slicerRef1 = new X14.SlicerRef(){ Id = "rId4" }; slicerList1.Append(slicerRef1); worksheetExtension1.Append(slicerList1); worksheetExtensionList1.Append(worksheetExtension1); worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(phoneticProperties13); worksheet1.Append(pageMargins1); worksheet1.Append(drawing1); worksheet1.Append(tableParts1); worksheet1.Append(worksheetExtensionList1); worksheetPart1.Worksheet = worksheet1; }
private void toolStripButtonExcel_Click(object sender, EventArgs e) { SaveFileDialog dlg = new SaveFileDialog(); dlg.Filter = "XLSX files (*.xlsx)|*.xlsx|All files (*.*)|*.*"; dlg.FilterIndex = 1; dlg.RestoreDirectory = true; dlg.Title = "Save Spreadsheet"; if (dlg.ShowDialog() != DialogResult.OK) { return; } SpreadsheetDocument spreadSheet = null; try { // Create the spreadsheet. spreadSheet = SpreadsheetDocument.Create(dlg.FileName, SpreadsheetDocumentType.Workbook); WorkbookPart workbookpart = spreadSheet.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); Sheets sheets = spreadSheet.WorkbookPart.Workbook.AppendChild<Sheets>(new Sheets()); // First worksheet is the phone information. WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); Worksheet worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; UInt32Value sheetId = 1; Sheet sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = sheetId, Name = "Phone Information" }; sheets.Append(sheet); SheetData sheetData = new SheetData(); AddRow(sheetData, "Saved", DateTime.Now.ToString("f")); AddRow(sheetData, "Manufacturer", phoneInfo.Manufacturer); AddRow(sheetData, "Model", phoneInfo.Model); AddRow(sheetData, "Note", phoneInfo.Note); worksheet.Append(sheetData); // Next worrksheet is the call logs. worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = ++sheetId, Name = "Call Logs" }; sheets.Append(sheet); sheetData = new SheetData(); AddRow(sheetData, "Number", "Name", "Type", "Timestamp"); foreach (CallLogListViewItem item in callLogItems) { AddRow(sheetData, item.SubItems[1].Text, item.SubItems[2].Text, item.SubItems[3].Text, item.SubItems[4].Text); } worksheet.Append(sheetData); // Now add the address book worksheet. worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = ++sheetId, Name = "Address Book" }; sheets.Append(sheet); sheetData = new SheetData(); AddRow(sheetData, "Name", "Number"); foreach (AddressBookListViewItem item in adrBookItems) { AddRow(sheetData, item.SubItems[1].Text, item.SubItems[2].Text); } worksheet.Append(sheetData); // Add text messages. worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = ++sheetId, Name = "SMS" }; sheets.Append(sheet); sheetData = new SheetData(); AddRow(sheetData, "Number 1", "Number 2", "Text", "Timestamp"); foreach (SmsListViewItem item in smsItems) { AddRow(sheetData, item.SubItems[1].Text, item.SubItems[2].Text, item.SubItems[3].Text, item.SubItems[4].Text); } worksheet.Append(sheetData); // Add images. worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheet = new Worksheet(); worksheetPart.Worksheet = worksheet; sheet = new Sheet() { Id = spreadSheet.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = ++sheetId, Name = "Images" }; sheets.Append(sheet); sheetData = new SheetData(); AddRow(sheetData, "Image", "Type", "Size", "File Offset"); foreach (ImageListViewItem item in imageItems) { AddRow(sheetData, item.SubItems[1].Text, item.SubItems[2].Text, int.Parse(item.SubItems[3].Text), long.Parse(item.SubItems[4].Text)); } worksheet.Append(sheetData); } catch (Exception ex) { MessageBox.Show("Failed to create spreadsheet: " + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } finally { if (spreadSheet != null) { spreadSheet.Close(); } } }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:K59" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "B5", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "B5" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 15D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 27.7109375D, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 13.7109375D, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)8U, Width = 27.7109375D, CustomWidth = true }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)29U }; Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)19U }; Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)19U }; Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)19U }; Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)19U }; Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)19U }; Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)19U }; Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)19U }; Cell cell9 = new Cell() { CellReference = "I1", StyleIndex = (UInt32Value)19U }; Cell cell10 = new Cell() { CellReference = "J1", StyleIndex = (UInt32Value)30U }; Cell cell11 = new Cell() { CellReference = "K1", StyleIndex = (UInt32Value)1U }; row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); row1.Append(cell7); row1.Append(cell8); row1.Append(cell9); row1.Append(cell10); row1.Append(cell11); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell12 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)29U }; Cell cell13 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)19U }; Cell cell14 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)19U }; Cell cell15 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)19U }; Cell cell16 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)19U }; Cell cell17 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)19U }; Cell cell18 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)19U }; Cell cell19 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)19U }; Cell cell20 = new Cell() { CellReference = "I2", StyleIndex = (UInt32Value)19U }; Cell cell21 = new Cell() { CellReference = "J2", StyleIndex = (UInt32Value)30U }; Cell cell22 = new Cell() { CellReference = "K2", StyleIndex = (UInt32Value)2U }; row2.Append(cell12); row2.Append(cell13); row2.Append(cell14); row2.Append(cell15); row2.Append(cell16); row2.Append(cell17); row2.Append(cell18); row2.Append(cell19); row2.Append(cell20); row2.Append(cell21); row2.Append(cell22); Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell23 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)31U }; Cell cell24 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)32U }; Cell cell25 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)33U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "0"; cell25.Append(cellValue1); Cell cell26 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)32U }; Cell cell27 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)33U }; Cell cell28 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)32U }; Cell cell29 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)19U }; Cell cell30 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)19U }; Cell cell31 = new Cell() { CellReference = "I3", StyleIndex = (UInt32Value)19U }; Cell cell32 = new Cell() { CellReference = "J3", StyleIndex = (UInt32Value)30U }; Cell cell33 = new Cell() { CellReference = "K3", StyleIndex = (UInt32Value)2U }; row3.Append(cell23); row3.Append(cell24); row3.Append(cell25); row3.Append(cell26); row3.Append(cell27); row3.Append(cell28); row3.Append(cell29); row3.Append(cell30); row3.Append(cell31); row3.Append(cell32); row3.Append(cell33); Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell34 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)31U }; Cell cell35 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)32U }; Cell cell36 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)33U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "1"; cell36.Append(cellValue2); Cell cell37 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)32U }; Cell cell38 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)33U }; Cell cell39 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)19U }; Cell cell40 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)19U }; Cell cell41 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)19U }; Cell cell42 = new Cell() { CellReference = "I4", StyleIndex = (UInt32Value)19U }; Cell cell43 = new Cell() { CellReference = "J4", StyleIndex = (UInt32Value)30U }; Cell cell44 = new Cell() { CellReference = "K4", StyleIndex = (UInt32Value)2U }; row4.Append(cell34); row4.Append(cell35); row4.Append(cell36); row4.Append(cell37); row4.Append(cell38); row4.Append(cell39); row4.Append(cell40); row4.Append(cell41); row4.Append(cell42); row4.Append(cell43); row4.Append(cell44); Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell45 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)29U }; Cell cell46 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)19U }; Cell cell47 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)19U }; Cell cell48 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)19U }; Cell cell49 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)19U }; Cell cell50 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)19U }; Cell cell51 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)19U }; Cell cell52 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)19U }; Cell cell53 = new Cell() { CellReference = "I5", StyleIndex = (UInt32Value)19U }; Cell cell54 = new Cell() { CellReference = "J5", StyleIndex = (UInt32Value)30U }; Cell cell55 = new Cell() { CellReference = "K5", StyleIndex = (UInt32Value)2U }; row5.Append(cell45); row5.Append(cell46); row5.Append(cell47); row5.Append(cell48); row5.Append(cell49); row5.Append(cell50); row5.Append(cell51); row5.Append(cell52); row5.Append(cell53); row5.Append(cell54); row5.Append(cell55); Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:11" }, Height = 15.75D, ThickBot = true }; Cell cell56 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)29U }; Cell cell57 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)19U }; Cell cell58 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)19U }; Cell cell59 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)19U }; Cell cell60 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)19U }; Cell cell61 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)19U }; Cell cell62 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)19U }; Cell cell63 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)19U }; Cell cell64 = new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)19U }; Cell cell65 = new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)30U }; Cell cell66 = new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)1U }; row6.Append(cell56); row6.Append(cell57); row6.Append(cell58); row6.Append(cell59); row6.Append(cell60); row6.Append(cell61); row6.Append(cell62); row6.Append(cell63); row6.Append(cell64); row6.Append(cell65); row6.Append(cell66); Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:11" }, Height = 20.25D, ThickBot = true }; Cell cell67 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)34U }; Cell cell68 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)35U }; Cell cell69 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)35U }; Cell cell70 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)36U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "2"; cell70.Append(cellValue3); Cell cell71 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)35U }; Cell cell72 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)35U }; Cell cell73 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)35U }; Cell cell74 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)35U }; Cell cell75 = new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)37U }; Cell cell76 = new Cell() { CellReference = "J7", StyleIndex = (UInt32Value)38U }; Cell cell77 = new Cell() { CellReference = "K7", StyleIndex = (UInt32Value)1U }; row7.Append(cell67); row7.Append(cell68); row7.Append(cell69); row7.Append(cell70); row7.Append(cell71); row7.Append(cell72); row7.Append(cell73); row7.Append(cell74); row7.Append(cell75); row7.Append(cell76); row7.Append(cell77); Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell78 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)29U }; Cell cell79 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)19U }; Cell cell80 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)19U }; Cell cell81 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)19U }; Cell cell82 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)19U }; Cell cell83 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)19U }; Cell cell84 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)19U }; Cell cell85 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)19U }; Cell cell86 = new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)19U }; Cell cell87 = new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)30U }; Cell cell88 = new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)1U }; row8.Append(cell78); row8.Append(cell79); row8.Append(cell80); row8.Append(cell81); row8.Append(cell82); row8.Append(cell83); row8.Append(cell84); row8.Append(cell85); row8.Append(cell86); row8.Append(cell87); row8.Append(cell88); Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell89 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "3"; cell89.Append(cellValue4); Cell cell90 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)39U }; Cell cell91 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)39U }; Cell cell92 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)19U }; Cell cell93 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)19U }; Cell cell94 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)40U }; Cell cell95 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)19U }; Cell cell96 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)19U }; Cell cell97 = new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)19U }; Cell cell98 = new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)30U }; Cell cell99 = new Cell() { CellReference = "K9", StyleIndex = (UInt32Value)2U }; row9.Append(cell89); row9.Append(cell90); row9.Append(cell91); row9.Append(cell92); row9.Append(cell93); row9.Append(cell94); row9.Append(cell95); row9.Append(cell96); row9.Append(cell97); row9.Append(cell98); row9.Append(cell99); Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell100 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "4"; cell100.Append(cellValue5); Cell cell101 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)41U }; Cell cell102 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)19U }; Cell cell103 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)19U }; Cell cell104 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)19U }; Cell cell105 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)41U }; Cell cell106 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)19U }; Cell cell107 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)19U }; Cell cell108 = new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)19U }; Cell cell109 = new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)30U }; Cell cell110 = new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)2U }; row10.Append(cell100); row10.Append(cell101); row10.Append(cell102); row10.Append(cell103); row10.Append(cell104); row10.Append(cell105); row10.Append(cell106); row10.Append(cell107); row10.Append(cell108); row10.Append(cell109); row10.Append(cell110); Row row11 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell111 = new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "5"; cell111.Append(cellValue6); Cell cell112 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)41U }; Cell cell113 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)19U }; Cell cell114 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)19U }; Cell cell115 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)19U }; Cell cell116 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)41U }; Cell cell117 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)19U }; Cell cell118 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)19U }; Cell cell119 = new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)19U }; Cell cell120 = new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)30U }; Cell cell121 = new Cell() { CellReference = "K11", StyleIndex = (UInt32Value)2U }; row11.Append(cell111); row11.Append(cell112); row11.Append(cell113); row11.Append(cell114); row11.Append(cell115); row11.Append(cell116); row11.Append(cell117); row11.Append(cell118); row11.Append(cell119); row11.Append(cell120); row11.Append(cell121); Row row12 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell122 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "6"; cell122.Append(cellValue7); Cell cell123 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)42U }; Cell cell124 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)19U }; Cell cell125 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)19U }; Cell cell126 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)19U }; Cell cell127 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)43U }; Cell cell128 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)19U }; Cell cell129 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)19U }; Cell cell130 = new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)19U }; Cell cell131 = new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)30U }; Cell cell132 = new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)2U }; row12.Append(cell122); row12.Append(cell123); row12.Append(cell124); row12.Append(cell125); row12.Append(cell126); row12.Append(cell127); row12.Append(cell128); row12.Append(cell129); row12.Append(cell130); row12.Append(cell131); row12.Append(cell132); Row row13 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell133 = new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "7"; cell133.Append(cellValue8); Cell cell134 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)41U }; Cell cell135 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)19U }; Cell cell136 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)19U }; Cell cell137 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)19U }; Cell cell138 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)19U }; Cell cell139 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)19U }; Cell cell140 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)44U }; Cell cell141 = new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)19U }; Cell cell142 = new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)30U }; Cell cell143 = new Cell() { CellReference = "K13", StyleIndex = (UInt32Value)1U }; row13.Append(cell133); row13.Append(cell134); row13.Append(cell135); row13.Append(cell136); row13.Append(cell137); row13.Append(cell138); row13.Append(cell139); row13.Append(cell140); row13.Append(cell141); row13.Append(cell142); row13.Append(cell143); Row row14 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell144 = new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "8"; cell144.Append(cellValue9); Cell cell145 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)41U }; Cell cell146 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)19U }; Cell cell147 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)19U }; Cell cell148 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)19U }; Cell cell149 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)45U }; Cell cell150 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)46U }; Cell cell151 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)19U }; Cell cell152 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)19U }; Cell cell153 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)30U }; Cell cell154 = new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)2U }; row14.Append(cell144); row14.Append(cell145); row14.Append(cell146); row14.Append(cell147); row14.Append(cell148); row14.Append(cell149); row14.Append(cell150); row14.Append(cell151); row14.Append(cell152); row14.Append(cell153); row14.Append(cell154); Row row15 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell155 = new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)5U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "9"; cell155.Append(cellValue10); Cell cell156 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)47U }; Cell cell157 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)6U }; Cell cell158 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)6U }; Cell cell159 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)6U }; Cell cell160 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)6U }; Cell cell161 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)6U }; Cell cell162 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)6U }; Cell cell163 = new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)6U }; Cell cell164 = new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)7U }; Cell cell165 = new Cell() { CellReference = "K15", StyleIndex = (UInt32Value)2U }; row15.Append(cell155); row15.Append(cell156); row15.Append(cell157); row15.Append(cell158); row15.Append(cell159); row15.Append(cell160); row15.Append(cell161); row15.Append(cell162); row15.Append(cell163); row15.Append(cell164); row15.Append(cell165); Row row16 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell166 = new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)5U }; Cell cell167 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)6U }; Cell cell168 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)6U }; Cell cell169 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)6U }; Cell cell170 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)6U }; Cell cell171 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)6U }; Cell cell172 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)6U }; Cell cell173 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)6U }; Cell cell174 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)6U }; Cell cell175 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)7U }; Cell cell176 = new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)2U }; row16.Append(cell166); row16.Append(cell167); row16.Append(cell168); row16.Append(cell169); row16.Append(cell170); row16.Append(cell171); row16.Append(cell172); row16.Append(cell173); row16.Append(cell174); row16.Append(cell175); row16.Append(cell176); Row row17 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell177 = new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)5U }; Cell cell178 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)6U }; Cell cell179 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)6U }; Cell cell180 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)6U }; Cell cell181 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)6U }; Cell cell182 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)6U }; Cell cell183 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)6U }; Cell cell184 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)6U }; Cell cell185 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)6U }; Cell cell186 = new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)7U }; Cell cell187 = new Cell() { CellReference = "K17", StyleIndex = (UInt32Value)2U }; row17.Append(cell177); row17.Append(cell178); row17.Append(cell179); row17.Append(cell180); row17.Append(cell181); row17.Append(cell182); row17.Append(cell183); row17.Append(cell184); row17.Append(cell185); row17.Append(cell186); row17.Append(cell187); Row row18 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell188 = new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)5U }; Cell cell189 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)6U }; Cell cell190 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)6U }; Cell cell191 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)6U }; Cell cell192 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)6U }; Cell cell193 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)6U }; Cell cell194 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)6U }; Cell cell195 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)6U }; Cell cell196 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)6U }; Cell cell197 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)7U }; Cell cell198 = new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)1U }; row18.Append(cell188); row18.Append(cell189); row18.Append(cell190); row18.Append(cell191); row18.Append(cell192); row18.Append(cell193); row18.Append(cell194); row18.Append(cell195); row18.Append(cell196); row18.Append(cell197); row18.Append(cell198); Row row19 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell199 = new Cell() { CellReference = "A19", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "10"; cell199.Append(cellValue11); Cell cell200 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "11"; cell200.Append(cellValue12); Cell cell201 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "12"; cell201.Append(cellValue13); Cell cell202 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "13"; cell202.Append(cellValue14); Cell cell203 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "14"; cell203.Append(cellValue15); Cell cell204 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "15"; cell204.Append(cellValue16); Cell cell205 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "16"; cell205.Append(cellValue17); Cell cell206 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue18 = new CellValue(); cellValue18.Text = "17"; cell206.Append(cellValue18); Cell cell207 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)6U }; Cell cell208 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)7U }; Cell cell209 = new Cell() { CellReference = "K19", StyleIndex = (UInt32Value)2U }; row19.Append(cell199); row19.Append(cell200); row19.Append(cell201); row19.Append(cell202); row19.Append(cell203); row19.Append(cell204); row19.Append(cell205); row19.Append(cell206); row19.Append(cell207); row19.Append(cell208); row19.Append(cell209); Row row20 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell210 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)10U }; Cell cell211 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)10U }; Cell cell212 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)10U }; Cell cell213 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)10U }; Cell cell214 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)10U }; Cell cell215 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)10U }; Cell cell216 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)10U }; Cell cell217 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)10U }; Cell cell218 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)6U }; Cell cell219 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)7U }; Cell cell220 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)2U }; row20.Append(cell210); row20.Append(cell211); row20.Append(cell212); row20.Append(cell213); row20.Append(cell214); row20.Append(cell215); row20.Append(cell216); row20.Append(cell217); row20.Append(cell218); row20.Append(cell219); row20.Append(cell220); Row row21 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell221 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)11U }; Cell cell222 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)12U }; Cell cell223 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)12U }; Cell cell224 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)12U }; Cell cell225 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)12U }; Cell cell226 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)12U }; Cell cell227 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)12U }; Cell cell228 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)12U }; Cell cell229 = new Cell() { CellReference = "I21", StyleIndex = (UInt32Value)6U }; Cell cell230 = new Cell() { CellReference = "J21", StyleIndex = (UInt32Value)7U }; Cell cell231 = new Cell() { CellReference = "K21", StyleIndex = (UInt32Value)2U }; row21.Append(cell221); row21.Append(cell222); row21.Append(cell223); row21.Append(cell224); row21.Append(cell225); row21.Append(cell226); row21.Append(cell227); row21.Append(cell228); row21.Append(cell229); row21.Append(cell230); row21.Append(cell231); Row row22 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell232 = new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)13U }; Cell cell233 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula1 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "B22:H22", SharedIndex = (UInt32Value)0U }; cellFormula1.Text = "COUNTA(B21:B21)"; CellValue cellValue19 = new CellValue(); cellValue19.Text = "0"; cell233.Append(cellFormula1); cell233.Append(cellValue19); Cell cell234 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula2 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula2.Text = ""; CellValue cellValue20 = new CellValue(); cellValue20.Text = "0"; cell234.Append(cellFormula2); cell234.Append(cellValue20); Cell cell235 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula3 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula3.Text = ""; CellValue cellValue21 = new CellValue(); cellValue21.Text = "0"; cell235.Append(cellFormula3); cell235.Append(cellValue21); Cell cell236 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula4 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula4.Text = ""; CellValue cellValue22 = new CellValue(); cellValue22.Text = "0"; cell236.Append(cellFormula4); cell236.Append(cellValue22); Cell cell237 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula5 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula5.Text = ""; CellValue cellValue23 = new CellValue(); cellValue23.Text = "0"; cell237.Append(cellFormula5); cell237.Append(cellValue23); Cell cell238 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula6 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula6.Text = ""; CellValue cellValue24 = new CellValue(); cellValue24.Text = "0"; cell238.Append(cellFormula6); cell238.Append(cellValue24); Cell cell239 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula7 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U }; cellFormula7.Text = ""; CellValue cellValue25 = new CellValue(); cellValue25.Text = "0"; cell239.Append(cellFormula7); cell239.Append(cellValue25); Cell cell240 = new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)6U }; Cell cell241 = new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula8 = new CellFormula(); cellFormula8.Text = "SUM(B22:H22)"; CellValue cellValue26 = new CellValue(); cellValue26.Text = "0"; cell241.Append(cellFormula8); cell241.Append(cellValue26); Cell cell242 = new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)1U }; row22.Append(cell232); row22.Append(cell233); row22.Append(cell234); row22.Append(cell235); row22.Append(cell236); row22.Append(cell237); row22.Append(cell238); row22.Append(cell239); row22.Append(cell240); row22.Append(cell241); row22.Append(cell242); Row row23 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell243 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)6U }; Cell cell244 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)6U }; Cell cell245 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)6U }; Cell cell246 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)6U }; Cell cell247 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)6U }; Cell cell248 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)6U }; Cell cell249 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)6U }; Cell cell250 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)6U }; Cell cell251 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)6U }; Cell cell252 = new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)7U }; Cell cell253 = new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)2U }; row23.Append(cell243); row23.Append(cell244); row23.Append(cell245); row23.Append(cell246); row23.Append(cell247); row23.Append(cell248); row23.Append(cell249); row23.Append(cell250); row23.Append(cell251); row23.Append(cell252); row23.Append(cell253); Row row24 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell254 = new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue27 = new CellValue(); cellValue27.Text = "10"; cell254.Append(cellValue27); Cell cell255 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue28 = new CellValue(); cellValue28.Text = "11"; cell255.Append(cellValue28); Cell cell256 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue29 = new CellValue(); cellValue29.Text = "12"; cell256.Append(cellValue29); Cell cell257 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue30 = new CellValue(); cellValue30.Text = "13"; cell257.Append(cellValue30); Cell cell258 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue31 = new CellValue(); cellValue31.Text = "14"; cell258.Append(cellValue31); Cell cell259 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue32 = new CellValue(); cellValue32.Text = "15"; cell259.Append(cellValue32); Cell cell260 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue33 = new CellValue(); cellValue33.Text = "16"; cell260.Append(cellValue33); Cell cell261 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue34 = new CellValue(); cellValue34.Text = "17"; cell261.Append(cellValue34); Cell cell262 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)6U }; Cell cell263 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)7U }; Cell cell264 = new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)2U }; row24.Append(cell254); row24.Append(cell255); row24.Append(cell256); row24.Append(cell257); row24.Append(cell258); row24.Append(cell259); row24.Append(cell260); row24.Append(cell261); row24.Append(cell262); row24.Append(cell263); row24.Append(cell264); Row row25 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell265 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)10U }; Cell cell266 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)10U }; Cell cell267 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)10U }; Cell cell268 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)10U }; Cell cell269 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)10U }; Cell cell270 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)10U }; Cell cell271 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)10U }; Cell cell272 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)10U }; Cell cell273 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)6U }; Cell cell274 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)7U }; Cell cell275 = new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)2U }; row25.Append(cell265); row25.Append(cell266); row25.Append(cell267); row25.Append(cell268); row25.Append(cell269); row25.Append(cell270); row25.Append(cell271); row25.Append(cell272); row25.Append(cell273); row25.Append(cell274); row25.Append(cell275); Row row26 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell276 = new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)11U }; Cell cell277 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)12U }; Cell cell278 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)12U }; Cell cell279 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)12U }; Cell cell280 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)12U }; Cell cell281 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)12U }; Cell cell282 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)12U }; Cell cell283 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)12U }; Cell cell284 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)6U }; Cell cell285 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)15U }; Cell cell286 = new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)1U }; row26.Append(cell276); row26.Append(cell277); row26.Append(cell278); row26.Append(cell279); row26.Append(cell280); row26.Append(cell281); row26.Append(cell282); row26.Append(cell283); row26.Append(cell284); row26.Append(cell285); row26.Append(cell286); Row row27 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell287 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)13U }; Cell cell288 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula9 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "B27:H27", SharedIndex = (UInt32Value)1U }; cellFormula9.Text = "COUNTA(B26:B26)"; CellValue cellValue35 = new CellValue(); cellValue35.Text = "0"; cell288.Append(cellFormula9); cell288.Append(cellValue35); Cell cell289 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula10 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula10.Text = ""; CellValue cellValue36 = new CellValue(); cellValue36.Text = "0"; cell289.Append(cellFormula10); cell289.Append(cellValue36); Cell cell290 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula11 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula11.Text = ""; CellValue cellValue37 = new CellValue(); cellValue37.Text = "0"; cell290.Append(cellFormula11); cell290.Append(cellValue37); Cell cell291 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula12 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula12.Text = ""; CellValue cellValue38 = new CellValue(); cellValue38.Text = "0"; cell291.Append(cellFormula12); cell291.Append(cellValue38); Cell cell292 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula13 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula13.Text = ""; CellValue cellValue39 = new CellValue(); cellValue39.Text = "0"; cell292.Append(cellFormula13); cell292.Append(cellValue39); Cell cell293 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula14 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula14.Text = ""; CellValue cellValue40 = new CellValue(); cellValue40.Text = "0"; cell293.Append(cellFormula14); cell293.Append(cellValue40); Cell cell294 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)14U }; CellFormula cellFormula15 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U }; cellFormula15.Text = ""; CellValue cellValue41 = new CellValue(); cellValue41.Text = "0"; cell294.Append(cellFormula15); cell294.Append(cellValue41); Cell cell295 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)6U }; Cell cell296 = new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula16 = new CellFormula(); cellFormula16.Text = "SUM(B27:H27)"; CellValue cellValue42 = new CellValue(); cellValue42.Text = "0"; cell296.Append(cellFormula16); cell296.Append(cellValue42); Cell cell297 = new Cell() { CellReference = "K27", StyleIndex = (UInt32Value)2U }; row27.Append(cell287); row27.Append(cell288); row27.Append(cell289); row27.Append(cell290); row27.Append(cell291); row27.Append(cell292); row27.Append(cell293); row27.Append(cell294); row27.Append(cell295); row27.Append(cell296); row27.Append(cell297); Row row28 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell298 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)6U }; Cell cell299 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)6U }; Cell cell300 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)6U }; Cell cell301 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)6U }; Cell cell302 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)6U }; Cell cell303 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)6U }; Cell cell304 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)6U }; Cell cell305 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)6U }; Cell cell306 = new Cell() { CellReference = "I28", StyleIndex = (UInt32Value)6U }; Cell cell307 = new Cell() { CellReference = "J28", StyleIndex = (UInt32Value)7U }; Cell cell308 = new Cell() { CellReference = "K28", StyleIndex = (UInt32Value)2U }; row28.Append(cell298); row28.Append(cell299); row28.Append(cell300); row28.Append(cell301); row28.Append(cell302); row28.Append(cell303); row28.Append(cell304); row28.Append(cell305); row28.Append(cell306); row28.Append(cell307); row28.Append(cell308); Row row29 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell309 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue43 = new CellValue(); cellValue43.Text = "10"; cell309.Append(cellValue43); Cell cell310 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue44 = new CellValue(); cellValue44.Text = "11"; cell310.Append(cellValue44); Cell cell311 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue45 = new CellValue(); cellValue45.Text = "12"; cell311.Append(cellValue45); Cell cell312 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue46 = new CellValue(); cellValue46.Text = "13"; cell312.Append(cellValue46); Cell cell313 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue47 = new CellValue(); cellValue47.Text = "14"; cell313.Append(cellValue47); Cell cell314 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue48 = new CellValue(); cellValue48.Text = "15"; cell314.Append(cellValue48); Cell cell315 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue49 = new CellValue(); cellValue49.Text = "16"; cell315.Append(cellValue49); Cell cell316 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue50 = new CellValue(); cellValue50.Text = "17"; cell316.Append(cellValue50); Cell cell317 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)6U }; Cell cell318 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)7U }; Cell cell319 = new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)2U }; row29.Append(cell309); row29.Append(cell310); row29.Append(cell311); row29.Append(cell312); row29.Append(cell313); row29.Append(cell314); row29.Append(cell315); row29.Append(cell316); row29.Append(cell317); row29.Append(cell318); row29.Append(cell319); Row row30 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell320 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)10U }; Cell cell321 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)10U }; Cell cell322 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)10U }; Cell cell323 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)10U }; Cell cell324 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)10U }; Cell cell325 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)10U }; Cell cell326 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)10U }; Cell cell327 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)10U }; Cell cell328 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)6U }; Cell cell329 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)7U }; Cell cell330 = new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)1U }; row30.Append(cell320); row30.Append(cell321); row30.Append(cell322); row30.Append(cell323); row30.Append(cell324); row30.Append(cell325); row30.Append(cell326); row30.Append(cell327); row30.Append(cell328); row30.Append(cell329); row30.Append(cell330); Row row31 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell331 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)11U }; Cell cell332 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)12U }; Cell cell333 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)12U }; Cell cell334 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)12U }; Cell cell335 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)12U }; Cell cell336 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)12U }; Cell cell337 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)12U }; Cell cell338 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)12U }; Cell cell339 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)6U }; Cell cell340 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)7U }; Cell cell341 = new Cell() { CellReference = "K31", StyleIndex = (UInt32Value)2U }; row31.Append(cell331); row31.Append(cell332); row31.Append(cell333); row31.Append(cell334); row31.Append(cell335); row31.Append(cell336); row31.Append(cell337); row31.Append(cell338); row31.Append(cell339); row31.Append(cell340); row31.Append(cell341); Row row32 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell342 = new Cell() { CellReference = "A32", StyleIndex = (UInt32Value)13U }; Cell cell343 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)14U }; Cell cell344 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)14U }; Cell cell345 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)14U }; Cell cell346 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)14U }; Cell cell347 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)14U }; Cell cell348 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)14U }; Cell cell349 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)14U }; Cell cell350 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)6U }; Cell cell351 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula17 = new CellFormula(); cellFormula17.Text = "SUM(B32:H32)"; CellValue cellValue51 = new CellValue(); cellValue51.Text = "0"; cell351.Append(cellFormula17); cell351.Append(cellValue51); Cell cell352 = new Cell() { CellReference = "K32", StyleIndex = (UInt32Value)2U }; row32.Append(cell342); row32.Append(cell343); row32.Append(cell344); row32.Append(cell345); row32.Append(cell346); row32.Append(cell347); row32.Append(cell348); row32.Append(cell349); row32.Append(cell350); row32.Append(cell351); row32.Append(cell352); Row row33 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell353 = new Cell() { CellReference = "A33", StyleIndex = (UInt32Value)6U }; Cell cell354 = new Cell() { CellReference = "B33", StyleIndex = (UInt32Value)6U }; Cell cell355 = new Cell() { CellReference = "C33", StyleIndex = (UInt32Value)6U }; Cell cell356 = new Cell() { CellReference = "D33", StyleIndex = (UInt32Value)6U }; Cell cell357 = new Cell() { CellReference = "E33", StyleIndex = (UInt32Value)6U }; Cell cell358 = new Cell() { CellReference = "F33", StyleIndex = (UInt32Value)6U }; Cell cell359 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)6U }; Cell cell360 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)6U }; Cell cell361 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)6U }; Cell cell362 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)7U }; Cell cell363 = new Cell() { CellReference = "K33", StyleIndex = (UInt32Value)2U }; row33.Append(cell353); row33.Append(cell354); row33.Append(cell355); row33.Append(cell356); row33.Append(cell357); row33.Append(cell358); row33.Append(cell359); row33.Append(cell360); row33.Append(cell361); row33.Append(cell362); row33.Append(cell363); Row row34 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell364 = new Cell() { CellReference = "A34", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue52 = new CellValue(); cellValue52.Text = "10"; cell364.Append(cellValue52); Cell cell365 = new Cell() { CellReference = "B34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue53 = new CellValue(); cellValue53.Text = "11"; cell365.Append(cellValue53); Cell cell366 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue54 = new CellValue(); cellValue54.Text = "12"; cell366.Append(cellValue54); Cell cell367 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue55 = new CellValue(); cellValue55.Text = "13"; cell367.Append(cellValue55); Cell cell368 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue56 = new CellValue(); cellValue56.Text = "14"; cell368.Append(cellValue56); Cell cell369 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue57 = new CellValue(); cellValue57.Text = "15"; cell369.Append(cellValue57); Cell cell370 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue58 = new CellValue(); cellValue58.Text = "16"; cell370.Append(cellValue58); Cell cell371 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue59 = new CellValue(); cellValue59.Text = "17"; cell371.Append(cellValue59); Cell cell372 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)6U }; Cell cell373 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula18 = new CellFormula(); cellFormula18.Text = "SUM(B36:H36)"; CellValue cellValue60 = new CellValue(); cellValue60.Text = "0"; cell373.Append(cellFormula18); cell373.Append(cellValue60); Cell cell374 = new Cell() { CellReference = "K34", StyleIndex = (UInt32Value)1U }; row34.Append(cell364); row34.Append(cell365); row34.Append(cell366); row34.Append(cell367); row34.Append(cell368); row34.Append(cell369); row34.Append(cell370); row34.Append(cell371); row34.Append(cell372); row34.Append(cell373); row34.Append(cell374); Row row35 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell375 = new Cell() { CellReference = "A35", StyleIndex = (UInt32Value)10U }; Cell cell376 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)10U }; Cell cell377 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)10U }; Cell cell378 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)10U }; Cell cell379 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)10U }; Cell cell380 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)10U }; Cell cell381 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)10U }; Cell cell382 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)10U }; Cell cell383 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)6U }; Cell cell384 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)7U }; Cell cell385 = new Cell() { CellReference = "K35", StyleIndex = (UInt32Value)2U }; row35.Append(cell375); row35.Append(cell376); row35.Append(cell377); row35.Append(cell378); row35.Append(cell379); row35.Append(cell380); row35.Append(cell381); row35.Append(cell382); row35.Append(cell383); row35.Append(cell384); row35.Append(cell385); Row row36 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell386 = new Cell() { CellReference = "A36", StyleIndex = (UInt32Value)11U }; Cell cell387 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)12U }; Cell cell388 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)12U }; Cell cell389 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)12U }; Cell cell390 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)12U }; Cell cell391 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)12U }; Cell cell392 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)12U }; Cell cell393 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)12U }; Cell cell394 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)6U }; Cell cell395 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)7U }; Cell cell396 = new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)2U }; row36.Append(cell386); row36.Append(cell387); row36.Append(cell388); row36.Append(cell389); row36.Append(cell390); row36.Append(cell391); row36.Append(cell392); row36.Append(cell393); row36.Append(cell394); row36.Append(cell395); row36.Append(cell396); Row row37 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell397 = new Cell() { CellReference = "A37", StyleIndex = (UInt32Value)13U }; Cell cell398 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)14U }; Cell cell399 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)14U }; Cell cell400 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)14U }; Cell cell401 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)14U }; Cell cell402 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)14U }; Cell cell403 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)14U }; Cell cell404 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)14U }; Cell cell405 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)6U }; Cell cell406 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula19 = new CellFormula(); cellFormula19.Text = "SUM(B37:H37)"; CellValue cellValue61 = new CellValue(); cellValue61.Text = "0"; cell406.Append(cellFormula19); cell406.Append(cellValue61); Cell cell407 = new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)2U }; row37.Append(cell397); row37.Append(cell398); row37.Append(cell399); row37.Append(cell400); row37.Append(cell401); row37.Append(cell402); row37.Append(cell403); row37.Append(cell404); row37.Append(cell405); row37.Append(cell406); row37.Append(cell407); Row row38 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell408 = new Cell() { CellReference = "A38", StyleIndex = (UInt32Value)6U }; Cell cell409 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)6U }; Cell cell410 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)6U }; Cell cell411 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)6U }; Cell cell412 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)6U }; Cell cell413 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)6U }; Cell cell414 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)6U }; Cell cell415 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)6U }; Cell cell416 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)6U }; Cell cell417 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)15U }; Cell cell418 = new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)2U }; row38.Append(cell408); row38.Append(cell409); row38.Append(cell410); row38.Append(cell411); row38.Append(cell412); row38.Append(cell413); row38.Append(cell414); row38.Append(cell415); row38.Append(cell416); row38.Append(cell417); row38.Append(cell418); Row row39 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell419 = new Cell() { CellReference = "A39", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString }; CellValue cellValue62 = new CellValue(); cellValue62.Text = "10"; cell419.Append(cellValue62); Cell cell420 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue63 = new CellValue(); cellValue63.Text = "11"; cell420.Append(cellValue63); Cell cell421 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue64 = new CellValue(); cellValue64.Text = "12"; cell421.Append(cellValue64); Cell cell422 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue65 = new CellValue(); cellValue65.Text = "13"; cell422.Append(cellValue65); Cell cell423 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue66 = new CellValue(); cellValue66.Text = "14"; cell423.Append(cellValue66); Cell cell424 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue67 = new CellValue(); cellValue67.Text = "15"; cell424.Append(cellValue67); Cell cell425 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue68 = new CellValue(); cellValue68.Text = "16"; cell425.Append(cellValue68); Cell cell426 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString }; CellValue cellValue69 = new CellValue(); cellValue69.Text = "17"; cell426.Append(cellValue69); Cell cell427 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)6U }; Cell cell428 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)7U }; Cell cell429 = new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)1U }; row39.Append(cell419); row39.Append(cell420); row39.Append(cell421); row39.Append(cell422); row39.Append(cell423); row39.Append(cell424); row39.Append(cell425); row39.Append(cell426); row39.Append(cell427); row39.Append(cell428); row39.Append(cell429); Row row40 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell430 = new Cell() { CellReference = "A40", StyleIndex = (UInt32Value)10U }; Cell cell431 = new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)10U }; Cell cell432 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)10U }; Cell cell433 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)10U }; Cell cell434 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)10U }; Cell cell435 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)10U }; Cell cell436 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)10U }; Cell cell437 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)10U }; Cell cell438 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)6U }; Cell cell439 = new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)7U }; Cell cell440 = new Cell() { CellReference = "K40", StyleIndex = (UInt32Value)3U }; row40.Append(cell430); row40.Append(cell431); row40.Append(cell432); row40.Append(cell433); row40.Append(cell434); row40.Append(cell435); row40.Append(cell436); row40.Append(cell437); row40.Append(cell438); row40.Append(cell439); row40.Append(cell440); Row row41 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell441 = new Cell() { CellReference = "A41", StyleIndex = (UInt32Value)11U }; Cell cell442 = new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)12U }; Cell cell443 = new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)12U }; Cell cell444 = new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)12U }; Cell cell445 = new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)12U }; Cell cell446 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)12U }; Cell cell447 = new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)12U }; Cell cell448 = new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)12U }; Cell cell449 = new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)6U }; Cell cell450 = new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)4U }; Cell cell451 = new Cell() { CellReference = "K41", StyleIndex = (UInt32Value)3U }; row41.Append(cell441); row41.Append(cell442); row41.Append(cell443); row41.Append(cell444); row41.Append(cell445); row41.Append(cell446); row41.Append(cell447); row41.Append(cell448); row41.Append(cell449); row41.Append(cell450); row41.Append(cell451); Row row42 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell452 = new Cell() { CellReference = "A42", StyleIndex = (UInt32Value)13U }; Cell cell453 = new Cell() { CellReference = "B42", StyleIndex = (UInt32Value)14U }; Cell cell454 = new Cell() { CellReference = "C42", StyleIndex = (UInt32Value)14U }; Cell cell455 = new Cell() { CellReference = "D42", StyleIndex = (UInt32Value)14U }; Cell cell456 = new Cell() { CellReference = "E42", StyleIndex = (UInt32Value)14U }; Cell cell457 = new Cell() { CellReference = "F42", StyleIndex = (UInt32Value)14U }; Cell cell458 = new Cell() { CellReference = "G42", StyleIndex = (UInt32Value)14U }; Cell cell459 = new Cell() { CellReference = "H42", StyleIndex = (UInt32Value)14U }; Cell cell460 = new Cell() { CellReference = "I42", StyleIndex = (UInt32Value)3U }; Cell cell461 = new Cell() { CellReference = "J42", StyleIndex = (UInt32Value)15U }; CellFormula cellFormula20 = new CellFormula(); cellFormula20.Text = "SUM(B42:H42)"; CellValue cellValue70 = new CellValue(); cellValue70.Text = "0"; cell461.Append(cellFormula20); cell461.Append(cellValue70); Cell cell462 = new Cell() { CellReference = "K42", StyleIndex = (UInt32Value)3U }; row42.Append(cell452); row42.Append(cell453); row42.Append(cell454); row42.Append(cell455); row42.Append(cell456); row42.Append(cell457); row42.Append(cell458); row42.Append(cell459); row42.Append(cell460); row42.Append(cell461); row42.Append(cell462); Row row43 = new Row() { RowIndex = (UInt32Value)43U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell463 = new Cell() { CellReference = "A43", StyleIndex = (UInt32Value)6U }; Cell cell464 = new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)6U }; Cell cell465 = new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)6U }; Cell cell466 = new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)6U }; Cell cell467 = new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)6U }; Cell cell468 = new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)6U }; Cell cell469 = new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)6U }; Cell cell470 = new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)6U }; Cell cell471 = new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)6U }; Cell cell472 = new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)4U }; Cell cell473 = new Cell() { CellReference = "K43", StyleIndex = (UInt32Value)3U }; row43.Append(cell463); row43.Append(cell464); row43.Append(cell465); row43.Append(cell466); row43.Append(cell467); row43.Append(cell468); row43.Append(cell469); row43.Append(cell470); row43.Append(cell471); row43.Append(cell472); row43.Append(cell473); Row row44 = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell474 = new Cell() { CellReference = "A44", StyleIndex = (UInt32Value)6U }; Cell cell475 = new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)6U }; Cell cell476 = new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)6U }; Cell cell477 = new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)6U }; Cell cell478 = new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)6U }; Cell cell479 = new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)19U }; Cell cell480 = new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)19U }; Cell cell481 = new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)19U }; Cell cell482 = new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)19U }; Cell cell483 = new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)20U }; Cell cell484 = new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)3U }; row44.Append(cell474); row44.Append(cell475); row44.Append(cell476); row44.Append(cell477); row44.Append(cell478); row44.Append(cell479); row44.Append(cell480); row44.Append(cell481); row44.Append(cell482); row44.Append(cell483); row44.Append(cell484); Row row45 = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell485 = new Cell() { CellReference = "A45", StyleIndex = (UInt32Value)6U }; Cell cell486 = new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)6U }; Cell cell487 = new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)6U }; Cell cell488 = new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)6U }; Cell cell489 = new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)6U }; Cell cell490 = new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)19U }; Cell cell491 = new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)19U }; Cell cell492 = new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)19U }; Cell cell493 = new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)19U }; Cell cell494 = new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)20U }; Cell cell495 = new Cell() { CellReference = "K45", StyleIndex = (UInt32Value)3U }; row45.Append(cell485); row45.Append(cell486); row45.Append(cell487); row45.Append(cell488); row45.Append(cell489); row45.Append(cell490); row45.Append(cell491); row45.Append(cell492); row45.Append(cell493); row45.Append(cell494); row45.Append(cell495); Row row46 = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell496 = new Cell() { CellReference = "A46", StyleIndex = (UInt32Value)6U }; Cell cell497 = new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)6U }; Cell cell498 = new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)6U }; Cell cell499 = new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)6U }; Cell cell500 = new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)6U }; Cell cell501 = new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)19U }; Cell cell502 = new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)19U }; Cell cell503 = new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)19U }; Cell cell504 = new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)19U }; Cell cell505 = new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)20U }; Cell cell506 = new Cell() { CellReference = "K46", StyleIndex = (UInt32Value)3U }; row46.Append(cell496); row46.Append(cell497); row46.Append(cell498); row46.Append(cell499); row46.Append(cell500); row46.Append(cell501); row46.Append(cell502); row46.Append(cell503); row46.Append(cell504); row46.Append(cell505); row46.Append(cell506); Row row47 = new Row() { RowIndex = (UInt32Value)47U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell507 = new Cell() { CellReference = "A47", StyleIndex = (UInt32Value)6U }; Cell cell508 = new Cell() { CellReference = "B47", StyleIndex = (UInt32Value)6U }; Cell cell509 = new Cell() { CellReference = "C47", StyleIndex = (UInt32Value)6U }; Cell cell510 = new Cell() { CellReference = "D47", StyleIndex = (UInt32Value)6U }; Cell cell511 = new Cell() { CellReference = "E47", StyleIndex = (UInt32Value)6U }; Cell cell512 = new Cell() { CellReference = "F47", StyleIndex = (UInt32Value)21U }; Cell cell513 = new Cell() { CellReference = "G47", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue71 = new CellValue(); cellValue71.Text = "18"; cell513.Append(cellValue71); Cell cell514 = new Cell() { CellReference = "H47", StyleIndex = (UInt32Value)23U }; CellFormula cellFormula21 = new CellFormula(); cellFormula21.Text = "+J22+J27+J32+J37+J42"; CellValue cellValue72 = new CellValue(); cellValue72.Text = "0"; cell514.Append(cellFormula21); cell514.Append(cellValue72); Cell cell515 = new Cell() { CellReference = "I47", StyleIndex = (UInt32Value)21U }; Cell cell516 = new Cell() { CellReference = "J47", StyleIndex = (UInt32Value)20U }; Cell cell517 = new Cell() { CellReference = "K47", StyleIndex = (UInt32Value)3U }; row47.Append(cell507); row47.Append(cell508); row47.Append(cell509); row47.Append(cell510); row47.Append(cell511); row47.Append(cell512); row47.Append(cell513); row47.Append(cell514); row47.Append(cell515); row47.Append(cell516); row47.Append(cell517); Row row48 = new Row() { RowIndex = (UInt32Value)48U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell518 = new Cell() { CellReference = "A48", StyleIndex = (UInt32Value)6U }; Cell cell519 = new Cell() { CellReference = "B48", StyleIndex = (UInt32Value)6U }; Cell cell520 = new Cell() { CellReference = "C48", StyleIndex = (UInt32Value)6U }; Cell cell521 = new Cell() { CellReference = "D48", StyleIndex = (UInt32Value)6U }; Cell cell522 = new Cell() { CellReference = "E48", StyleIndex = (UInt32Value)6U }; Cell cell523 = new Cell() { CellReference = "F48", StyleIndex = (UInt32Value)21U }; Cell cell524 = new Cell() { CellReference = "G48", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue73 = new CellValue(); cellValue73.Text = "19"; cell524.Append(cellValue73); Cell cell525 = new Cell() { CellReference = "H48", StyleIndex = (UInt32Value)24U }; CellValue cellValue74 = new CellValue(); cellValue74.Text = "0"; cell525.Append(cellValue74); Cell cell526 = new Cell() { CellReference = "I48", StyleIndex = (UInt32Value)25U }; Cell cell527 = new Cell() { CellReference = "J48", StyleIndex = (UInt32Value)20U }; Cell cell528 = new Cell() { CellReference = "K48", StyleIndex = (UInt32Value)3U }; row48.Append(cell518); row48.Append(cell519); row48.Append(cell520); row48.Append(cell521); row48.Append(cell522); row48.Append(cell523); row48.Append(cell524); row48.Append(cell525); row48.Append(cell526); row48.Append(cell527); row48.Append(cell528); Row row49 = new Row() { RowIndex = (UInt32Value)49U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell529 = new Cell() { CellReference = "A49", StyleIndex = (UInt32Value)6U }; Cell cell530 = new Cell() { CellReference = "B49", StyleIndex = (UInt32Value)6U }; Cell cell531 = new Cell() { CellReference = "C49", StyleIndex = (UInt32Value)6U }; Cell cell532 = new Cell() { CellReference = "D49", StyleIndex = (UInt32Value)6U }; Cell cell533 = new Cell() { CellReference = "E49", StyleIndex = (UInt32Value)6U }; Cell cell534 = new Cell() { CellReference = "F49", StyleIndex = (UInt32Value)21U }; Cell cell535 = new Cell() { CellReference = "G49", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue75 = new CellValue(); cellValue75.Text = "20"; cell535.Append(cellValue75); Cell cell536 = new Cell() { CellReference = "H49", StyleIndex = (UInt32Value)24U }; CellFormula cellFormula22 = new CellFormula(); cellFormula22.Text = "+H48*H47"; CellValue cellValue76 = new CellValue(); cellValue76.Text = "0"; cell536.Append(cellFormula22); cell536.Append(cellValue76); Cell cell537 = new Cell() { CellReference = "I49", StyleIndex = (UInt32Value)25U }; Cell cell538 = new Cell() { CellReference = "J49", StyleIndex = (UInt32Value)20U }; Cell cell539 = new Cell() { CellReference = "K49", StyleIndex = (UInt32Value)3U }; row49.Append(cell529); row49.Append(cell530); row49.Append(cell531); row49.Append(cell532); row49.Append(cell533); row49.Append(cell534); row49.Append(cell535); row49.Append(cell536); row49.Append(cell537); row49.Append(cell538); row49.Append(cell539); Row row50 = new Row() { RowIndex = (UInt32Value)50U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell540 = new Cell() { CellReference = "A50", StyleIndex = (UInt32Value)6U }; Cell cell541 = new Cell() { CellReference = "B50", StyleIndex = (UInt32Value)6U }; Cell cell542 = new Cell() { CellReference = "C50", StyleIndex = (UInt32Value)6U }; Cell cell543 = new Cell() { CellReference = "D50", StyleIndex = (UInt32Value)6U }; Cell cell544 = new Cell() { CellReference = "E50", StyleIndex = (UInt32Value)6U }; Cell cell545 = new Cell() { CellReference = "F50", StyleIndex = (UInt32Value)21U }; Cell cell546 = new Cell() { CellReference = "G50", StyleIndex = (UInt32Value)26U }; CellValue cellValue77 = new CellValue(); cellValue77.Text = "0.21"; cell546.Append(cellValue77); Cell cell547 = new Cell() { CellReference = "H50", StyleIndex = (UInt32Value)24U }; CellFormula cellFormula23 = new CellFormula(); cellFormula23.Text = "+H49*0.21"; CellValue cellValue78 = new CellValue(); cellValue78.Text = "0"; cell547.Append(cellFormula23); cell547.Append(cellValue78); Cell cell548 = new Cell() { CellReference = "I50", StyleIndex = (UInt32Value)25U }; Cell cell549 = new Cell() { CellReference = "J50", StyleIndex = (UInt32Value)20U }; Cell cell550 = new Cell() { CellReference = "K50", StyleIndex = (UInt32Value)3U }; row50.Append(cell540); row50.Append(cell541); row50.Append(cell542); row50.Append(cell543); row50.Append(cell544); row50.Append(cell545); row50.Append(cell546); row50.Append(cell547); row50.Append(cell548); row50.Append(cell549); row50.Append(cell550); Row row51 = new Row() { RowIndex = (UInt32Value)51U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell551 = new Cell() { CellReference = "A51", StyleIndex = (UInt32Value)3U }; Cell cell552 = new Cell() { CellReference = "B51", StyleIndex = (UInt32Value)3U }; Cell cell553 = new Cell() { CellReference = "C51", StyleIndex = (UInt32Value)3U }; Cell cell554 = new Cell() { CellReference = "D51", StyleIndex = (UInt32Value)3U }; Cell cell555 = new Cell() { CellReference = "E51", StyleIndex = (UInt32Value)3U }; Cell cell556 = new Cell() { CellReference = "F51", StyleIndex = (UInt32Value)21U }; Cell cell557 = new Cell() { CellReference = "G51", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString }; CellValue cellValue79 = new CellValue(); cellValue79.Text = "21"; cell557.Append(cellValue79); Cell cell558 = new Cell() { CellReference = "H51", StyleIndex = (UInt32Value)24U }; CellFormula cellFormula24 = new CellFormula(); cellFormula24.Text = "+H50+H49"; CellValue cellValue80 = new CellValue(); cellValue80.Text = "0"; cell558.Append(cellFormula24); cell558.Append(cellValue80); Cell cell559 = new Cell() { CellReference = "I51", StyleIndex = (UInt32Value)21U }; Cell cell560 = new Cell() { CellReference = "J51", StyleIndex = (UInt32Value)20U }; Cell cell561 = new Cell() { CellReference = "K51", StyleIndex = (UInt32Value)3U }; row51.Append(cell551); row51.Append(cell552); row51.Append(cell553); row51.Append(cell554); row51.Append(cell555); row51.Append(cell556); row51.Append(cell557); row51.Append(cell558); row51.Append(cell559); row51.Append(cell560); row51.Append(cell561); Row row52 = new Row() { RowIndex = (UInt32Value)52U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell562 = new Cell() { CellReference = "A52", StyleIndex = (UInt32Value)6U }; Cell cell563 = new Cell() { CellReference = "B52", StyleIndex = (UInt32Value)6U }; Cell cell564 = new Cell() { CellReference = "C52", StyleIndex = (UInt32Value)6U }; Cell cell565 = new Cell() { CellReference = "D52", StyleIndex = (UInt32Value)6U }; Cell cell566 = new Cell() { CellReference = "E52", StyleIndex = (UInt32Value)6U }; Cell cell567 = new Cell() { CellReference = "F52", StyleIndex = (UInt32Value)19U }; Cell cell568 = new Cell() { CellReference = "G52", StyleIndex = (UInt32Value)19U }; Cell cell569 = new Cell() { CellReference = "H52", StyleIndex = (UInt32Value)19U }; Cell cell570 = new Cell() { CellReference = "I52", StyleIndex = (UInt32Value)19U }; Cell cell571 = new Cell() { CellReference = "J52", StyleIndex = (UInt32Value)20U }; Cell cell572 = new Cell() { CellReference = "K52", StyleIndex = (UInt32Value)3U }; row52.Append(cell562); row52.Append(cell563); row52.Append(cell564); row52.Append(cell565); row52.Append(cell566); row52.Append(cell567); row52.Append(cell568); row52.Append(cell569); row52.Append(cell570); row52.Append(cell571); row52.Append(cell572); Row row53 = new Row() { RowIndex = (UInt32Value)53U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell573 = new Cell() { CellReference = "A53", StyleIndex = (UInt32Value)6U }; Cell cell574 = new Cell() { CellReference = "B53", StyleIndex = (UInt32Value)6U }; Cell cell575 = new Cell() { CellReference = "C53", StyleIndex = (UInt32Value)6U }; Cell cell576 = new Cell() { CellReference = "D53", StyleIndex = (UInt32Value)6U }; Cell cell577 = new Cell() { CellReference = "E53", StyleIndex = (UInt32Value)6U }; Cell cell578 = new Cell() { CellReference = "F53", StyleIndex = (UInt32Value)19U }; Cell cell579 = new Cell() { CellReference = "G53", StyleIndex = (UInt32Value)19U }; Cell cell580 = new Cell() { CellReference = "H53", StyleIndex = (UInt32Value)19U }; Cell cell581 = new Cell() { CellReference = "I53", StyleIndex = (UInt32Value)19U }; Cell cell582 = new Cell() { CellReference = "J53", StyleIndex = (UInt32Value)20U }; Cell cell583 = new Cell() { CellReference = "K53", StyleIndex = (UInt32Value)3U }; row53.Append(cell573); row53.Append(cell574); row53.Append(cell575); row53.Append(cell576); row53.Append(cell577); row53.Append(cell578); row53.Append(cell579); row53.Append(cell580); row53.Append(cell581); row53.Append(cell582); row53.Append(cell583); Row row54 = new Row() { RowIndex = (UInt32Value)54U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell584 = new Cell() { CellReference = "A54", StyleIndex = (UInt32Value)6U }; Cell cell585 = new Cell() { CellReference = "B54", StyleIndex = (UInt32Value)6U }; Cell cell586 = new Cell() { CellReference = "C54", StyleIndex = (UInt32Value)6U }; Cell cell587 = new Cell() { CellReference = "D54", StyleIndex = (UInt32Value)6U }; Cell cell588 = new Cell() { CellReference = "E54", StyleIndex = (UInt32Value)6U }; Cell cell589 = new Cell() { CellReference = "F54", StyleIndex = (UInt32Value)19U }; Cell cell590 = new Cell() { CellReference = "G54", StyleIndex = (UInt32Value)19U }; Cell cell591 = new Cell() { CellReference = "H54", StyleIndex = (UInt32Value)19U }; Cell cell592 = new Cell() { CellReference = "I54", StyleIndex = (UInt32Value)19U }; Cell cell593 = new Cell() { CellReference = "J54", StyleIndex = (UInt32Value)20U }; Cell cell594 = new Cell() { CellReference = "K54", StyleIndex = (UInt32Value)3U }; row54.Append(cell584); row54.Append(cell585); row54.Append(cell586); row54.Append(cell587); row54.Append(cell588); row54.Append(cell589); row54.Append(cell590); row54.Append(cell591); row54.Append(cell592); row54.Append(cell593); row54.Append(cell594); Row row55 = new Row() { RowIndex = (UInt32Value)55U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell595 = new Cell() { CellReference = "A55", StyleIndex = (UInt32Value)6U }; Cell cell596 = new Cell() { CellReference = "B55", StyleIndex = (UInt32Value)6U }; Cell cell597 = new Cell() { CellReference = "C55", StyleIndex = (UInt32Value)6U }; Cell cell598 = new Cell() { CellReference = "D55", StyleIndex = (UInt32Value)6U }; Cell cell599 = new Cell() { CellReference = "E55", StyleIndex = (UInt32Value)6U }; Cell cell600 = new Cell() { CellReference = "F55", StyleIndex = (UInt32Value)19U }; Cell cell601 = new Cell() { CellReference = "G55", StyleIndex = (UInt32Value)19U }; Cell cell602 = new Cell() { CellReference = "H55", StyleIndex = (UInt32Value)19U }; Cell cell603 = new Cell() { CellReference = "I55", StyleIndex = (UInt32Value)19U }; Cell cell604 = new Cell() { CellReference = "J55", StyleIndex = (UInt32Value)20U }; Cell cell605 = new Cell() { CellReference = "K55", StyleIndex = (UInt32Value)3U }; row55.Append(cell595); row55.Append(cell596); row55.Append(cell597); row55.Append(cell598); row55.Append(cell599); row55.Append(cell600); row55.Append(cell601); row55.Append(cell602); row55.Append(cell603); row55.Append(cell604); row55.Append(cell605); Row row56 = new Row() { RowIndex = (UInt32Value)56U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell606 = new Cell() { CellReference = "A56", StyleIndex = (UInt32Value)6U }; Cell cell607 = new Cell() { CellReference = "B56", StyleIndex = (UInt32Value)6U }; Cell cell608 = new Cell() { CellReference = "C56", StyleIndex = (UInt32Value)6U }; Cell cell609 = new Cell() { CellReference = "D56", StyleIndex = (UInt32Value)6U }; Cell cell610 = new Cell() { CellReference = "E56", StyleIndex = (UInt32Value)6U }; Cell cell611 = new Cell() { CellReference = "F56", StyleIndex = (UInt32Value)19U }; Cell cell612 = new Cell() { CellReference = "G56", StyleIndex = (UInt32Value)19U }; Cell cell613 = new Cell() { CellReference = "H56", StyleIndex = (UInt32Value)19U }; Cell cell614 = new Cell() { CellReference = "I56", StyleIndex = (UInt32Value)19U }; Cell cell615 = new Cell() { CellReference = "J56", StyleIndex = (UInt32Value)20U }; Cell cell616 = new Cell() { CellReference = "K56", StyleIndex = (UInt32Value)3U }; row56.Append(cell606); row56.Append(cell607); row56.Append(cell608); row56.Append(cell609); row56.Append(cell610); row56.Append(cell611); row56.Append(cell612); row56.Append(cell613); row56.Append(cell614); row56.Append(cell615); row56.Append(cell616); Row row57 = new Row() { RowIndex = (UInt32Value)57U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell617 = new Cell() { CellReference = "A57", StyleIndex = (UInt32Value)16U }; Cell cell618 = new Cell() { CellReference = "B57", StyleIndex = (UInt32Value)17U }; Cell cell619 = new Cell() { CellReference = "C57", StyleIndex = (UInt32Value)17U }; Cell cell620 = new Cell() { CellReference = "D57", StyleIndex = (UInt32Value)17U }; Cell cell621 = new Cell() { CellReference = "E57", StyleIndex = (UInt32Value)17U }; Cell cell622 = new Cell() { CellReference = "F57", StyleIndex = (UInt32Value)27U }; Cell cell623 = new Cell() { CellReference = "G57", StyleIndex = (UInt32Value)27U }; Cell cell624 = new Cell() { CellReference = "H57", StyleIndex = (UInt32Value)27U }; Cell cell625 = new Cell() { CellReference = "I57", StyleIndex = (UInt32Value)27U }; Cell cell626 = new Cell() { CellReference = "J57", StyleIndex = (UInt32Value)28U }; Cell cell627 = new Cell() { CellReference = "K57", StyleIndex = (UInt32Value)3U }; row57.Append(cell617); row57.Append(cell618); row57.Append(cell619); row57.Append(cell620); row57.Append(cell621); row57.Append(cell622); row57.Append(cell623); row57.Append(cell624); row57.Append(cell625); row57.Append(cell626); row57.Append(cell627); Row row58 = new Row() { RowIndex = (UInt32Value)58U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell628 = new Cell() { CellReference = "A58", StyleIndex = (UInt32Value)3U }; Cell cell629 = new Cell() { CellReference = "B58", StyleIndex = (UInt32Value)3U }; Cell cell630 = new Cell() { CellReference = "C58", StyleIndex = (UInt32Value)3U }; Cell cell631 = new Cell() { CellReference = "D58", StyleIndex = (UInt32Value)3U }; Cell cell632 = new Cell() { CellReference = "E58", StyleIndex = (UInt32Value)3U }; Cell cell633 = new Cell() { CellReference = "F58", StyleIndex = (UInt32Value)3U }; Cell cell634 = new Cell() { CellReference = "G58", StyleIndex = (UInt32Value)3U }; Cell cell635 = new Cell() { CellReference = "H58", StyleIndex = (UInt32Value)3U }; Cell cell636 = new Cell() { CellReference = "I58", StyleIndex = (UInt32Value)3U }; Cell cell637 = new Cell() { CellReference = "J58", StyleIndex = (UInt32Value)18U }; Cell cell638 = new Cell() { CellReference = "K58", StyleIndex = (UInt32Value)3U }; row58.Append(cell628); row58.Append(cell629); row58.Append(cell630); row58.Append(cell631); row58.Append(cell632); row58.Append(cell633); row58.Append(cell634); row58.Append(cell635); row58.Append(cell636); row58.Append(cell637); row58.Append(cell638); Row row59 = new Row() { RowIndex = (UInt32Value)59U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } }; Cell cell639 = new Cell() { CellReference = "A59", StyleIndex = (UInt32Value)3U }; Cell cell640 = new Cell() { CellReference = "B59", StyleIndex = (UInt32Value)3U }; Cell cell641 = new Cell() { CellReference = "C59", StyleIndex = (UInt32Value)3U }; Cell cell642 = new Cell() { CellReference = "D59", StyleIndex = (UInt32Value)3U }; Cell cell643 = new Cell() { CellReference = "E59", StyleIndex = (UInt32Value)3U }; Cell cell644 = new Cell() { CellReference = "F59", StyleIndex = (UInt32Value)3U }; Cell cell645 = new Cell() { CellReference = "G59", StyleIndex = (UInt32Value)3U }; Cell cell646 = new Cell() { CellReference = "H59", StyleIndex = (UInt32Value)3U }; Cell cell647 = new Cell() { CellReference = "I59", StyleIndex = (UInt32Value)3U }; Cell cell648 = new Cell() { CellReference = "J59", StyleIndex = (UInt32Value)18U }; Cell cell649 = new Cell() { CellReference = "K59", StyleIndex = (UInt32Value)3U }; row59.Append(cell639); row59.Append(cell640); row59.Append(cell641); row59.Append(cell642); row59.Append(cell643); row59.Append(cell644); row59.Append(cell645); row59.Append(cell646); row59.Append(cell647); row59.Append(cell648); row59.Append(cell649); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); sheetData1.Append(row12); sheetData1.Append(row13); sheetData1.Append(row14); sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); sheetData1.Append(row22); sheetData1.Append(row23); sheetData1.Append(row24); sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); sheetData1.Append(row28); sheetData1.Append(row29); sheetData1.Append(row30); sheetData1.Append(row31); sheetData1.Append(row32); sheetData1.Append(row33); sheetData1.Append(row34); sheetData1.Append(row35); sheetData1.Append(row36); sheetData1.Append(row37); sheetData1.Append(row38); sheetData1.Append(row39); sheetData1.Append(row40); sheetData1.Append(row41); sheetData1.Append(row42); sheetData1.Append(row43); sheetData1.Append(row44); sheetData1.Append(row45); sheetData1.Append(row46); sheetData1.Append(row47); sheetData1.Append(row48); sheetData1.Append(row49); sheetData1.Append(row50); sheetData1.Append(row51); sheetData1.Append(row52); sheetData1.Append(row53); sheetData1.Append(row54); sheetData1.Append(row55); sheetData1.Append(row56); sheetData1.Append(row57); sheetData1.Append(row58); sheetData1.Append(row59); MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)1U }; MergeCell mergeCell1 = new MergeCell() { Reference = "B9:C9" }; mergeCells1.Append(mergeCell1); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, HorizontalDpi = (UInt32Value)300U, VerticalDpi = (UInt32Value)300U, Id = "rId1" }; Drawing drawing1 = new Drawing() { Id = "rId2" }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(mergeCells1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheet1.Append(drawing1); worksheetPart1.Worksheet = worksheet1; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:A2" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "A2", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A2" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 15D }; SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:1" } }; Cell cell1 = new Cell() { CellReference = "A1" }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "1"; cell1.Append(cellValue1); row1.Append(cell1); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:1" } }; Cell cell2 = new Cell() { CellReference = "A2" }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "-1"; cell2.Append(cellValue2); row2.Append(cell2); sheetData1.Append(row1); sheetData1.Append(row2); ConditionalFormatting conditionalFormatting1 = new ConditionalFormatting() { SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A1" } }; ConditionalFormattingRule conditionalFormattingRule1 = new ConditionalFormattingRule() { Type = ConditionalFormatValues.CellIs, FormatId = (UInt32Value)2U, Priority = 2, Operator = ConditionalFormattingOperatorValues.GreaterThan }; Formula formula1 = new Formula(); formula1.Text = "0"; conditionalFormattingRule1.Append(formula1); conditionalFormatting1.Append(conditionalFormattingRule1); ConditionalFormatting conditionalFormatting2 = new ConditionalFormatting() { SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A2" } }; ConditionalFormattingRule conditionalFormattingRule2 = new ConditionalFormattingRule() { Type = ConditionalFormatValues.CellIs, FormatId = (UInt32Value)0U, Priority = 1, Operator = ConditionalFormattingOperatorValues.LessThan }; Formula formula2 = new Formula(); formula2.Text = "0"; conditionalFormattingRule2.Append(formula2); conditionalFormatting2.Append(conditionalFormattingRule2); PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(sheetData1); worksheet1.Append(conditionalFormatting1); worksheet1.Append(conditionalFormatting2); worksheet1.Append(pageMargins1); worksheetPart1.Worksheet = worksheet1; }
public bool ImportExcel(string strSiteid, string strSupplierID, string strSupplyType, string strNotificationId, string strNotification, string CategoryID, string Category, string strReadingInterval) { if (System.IO.File.Exists(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "MeterTemplate.xlsx"))) { System.IO.File.Delete(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "MeterTemplate.xlsx")); } string[] ListOfExportFieldName = new string[] { "ClientId", "Client", "NetworkId", "Network" , "PropertyId","Property Address","SupplyTypeId","Supply Type","ReadFrequencyId","Read Frequency","MeterCategoryId","Meter Category","Reading Interval", "Start Date","End Date","Meter Serial","Device ID","Meter Start Date","Meter End Date","Opening Read","Offset Value", "Warrenty Date"}; using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(System.IO.Path.Combine(HttpContext.Current.Server.MapPath("~/Upload"), "MeterTemplate.xlsx"), SpreadsheetDocumentType.Workbook)) { SheetData sheetData = new SheetData(); Row row = new Row(); Row titleRow = new Row { RowIndex = (UInt32)1 }; //-------------------------Field Type---------------------------------- titleRow.AppendChild(CreateTextCell("A", ListOfExportFieldName[0], 1)); titleRow.AppendChild(CreateTextCell("B", ListOfExportFieldName[1], 1)); titleRow.AppendChild(CreateTextCell("C", ListOfExportFieldName[2], 1)); titleRow.AppendChild(CreateTextCell("D", ListOfExportFieldName[3], 1)); titleRow.AppendChild(CreateTextCell("E", ListOfExportFieldName[4], 1)); titleRow.AppendChild(CreateTextCell("F", ListOfExportFieldName[5], 1)); titleRow.AppendChild(CreateTextCell("G", ListOfExportFieldName[6], 1)); titleRow.AppendChild(CreateTextCell("H", ListOfExportFieldName[7], 1)); titleRow.AppendChild(CreateTextCell("I", ListOfExportFieldName[8], 1)); titleRow.AppendChild(CreateTextCell("J", ListOfExportFieldName[9], 1)); titleRow.AppendChild(CreateTextCell("K", ListOfExportFieldName[10], 1)); titleRow.AppendChild(CreateTextCell("L", ListOfExportFieldName[11], 1)); titleRow.AppendChild(CreateTextCell("M", ListOfExportFieldName[12], 1)); titleRow.AppendChild(CreateTextCell("N", ListOfExportFieldName[13], 1)); titleRow.AppendChild(CreateTextCell("O", ListOfExportFieldName[14], 1)); titleRow.AppendChild(CreateTextCell("P", ListOfExportFieldName[15], 1)); titleRow.AppendChild(CreateTextCell("Q", ListOfExportFieldName[16], 1)); titleRow.AppendChild(CreateTextCell("R", ListOfExportFieldName[17], 1)); titleRow.AppendChild(CreateTextCell("S", ListOfExportFieldName[18], 1)); titleRow.AppendChild(CreateTextCell("T", ListOfExportFieldName[19], 1)); titleRow.AppendChild(CreateTextCell("U", ListOfExportFieldName[20], 1)); titleRow.AppendChild(CreateTextCell("V", ListOfExportFieldName[21], 1)); // Append Row to SheetData sheetData.AppendChild(titleRow); DataTable dt = GetRecordFromSiteMaster(strSiteid, strSupplierID, strSupplyType, strNotificationId, strNotification, CategoryID, Category, strReadingInterval); if (dt != null) { for (int i = 0; i < dt.Rows.Count; i++) { Row Subrow = new Row(); Subrow.AppendChild(CreateTextCell("A", Convert.ToString(dt.Rows[i]["ClientId"]), i + 2)); Subrow.AppendChild(CreateTextCell("B", Convert.ToString(dt.Rows[i]["Client"]), i + 2)); Subrow.AppendChild(CreateTextCell("C", Convert.ToString(dt.Rows[i]["NetworkId"]), i + 2)); Subrow.AppendChild(CreateTextCell("D", Convert.ToString(dt.Rows[i]["Network"]), i + 2)); Subrow.AppendChild(CreateTextCell("E", Convert.ToString(dt.Rows[i]["PropertyId"]), i + 2)); Subrow.AppendChild(CreateTextCell("F", Convert.ToString(dt.Rows[i]["Property Address"]), i + 2)); Subrow.AppendChild(CreateTextCell("G", Convert.ToString(dt.Rows[i]["SupplyTypeId"]), i + 2)); Subrow.AppendChild(CreateTextCell("H", Convert.ToString(dt.Rows[i]["Supply Type"]), i + 2)); Subrow.AppendChild(CreateTextCell("I", Convert.ToString(dt.Rows[i]["ReadFrequencyId"]), i + 2)); Subrow.AppendChild(CreateTextCell("J", Convert.ToString(dt.Rows[i]["Read Frequency"]), i + 2)); Subrow.AppendChild(CreateTextCell("K", Convert.ToString(dt.Rows[i]["MeterCategoryId"]), i + 2)); Subrow.AppendChild(CreateTextCell("L", Convert.ToString(dt.Rows[i]["Meter Category"]), i + 2)); Subrow.AppendChild(CreateTextCell("M", Convert.ToString(dt.Rows[i]["Reading Interval"]), i + 2)); // Append Row to SheetData sheetData.AppendChild(Subrow); } } // Add a WorkbookPart to the document. WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart(); workbookpart.Workbook = new Workbook(); Worksheet sheet1 = new Worksheet(); //-------------------Column Size--------------------- Columns columns = new Columns(); uint ival = 1; foreach (string value in ListOfExportFieldName) { columns.Append(CreateColumnSize(1, ival, 28)); ival++; } sheet1.Append(columns); //-------------------Column Size--------------------- sheet1.Append(sheetData); // Add a WorksheetPart to the WorkbookPart. WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>(); worksheetPart.Worksheet = sheet1; // Add Sheets to the Workbook. Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild<Sheets>(new Sheets()); // Append a new worksheet and associate it with the workbook. Sheet sheet = new Sheet() { Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "MeterTemplate" }; sheets.Append(sheet); // Close the document. spreadsheetDocument.Close(); } return true; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("x", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); SheetData sheetData1 = new SheetData(); worksheet1.Append(sheetData1); worksheetPart1.Worksheet = worksheet1; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetProperties sheetProperties1 = new SheetProperties(); PageSetupProperties pageSetupProperties1 = new PageSetupProperties() { FitToPage = true }; sheetProperties1.Append(pageSetupProperties1); SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:I32" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TabSelected = true, ZoomScale = (UInt32Value)80U, WorkbookViewId = (UInt32Value)0U }; Selection selection1 = new Selection() { ActiveCell = "C38", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "C38" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 12.75D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 8.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 16.5703125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 25.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 33.140625D, Style = (UInt32Value)1U, CustomWidth = true }; Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 22.42578125D, Style = (UInt32Value)1U, CustomWidth = true }; Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 16.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 14.7109375D, Style = (UInt32Value)1U, CustomWidth = true }; Column column8 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)16384U, Width = 11.42578125D, Style = (UInt32Value)1U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); columns1.Append(column7); columns1.Append(column8); SheetData sheetData1 = new SheetData(); Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)7U }; Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)32U }; Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)32U }; Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)32U }; Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)32U }; Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)32U }; Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)7U }; Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)7U }; row1.Append(cell1); row1.Append(cell2); row1.Append(cell3); row1.Append(cell4); row1.Append(cell5); row1.Append(cell6); row1.Append(cell7); row1.Append(cell8); Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell9 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)7U }; Cell cell10 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)2U }; Cell cell11 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)2U }; Cell cell12 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString }; CellValue cellValue1 = new CellValue(); cellValue1.Text = "9"; cell12.Append(cellValue1); Cell cell13 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)2U }; Cell cell14 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)2U }; Cell cell15 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)7U }; Cell cell16 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)7U }; row2.Append(cell9); row2.Append(cell10); row2.Append(cell11); row2.Append(cell12); row2.Append(cell13); row2.Append(cell14); row2.Append(cell15); row2.Append(cell16); Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell17 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)7U }; Cell cell18 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)2U }; Cell cell19 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)2U }; Cell cell20 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString }; CellValue cellValue2 = new CellValue(); cellValue2.Text = "10"; cell20.Append(cellValue2); Cell cell21 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)2U }; Cell cell22 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)2U }; Cell cell23 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)7U }; Cell cell24 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)7U }; row3.Append(cell17); row3.Append(cell18); row3.Append(cell19); row3.Append(cell20); row3.Append(cell21); row3.Append(cell22); row3.Append(cell23); row3.Append(cell24); Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell25 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)10U }; Cell cell26 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)3U }; Cell cell27 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)2U }; Cell cell28 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString }; CellValue cellValue3 = new CellValue(); cellValue3.Text = "8"; cell28.Append(cellValue3); Cell cell29 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)2U }; Cell cell30 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)2U }; Cell cell31 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)7U }; Cell cell32 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)7U }; row4.Append(cell25); row4.Append(cell26); row4.Append(cell27); row4.Append(cell28); row4.Append(cell29); row4.Append(cell30); row4.Append(cell31); row4.Append(cell32); Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 54.75D, CustomHeight = true }; Cell cell33 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)10U }; Cell cell34 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)7U }; Cell cell35 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)2U }; Cell cell36 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)2U }; Cell cell37 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)2U }; Cell cell38 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)2U }; Cell cell39 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)7U }; Cell cell40 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)7U }; row5.Append(cell33); row5.Append(cell34); row5.Append(cell35); row5.Append(cell36); row5.Append(cell37); row5.Append(cell38); row5.Append(cell39); row5.Append(cell40); Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell41 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)10U }; Cell cell42 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue4 = new CellValue(); cellValue4.Text = "2"; cell42.Append(cellValue4); Cell cell43 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)12U }; Cell cell44 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)2U }; Cell cell45 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)2U }; Cell cell46 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)2U }; Cell cell47 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)7U }; Cell cell48 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)7U }; row6.Append(cell41); row6.Append(cell42); row6.Append(cell43); row6.Append(cell44); row6.Append(cell45); row6.Append(cell46); row6.Append(cell47); row6.Append(cell48); Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell49 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)10U }; Cell cell50 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue5 = new CellValue(); cellValue5.Text = "4"; cell50.Append(cellValue5); Cell cell51 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)8U }; Cell cell52 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)2U }; Cell cell53 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)2U }; Cell cell54 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)2U }; Cell cell55 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)7U }; Cell cell56 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)7U }; row7.Append(cell49); row7.Append(cell50); row7.Append(cell51); row7.Append(cell52); row7.Append(cell53); row7.Append(cell54); row7.Append(cell55); row7.Append(cell56); Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell57 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)10U }; Cell cell58 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue6 = new CellValue(); cellValue6.Text = "3"; cell58.Append(cellValue6); Cell cell59 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)2U }; Cell cell60 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)2U }; Cell cell61 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)2U }; Cell cell62 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)2U }; Cell cell63 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)7U }; Cell cell64 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)7U }; row8.Append(cell57); row8.Append(cell58); row8.Append(cell59); row8.Append(cell60); row8.Append(cell61); row8.Append(cell62); row8.Append(cell63); row8.Append(cell64); Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell65 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)10U }; Cell cell66 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue7 = new CellValue(); cellValue7.Text = "0"; cell66.Append(cellValue7); Cell cell67 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)38U }; Cell cell68 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)4U }; Cell cell69 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)4U }; Cell cell70 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)4U }; Cell cell71 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)7U }; Cell cell72 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)7U }; row9.Append(cell65); row9.Append(cell66); row9.Append(cell67); row9.Append(cell68); row9.Append(cell69); row9.Append(cell70); row9.Append(cell71); row9.Append(cell72); Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell73 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)10U }; Cell cell74 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString }; CellValue cellValue8 = new CellValue(); cellValue8.Text = "1"; cell74.Append(cellValue8); Cell cell75 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)38U }; Cell cell76 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)4U }; Cell cell77 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)4U }; Cell cell78 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)4U }; Cell cell79 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)7U }; Cell cell80 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)7U }; row10.Append(cell73); row10.Append(cell74); row10.Append(cell75); row10.Append(cell76); row10.Append(cell77); row10.Append(cell78); row10.Append(cell79); row10.Append(cell80); Row row11 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell81 = new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)10U }; Cell cell82 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)4U }; Cell cell83 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)4U }; Cell cell84 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)4U }; Cell cell85 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)4U }; Cell cell86 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)4U }; Cell cell87 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)7U }; Cell cell88 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)7U }; row11.Append(cell81); row11.Append(cell82); row11.Append(cell83); row11.Append(cell84); row11.Append(cell85); row11.Append(cell86); row11.Append(cell87); row11.Append(cell88); Row row12 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell89 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)10U }; Cell cell90 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)4U }; Cell cell91 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)4U }; Cell cell92 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)4U }; Cell cell93 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)4U }; Cell cell94 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)4U }; Cell cell95 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)7U }; Cell cell96 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)7U }; row12.Append(cell89); row12.Append(cell90); row12.Append(cell91); row12.Append(cell92); row12.Append(cell93); row12.Append(cell94); row12.Append(cell95); row12.Append(cell96); Row row13 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 15.75D }; Cell cell97 = new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)10U }; Cell cell98 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)4U }; Cell cell99 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)4U }; Cell cell100 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString }; CellValue cellValue9 = new CellValue(); cellValue9.Text = "11"; cell100.Append(cellValue9); Cell cell101 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)22U }; Cell cell102 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)4U }; Cell cell103 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)4U }; Cell cell104 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)7U }; row13.Append(cell97); row13.Append(cell98); row13.Append(cell99); row13.Append(cell100); row13.Append(cell101); row13.Append(cell102); row13.Append(cell103); row13.Append(cell104); Row row14 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 15.75D, CustomHeight = true }; Cell cell105 = new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)10U }; Cell cell106 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)6U }; Cell cell107 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)6U }; Cell cell108 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)23U }; Cell cell109 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)6U }; Cell cell110 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)24U }; Cell cell111 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)25U }; Cell cell112 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)4U }; row14.Append(cell105); row14.Append(cell106); row14.Append(cell107); row14.Append(cell108); row14.Append(cell109); row14.Append(cell110); row14.Append(cell111); row14.Append(cell112); Row row15 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 52.5D, CustomHeight = true }; Cell cell113 = new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)10U }; Cell cell114 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)6U }; Cell cell115 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)6U }; Cell cell116 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)23U }; Cell cell117 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)6U }; Cell cell118 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)24U }; Cell cell119 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)25U }; Cell cell120 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)4U }; row15.Append(cell113); row15.Append(cell114); row15.Append(cell115); row15.Append(cell116); row15.Append(cell117); row15.Append(cell118); row15.Append(cell119); row15.Append(cell120); Row row16 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true }; Cell cell121 = new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)10U }; Cell cell122 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString }; CellValue cellValue10 = new CellValue(); cellValue10.Text = "4"; cell122.Append(cellValue10); Cell cell123 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString }; CellValue cellValue11 = new CellValue(); cellValue11.Text = "5"; cell123.Append(cellValue11); Cell cell124 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString }; CellValue cellValue12 = new CellValue(); cellValue12.Text = "7"; cell124.Append(cellValue12); Cell cell125 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString }; CellValue cellValue13 = new CellValue(); cellValue13.Text = "6"; cell125.Append(cellValue13); Cell cell126 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString }; CellValue cellValue14 = new CellValue(); cellValue14.Text = "15"; cell126.Append(cellValue14); Cell cell127 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)34U, DataType = CellValues.SharedString }; CellValue cellValue15 = new CellValue(); cellValue15.Text = "16"; cell127.Append(cellValue15); Cell cell128 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)4U }; Cell cell129 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)4U }; row16.Append(cell121); row16.Append(cell122); row16.Append(cell123); row16.Append(cell124); row16.Append(cell125); row16.Append(cell126); row16.Append(cell127); row16.Append(cell128); row16.Append(cell129); Row row17 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true }; Cell cell130 = new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)10U }; Cell cell131 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)5U }; Cell cell132 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)31U }; Cell cell133 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)39U }; Cell cell134 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)5U }; Cell cell135 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)33U }; Cell cell136 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)35U }; Cell cell137 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)4U }; Cell cell138 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)4U }; row17.Append(cell130); row17.Append(cell131); row17.Append(cell132); row17.Append(cell133); row17.Append(cell134); row17.Append(cell135); row17.Append(cell136); row17.Append(cell137); row17.Append(cell138); Row row18 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true }; Cell cell139 = new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)9U }; Cell cell140 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)6U }; Cell cell141 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)6U }; Cell cell142 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)6U }; Cell cell143 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)6U }; Cell cell144 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)6U }; Cell cell145 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)7U }; Cell cell146 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)4U }; Cell cell147 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)4U }; row18.Append(cell139); row18.Append(cell140); row18.Append(cell141); row18.Append(cell142); row18.Append(cell143); row18.Append(cell144); row18.Append(cell145); row18.Append(cell146); row18.Append(cell147); Row row19 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true }; Cell cell148 = new Cell() { CellReference = "A19", StyleIndex = (UInt32Value)10U }; Cell cell149 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)7U }; Cell cell150 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)26U }; Cell cell151 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)7U }; Cell cell152 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)27U, DataType = CellValues.SharedString }; CellValue cellValue16 = new CellValue(); cellValue16.Text = "12"; cell152.Append(cellValue16); Cell cell153 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)36U }; Cell cell154 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)7U }; row19.Append(cell148); row19.Append(cell149); row19.Append(cell150); row19.Append(cell151); row19.Append(cell152); row19.Append(cell153); row19.Append(cell154); Row row20 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true }; Cell cell155 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)10U }; Cell cell156 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)6U }; Cell cell157 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)25U }; Cell cell158 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)6U }; Cell cell159 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)27U, DataType = CellValues.SharedString }; CellValue cellValue17 = new CellValue(); cellValue17.Text = "13"; cell159.Append(cellValue17); Cell cell160 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)36U }; CellFormula cellFormula1 = new CellFormula(); cellFormula1.Text = "+G19*0.21"; CellValue cellValue18 = new CellValue(); cellValue18.Text = "0"; cell160.Append(cellFormula1); cell160.Append(cellValue18); Cell cell161 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)7U }; row20.Append(cell155); row20.Append(cell156); row20.Append(cell157); row20.Append(cell158); row20.Append(cell159); row20.Append(cell160); row20.Append(cell161); Row row21 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true }; Cell cell162 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)10U }; Cell cell163 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)6U }; Cell cell164 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)25U }; Cell cell165 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)6U }; Cell cell166 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)28U, DataType = CellValues.SharedString }; CellValue cellValue19 = new CellValue(); cellValue19.Text = "14"; cell166.Append(cellValue19); Cell cell167 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)37U }; CellFormula cellFormula2 = new CellFormula(); cellFormula2.Text = "+G20+G19"; CellValue cellValue20 = new CellValue(); cellValue20.Text = "0"; cell167.Append(cellFormula2); cell167.Append(cellValue20); Cell cell168 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)7U }; row21.Append(cell162); row21.Append(cell163); row21.Append(cell164); row21.Append(cell165); row21.Append(cell166); row21.Append(cell167); row21.Append(cell168); Row row22 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell169 = new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)29U }; Cell cell170 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)7U }; Cell cell171 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)7U }; Cell cell172 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)7U }; Cell cell173 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)7U }; Cell cell174 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)30U }; Cell cell175 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)11U }; Cell cell176 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)7U }; row22.Append(cell169); row22.Append(cell170); row22.Append(cell171); row22.Append(cell172); row22.Append(cell173); row22.Append(cell174); row22.Append(cell175); row22.Append(cell176); Row row23 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true }; Cell cell177 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)9U }; Cell cell178 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)6U }; Cell cell179 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)6U }; Cell cell180 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)6U }; Cell cell181 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)6U }; Cell cell182 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)6U }; Cell cell183 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)7U }; Cell cell184 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)4U }; Cell cell185 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)4U }; row23.Append(cell177); row23.Append(cell178); row23.Append(cell179); row23.Append(cell180); row23.Append(cell181); row23.Append(cell182); row23.Append(cell183); row23.Append(cell184); row23.Append(cell185); Row row24 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true }; Cell cell186 = new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)9U }; Cell cell187 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)6U }; Cell cell188 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)6U }; Cell cell189 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)6U }; Cell cell190 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)6U }; Cell cell191 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)7U }; Cell cell192 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)7U }; Cell cell193 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)7U }; row24.Append(cell186); row24.Append(cell187); row24.Append(cell188); row24.Append(cell189); row24.Append(cell190); row24.Append(cell191); row24.Append(cell192); row24.Append(cell193); Row row25 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true }; Cell cell194 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)9U }; Cell cell195 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)6U }; Cell cell196 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)6U }; Cell cell197 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)6U }; Cell cell198 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)6U }; Cell cell199 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)11U }; Cell cell200 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)7U }; Cell cell201 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)7U }; row25.Append(cell194); row25.Append(cell195); row25.Append(cell196); row25.Append(cell197); row25.Append(cell198); row25.Append(cell199); row25.Append(cell200); row25.Append(cell201); Row row26 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true }; Cell cell202 = new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)9U }; Cell cell203 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)6U }; Cell cell204 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)6U }; Cell cell205 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)6U }; Cell cell206 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)6U }; Cell cell207 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)15U }; Cell cell208 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)4U }; Cell cell209 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)4U }; Cell cell210 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)4U }; row26.Append(cell202); row26.Append(cell203); row26.Append(cell204); row26.Append(cell205); row26.Append(cell206); row26.Append(cell207); row26.Append(cell208); row26.Append(cell209); row26.Append(cell210); Row row27 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true }; Cell cell211 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)9U }; Cell cell212 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)6U }; Cell cell213 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)6U }; Cell cell214 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)6U }; Cell cell215 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)6U }; Cell cell216 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)16U }; Cell cell217 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U }; Cell cell218 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)4U }; Cell cell219 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)4U }; row27.Append(cell211); row27.Append(cell212); row27.Append(cell213); row27.Append(cell214); row27.Append(cell215); row27.Append(cell216); row27.Append(cell217); row27.Append(cell218); row27.Append(cell219); Row row28 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true }; Cell cell220 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)10U }; Cell cell221 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)7U }; Cell cell222 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)7U }; Cell cell223 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)7U }; Cell cell224 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)7U }; Cell cell225 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)17U }; Cell cell226 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)7U }; Cell cell227 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)7U }; row28.Append(cell220); row28.Append(cell221); row28.Append(cell222); row28.Append(cell223); row28.Append(cell224); row28.Append(cell225); row28.Append(cell226); row28.Append(cell227); Row row29 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 10.5D, CustomHeight = true }; Cell cell228 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)7U }; Cell cell229 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)7U }; Cell cell230 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)7U }; Cell cell231 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)7U }; Cell cell232 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)7U }; Cell cell233 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)7U }; Cell cell234 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)7U }; Cell cell235 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)7U }; row29.Append(cell228); row29.Append(cell229); row29.Append(cell230); row29.Append(cell231); row29.Append(cell232); row29.Append(cell233); row29.Append(cell234); row29.Append(cell235); Row row30 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell236 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)7U }; Cell cell237 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)7U }; Cell cell238 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)7U }; Cell cell239 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)7U }; Cell cell240 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)7U }; Cell cell241 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)7U }; Cell cell242 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)7U }; Cell cell243 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)7U }; row30.Append(cell236); row30.Append(cell237); row30.Append(cell238); row30.Append(cell239); row30.Append(cell240); row30.Append(cell241); row30.Append(cell242); row30.Append(cell243); Row row31 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell244 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)7U }; Cell cell245 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)7U }; Cell cell246 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)7U }; Cell cell247 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)7U }; Cell cell248 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)7U }; Cell cell249 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)7U }; Cell cell250 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)7U }; row31.Append(cell244); row31.Append(cell245); row31.Append(cell246); row31.Append(cell247); row31.Append(cell248); row31.Append(cell249); row31.Append(cell250); Row row32 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } }; Cell cell251 = new Cell() { CellReference = "A32", StyleIndex = (UInt32Value)7U }; Cell cell252 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)7U }; Cell cell253 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)7U }; Cell cell254 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)7U }; Cell cell255 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)7U }; Cell cell256 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)7U }; Cell cell257 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)7U }; row32.Append(cell251); row32.Append(cell252); row32.Append(cell253); row32.Append(cell254); row32.Append(cell255); row32.Append(cell256); row32.Append(cell257); sheetData1.Append(row1); sheetData1.Append(row2); sheetData1.Append(row3); sheetData1.Append(row4); sheetData1.Append(row5); sheetData1.Append(row6); sheetData1.Append(row7); sheetData1.Append(row8); sheetData1.Append(row9); sheetData1.Append(row10); sheetData1.Append(row11); sheetData1.Append(row12); sheetData1.Append(row13); sheetData1.Append(row14); sheetData1.Append(row15); sheetData1.Append(row16); sheetData1.Append(row17); sheetData1.Append(row18); sheetData1.Append(row19); sheetData1.Append(row20); sheetData1.Append(row21); sheetData1.Append(row22); sheetData1.Append(row23); sheetData1.Append(row24); sheetData1.Append(row25); sheetData1.Append(row26); sheetData1.Append(row27); sheetData1.Append(row28); sheetData1.Append(row29); sheetData1.Append(row30); sheetData1.Append(row31); sheetData1.Append(row32); PhoneticProperties phoneticProperties1 = new PhoneticProperties() { FontId = (UInt32Value)0U, Type = PhoneticValues.NoConversion }; PageMargins pageMargins1 = new PageMargins() { Left = 0.82D, Right = 0.39D, Top = 0.62D, Bottom = 1D, Header = 0D, Footer = 0D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Scale = (UInt32Value)74U, Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)4294967292U, VerticalDpi = (UInt32Value)300U, Id = "rId1" }; HeaderFooter headerFooter1 = new HeaderFooter() { AlignWithMargins = false }; Drawing drawing1 = new Drawing() { Id = "rId2" }; worksheet1.Append(sheetProperties1); worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(phoneticProperties1); worksheet1.Append(pageMargins1); worksheet1.Append(pageSetup1); worksheet1.Append(headerFooter1); worksheet1.Append(drawing1); worksheetPart1.Worksheet = worksheet1; }
/// <summary> /// Initialize the worksheet with required details /// </summary> /// <returns></returns> private Worksheet SetWorksheetData() { Worksheet worksheet = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } }; worksheet.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); Columns columns = new Columns(); Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 15U, CustomWidth = true }; Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = (Double)ConversionSettings.ColumnWidth, CustomWidth = true }; columns.Append(column1); columns.Append(column2); columns.Append(column3); columns.Append(column4); SheetData sheetData = new SheetData(); SheetProtection sheetProtection = new SheetProtection() { Sheet = true, Objects = true, Scenarios = true }; worksheet.Append(columns); worksheet.Append(sheetData); worksheet.Append(sheetProtection); return worksheet; }
// Generates content of worksheetPart1. private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1) { Worksheet worksheet1 = new Worksheet(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "x14ac" } }; worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"); SheetDimension sheetDimension1 = new SheetDimension(){ Reference = "A1" }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView(){ TabSelected = true, WorkbookViewId = (UInt32Value)0U }; sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties(){ DefaultRowHeight = 15D }; SheetData sheetData1 = new SheetData(); PhoneticProperties phoneticProperties1 = new PhoneticProperties(){ FontId = (UInt32Value)1U }; PageMargins pageMargins1 = new PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(sheetData1); worksheet1.Append(phoneticProperties1); worksheet1.Append(pageMargins1); worksheetPart1.Worksheet = worksheet1; }