Пример #1
0
        public static void GenerateReport(List<DataObject> objects)
        {
            SheetData data = new SheetData();

              //add column names to the first row
              Row header = new Row();
              header.RowIndex = (UInt32)1;

              foreach (DataObject obj in objects)
              {
            Cell headerCell = createTextCell(objects.IndexOf(obj) + 1, 1, obj.Name);
            header.AppendChild(headerCell);
              }
              data.AppendChild(header);
              SpreadsheetDocument doc = CreateDoc(data);
              /*using (SpreadsheetDocument spreadsheet = SpreadsheetDocument.Open(fileName, true))
              {
            WorkbookPart workbook = spreadsheet.WorkbookPart;
            //create a reference to Sheet1
            WorksheetPart worksheet = workbook.WorksheetParts.Last();

            ///loop through each data row  DataRow contentRow;
            for (int i = 0; i < table.Rows.Count; i++)
            {
              contentRow = table.Rows[i];
              data.AppendChild(createContentRow(contentRow, i + 2));
            }
               }  */
        }
 internal OpenXmlExcelRandomWriter(OpenXmlExcelConnection connection, string worksheetName, bool createSheetIfNotExists)
 {
     WorksheetName = worksheetName;
     this.connection = connection;
     this.worksheet = connection.GetSheet(worksheetName, createSheetIfNotExists);
     this.sheetData = worksheet.GetFirstChild<SheetData>();
 }
Пример #3
0
        public void substitute_columns()
        {
            var data = new SheetData<RuleSample> {
                Properties = new [] {"OpCode", "Prop", "Prop2"},
                Lines = new [] {
                    new SheetLine {RowNo = 1, Values = new [] {"11", "12"}},
                    new SheetLine {RowNo = 1, Values = new [] {"21", "22"}}
                },
                ColumnName2ItsIndx = new Dictionary<string, int>(StringComparer.InvariantCultureIgnoreCase) {
                    {"Prop", 1},
                    {"Prop2", 2},
                }
            };

            var sheet = SingleSheet<RuleSample>.New(data, LogFile.Console);

            Assert.That(sheet.MapColumnsToValues(1, "It should be {Prop} here"), Is.EqualTo("It should be 11 here"));
            Assert.That(sheet.MapColumnsToValues(1, "It should be {Prop2} here"), Is.EqualTo("It should be 12 here"));
            Assert.That(sheet.MapColumnsToValues(1, "It should be {Prop} {prop2} here"), Is.EqualTo("It should be 11 12 here"));
            Assert.That(sheet.MapColumnsToValues(1, "It should be {Prop} {prop} {prop2} {prop2} here"), Is.EqualTo("It should be 11 11 12 12 here"));

            Assert.That(sheet.MapColumnsToValues(2, "It should be {Prop} here"), Is.EqualTo("It should be 21 here"));
            Assert.That(sheet.MapColumnsToValues(2, "It should be {Prop2} here"), Is.EqualTo("It should be 22 here"));
            Assert.That(sheet.MapColumnsToValues(2, "It should be {prop2} {prop} here"), Is.EqualTo("It should be 22 21 here"));

            Assert.That(sheet.MapColumnsToValues(1, "It should be {Prop} {prop3} here"), Is.EqualTo("It should be 11 {prop3} here"));
        }
Пример #4
0
        public static void LoadSheetData(SheetData sheetData, DataTable data, int rowIndex, int columnindex)
        {
            //Populate data
            Repository.Utility.WriteLog("LoadSheetData started", System.Diagnostics.EventLogEntryType.Information);

            int startRow = rowIndex + 1;
            for (int i = 0; i < data.Rows.Count; i++)
            {
                Row row = GetRow(sheetData, i + startRow);
                if (row == null)
                {
                    row = CreateContentRow(data.Rows[i], i + startRow, columnindex);
                    sheetData.AppendChild(row);
                }
                else
                {
                    PopulateRow(data.Rows[i], i + 2, row);
                }
            }
            //  // Position the chart on the worksheet using a TwoCellAnchor object.
            //    drawingsPart.WorksheetDrawing = new WorksheetDrawing();
            //    TwoCellAnchor twoCellAnchor = drawingsPart.WorksheetDrawing.AppendChild<TwoCellAnchor>(new TwoCellAnchor());
            //    twoCellAnchor.Append(new DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker(new ColumnId("1"),
            //        new RowId("2")
            //        ));
            //    twoCellAnchor.Append(new DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker(new ColumnId("5"),
            //        new RowId(data.Rows.Count.ToString())
            //        ));

            //    twoCellAnchor.Append(new ClientData());

            //    // Save the WorksheetDrawing object.
            //    drawingsPart.WorksheetDrawing.Save();
            Repository.Utility.WriteLog("LoadSheetData completed successfully", System.Diagnostics.EventLogEntryType.Information);
        }
Пример #5
0
        /*private Row createContentRow(
        DataRow dataRow,
        int rowIndex)
        {
          Row row = new Row
          {
        RowIndex = (UInt32)rowIndex
          };

          for (int i = 0; i < dataRow.Table.Columns.Count; i++)
          {
        Cell dataCell = createTextCell(i + 1, rowIndex, dataRow[i]);
        row.AppendChild(dataCell);
          }
          return row;
        }*/
        private static SpreadsheetDocument CreateDoc(SheetData data)
        {
            using (SpreadsheetDocument doc = SpreadsheetDocument.Create(fileName, SpreadsheetDocumentType.Workbook))
              {
            doc.AddWorkbookPart();
            doc.WorkbookPart.Workbook = new Workbook();
            doc.WorkbookPart.Workbook.Save();
            doc.WorkbookPart.Workbook.Sheets = new Sheets();
            doc.WorkbookPart.Workbook.Save();
            Sheets sheets = doc.WorkbookPart.Workbook.GetFirstChild<Sheets>();

            // Add the worksheetpart
            WorksheetPart worksheetPart = doc.WorkbookPart.AddNewPart<WorksheetPart>();
            worksheetPart.Worksheet = new Worksheet(data);
            worksheetPart.Worksheet.Save();

            // Add the sheet and make relation to workbook
            Sheet sheet = new DocumentFormat.OpenXml.Spreadsheet.Sheet()
            {
              Id = doc.WorkbookPart.GetIdOfPart(worksheetPart),
              SheetId = (uint)(doc.WorkbookPart.Workbook.Sheets.Count() + 1),
              Name = "sheet"
            };
            sheets.Append(sheet);
            doc.WorkbookPart.Workbook.Save();
            return doc;
              }
        }
Пример #6
0
 public void AddSpriteSheet(string plistName, string texture, int frameWidth, int frameHeight)
 {
     var sd = new SheetData {
         PList = plistName,
         Texture = texture,
         FrameWidth = frameWidth,
         FrameHeight = frameHeight
     };
     m_addedSheets.Add (sd);
 }
Пример #7
0
        public MemoryStream GenerateExcel(SLExcelData data)
        {
            var stream = new MemoryStream();
            var document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook);

            var workbookpart = document.AddWorkbookPart();
            workbookpart.Workbook = new Workbook();
            var worksheetPart = workbookpart.AddNewPart<WorksheetPart>();
            var sheetData = new SheetData();

            worksheetPart.Worksheet = new Worksheet(sheetData);

            var sheets = document.WorkbookPart.Workbook.
                AppendChild<Sheets>(new Sheets());

            var sheet = new Sheet() {
                Id = document.WorkbookPart.GetIdOfPart(worksheetPart),
                SheetId = 1, Name = data.SheetName ?? "Sheet 1"
            };
            sheets.AppendChild(sheet);

            // Add header
            UInt32 rowIdex = 0;
            var row = new Row { RowIndex = ++rowIdex };
            sheetData.AppendChild(row);
            var cellIdex = 0;

            foreach (var header in data.Headers) {
                row.AppendChild(CreateTextCell(ColumnLetter(cellIdex++), rowIdex, header ?? string.Empty));
            }
            if (data.Headers.Count > 0) {
                // Add the column configuration if available
                if (data.ColumnConfigurations != null) {
                    var columns = (Columns)data.ColumnConfigurations.Clone();
                    worksheetPart.Worksheet
                        .InsertAfter(columns, worksheetPart.Worksheet.SheetFormatProperties);
                }
            }

            // Add sheet data
            foreach (var rowData in data.DataRows) {
                cellIdex = 0;
                row = new Row { RowIndex = ++rowIdex };
                sheetData.AppendChild(row);
                foreach (var callData in rowData) {
                    var cell = CreateTextCell(ColumnLetter(cellIdex++), rowIdex, callData ?? string.Empty);
                    row.AppendChild(cell);
                }
            }

            workbookpart.Workbook.Save();
            document.Close();

            return stream;
        }
 private Column CreateColumn(SpreadsheetDocument doc, SheetData sheetData, int colIndex)
 {
     var column = new Column
                  {
                      Min = (uint) (colIndex + 1),
                      Max = (uint) (colIndex + 1),
                      Width = CalculateColumnWidth(doc, sheetData, colIndex),
                      CustomWidth = true
                  };
     return column;
 }
Пример #9
0
 public static Row GetRow(SheetData sheetData, int rowIndex)
 {
     try
     {
         return sheetData.Elements<Row>().Where(r => r.RowIndex == rowIndex).First();
     }
     catch
     {
         return null;
     }
 }
Пример #10
0
        // 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);
        }
 private double CalculateColumnWidth(SpreadsheetDocument doc, SheetData sheetData, int colIndex)
 {
     // See http://refactorsaurusrex.com/how-to-get-the-custom-format-string-for-an-excelopenxml-cell/
     var allCellWidth = from cell in GetColumnCells(sheetData, colIndex)
                        let cellFormat = GetCellFormat(doc, cell)
                        let font = GetFont(doc, cellFormat)
                        let fontName = font.FontName.Val
                        let fontSize = int.Parse(font.FontSize.Val)
                        let width = CalculateTextWidth(fontName, fontSize, cell.InnerText)
                        select width;
     return allCellWidth.Max();
 }
Пример #12
0
        private static Dictionary<int, string> GetHeaders(SheetData sheetData, WorkbookPart workbookPart)
        {
            var headers = new Dictionary<int, string>();

            var headerCells = sheetData.Elements<Row>().First().Elements<Cell>().ToList();

            for (var i = 0; i < headerCells.Count; i++)
            {
                var cellValue = ExcelFileInceptor.GetCellValueAsString(workbookPart, headerCells[i]);
                headers.Add(i, cellValue);
            }
            return headers;
        }
Пример #13
0
        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;
        }
Пример #14
0
        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();
            }
        }
Пример #15
0
 public static void LoadSheetData(SheetData sheetData, DataTable data, int rowIndex, int columnindex)
 {
     //Populate data
     int startRow = rowIndex + 1;
     for (int i = 0; i < data.Rows.Count; i++)
     {
         Row row = GetRow(sheetData, i + startRow);
         if (row == null)
         {
             row = CreateContentRow(data.Rows[i], i + startRow, columnindex);
             sheetData.AppendChild(row);
         }
         else
             PopulateRow(data.Rows[i], columnindex, row);
     }
 }
Пример #16
0
        public static void ReplicateRow(SheetData sheetData, int refRowIndex, int count)
        {
            IEnumerable<Row> rows = sheetData.Descendants<Row>().Where(r => r.RowIndex.Value > refRowIndex);

            foreach (Row row in rows)
                IncrementIndexes(row, count);

            Row refRow = GetRow(sheetData, refRowIndex);

            for (int i = 0; i < count; i++)
            {
                Row newRow = (Row)refRow.Clone();
                IncrementIndexes(newRow, i + 1);

                sheetData.InsertAfter(newRow, GetRow(sheetData, refRowIndex + i));
            }
        }
Пример #17
0
        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;
        }
Пример #18
0
        public static void ReplicateRow(SheetData sheetData, int refRowIndex, int count)
        {
            Repository.Utility.WriteLog("ReplicateRow started", System.Diagnostics.EventLogEntryType.Information);
            IEnumerable<Row> rows = sheetData.Descendants<Row>().Where(r => r.RowIndex.Value > refRowIndex);

            foreach (Row row in rows)
                IncrementIndexes(row, count);

            Row refRow = GetRow(sheetData, refRowIndex);

            for (int i = 0; i < count; i++)
            {
                Row newRow = (Row)refRow.Clone();
                IncrementIndexes(newRow, i + 1);
                //sheetData.InsertAt(newRow, i + 1);
                sheetData.InsertAfter(newRow, GetRow(sheetData, refRowIndex + i));
            }
            Repository.Utility.WriteLog("ReplicateRow completed successfully", System.Diagnostics.EventLogEntryType.Information);
        }
        public LinkedListBasedSheetDataIndexer(SheetData sheetData)
        {
            if (sheetData == null)
            {
                throw new ArgumentNullException("sheetData");
            }

            long rowIndex = 0;

            // Order this sucker first so we don't have to sort a Linked List.
            foreach (var row in sheetData.Descendants<Row>().OrderBy(x => (uint)x.RowIndex))
            {
                var rowIndexer = new RowIndexer(row);
                rowIndex = rowIndexer.RowIndex;
                this.rows.AddLast(rowIndexer);
            }

            this.maxRowIndex = rowIndex;
            this.SheetData = sheetData;
        }
        public override void addDataRows(SheetData sheetData, DataTable dt)
        {
            // бежим по строкам
            foreach (DataRow dataRow in dt.Rows)
            {
                var row = new Row();

                for (int i = 0; i < dataRow.ItemArray.Length; i++)
                {
                    var cell = new Cell();
                    var cellValue = new CellValue();

                    ApplyStyle(dataRow[i], RestMetadata.GetType(dt.Columns[i].ColumnName), ref cell, ref cellValue);

                    cell.Append(cellValue);
                    row.AppendChild(cell);
                }
                sheetData.AppendChild(row);
            }
        }
        private void BuildResourceSheet(SpreadsheetDocument doc, string tabName)
        {
            if (doc == null) throw new ArgumentNullException("doc");
            var sheets = doc.WorkbookPart.Workbook.Sheets ?? doc.WorkbookPart.Workbook.AppendChild(new Sheets());
            //Use the existing sheet in the template
            Sheet sheet;
            WorksheetPart worksheetPart;
            SheetData sheetData;
            if (!doc.TryGetFirstSheetByName(tabName, out sheet))
            {
                //Create new sheet if not in the tempalte
                worksheetPart = doc.WorkbookPart.AddNewPart<WorksheetPart>();
                var sheetId = 9999;
                var rows = AddResourceColumns(doc, tabName);
                sheetData = new SheetData(rows);
                worksheetPart.Worksheet = new Worksheet(sheetData);
                worksheetPart.Worksheet.AddMdsolNamespaceDeclaration();
                sheet = new Sheet
                {
                    Id = doc.WorkbookPart.GetIdOfPart(worksheetPart),
                    SheetId = (uint) sheetId,
                    Name = tabName
                };
                sheets.Append(sheet);

            }
            else
            {
                //Get the existing sheet in the template
                worksheetPart = (WorksheetPart)doc.WorkbookPart.GetPartById(sheet.Id);
                var rows = AddResourceColumns(doc, tabName);
                sheetData = worksheetPart.Worksheet.GetFirstChild<SheetData>();
                sheetData.Append(rows);
                worksheetPart.Worksheet.AddMdsolNamespaceDeclaration();
            }

            
            
        }
        // 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;
        }
        // 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;
        }
Пример #24
0
        private static void AppendTotalsRow <T>(IList <T> objects, int rowIndex, int firstTableRow, int numCols,
                                                List <SpreadsheetField> fields,
                                                List <string> headers,
                                                SheetData sheetData)
        {
            var fieldNames = fields.Select(f => f.FieldName).ToList();
            var rowObj     = objects[0];
            var total      = new Row {
                RowIndex = (uint)rowIndex
            };

            for (var col = 0; col < numCols; col++)
            {
                var field = fields[col];
                if (field.IgnoreFromTotals)
                {
                    total.AppendChild(new TextCell(headers[col].ToString(), string.Empty, rowIndex)
                    {
                        StyleIndex = (UInt32)CustomStylesheet.CustomCellFormats.TotalsText
                    });
                    continue;
                }

                var columnObject = GetColumnObject(fieldNames[col], rowObj);

                // look through objects until we have a value for this column
                var row = 0;
                while (columnObject == null || columnObject == DBNull.Value)
                {
                    if (objects.Count <= ++row)
                    {
                        break;
                    }
                    columnObject = GetColumnObject(fieldNames[col], objects[row]);
                }

                if (field.CountNoneNullRowsForTotal)
                {
                    total.AppendChild(CreateRowTotalFomulaCell(rowIndex, firstTableRow, headers, col,
                                                               (UInt32)CustomStylesheet.CustomCellFormats.TotalsNumber, true));
                }

                if (col == 0)
                {
                    total.AppendChild(new TextCell(headers[col].ToString(), "Total", rowIndex)
                    {
                        StyleIndex = (UInt32)CustomStylesheet.CustomCellFormats.TotalsText
                    });
                }
                else if (columnObject is decimal || columnObject is double)
                {
                    total.AppendChild(CreateRowTotalFomulaCell(rowIndex, firstTableRow, headers, col,
                                                               (UInt32)CustomStylesheet.CustomCellFormats.TotalsNumber2DecimalPlace));
                }
                else if (columnObject is TimeSpan)
                {
                    total.AppendChild(CreateRowTotalFomulaCell(rowIndex, firstTableRow, headers, col,
                                                               (UInt32)CustomStylesheet.CustomCellFormats.TotalsDuration));
                }
                else
                {
                    long value;
                    if (columnObject != null &&
                        long.TryParse(columnObject.ToString(), out value))
                    {
                        total.AppendChild(CreateRowTotalFomulaCell(rowIndex, firstTableRow, headers, col,
                                                                   (UInt32)CustomStylesheet.CustomCellFormats.TotalsNumber));
                    }
                    else
                    {
                        total.AppendChild(new TextCell(headers[col].ToString(), string.Empty, rowIndex)
                        {
                            StyleIndex = (UInt32)CustomStylesheet.CustomCellFormats.TotalsText
                        });
                    }
                }
            } // for each column
            sheetData.AppendChild(total);
        }
Пример #25
0
        public void GetImplementationGuideVocabularySpreadsheet()
        {
            Template t = this.tdb.GenerateTemplate("1.2.3.4.5", "Document", "Test Template 1", this.ig);

            this.tdb.GenerateConstraint(t, null, null, "code", "SHALL", "1..1", valueConformance: "SHALL", valueSet: this.vs1);
            this.tdb.GenerateConstraint(t, null, null, "value", "SHALL", "1..1", valueConformance: "SHALL", valueSet: this.vs2);

            VocabService service = new VocabService(this.tdb);

            byte[] spreadsheetBytes = service.GetImplementationGuideVocabularySpreadsheet(this.ig.Id, 100);

            Assert.IsNotNull(spreadsheetBytes);

            using (MemoryStream ms = new MemoryStream(spreadsheetBytes))
            {
                SpreadsheetDocument doc = SpreadsheetDocument.Open(ms, false);

                Sheets sheets = doc.WorkbookPart.Workbook.GetFirstChild <Sheets>();
                Assert.IsNotNull(sheets);

                // Affected Value Sets
                Sheet summarySheet = sheets.FirstChild as Sheet;
                Assert.IsNotNull(summarySheet);
                Assert.AreEqual("Affected Value Sets", summarySheet.Name.Value);

                WorksheetPart summarySheetPart = doc.WorkbookPart.WorksheetParts.FirstOrDefault();
                Assert.IsNotNull(summarySheetPart, "Expected to find two worksheets, but didn't find any.");

                Columns summarySheetCols = summarySheetPart.Worksheet.GetFirstChild <Columns>();
                Assert.IsNotNull(summarySheetCols);

                SheetData summarySheetData = summarySheetPart.Worksheet.GetFirstChild <SheetData>();
                Assert.IsNotNull(summarySheetData);

                Assert.AreEqual(3, summarySheetData.ChildElements.Count);
                Row summaryHeaderRow = summarySheetData.ChildElements[0] as Row;
                Assert.IsNotNull(summaryHeaderRow);
                Assert.AreEqual((uint)1, summaryHeaderRow.RowIndex.Value);
                Assert.AreEqual(2, summaryHeaderRow.ChildElements.Count);

                Cell summaryHeaderCell1 = summaryHeaderRow.Elements <Cell>().Single(y => y.CellReference == "A1");
                Cell summaryHeaderCell2 = summaryHeaderRow.Elements <Cell>().Single(y => y.CellReference == "B1");
                Assert.AreEqual("Value Set Name", summaryHeaderCell1.CellValue.Text);
                Assert.AreEqual("Value Set OID", summaryHeaderCell2.CellValue.Text);

                Row valueSet1Row = summarySheetData.ChildElements[1] as Row;
                Assert.IsNotNull(valueSet1Row);

                Cell valueSet1Cell1 = valueSet1Row.Elements <Cell>().Single(y => y.CellReference == "A2");
                Cell valueSet1Cell2 = valueSet1Row.Elements <Cell>().Single(y => y.CellReference == "B2");
                Assert.AreEqual(this.vs1.Name, valueSet1Cell1.CellValue.Text);
                Assert.AreEqual(this.vs1.Oid, valueSet1Cell2.CellValue.Text);

                Row valueSet2Row = summarySheetData.ChildElements[2] as Row;
                Assert.IsNotNull(valueSet1Row);

                Cell valueSet2Cell1 = valueSet2Row.Elements <Cell>().Single(y => y.CellReference == "A3");
                Cell valueSet2Cell2 = valueSet2Row.Elements <Cell>().Single(y => y.CellReference == "B3");
                Assert.AreEqual(this.vs2.Name, valueSet2Cell1.CellValue.Text);
                Assert.AreEqual(this.vs2.Oid, valueSet2Cell2.CellValue.Text);

                // Value Set Members
                Sheet membersSheet = sheets.LastChild as Sheet;
                Assert.IsNotNull(membersSheet);
                Assert.AreEqual("Value Set Members", membersSheet.Name.Value);

                WorksheetPart membersSheetPart = doc.WorkbookPart.WorksheetParts.LastOrDefault();
                Assert.IsNotNull(membersSheetPart, "Expected to find two worksheets, but didn't find any.");

                Columns membersSheetCols = membersSheetPart.Worksheet.GetFirstChild <Columns>();
                Assert.IsNotNull(membersSheetCols);

                SheetData membersSheetData = membersSheetPart.Worksheet.GetFirstChild <SheetData>();
                Assert.IsNotNull(membersSheetData);

                Assert.AreEqual(7, membersSheetData.ChildElements.Count);
                Row membersHeaderRow = membersSheetData.ChildElements[0] as Row;
                Assert.IsNotNull(membersHeaderRow);
                Assert.AreEqual((uint)1, membersHeaderRow.RowIndex.Value);
                Assert.AreEqual(5, membersHeaderRow.ChildElements.Count);

                Cell membersHeaderCell1 = membersHeaderRow.Elements <Cell>().Single(y => y.CellReference == "A1");
                Cell membersHeaderCell2 = membersHeaderRow.Elements <Cell>().Single(y => y.CellReference == "B1");
                Cell membersHeaderCell3 = membersHeaderRow.Elements <Cell>().Single(y => y.CellReference == "C1");
                Cell membersHeaderCell4 = membersHeaderRow.Elements <Cell>().Single(y => y.CellReference == "D1");
                Cell membersHeaderCell5 = membersHeaderRow.Elements <Cell>().Single(y => y.CellReference == "E1");
                Assert.AreEqual("Value Set OID", membersHeaderCell1.CellValue.Text);
                Assert.AreEqual("Value Set Name", membersHeaderCell2.CellValue.Text);
                Assert.AreEqual("Code", membersHeaderCell3.CellValue.Text);
                Assert.AreEqual("Display Name", membersHeaderCell4.CellValue.Text);
                Assert.AreEqual("Code System Name", membersHeaderCell5.CellValue.Text);
            }
        }
Пример #26
0
        /// <summary>
        /// 指定された Excelのテンプレートファイルを読み込む
        /// </summary>
        /// <remarks>テンプレートは、connectionString [KSCM_Bolb] の "templates" という container から読み込む。</remarks>
        /// <param name="filename">"tempates"コンテナの中のテンプレートのファイル名</param>
        /// <param name="sheetname">テンプレート中で使用するシート名</param>
        public async Task <long> LoadTemplate(string filename, string sheetname)
        {
            _ms = new SysIO.MemoryStream();
            //var ms2 = new SysIO.MemoryStream();
            string connectionstring            = Startup.AppSettings["AzureBlob"];
            CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionstring);
            CloudBlobClient     blobClient     = storageAccount.CreateCloudBlobClient();
            CloudBlobContainer  container      = blobClient.GetContainerReference("templates");
            CloudBlockBlob      blockBlob      = container.GetBlockBlobReference(filename);

            //bool cw = _ms.CanWrite;
            await blockBlob.DownloadToStreamAsync(_ms);

            long bytesInStream = _ms.Length;
            bool canread       = _ms.CanRead;
            bool canwrite      = _ms.CanWrite;

            _document = SpreadsheetDocument.Open(_ms, true);
            _wbPart   = _document.WorkbookPart;
            Sheet theSheet = _wbPart.Workbook.Descendants <Sheet>().Where(s => s.Name == sheetname).FirstOrDefault();

            if (theSheet == null)
            {
                throw new ArgumentException("sheetName");
            }
            WorksheetPart wsPart = (WorksheetPart)(_wbPart.GetPartById(theSheet.Id));

            _ws = wsPart.Worksheet;
            Columns columns = _ws.Descendants <Columns>().FirstOrDefault();

            _sheetData = _ws.Descendants <SheetData>().FirstOrDefault();
            var rows     = _sheetData.Descendants <Row>();
            int nrows    = rows.Count();
            Row firstRow = _sheetData.Descendants <Row>().ElementAt(0); // get first row , line 1

            firstRow.DyDescent = 0.3D;
            for (int i = nrows - 1; i > 0; --i)
            {
                Row rowtodelete = _sheetData.Descendants <Row>().ElementAt(i); // get  line i
                rowtodelete.Remove();
            }

            _sharedStringDic = new Dictionary <string, int>();
            SharedStringTablePart sharedStringPart = _wbPart.GetPartsOfType <SharedStringTablePart>().First();

            _sharedStringTable = sharedStringPart.SharedStringTable;
            _sharedStringId    = 0;
            foreach (SharedStringItem item in _sharedStringTable.Elements <SharedStringItem>())    // read shared string and add to Dictionary
            {
                if (item.InnerText != null)
                {
                    _sharedStringDic.Add(item.InnerText, _sharedStringId);
                    ++_sharedStringId;
                }
            }
            _lineIndex  = StartLine;
            _colid      = "A";
            _currentRow = new Row()
            {
                RowIndex = _lineIndex, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:20"
                }, Height = 16.5D, CustomHeight = true, DyDescent = 0.3D
            };
            StyleDic = new Dictionary <string, uint>();
            return(bytesInStream);
        }
        public async Task <IActionResult> DownloadUnreportedEmailAddresses(int vendorCodeTypeId)
        {
            var unreportedEmailAddresses = await _vendorCodeService
                                           .GetUnreportedEmailAwardCodes(vendorCodeTypeId);

            var processed = _dateTimeProvider.Now;

            try
            {
                // this will be disposed by FileStreamResult
                var ms = new MemoryStream();

                using (var workbook = SpreadsheetDocument.Create(ms,
                                                                 DocumentFormat.OpenXml.SpreadsheetDocumentType.Workbook))
                {
                    workbook.AddWorkbookPart();
                    workbook.WorkbookPart.Workbook = new Workbook
                    {
                        Sheets = new Sheets()
                    };

                    var stylesPart = workbook.WorkbookPart.AddNewPart <WorkbookStylesPart>();
                    stylesPart.Stylesheet = GetStylesheet();
                    stylesPart.Stylesheet.Save();

                    var sheetPart = workbook.WorkbookPart.AddNewPart <WorksheetPart>();
                    var sheetData = new SheetData();
                    sheetPart.Worksheet = new Worksheet(sheetData);

                    var sheets         = workbook.WorkbookPart.Workbook.GetFirstChild <Sheets>();
                    var relationshipId = workbook.WorkbookPart.GetIdOfPart(sheetPart);

                    var sheet = new Sheet
                    {
                        Id      = relationshipId,
                        SheetId = 1,
                        Name    = "Email Award Addresses"
                    };
                    sheets.Append(sheet);

                    var maximumColumnWidth = new Dictionary <int, int>();

                    var headerColumns = new string[] {
                        "User Id",
                        "Name",
                        "Email Address"
                    };

                    var headerRow    = new Row();
                    int columnNumber = 0;
                    foreach (var dataItem in headerColumns)
                    {
                        (var cell, var length) = CreateCell(dataItem);
                        cell.StyleIndex        = ExcelStyleIndexBold;
                        headerRow.AppendChild(cell);
                        if (maximumColumnWidth.ContainsKey(columnNumber))
                        {
                            maximumColumnWidth[columnNumber]
                                = Math.Max(maximumColumnWidth[columnNumber], length);
                        }
                        else
                        {
                            maximumColumnWidth.Add(columnNumber, length);
                        }
                        columnNumber++;
                    }
                    sheetData.Append(headerRow);

                    foreach (var emailAddress in unreportedEmailAddresses)
                    {
                        var row             = new Row();
                        int rowColumnNumber = 0;

                        var rowValues = new object[]
                        {
                            emailAddress.UserId,
                            emailAddress.Name,
                            emailAddress.Email
                        };

                        foreach (var resultItem in rowValues)
                        {
                            (var cell, var length) = CreateCell(resultItem ?? string.Empty);
                            row.AppendChild(cell);
                            if (maximumColumnWidth.ContainsKey(rowColumnNumber))
                            {
                                maximumColumnWidth[rowColumnNumber]
                                    = Math.Max(maximumColumnWidth[rowColumnNumber], length);
                            }
                            else
                            {
                                maximumColumnWidth.Add(rowColumnNumber, length);
                            }
                            rowColumnNumber++;
                        }
                        sheetData.Append(row);

                        await _vendorCodeService
                        .UpdateEmailReportedAsync(GetActiveUserId(),
                                                  processed,
                                                  emailAddress.VendorCodeId);
                    }

                    await _vendorCodeService.SaveAsync();

                    foreach (var value in maximumColumnWidth.Keys.OrderByDescending(_ => _))
                    {
                        var     columnId = value + 1;
                        var     width    = maximumColumnWidth[value] + ExcelPaddingCharacters;
                        Columns cs       = sheet.GetFirstChild <Columns>();
                        if (cs != null)
                        {
                            var columnElements = cs.Elements <Column>()
                                                 .Where(_ => _.Min == columnId && _.Max == columnId);
                            if (columnElements.Any())
                            {
                                var column = columnElements.First();
                                column.Width       = width;
                                column.CustomWidth = true;
                            }
                            else
                            {
                                var column = new Column
                                {
                                    Min         = (uint)columnId,
                                    Max         = (uint)columnId,
                                    Width       = width,
                                    CustomWidth = true
                                };
                                cs.Append(column);
                            }
                        }
                        else
                        {
                            cs = new Columns();
                            cs.Append(new Column
                            {
                                Min         = (uint)columnId,
                                Max         = (uint)columnId,
                                Width       = width,
                                CustomWidth = true
                            });
                            sheetPart.Worksheet.InsertAfter(cs,
                                                            sheetPart.Worksheet.GetFirstChild <SheetFormatProperties>());
                        }
                    }

                    workbook.Save();
                    workbook.Close();
                    ms.Seek(0, SeekOrigin.Begin);

                    return(new FileStreamResult(ms, ExcelMimeType)
                    {
                        FileDownloadName = FileUtility
                                           .EnsureValidFilename($"EmailAwards.{ExcelFileExtension}")
                    });
                }
            }
#pragma warning disable CA1031 // Do not catch general exception types
            catch (Exception ex)
            {
                _logger.LogError(ex,
                                 "Error creating report of unreported email award codes for Vendor Code Id {vendorCodeTypeId}: {Message}",
                                 vendorCodeTypeId,
                                 ex.Message);
                ShowAlertDanger("Error creating report of unreported email award codes");

                await _vendorCodeService.UpdateEmailNotReportedAsync(GetActiveUserId(),
                                                                     unreportedEmailAddresses);

                return(RedirectToAction(nameof(EmailAward)));
            }
#pragma warning restore CA1031 // Do not catch general exception types
        }
Пример #28
0
        /// <summary>
        /// Generate Excel Document.
        /// </summary>
        /// <param name="reportResult">QueryResult</param>
        /// <returns>MemoryStream</returns>
        public static MemoryStream CreateExcelDocument(ReportResult reportResult, List <DataRow> rows)
        {
            sharedStringIndex = 0;
            sharedStrings     = new ConcurrentDictionary <int, string>();
            var ms = new MemoryStream();

            using (SpreadsheetDocument spreadSheet = SpreadsheetDocument.Create(ms, SpreadsheetDocumentType.Workbook, true))
            {
                // Create the Workbook
                WorkbookPart workbookPart = spreadSheet.AddWorkbookPart();
                spreadSheet.WorkbookPart.Workbook = new Workbook();

                // A Workbook must only have exactly one <Sheets> section
                spreadSheet.WorkbookPart.Workbook.AppendChild(new Sheets());

                WorksheetPart newWorksheetPart = spreadSheet.WorkbookPart.AddNewPart <WorksheetPart>("rId1");
                newWorksheetPart.Worksheet = new Worksheet();


                //Add columns of constant width
                int     columnIndx = 1;
                Columns cols       = new Columns();
                foreach (ReportColumn column in reportResult.Metadata.ReportColumns.Values)
                {
                    if (!column.IsHidden && column.Type != "Image")
                    {
                        cols.Append(CreateColumnData(columnIndx));
                        columnIndx++;
                    }
                }
                newWorksheetPart.Worksheet.Append(cols);
                newWorksheetPart.Worksheet.Save();

                // Create a new Excel worksheet
                SheetData sheetData = newWorksheetPart.Worksheet.AppendChild(new SheetData());

                // Create Styles and Insert into Workbook
                WorkbookStylesPart stylesPart = workbookPart.AddNewPart <WorkbookStylesPart>("rId3");
                Stylesheet         styles     = new ExportDataStylesheet();
                styles.Save(stylesPart);

                // Insert Datatable data into the worksheet.
                InsertTableData(reportResult, sheetData, rows);

                //Create table part.
                TableDefinitionPart tableDefinitionPart = newWorksheetPart.AddNewPart <TableDefinitionPart>("rId1");
                GenerateTablePartContent(tableDefinitionPart, reportResult, rows, columnIndx - 2);
                TableParts tableParts1 = new TableParts()
                {
                    Count = (UInt32Value)1U
                };
                TablePart tablePart1 = new TablePart()
                {
                    Id = "rId1"
                };
                tableParts1.Append(tablePart1);
                newWorksheetPart.Worksheet.Append(tableParts1);
                newWorksheetPart.Worksheet.Save();

                //add shared stringd
                SharedStringTablePart sharedStringTablePart = spreadSheet.WorkbookPart.AddNewPart <SharedStringTablePart>("rId2");
                SharedStringTable     sharedStringTable     = new SharedStringTable();
                foreach (string sharedString in sharedStrings.Values)
                {
                    CreateSharedStringItem(sharedStringTable, sharedString);
                }
                sharedStringTablePart.SharedStringTable = sharedStringTable;
                // Save the worksheet.
                newWorksheetPart.Worksheet.Save();

                // Link this worksheet to our workbook
                spreadSheet.WorkbookPart.Workbook.GetFirstChild <Sheets>().AppendChild(new Sheet()
                {
                    Id      = spreadSheet.WorkbookPart.GetIdOfPart(newWorksheetPart),
                    SheetId = 1,
                    Name    = "Table"
                });

                // Save the workbook.
                spreadSheet.WorkbookPart.Workbook.Save();
            }
            return(ms);
        }
        public static void ExportToOxml(bool firstTime, string filePath, DataTable resultsData)
        {
            //Delete the file if it exists.
            if (firstTime && File.Exists(filePath))
            {
                File.Delete(filePath);
            }

            uint sheetId = 1; //Start at the first sheet in the Excel workbook.

            if (firstTime)
            {
                //This is the first time of creating the excel file and the first sheet.
                // Create a spreadsheet document by supplying the filepath.
                // By default, AutoSave = true, Editable = true, and Type = xlsx.
                SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.
                                                          Create(filePath, SpreadsheetDocumentType.Workbook);

                // Add a WorkbookPart to the document.
                WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
                workbookpart.Workbook = new Workbook();

                // Add a WorksheetPart to the WorkbookPart.
                var worksheetPart = workbookpart.AddNewPart <WorksheetPart>();
                var sheetData     = new SheetData();
                worksheetPart.Worksheet = new Worksheet(sheetData);


                var        bold1 = new Bold();
                CellFormat cf    = new CellFormat();

                // Add Sheets to the Workbook.
                Sheets sheets;
                sheets = spreadsheetDocument.WorkbookPart.Workbook.
                         AppendChild <Sheets>(new Sheets());
                // Append a new worksheet and associate it with the workbook.
                var sheet = new Sheet()
                {
                    Id = spreadsheetDocument.WorkbookPart.
                         GetIdOfPart(worksheetPart),
                    SheetId = sheetId,
                    Name    = "Sheet" + sheetId
                };
                sheets.Append(sheet);
                //Add Header Row.
                var headerRow = new Row();
                foreach (DataColumn column in resultsData.Columns)
                {
                    var cell = new Cell
                    {
                        DataType  = CellValues.String,
                        CellValue = new CellValue(column.ColumnName)
                    };
                    headerRow.AppendChild(cell);
                }
                sheetData.AppendChild(headerRow);

                foreach (DataRow row in resultsData.Rows)
                {
                    var newRow = new Row();
                    foreach (DataColumn col in resultsData.Columns)
                    {
                        var cell = new Cell
                        {
                            DataType  = CellValues.String,
                            CellValue = new CellValue(row[col].ToString())
                        };
                        newRow.AppendChild(cell);
                    }

                    sheetData.AppendChild(newRow);
                }
                workbookpart.Workbook.Save();

                spreadsheetDocument.Close();
            }
            else
            {
                // Open the Excel file that we created before, and start to add sheets to it.
                var spreadsheetDocument = SpreadsheetDocument.Open(filePath, true);

                var workbookpart = spreadsheetDocument.WorkbookPart;
                if (workbookpart.Workbook == null)
                {
                    workbookpart.Workbook = new Workbook();
                }

                var worksheetPart = workbookpart.AddNewPart <WorksheetPart>();
                var sheetData     = new SheetData();
                worksheetPart.Worksheet = new Worksheet(sheetData);
                var sheets = spreadsheetDocument.WorkbookPart.Workbook.Sheets;

                if (sheets.Elements <Sheet>().Any())
                {
                    //Set the new sheet id
                    sheetId = sheets.Elements <Sheet>().Max(s => s.SheetId.Value) + 1;
                }
                else
                {
                    sheetId = 1;
                }

                // Append a new worksheet and associate it with the workbook.
                var sheet = new Sheet()
                {
                    Id = spreadsheetDocument.WorkbookPart.
                         GetIdOfPart(worksheetPart),
                    SheetId = sheetId,
                    Name    = "Sheet" + sheetId
                };
                sheets.Append(sheet);

                //Add the header row here.
                var headerRow = new Row();

                foreach (DataColumn column in resultsData.Columns)
                {
                    var cell = new Cell
                    {
                        DataType  = CellValues.String,
                        CellValue = new CellValue(column.ColumnName)
                    };
                    headerRow.AppendChild(cell);
                }
                sheetData.AppendChild(headerRow);

                foreach (DataRow row in resultsData.Rows)
                {
                    var newRow = new Row();

                    foreach (DataColumn col in resultsData.Columns)
                    {
                        var cell = new Cell
                        {
                            DataType  = CellValues.String,
                            CellValue = new CellValue(row[col].ToString())
                        };
                        newRow.AppendChild(cell);
                    }

                    sheetData.AppendChild(newRow);
                }

                workbookpart.Workbook.Save();

                // Close the document.
                spreadsheetDocument.Close();
            }
        }
Пример #30
0
        private SheetData CreateSheetData <T>(List <T> objects, List <string> headerNames, WorkbookStylesPart stylesPart)
        {
            SheetData sheetData = new SheetData();

            if (objects != null)
            {
                //Fields names of object
                List <string> fields = GetPropertyInfo <T>();

                var         az      = new List <Char>(Enumerable.Range('A', 'Z' - 'A' + 1).Select(i => (Char)i).ToArray());
                List <Char> headers = az.GetRange(0, fields.Count);

                int numRows = objects.Count;
                int numCols = fields.Count;
                Row header  = new Row();
                int index   = 1;
                header.RowIndex = (uint)index;
                for (int col = 0; col < numCols; col++)
                {
                    //Cell c = CreateHeaderCell(headers[col].ToString(), headerNames[col], index, stylesPart.Stylesheet);
                    HeaderCell c = new HeaderCell(headers[col].ToString(), headerNames[col], index, stylesPart.Stylesheet, System.Drawing.Color.DodgerBlue, 12, true);
                    header.Append(c);
                }
                sheetData.Append(header);

                for (int i = 0; i < numRows; i++)
                {
                    index++;
                    var obj1 = objects[i];
                    var r    = new Row {
                        RowIndex = (uint)index
                    };

                    for (int col = 0; col < numCols; col++)
                    {
                        string       fieldName = fields[col];
                        PropertyInfo myf       = obj1.GetType().GetProperty(fieldName);
                        if (myf != null)
                        {
                            object obj = myf.GetValue(obj1, null);
                            if (obj != null)
                            {
                                if (obj.GetType() == typeof(string))
                                {
                                    // Cell c = CreateTextCell(headers[col].ToString(), obj.ToString(), index);
                                    TextCell c = new TextCell(headers[col].ToString(), obj.ToString(), index);
                                    r.Append(c);
                                }
                                else if (obj.GetType() == typeof(bool))
                                {
                                    string value = (bool)obj ? "Yes" : "No";
                                    //Cell c = CreateTextCell(headers[col].ToString(), value, index);
                                    TextCell c = new TextCell(headers[col].ToString(), value, index);
                                    r.Append(c);
                                }
                                else if (obj.GetType() == typeof(DateTime))
                                {
                                    //string value = GetExcelSerialDate((DateTime) obj).ToString();
                                    string value = ((DateTime)obj).ToOADate().ToString();

                                    // stylesPart.Stylesheet is retrieved reference for the appropriate worksheet.
                                    //Cell c = CreateDateCell(headers[col].ToString(), value, index, stylesPart.Stylesheet);
                                    DateCell c = new DateCell(headers[col].ToString(), (DateTime)obj, index);
                                    r.Append(c);
                                }
                                else if (obj.GetType() == typeof(decimal) || obj.GetType() == typeof(double))
                                {
                                    //Cell c = CreateDecimalCell(headers[col].ToString(), obj.ToString(), index, stylesPart.Stylesheet);
                                    FormatedNumberCell c = new FormatedNumberCell(headers[col].ToString(), obj.ToString(), index);
                                    r.Append(c);
                                }
                                else
                                {
                                    long value;
                                    if (long.TryParse(obj.ToString(), out value))
                                    {
                                        //Cell c = CreateIntegerCell(headers[col].ToString(), obj.ToString(), index);
                                        NumberCell c = new NumberCell(headers[col].ToString(), obj.ToString(), index);
                                        r.Append(c);
                                    }
                                    else
                                    {
                                        //Cell c = CreateTextCell(headers[col].ToString(), obj.ToString(), index);
                                        TextCell c = new TextCell(headers[col].ToString(), obj.ToString(), index);

                                        r.Append(c);
                                    }
                                }
                            }
                        }
                    }

                    sheetData.Append(r);
                }

                index++;
                Row total = new Row();
                total.RowIndex = (uint)index;
                for (int col = 0; col < numCols; col++)
                {
                    var          obj1      = objects[0];
                    string       fieldName = fields[col];
                    PropertyInfo myf       = obj1.GetType().GetProperty(fieldName);
                    if (myf != null)
                    {
                        object obj = myf.GetValue(obj1, null);
                        if (obj != null)
                        {
                            if (col == 0)
                            {
                                //c = CreateTextCell(headers[col].ToString(), "Total", index);
                                TextCell c = new TextCell(headers[col].ToString(), "Total", index);
                                c.StyleIndex = 10;
                                total.Append(c);
                            }
                            else if (obj.GetType() == typeof(decimal) || obj.GetType() == typeof(double))
                            {
                                string headerCol = headers[col].ToString();
                                string firstRow  = headerCol + "2";
                                string lastRow   = headerCol + (numRows + 1);
                                string formula   = "=SUM(" + firstRow + " : " + lastRow + ")";
                                Console.WriteLine(formula);

                                //c = CreateFomulaCell(headers[col].ToString(), formula, index, stylesPart.Stylesheet);
                                //FomulaCell c = new FomulaCell(headers[col].ToString(), formula, index);
                                //c.StyleIndex = 9;
                                //total.Append(c);
                            }
                            else
                            {
                                TextCell c = new TextCell(headers[col].ToString(), string.Empty, index);
                                c.StyleIndex = 10;
                                total.Append(c);
                            }
                        }
                    }
                }
                sheetData.Append(total);
            }

            return(sheetData);
        }
Пример #31
0
        public static byte[] GenerateExcel <T>(IEnumerable <T> objects)
        {
            var data = GetObjectArray <T>(objects);

            PropertyInfo[] properties = typeof(T).GetProperties();

            var stream = new MemoryStream();

            var document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook);

            var workbookpart = document.AddWorkbookPart();

            workbookpart.Workbook = new Workbook();

            var worksheetPart = workbookpart.AddNewPart <WorksheetPart>();

            var sheetData = new SheetData();

            var workSheet = new Worksheet(sheetData);

            worksheetPart.Worksheet = workSheet;

            var sheets = document.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets());

            var sheet = new Sheet()
            {
                Id = document.WorkbookPart.GetIdOfPart(worksheetPart),

                SheetId = 1,

                Name = "Sheet 1"
            };

            sheets.AppendChild(sheet);

            uint rowIndex = 0;

            var cellIndex = 0;

            for (int i = 0; i < objects.Count() + 1; i++)
            {
                var row = new Row {
                    RowIndex = ++rowIndex
                };

                sheetData.AppendChild(row);

                for (int j = 0; j < properties.Length; j++)
                {
                    var cell = cellIndex++;

                    if (data[i, j] != null)
                    {
                        if (properties[j].PropertyType == typeof(System.Nullable <DateTime>) && i != 0)
                        {
                            data[i, j] = data[i, j].ToString().Substring(0, 10);
                        }
                    }
                    else
                    {
                        data[i, j] = "";
                    }
                    if ((properties[j].PropertyType == typeof(System.Nullable <int>) ||
                         properties[j].PropertyType == typeof(int)) && i != 0 && data[i, j].ToString() != "")
                    {
                        row.AppendChild(CreateCell(ColumnLetter(cell), rowIndex, (int)data[i, j]));
                    }
                    else
                    {
                        row.AppendChild(CreateTextCell(ColumnLetter(cell), rowIndex, data[i, j].ToString()));
                    }
                }

                cellIndex = 0;
            }

            workbookpart.Workbook.Save();

            document.Close();

            return(stream.ToArray());
        }
Пример #32
0
        // Добавляем новую ячейку в лист
        private static void InsertCellInWorksheet(ExcelCellParameters cellParameters)
        {
            SheetData sheetData = cellParameters.Worksheet.GetFirstChild <SheetData>();

            //  Ищем строку, либо добавляем ее
            Row row;

            if (sheetData.Elements <Row>().Where(r => r.RowIndex == cellParameters.RowIndex).Count() != 0)
            {
                row = sheetData.Elements <Row>().Where(r => r.RowIndex == cellParameters.RowIndex).First();
            }
            else
            {
                row = new Row()
                {
                    RowIndex = cellParameters.RowIndex
                };
                sheetData.Append(row);
            }

            // Ищем нужную ячейку
            Cell cell;

            if (row.Elements <Cell>().Where(c => c.CellReference.Value == cellParameters.CellReference).Count() > 0)
            {
                cell = row.Elements <Cell>().Where(c => c.CellReference.Value == cellParameters.CellReference).First();
            }
            else
            {
                // Все ячейки должны быть последовательно друг за другом расположены
                // нужно определить, после какой вставлять
                Cell refCell = null;
                foreach (Cell rowCell in row.Elements <Cell>())
                {
                    if (string.Compare(rowCell.CellReference.Value, cellParameters.CellReference, true) > 0)
                    {
                        refCell = rowCell;
                        break;
                    }
                }

                Cell newCell = new Cell()
                {
                    CellReference = cellParameters.CellReference
                };

                row.InsertBefore(newCell, refCell);

                cell = newCell;
            }

            //  вставляем новый текст
            cellParameters.ShareStringPart.SharedStringTable.AppendChild(
                new SharedStringItem(new Text(cellParameters.Text)));
            cellParameters.ShareStringPart.SharedStringTable.Save();

            cell.CellValue = new CellValue((cellParameters.ShareStringPart.SharedStringTable.Elements <SharedStringItem>().
                                            Count() - 1).ToString());
            cell.DataType   = new EnumValue <CellValues>(CellValues.SharedString);
            cell.StyleIndex = cellParameters.StyleIndex;
        }
Пример #33
0
        public void readSheet(int sheetIdx, StreamWriter outFile, StreamWriter log)
        {
            SheetData sd = mySheets[sheetIdx].ws.Worksheet.Elements <SheetData>().First();

            string company        = ""; // row[0].Trim();
            string status         = "REAL";
            string currentAcct    = null;
            string currAcctDesc   = null;
            string currentEerrDet = null;

            object[]      curRow;
            StringBuilder line = new StringBuilder();

            log.WriteLine("Start processing sheet: " + mySheets[sheetIdx].name);
            foreach (Row r in sd.Elements <Row>())
            {
                if (r.GetFirstChild <Cell>().CellReference.InnerText[0] == 'A')
                {
                    curRow = new object[fmtOutput.Count];
                    curRow[(int)fmtOutput[DATA_COMPANY]]   = company;
                    curRow[(int)fmtOutput[DATA_ACCT_NUM]]  = currentAcct;
                    curRow[(int)fmtOutput[DATA_ACCT_DESC]] = currAcctDesc;
                    curRow[(int)fmtOutput[DATA_STATUS]]    = status;
                    curRow[(int)fmtOutput[DATA_DET_EERR]]  = currentEerrDet;
                    bool print = true;
                    foreach (Cell c in r.Elements <Cell>())
                    {
                        string     value  = c.CellValue.InnerText;
                        string     col    = c.CellReference.InnerText.Substring(0, 1);
                        CellValues dt     = c.DataType == null ? CellValues.Number : c.DataType.Value;
                        bool       isDate = false;
                        if (dt.Equals(CellValues.SharedString))
                        {
                            value = sst[int.Parse(value)].InnerText;
                        }
                        else if (dt.Equals(CellValues.Number))
                        {
                            if (c.StyleIndex != null)
                            {
                                string fmtId = myFormats[c.StyleIndex].NumberFormatId.InnerText;
                                if (fmtId.Equals("14") || fmtId.Equals("15") || fmtId.Equals("16") || fmtId.Equals("17"))
                                {
                                    value  = DateTime.FromOADate(Double.Parse(value)).ToShortDateString();
                                    isDate = true;
                                }
                            }
                        }

                        if (c.CellReference.InnerText.Equals("A1"))
                        {
                            company = value;
                            print   = false;
                            break;
                        }
                        else if (col[0] == 'A' && value.Trim().StartsWith(acctPrefixValue))
                        {
                            currentAcct = value.Substring(acctPrefixValue.Length).Trim();
                            int descPos = currentAcct.IndexOf(" ");
                            currAcctDesc = currentAcct.Substring(descPos + 1);
                            currentAcct  = currentAcct.Substring(0, currentAcct.Length - (currAcctDesc.Length + 1));
                            int i = 1;
                            for (; i <= currentAcct.Length; i++)
                            {
                                if (eerrs.Contains(currentAcct.Substring(0, i)))
                                {
                                    break;
                                }
                            }
                            if (i > currentAcct.Length)
                            {
                                currentEerrDet = "N/A";
                            }
                            else
                            {
                                currentEerrDet = ((string[])eerrs[currentAcct.Substring(0, i)])[1];
                            }
                            print = false;
                            break;
                        }
                        else if (((string)fmtInput[col]).Equals(DATA_AREA))
                        {
                            if (areas.Contains(value))
                            {
                                curRow[(int)fmtOutput[DATA_DESC_AREA]] = ((string[])areas[value])[2];
                                curRow[(int)fmtOutput[DATA_BRAND]]     = ((string[])areas[value])[1];
                            }
                            else
                            {
                                curRow[(int)fmtOutput[DATA_DESC_AREA]] = "N/A";
                                curRow[(int)fmtOutput[DATA_BRAND]]     = "N/A";
                            }
                        }
                        else if (((string)fmtInput[col]).Equals(DATA_DATE) && isDate)
                        {
                            curRow[(int)fmtOutput[DATA_MONTH]]            = ARR_MONTH[DateTime.Parse(value).Month - 1];
                            curRow[(int)fmtOutput[(string)fmtInput[col]]] = value;
                        }
                        else
                        {
                            //int idx = (int)fmtOutput[fmtInput[col]]
                            curRow[(int)fmtOutput[(string)fmtInput[col]]] = value;
                        }
                    }

                    if (print && curRow[0] != null && curRow[(int)fmtOutput[DATA_ACCT_NUM]] != null)
                    {
                        if (curRow[(int)fmtOutput[DATA_BALANCE]] != null)
                        {
                            double cr = 0;
                            double db = 0;
                            if (curRow[(int)fmtOutput[DATA_CREDIT]] != null)
                            {
                                cr = Double.Parse((string)curRow[(int)fmtOutput[DATA_CREDIT]]);
                            }
                            if (curRow[(int)fmtOutput[DATA_DEBIT]] != null)
                            {
                                db = Double.Parse((string)curRow[(int)fmtOutput[DATA_DEBIT]]);
                            }
                            curRow[(int)fmtOutput[DATA_BALANCE]] = (db - cr).ToString();
                        }

                        for (int i = 0; i < curRow.Length; i++)
                        {
                            line.Append(curRow[i] == null ? "" : curRow[i]);
                            line.Append(";");
                        }
                        if (line.ToString().Trim().Length > 0)
                        {
                            outFile.WriteLine(line);
                            line = new StringBuilder();
                        }
                    }
                }
            }
        }
Пример #34
0
        private static Row InsertRow(uint rowIndex, WorksheetPart worksheetPart, Row?insertRow, bool isNewLastRow = false)
        {
            SheetData sheetData = worksheetPart.Worksheet.GetFirstChild <SheetData>();

            Row?retRow = !isNewLastRow?sheetData.Elements <Row>().FirstOrDefault(r => r.RowIndex == rowIndex) : null;

            // If the worksheet does not contain a row with the specified row index, insert one.
            if (retRow != null)
            {
                // if retRow is not null and we are inserting a new row, then move all existing rows down.
                if (insertRow != null)
                {
                    UpdateRowIndexes(worksheetPart, rowIndex, false);
                    //UpdateMergedCellReferences(worksheetPart, rowIndex, false);
                    //UpdateHyperlinkReferences(worksheetPart, rowIndex, false);

                    // actually insert the new row into the sheet
                    retRow = sheetData.InsertBefore(insertRow, retRow);  // at this point, retRow still points to the row that had the insert rowIndex

                    string curIndex = retRow.RowIndex.ToString();
                    string newIndex = rowIndex.ToString(CultureInfo.InvariantCulture);

                    foreach (Cell cell in retRow.Elements <Cell>())
                    {
                        // Update the references for the rows cells.
                        cell.CellReference = new StringValue(cell.CellReference.Value.Replace(curIndex, newIndex, StringComparison.OrdinalIgnoreCase));
                    }

                    // Update the row index.
                    retRow.RowIndex = rowIndex;
                }
            }
            else
            {
                // Row doesn't exist yet, shifting not needed.
                // Rows must be in sequential order according to RowIndex. Determine where to insert the new row.
                Row?refRow = !isNewLastRow?sheetData.Elements <Row>().FirstOrDefault(row => row.RowIndex > rowIndex) : null;

                // use the insert row if it exists
                retRow = insertRow ?? new Row()
                {
                    RowIndex = rowIndex
                };

                IEnumerable <Cell> cellsInRow = retRow.Elements <Cell>();

                if (cellsInRow.Any())
                {
                    string curIndex = retRow.RowIndex.ToString();
                    string newIndex = rowIndex.ToString(CultureInfo.InvariantCulture);

                    foreach (Cell cell in cellsInRow)
                    {
                        // Update the references for the rows cells.
                        cell.CellReference = new StringValue(cell.CellReference.Value.Replace(curIndex, newIndex, StringComparison.OrdinalIgnoreCase));
                    }

                    // Update the row index.
                    retRow.RowIndex = rowIndex;
                }

                sheetData.InsertBefore(retRow, refRow);
            }

            return(retRow);
        }
Пример #35
0
 public static Cell FindCell(this SheetData sheetData, string addressName)
 {
     return(sheetData.Descendants <Cell>().
            Where(c => c.CellReference == addressName).FirstOrDefault());
 }
Пример #36
0
        // Given a Worksheet and an address (like "AZ254"), either return a cell reference, or
        // create the cell reference and return it.
        private static Cell RetrieveCellReference(Worksheet ws, string addressName)
        {
            // Use regular expressions to get the row number and column name.
            // If the parameter wasn't well formed, this code
            // will fail:
            Regex  rx        = new Regex("^(?<col>\\D+)(?<row>\\d+)");
            Match  m         = rx.Match(addressName);
            uint   rowNumber = uint.Parse(m.Result("${row}"));
            string colName   = m.Result("${col}");

            // Retrieve reference to the sheet's data.
            SheetData sheetData = ws.GetFirstChild <SheetData>();

            // If the worksheet does not contain a row
            // with the specified row index, insert one.
            var rows   = sheetData.Elements <Row>();
            var theRow = rows.FirstOrDefault(r => r.RowIndex.Value == rowNumber);

            if (theRow == null)
            {
                theRow          = new Row();
                theRow.RowIndex = rowNumber;


                Row refRow = null;
                foreach (Row row in rows)
                {
                    if (row.RowIndex > rowNumber)
                    {
                        refRow = row;
                        break;
                    }
                }
                // If refRow is null, InsertBefore appends.
                sheetData.InsertBefore(theRow, refRow);
            }
            // At this point, theRow refers to the row to contain the cell value.
            // The cell may or may not exist.

            // If the cell you need already exists, return it.
            // If there is not a cell with the specified address name, insert one.
            var cells = theRow.Elements <Cell>();

            Cell theCell = cells.FirstOrDefault(c => c.CellReference.Value == addressName);

            if (theCell == null)
            {
                // Cell doesn't exist, so create one.
                theCell = new Cell();
                theCell.CellReference = addressName;
                // Must insert cell in the appropriate location.
                Cell refCell = null;
                foreach (Cell cell in cells)
                {
                    if (string.Compare(cell.CellReference.Value, addressName, true) > 0)
                    {
                        refCell = cell;
                        break;
                    }
                }
                // If refCell is null, InsertBefore appends.
                theRow.InsertBefore(theCell, refCell);
            }
            return(theCell);
        }
Пример #37
0
 public Sheet(String sheetName)
 {
     SheetName = sheetName;
     data = new SheetData();
     Columns = new SheetColumnCollection();
 }
Пример #38
0
        // 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;
        }
Пример #39
0
        public Tournament ImportFromExcel(string fileName, bool unicode = true)
        {
            Tournament result = null;

            var table = new DataTable();

            using (SpreadsheetDocument spreadsheet = SpreadsheetDocument.Open(fileName, false))
            {
                WorkbookPart workbook = spreadsheet.WorkbookPart;
                //create a reference to Sheet1
                WorksheetPart worksheet = workbook.WorksheetParts.Last();
                SheetData     data      = worksheet.Worksheet.GetFirstChild <SheetData>();

                //add column names to the first row
                Row header = data.GetFirstChild <Row>();

                var rowEnum = header.GetEnumerator();
                while (rowEnum.MoveNext())
                {
                    table.Columns.Add(new DataColumn(rowEnum.Current.InnerText));
                }

                Row row = header.NextSibling() as Row;
                do
                {
                    if (row != null)
                    {
                        var dataRow = table.Rows.Add();

                        rowEnum = row.GetEnumerator();
                        int i = 0;
                        while (rowEnum.MoveNext())
                        {
                            dataRow[i] = rowEnum.Current.InnerText;
                            i++;
                        }
                        row = row.NextSibling() as Row;
                    }
                }while (row != null);
            }

            StringBuilder sb = new StringBuilder();

            foreach (DataColumn item in table.Columns)
            {
                if (item != table.Columns[0])
                {
                    sb.Append(' ');
                }
                sb.Append(item.Caption);
            }
            sb.Append("\n");
            foreach (DataRow item in table.Rows)
            {
                for (int i = 0; i < table.Columns.Count; i++)
                {
                    if (i != 0)
                    {
                        sb.Append(' ');
                    }
                    sb.Append(item.ItemArray[i]);
                }
                sb.Append('\n');
            }

            bool unicodeError;

            result = ImportFromTextLines(sb.ToString().Split('\n'), out unicodeError);
            return(result);
        }
Пример #40
0
        /// <summary>
        /// Creates the worksheet part.
        /// </summary>
        /// <param name="worksheetPart">The worksheet part.</param>
        /// <param name="data">The data.</param>
        private void CreateWorksheetPart(WorksheetPart worksheetPart, DataTable data)
        {
            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");


            SheetViews sheetViews = new SheetViews();
            SheetView  sheetView  = new SheetView()
            {
                WorkbookViewId = (UInt32Value)0U
            };
            Selection selection = new Selection()
            {
                ActiveCell = "A1"
            };

            sheetView.Append(selection);
            sheetViews.Append(sheetView);

            PageMargins pageMargins = new PageMargins()
            {
                Left   = 0.7D,
                Right  = 0.7D,
                Top    = 0.75D,
                Bottom = 0.75D,
                Header = 0.3D,
                Footer = 0.3D
            };

            SheetFormatProperties sheetFormatPr = new SheetFormatProperties()
            {
                DefaultRowHeight = 15D,
                DyDescent        = 0.25D
            };

            SheetData sheetData = new SheetData();

            UInt32Value rowIndex = 1U;

            Row row1 = new Row()
            {
                RowIndex = rowIndex++,
                Spans    = new ListValue <StringValue>()
                {
                    InnerText = "1:3"
                },
                DyDescent = 0.25D
            };

            for (int columnIndex = 0; columnIndex < data.Columns.Count; columnIndex++)
            {
                Cell cell = new Cell()
                {
                    CellReference = ColumnCaption.Instance.Get((Convert.ToInt32((UInt32)rowIndex) - 2), columnIndex), DataType = CellValues.String
                };
                CellValue cellValue = new CellValue();
                cellValue.Text = data.Columns[columnIndex].ColumnName.ToString().FormatCode();
                cell.Append(cellValue);

                row1.Append(cell);
            }
            sheetData.Append(row1);

            for (int rIndex = 0; rIndex < data.Rows.Count; rIndex++)
            {
                Row row = new Row()
                {
                    RowIndex = rowIndex++,
                    Spans    = new ListValue <StringValue>()
                    {
                        InnerText = "1:3"
                    },
                    DyDescent = 0.25D
                };

                for (int cIndex = 0; cIndex < data.Columns.Count; cIndex++)
                {
                    if (cIndex == 0)
                    {
                        Cell cell = new Cell()
                        {
                            CellReference = ColumnCaption.Instance.Get((Convert.ToInt32((UInt32)rowIndex) - 2), cIndex), DataType = CellValues.String
                        };
                        CellValue cellValue = new CellValue();
                        cellValue.Text = data.Rows[rIndex][cIndex].ToString();
                        cell.Append(cellValue);

                        row.Append(cell);
                    }
                    else
                    {
                        Cell cell = new Cell()
                        {
                            CellReference = ColumnCaption.Instance.Get((Convert.ToInt32((UInt32)rowIndex) - 2), cIndex), DataType = CellValues.String
                        };
                        CellValue cellValue = new CellValue();
                        cellValue.Text = data.Rows[rIndex][cIndex].ToString();
                        cell.Append(cellValue);

                        row.Append(cell);
                    }
                }
                sheetData.Append(row);
            }

            worksheet.Append(sheetViews);
            worksheet.Append(sheetFormatPr);
            worksheet.Append(sheetData);
            worksheet.Append(pageMargins);
            worksheetPart.Worksheet = worksheet;
        }
Пример #41
0
        private void CreateExcelFile(List <Track> data, string OutPutFileDirectory)
        {
            var datetime = DateTime.Now.ToString().Replace("/", "_").Replace(":", "_");

            string fileFullname = Path.Combine(OutPutFileDirectory, "Output.xlsx");

            if (System.IO.File.Exists(fileFullname))
            {
                fileFullname = Path.Combine(OutPutFileDirectory, "Output_" + datetime + ".xlsx");
            }

            //using (SpreadsheetDocument package = SpreadsheetDocument.Create(fileFullname, SpreadsheetDocumentType.Workbook))
            //{
            //    CreatePartsForExcel(package, data);
            //}

            using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create("c:\\Users\\Banku\\Desktop\\mytest.xlsx", SpreadsheetDocumentType.Workbook))
            {
                // Add a WorkbookPart to the document.
                WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
                workbookpart.Workbook = new Workbook();

                // Add a WorksheetPart to the WorkbookPart.
                WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>();
                SheetData     sheetData     = new SheetData();
                worksheetPart.Worksheet = new Worksheet(sheetData);

                // 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    = "Test"
                };

                Row row = new Row()
                {
                    RowIndex = 1
                };
                Cell header1 = new Cell()
                {
                    CellReference = "A1", CellValue = new CellValue("Interval Period Timestamp"), DataType = CellValues.String
                };
                row.Append(header1);
                Cell header2 = new Cell()
                {
                    CellReference = "B1", CellValue = new CellValue("Settlement Interval"), DataType = CellValues.String
                };
                row.Append(header2);
                Cell header3 = new Cell()
                {
                    CellReference = "C1", CellValue = new CellValue("Aggregated Consumption Factor"), DataType = CellValues.String
                };
                row.Append(header3);
                Cell header4 = new Cell()
                {
                    CellReference = "D1", CellValue = new CellValue("Loss Adjusted Aggregated Consumption"), DataType = CellValues.String
                };
                row.Append(header4);

                sheetData.Append(row);

                sheets.Append(sheet);

                workbookpart.Workbook.Save();

                // Close the document.
                spreadsheetDocument.Close();
            }
        }
Пример #42
0
    private static void ParseSingleLanguageToCache(Dictionary <int, LanguageWrapper> cacheLanguages, SheetData sheet, int cellNum)
    {
        foreach (var table in sheet.Tables)
        {
            // 获取格子内容
            string cellValue = table.GetCellValue(cellNum);

            int hashCode = cellValue.GetHashCode();
            if (cacheLanguages.ContainsKey(hashCode) == false)
            {
                LanguageWrapper wrapper = new LanguageWrapper();
                wrapper.Source  = sheet.FileName;
                wrapper.Content = cellValue;
                cacheLanguages.Add(hashCode, wrapper);
            }
        }
    }
Пример #43
0
        public static void WriteExcelFile()
        {
            List <UserDetails> persons = new List <UserDetails>()
            {
                new UserDetails()
                {
                    ID = "1001", Name = "ABCD", City = "City1", Country = "USA"
                },
                new UserDetails()
                {
                    ID = "1002", Name = "PQRS", City = "City2", Country = "INDIA"
                },
                new UserDetails()
                {
                    ID = "1003", Name = "XYZZ", City = "City3", Country = "CHINA"
                },
                new UserDetails()
                {
                    ID = "1004", Name = "LMNO", City = "City4", Country = "UK"
                },
            };

            // Lets converts our object data to Datatable for a simplified logic.
            // Datatable is most easy way to deal with complex datatypes for easy reading and formatting.
            DataTable table = (DataTable)JsonConvert.DeserializeObject(JsonConvert.SerializeObject(persons), (typeof(DataTable)));

            using (SpreadsheetDocument document = SpreadsheetDocument.Create(@"c:\ExcelSample\Sample.xlsx", SpreadsheetDocumentType.Workbook))
            {
                WorkbookPart workbookPart = document.AddWorkbookPart();
                workbookPart.Workbook = new Workbook();

                WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>();
                var           sheetData     = new SheetData();
                worksheetPart.Worksheet = new Worksheet(sheetData);

                Sheets sheets = workbookPart.Workbook.AppendChild(new Sheets());
                Sheet  sheet  = new Sheet()
                {
                    Id = workbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "Sheet1"
                };

                sheets.Append(sheet);

                Row headerRow = new Row();

                List <String> columns = new List <string>();
                foreach (System.Data.DataColumn column in table.Columns)
                {
                    columns.Add(column.ColumnName);

                    Cell cell = new Cell();
                    cell.DataType  = CellValues.String;
                    cell.CellValue = new CellValue(column.ColumnName);
                    headerRow.AppendChild(cell);
                }

                sheetData.AppendChild(headerRow);

                foreach (DataRow dsrow in table.Rows)
                {
                    Row newRow = new Row();
                    foreach (String col in columns)
                    {
                        Cell cell = new Cell();
                        cell.DataType  = CellValues.String;
                        cell.CellValue = new CellValue(dsrow[col].ToString());
                        newRow.AppendChild(cell);
                    }

                    sheetData.AppendChild(newRow);
                }

                workbookPart.Workbook.Save();
                Console.WriteLine("Excel Data Created Successfully");
            }
        }
Пример #44
0
    private static void ParseListLanguageToCache(Dictionary <int, LanguageWrapper> cacheLanguages, SheetData sheet, int cellNum)
    {
        foreach (var table in sheet.Tables)
        {
            // 获取格子内容
            string cellValue = table.GetCellValue(cellNum);

            List <string> splitValues = StringConvert.StringToStringList(cellValue, ConstDefine.StrSplitChar);
            for (int i = 0; i < splitValues.Count; i++)
            {
                string splitValue = splitValues[i];
                int    hashCode   = splitValue.GetHashCode();
                if (cacheLanguages.ContainsKey(hashCode) == false)
                {
                    LanguageWrapper wrapper = new LanguageWrapper();
                    wrapper.Source  = sheet.FileName;
                    wrapper.Content = splitValue;
                    cacheLanguages.Add(hashCode, wrapper);
                }
            }
        }
    }
Пример #45
0
        private static void CreateTable <T>(IList <T> objects, ref int rowIndex, int numCols,
                                            List <SpreadsheetField> fields, List <string> headers, SheetData sheetData, bool hidden = false, int outline = 0)
        {
            // for each object
            foreach (var rowObj in objects)
            {
                // row group?
                var list = rowObj as IList <object>;
                if (list != null)
                {
                    CreateTable(list, ref rowIndex, numCols, fields, headers, sheetData, true, outline + 1);
                    continue;
                }

                rowIndex++;

                // create a row
                var row = new Row
                {
                    RowIndex     = (uint)rowIndex,
                    Collapsed    = new BooleanValue(false),
                    OutlineLevel = new ByteValue((byte)outline),
                    Hidden       = new BooleanValue(hidden)
                };

                int col;

                // populate columns using supplied objects
                for (col = 0; col < numCols; col++)
                {
                    var field     = fields[col];
                    var columnObj = GetColumnObject(field.FieldName, rowObj);
                    if (columnObj == null || columnObj == DBNull.Value)
                    {
                        continue;
                    }

                    Cell cell;

                    if (field.GetType() == typeof(HyperlinkField))
                    {
                        var displayColumnObj = GetColumnObject(((HyperlinkField)field).DisplayFieldName, rowObj);
                        cell = CreateHyperlinkCell <T>(rowIndex, headers, columnObj, displayColumnObj, col);
                    }
                    else if (field.GetType() == typeof(DecimalNumberField))
                    {
                        cell = CreateDecimalNumberCell <T>(rowIndex, headers, columnObj, ((DecimalNumberField)field).DecimalPlaces, col);
                    }
                    else
                    {
                        cell = CreateCell <T>(rowIndex, headers, columnObj, col);
                    }

                    row.AppendChild(cell);
                } // for each column

                sheetData.AppendChild(row);
            }
        }
Пример #46
0
        public IActionResult GetPurchaseListOnExcel([FromQuery] string searchObject)
        {
            dynamic ret = null;

            try
            {
                SearchObject input  = JsonConvert.DeserializeObject <SearchObject>(searchObject);
                PurchaseList result = GetPurchaseList(input);

                MemoryStream memoryStream = new MemoryStream();

                using (SpreadsheetDocument document = SpreadsheetDocument.Create(memoryStream, SpreadsheetDocumentType.Workbook))
                {
                    WorkbookPart workbookPart = document.AddWorkbookPart();
                    workbookPart.Workbook = new Workbook();

                    WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>();
                    worksheetPart.Worksheet = new Worksheet();

                    Sheets sheets = workbookPart.Workbook.AppendChild(new Sheets());

                    Sheet sheet = new Sheet()
                    {
                        Id = workbookPart.GetIdOfPart(worksheetPart), SheetId = 1, Name = "Report"
                    };

                    sheets.Append(sheet);

                    workbookPart.Workbook.Save();

                    SheetData sheetData = worksheetPart.Worksheet.AppendChild(new SheetData());

                    // Constructing header
                    DocumentFormat.OpenXml.Spreadsheet.Row row = new DocumentFormat.OpenXml.Spreadsheet.Row();

                    row.Append(
                        ConstructCell("From", CellValues.String),
                        ConstructCell(input.FromDate.ToString("dd/MM/yyyy"), CellValues.String),
                        ConstructCell("To", CellValues.String),
                        ConstructCell(input.ToDate.ToString("dd/MM/yyyy"), CellValues.String));

                    sheetData.AppendChild(row);
                    sheetData.AppendChild(new DocumentFormat.OpenXml.Spreadsheet.Row());

                    DocumentFormat.OpenXml.Spreadsheet.Row heading = new DocumentFormat.OpenXml.Spreadsheet.Row();

                    heading.Append(
                        ConstructCell("BillNo", CellValues.String),
                        ConstructCell("Customer", CellValues.String),
                        ConstructCell("Amount (Rs)", CellValues.String),
                        ConstructCell("Date(DD/MM/YYYY)", CellValues.String));

                    // Insert the header row to the Sheet Data
                    sheetData.AppendChild(heading);

                    // Inserting each employee
                    foreach (var each in result.Purchases)
                    {
                        row = new DocumentFormat.OpenXml.Spreadsheet.Row();

                        row.Append(
                            ConstructCell(each.PurchaseId, CellValues.Number),
                            //ConstructCell(each.Customer.Name, CellValues.String),
                            ConstructCell(each.FinalTotal.ToString(), CellValues.Number),
                            ConstructCell(each.PurchaseDate.ToString("dd/MM/yyyy"), CellValues.String));

                        sheetData.AppendChild(row);
                    }
                    worksheetPart.Worksheet.Save();
                }
                memoryStream.Position = 0;
                ret = new FileStreamResult(memoryStream, "application/octet-stream");
            }
            catch (Exception ex)
            {
            }
            return(ret);
        }
        // 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;
        }
Пример #48
0
 public XmlExporter(SheetData sheetData)
     : base(sheetData)
 {
 }
Пример #49
0
        private void LoadSheetData(SheetData sheetData)
        {
            var texture = Game.Content.Load<Texture2D> (sheetData.Texture);
            var stream = TitleContainer.OpenStream(sheetData.PList);

            #if __IOS__
            PlistDocument pinfo = new PlistDocument(stream);
            PlistDictionary frames = pinfo.Root.AsDictionary["frames"].AsDictionary;

            foreach (var frame in frames) {
                string spriteName = frame.Key.Split('.')[0];
                string texRect = frame.Value.AsDictionary["frame"].AsString;
                var sp = new Sprite2D (spriteName, texture, RectangleFromString (texRect), sheetData.FrameWidth, sheetData.FrameHeight);
                m_sprites.Add (spriteName, sp);
            }
            #else
            PList pinfo = new PList (stream);
            PList frames = pinfo ["frames"] as PList;

            foreach (var frmName in frames.Keys) {
                PList frame = frames [frmName] as PList;
                string texRect = frame ["frame"] as string;
                string spriteName = frmName.Split('.')[0];
                var sp = new Sprite2D (spriteName, texture, RectangleFromString (texRect), sheetData.FrameWidth, sheetData.FrameHeight);
                m_sprites.Add (spriteName, sp);
            }
            #endif
        }
Пример #50
0
        public ActionResult Import(HttpPostedFileBase excelfile)
        {
            string usuario   = ((DO_Persona)Session["UsuarioConectado"]).Usuario;
            int    idCliente = 1;

            List <SelectListItem> ListaClientes = DataManager.ConvertListDOClienteToSelectListItem(DataManager.GetAllClientes());

            ViewBag.Clientes = ListaClientes;

            if (excelfile == null || excelfile.ContentLength == 0)
            {
                ViewBag.Error = "Please select a excel file";
                return(View("CargarOrden"));
            }
            else
            {
                if (excelfile.FileName.EndsWith("xls") || excelfile.FileName.EndsWith("xlsx"))
                {
                    string path = Server.MapPath("~/Content/" + Path.GetFileName(excelfile.FileName));
                    if (System.IO.File.Exists(path))
                    {
                        System.IO.File.Delete(path);
                    }
                    excelfile.SaveAs(path);

                    //read data from excel file

                    DataTable dataTable = new DataTable();
                    try
                    {
                        using (SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(path, false))
                        {
                            WorkbookPart        workbookPart = spreadSheetDocument.WorkbookPart;
                            IEnumerable <Sheet> sheets       = spreadSheetDocument.WorkbookPart.Workbook.GetFirstChild <Sheets>().Elements <Sheet>();
                            string            relationshipId = sheets.First().Id.Value;
                            WorksheetPart     worksheetPart  = (WorksheetPart)spreadSheetDocument.WorkbookPart.GetPartById(relationshipId);
                            Worksheet         workSheet      = worksheetPart.Worksheet;
                            SheetData         sheetData      = workSheet.GetFirstChild <SheetData>();
                            IEnumerable <Row> rows           = sheetData.Descendants <Row>();

                            foreach (Cell cell in rows.ElementAt(0))
                            {
                                dataTable.Columns.Add(GetCellValue(spreadSheetDocument, cell));
                            }

                            foreach (Row row in rows)
                            {
                                DataRow dataRow = dataTable.NewRow();
                                for (int i = 0; i < row.Descendants <Cell>().Count(); i++)
                                {
                                    dataRow[i] = GetCellValue(spreadSheetDocument, row.Descendants <Cell>().ElementAt(i));
                                }

                                dataTable.Rows.Add(dataRow);
                            }
                        }

                        dataTable.Rows.RemoveAt(0);
                    }
                    catch (Exception)
                    {
                        throw;
                    }

                    List <DO_C_Orcen> Lista = DataManager.ReadOrden(dataTable);

                    bool ingreso = DataManager.InsertOrdenFromFile(Lista, idCliente, usuario);

                    ViewBag.Error = ingreso ? "Datos cargados": "Upps, se genero un error, es posible que no se cargaron todos los datos.";
                    return(View("CargarOrden"));
                }
                else
                {
                    ViewBag.Error = "File type is encorrect<br>";
                    return(View("CargarOrden"));
                }
            }
        }
Пример #51
0
        public async Task <FileStreamResult> Download(int id)
        {
            var storedReport = await _reportService.GetReportResultsAsync(id);

            PageTitle = storedReport.request.Name ?? "Report Results";

            var viewModel = new ReportResultsViewModel
            {
                Title = PageTitle
            };

            viewModel.ReportSet = JsonConvert
                                  .DeserializeObject <StoredReportSet>(storedReport.request.ResultJson);

            var ms = new System.IO.MemoryStream();

            using (var workbook = SpreadsheetDocument.Create(ms,
                                                             DocumentFormat.OpenXml.SpreadsheetDocumentType.Workbook))
            {
                var workbookPart = workbook.AddWorkbookPart();
                workbook.WorkbookPart.Workbook        = new Workbook();
                workbook.WorkbookPart.Workbook.Sheets = new Sheets();

                var stylesPart = workbook.WorkbookPart.AddNewPart <WorkbookStylesPart>();
                stylesPart.Stylesheet = GetStylesheet();
                stylesPart.Stylesheet.Save();

                foreach (var report in viewModel.ReportSet.Reports)
                {
                    var sheetPart = workbook.WorkbookPart.AddNewPart <WorksheetPart>();
                    var sheetData = new SheetData();
                    sheetPart.Worksheet = new Worksheet(sheetData);


                    var sheets         = workbook.WorkbookPart.Workbook.GetFirstChild <Sheets>();
                    var relationshipId = workbook.WorkbookPart.GetIdOfPart(sheetPart);

                    uint sheetId = 1;
                    if (sheets.Elements <Sheet>().Count() > 0)
                    {
                        sheetId = sheets.Elements <Sheet>()
                                  .Select(_ => _.SheetId.Value).Max() + 1;
                    }

                    string sheetName = report.Title ?? PageTitle ?? "Report Results";
                    if (sheetName.Length > 31)
                    {
                        sheetName = sheetName.Substring(0, 31);
                    }

                    var sheet = new Sheet
                    {
                        Id      = relationshipId,
                        SheetId = sheetId,
                        Name    = sheetName
                    };
                    sheets.Append(sheet);

                    var maximumColumnWidth = new Dictionary <int, int>();

                    if (report.HeaderRow != null)
                    {
                        var headerRow    = new Row();
                        int columnNumber = 0;
                        foreach (var dataItem in report.HeaderRow)
                        {
                            (var cell, var length) = CreateCell(dataItem);
                            cell.StyleIndex        = ExcelStyleIndexBold;
                            headerRow.AppendChild(cell);
                            if (maximumColumnWidth.ContainsKey(columnNumber))
                            {
                                maximumColumnWidth[columnNumber]
                                    = Math.Max(maximumColumnWidth[columnNumber], length);
                            }
                            else
                            {
                                maximumColumnWidth.Add(columnNumber, length);
                            }
                            columnNumber++;
                        }
                        sheetData.Append(headerRow);
                    }

                    foreach (var resultRow in report.Data)
                    {
                        var row          = new Row();
                        int columnNumber = 0;
                        foreach (var resultItem in resultRow)
                        {
                            (var cell, var length) = CreateCell(resultItem);
                            row.AppendChild(cell);
                            if (maximumColumnWidth.ContainsKey(columnNumber))
                            {
                                maximumColumnWidth[columnNumber]
                                    = Math.Max(maximumColumnWidth[columnNumber], length);
                            }
                            else
                            {
                                maximumColumnWidth.Add(columnNumber, length);
                            }
                            columnNumber++;
                        }
                        sheetData.Append(row);
                    }

                    if (report.FooterRow != null)
                    {
                        var footerRow    = new Row();
                        int columnNumber = 0;
                        foreach (var dataItem in report.FooterRow)
                        {
                            (var cell, var length) = CreateCell(dataItem);
                            cell.StyleIndex        = ExcelStyleIndexBold;
                            footerRow.AppendChild(cell);
                            if (maximumColumnWidth.ContainsKey(columnNumber))
                            {
                                maximumColumnWidth[columnNumber]
                                    = Math.Max(maximumColumnWidth[columnNumber], length);
                            }
                            else
                            {
                                maximumColumnWidth.Add(columnNumber, length);
                            }
                            columnNumber++;
                        }
                        sheetData.Append(footerRow);
                    }

                    if (report.FooterText != null)
                    {
                        foreach (var dataItem in report.FooterText)
                        {
                            var footerTextRow = new Row();
                            (var cell, var length) = CreateCell(dataItem);
                            footerTextRow.AppendChild(cell);
                            sheetData.Append(footerTextRow);
                        }
                    }

                    foreach (var value in maximumColumnWidth.Keys.OrderByDescending(_ => _))
                    {
                        var     columnId = value + 1;
                        var     width    = maximumColumnWidth[value] + ExcelPaddingCharacters;
                        Columns cs       = sheet.GetFirstChild <Columns>();
                        if (cs != null)
                        {
                            var columnElements = cs.Elements <Column>()
                                                 .Where(_ => _.Min == columnId && _.Max == columnId);
                            if (columnElements.Count() > 0)
                            {
                                var column = columnElements.First();
                                column.Width       = width;
                                column.CustomWidth = true;
                            }
                            else
                            {
                                var column = new Column
                                {
                                    Min         = (uint)columnId,
                                    Max         = (uint)columnId,
                                    Width       = width,
                                    CustomWidth = true
                                };
                                cs.Append(column);
                            }
                        }
                        else
                        {
                            cs = new Columns();
                            cs.Append(new Column
                            {
                                Min         = (uint)columnId,
                                Max         = (uint)columnId,
                                Width       = width,
                                CustomWidth = true
                            });
                            sheetPart.Worksheet.InsertAfter(cs,
                                                            sheetPart.Worksheet.GetFirstChild <SheetFormatProperties>());
                        }
                    }
                }
                workbook.Save();
                workbook.Close();
                ms.Seek(0, System.IO.SeekOrigin.Begin);
                var fileOutput = new FileStreamResult(ms, ExcelMimeType)
                {
                    FileDownloadName = $"{PageTitle}.{ExcelFileExtension}"
                };
                return(fileOutput);
            }
        }
Пример #52
0
        public ModelTypeUploadModel ReadExcel(UploadFileImportModel model)
        {
            ModelTypeUploadModel modelTypeUpload = new ModelTypeUploadModel
            {
                UpdatedBy   = model.UploadBy,
                UpdatedDate = model.UploadDate,
                CreatedBy   = model.CreatedBy,
                CreatedDate = model.CreatedDate
            };


            List <ModelTypeTempSheetModel> sheetModels = new List <ModelTypeTempSheetModel>();
            ModelTypeTempSheetModel        sheetModel;

            using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Open(model.FileName, false))
            {
                WorkbookPart workbookPart = spreadsheetDocument.WorkbookPart;
                int          sheetCount   = 0;
                foreach (Sheet sheet in workbookPart.Workbook.Sheets)
                {
                    sheetModel = new ModelTypeTempSheetModel();
                    WorksheetPart worksheetPart = (WorksheetPart)(workbookPart.GetPartById(sheet.Id));
                    Worksheet     worksheet     = workbookPart.WorksheetParts.First().Worksheet;
                    SheetData     sheetData     = worksheet.GetFirstChild <SheetData>();

                    List <Row>    rows       = sheetData.Descendants <Row>().ToList();
                    List <string> preRow     = new List <string>();
                    List <string> cellValues = new List <string>();

                    int indexMainEquipStart        = 0;
                    int indexPNoStart              = 0;
                    int indexTypeStart             = 0;
                    int indexVinStart              = 0;
                    int indexEngineSerialNoStart   = 0;
                    int indexErrorDescriptionStart = 0;
                    int inedexRowOfHeader_Start    = 6;
                    int indexRowOfHeader_End       = 8;

                    // Assign header value
                    foreach (Cell cell in rows.ElementAt(5).Descendants <Cell>())
                    {
                        if (cellHeaderValueChecks.Contains(cell.CellReference.Value))
                        {
                            string value = GetCellValue(workbookPart, sheet, cell.CellReference);
                            switch (cell.CellReference.Value)
                            {
                            case "A6":
                                sheetModel.YM = value;
                                break;

                            case "B6":
                                sheetModel.Model = value;
                                break;

                            case "C6":
                                sheetModel.Door = value;
                                break;

                            case "D6":
                                sheetModel.Engine = value;
                                break;

                            case "E6":
                                sheetModel.Plant = value;
                                break;

                            case "F6":
                                sheetModel.Status = value;
                                break;
                            }
                        }
                    }
                    // Find column header index
                    for (var i = inedexRowOfHeader_Start; i < indexRowOfHeader_End; i++)
                    {
                        foreach (Cell cell in rows.ElementAt(i).Descendants <Cell>())
                        {
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "MAIN EQUIPMENT")
                            {
                                indexMainEquipStart = GetColumnIndex(cell.CellReference);
                            }
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "P.No.")
                            {
                                indexPNoStart = GetColumnIndex(cell.CellReference);
                            }
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "TYPE")
                            {
                                indexTypeStart = GetColumnIndex(cell.CellReference);
                            }
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "VIN")
                            {
                                indexVinStart = GetColumnIndex(cell.CellReference);
                            }
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "ENGINE SERIAL No.")
                            {
                                indexEngineSerialNoStart = GetColumnIndex(cell.CellReference);
                            }
                            if (GetCellValue(workbookPart, sheet, cell.CellReference) == "Error Description")
                            {
                                indexErrorDescriptionStart = GetColumnIndex(cell.CellReference);
                            }
                        }
                    }

                    ModelTypeTempRowModel              modelTypeTempRowModel;
                    ModelTypeTempEngineModel           engineModel;
                    List <ModelTypeTempEquipmentModel> equipmentModels;
                    ModelTypeTempEquipmentModel        equipmentModel;
                    List <ModelTypeTempTypeModel>      typeModels;
                    ModelTypeTempTypeModel             typeModel;

                    for (var i = 9; i < rows.Count; i++)
                    {
                        modelTypeTempRowModel = new ModelTypeTempRowModel();
                        equipmentModels       = new List <ModelTypeTempEquipmentModel>();
                        typeModel             = new ModelTypeTempTypeModel();
                        typeModels            = new List <ModelTypeTempTypeModel>();
                        cellValues            = new List <string>();
                        engineModel           = new ModelTypeTempEngineModel();

                        modelTypeTempRowModel.RowNo = i + 1;
                        int seqEquipment = 1;
                        int seqType      = 1;

                        foreach (Cell cell in rows.ElementAt(i).Cast <Cell>())
                        {
                            string currentColumn    = GetColumnName(cell.CellReference);
                            int    currentIndex     = GetColumnIndex(cell.CellReference);
                            string currentCellValue = GetCellValue(workbookPart, sheet, cell.CellReference);


                            #region Engine
                            if (engineColumn.Contains(GetColumnName(cell.CellReference)))
                            {
                                #region  Replace Value
                                if (cell.CellReference == "A" + (i + 1))
                                {
                                    if (string.IsNullOrEmpty(currentCellValue))
                                    {
                                        currentCellValue = preRow[0];
                                    }
                                }
                                if (cell.CellReference == "B" + (i + 1))
                                {
                                    if (string.IsNullOrEmpty(currentCellValue))
                                    {
                                        currentCellValue = preRow[1];
                                    }
                                }
                                if (cell.CellReference == "C" + (i + 1))
                                {
                                    if (string.IsNullOrEmpty(currentCellValue))
                                    {
                                        currentCellValue = preRow[2];
                                    }
                                }
                                if (cell.CellReference == "D" + (i + 1))
                                {
                                    if (string.IsNullOrEmpty(currentCellValue))
                                    {
                                        currentCellValue = preRow[3];
                                    }
                                }
                                if (cell.CellReference == "E" + (i + 1))
                                {
                                    if (string.IsNullOrEmpty(currentCellValue))
                                    {
                                        currentCellValue = preRow[4];
                                    }
                                }
                                #endregion

                                switch (GetColumnName(cell.CellReference))
                                {
                                case "A":
                                    engineModel.SS = currentCellValue;
                                    break;

                                case "B":
                                    engineModel.DISP = currentCellValue;
                                    break;

                                case "C":
                                    engineModel.COMCARB = currentCellValue;
                                    break;

                                case "D":
                                    engineModel.Grade = currentCellValue;
                                    break;

                                case "E":
                                    engineModel.Mis = currentCellValue;
                                    break;

                                case "F":
                                    engineModel.ModelCode01 = currentCellValue;
                                    break;

                                case "G":
                                    engineModel.ModelCode02 = currentCellValue;
                                    break;

                                case "H":
                                    engineModel.ModelCode03 = currentCellValue;
                                    break;

                                case "I":
                                    engineModel.ModelCode04 = currentCellValue;
                                    break;

                                case "J":
                                    engineModel.ModelCode05 = currentCellValue;
                                    break;
                                }
                            }
                            #endregion

                            #region MAIN EQUIPMENT
                            string columnEndGetEquipment = GetColumnName(GetEndColumnMergeCell(workbookPart, sheet, "K7"));
                            int    indexMainEquipEnd     = GetColumnIndex(columnEndGetEquipment);

                            if (currentIndex >= indexMainEquipStart && currentIndex <= indexMainEquipEnd) // Start K Column
                            {
                                equipmentModel = new ModelTypeTempEquipmentModel
                                {
                                    EquipmentName  = GetCellValue(workbookPart, sheet, currentColumn + 9),
                                    EquipmentValue = currentCellValue,
                                    Sequence       = seqEquipment
                                };

                                seqEquipment++;
                                equipmentModels.Add(equipmentModel);
                            }
                            #endregion

                            #region PNo
                            if (currentIndex == indexPNoStart)
                            {
                                modelTypeTempRowModel.PNo = currentCellValue;
                            }
                            #endregion

                            #region TYPE
                            if (currentIndex >= indexTypeStart && currentIndex <= indexVinStart - 1)
                            {
                                typeModel = new ModelTypeTempTypeModel
                                {
                                    ModelType = GetCellValue(workbookPart, sheet, currentColumn + 9),
                                    ModelCode = currentCellValue,
                                    Sequence  = seqType
                                };
                                seqType++;
                                typeModels.Add(typeModel);
                            }
                            #endregion

                            #region VIN
                            if (currentIndex == indexVinStart)
                            {
                                modelTypeTempRowModel.VIN = currentCellValue;
                            }
                            #endregion

                            cellValues.Add(currentCellValue);
                        }
                        // End Cell
                        preRow = cellValues;
                        modelTypeTempRowModel.ModelTypeTempEngines.Add(engineModel);
                        modelTypeTempRowModel.ModelTypeTempEquipmentModels.AddRange(equipmentModels);
                        modelTypeTempRowModel.ModelTypeTempTypeModels.AddRange(typeModels);
                        sheetModel.ModelTypeTempRowModels.Add(modelTypeTempRowModel);
                    }
                    //End  Row
                    sheetModel.SheetNo = ++sheetCount;

                    modelTypeUpload.ModelTypeTempSheetModels.Add(sheetModel);
                }
            }
            modelTypeUpload.UploadStatusID = 44; // wait edit
            //StagingTest(modelTypeUpload);
            return(modelTypeUpload);
        }
 private IEnumerable<Cell> GetColumnCells(SheetData sheetData, int colIndex)
 {
     var cells = sheetData.Descendants<Row>()
                          .Select(x => x.Descendants<Cell>().ElementAt(colIndex));
     return cells;
 }
Пример #54
0
        public static void ReadFile()
        {
            using (SpreadsheetDocument doc = SpreadsheetDocument.Open("File1.xlsx", false))
            {
                //create the object for workbook part
                WorkbookPart  workbookPart       = doc.WorkbookPart;
                Sheets        thesheetcollection = workbookPart.Workbook.GetFirstChild <Sheets>();
                StringBuilder excelResult        = new StringBuilder();

                //using for each loop to get the sheet from the sheetcollection
                foreach (Sheet thesheet in thesheetcollection)
                {
                    excelResult.AppendLine("Excel Sheet Name : " + thesheet.Name);
                    excelResult.AppendLine("----------------------------------------------- ");
                    //statement to get the worksheet object by using the sheet id
                    Worksheet theWorksheet = ((WorksheetPart)workbookPart.GetPartById(thesheet.Id)).Worksheet;

                    SheetData thesheetdata = (SheetData)theWorksheet.GetFirstChild <SheetData>();
                    foreach (Row thecurrentrow in thesheetdata)
                    {
                        foreach (Cell thecurrentcell in thecurrentrow)
                        {
                            //statement to take the integer value
                            string currentcellvalue = string.Empty;
                            if (thecurrentcell.DataType != null)
                            {
                                if (thecurrentcell.DataType == CellValues.SharedString)
                                {
                                    int id;
                                    if (Int32.TryParse(thecurrentcell.InnerText, out id))
                                    {
                                        SharedStringItem item = workbookPart.SharedStringTablePart.SharedStringTable.Elements <SharedStringItem>().ElementAt(id);
                                        if (item.Text != null)
                                        {
                                            //code to take the string value
                                            excelResult.Append(item.Text.Text + " ");
                                        }
                                        else if (item.InnerText != null)
                                        {
                                            currentcellvalue = item.InnerText;
                                        }
                                        else if (item.InnerXml != null)
                                        {
                                            currentcellvalue = item.InnerXml;
                                        }
                                    }
                                }
                            }
                            else
                            {
                                excelResult.Append(Convert.ToInt16(thecurrentcell.InnerText) + " ");
                            }
                        }
                        excelResult.AppendLine();
                    }
                    excelResult.Append("");
                    Console.WriteLine(excelResult.ToString());
                    Console.ReadLine();
                }
            }
        }
Пример #55
0
        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;
        }
Пример #56
0
        /// <summary>
        /// 添加内容部分
        /// </summary>
        /// <param name="sheetData"><see cref="SheetData"/>对象</param>
        /// <param name="pds"><see cref="PropertyDto"/>对象数组</param>
        private void AddBody(SheetData sheetData, PropertyDto[] pds)
        {
            // 是否新增文档
            bool isNew = !this.UseTemplate;
            // 有多少属性,一行就会有多少格
            int pcount = propertyInfoes.Length;
            // 行索引
            uint rowIndex = TemplateRowIndexContent;

            foreach (T data in _sourceDatas)
            {
                Row    row   = new Row();
                Cell[] cells = new Cell[pcount];
                uint   k     = 0;
                for (; k < pcount; k++)
                {
                    PropertyInfo pi = propertyInfoes[k];
                    PropertyDto  pd = pds[k];
                    object       v  = pi.GetValue(data, null);
                    string       f  = "{0}";
                    if (pd.DisplayOpenXmlAttr != null && !string.IsNullOrEmpty(pd.DisplayOpenXmlAttr.Formate))
                    {
                        f = "{0:" + pd.DisplayOpenXmlAttr.Formate + "}";
                    }
                    string value = string.Format(f, v);
                    if (pd.TypeCodeValue == TypeCode.Boolean && v != null &&
                        (!string.IsNullOrEmpty(pd.DisplayOpenXmlAttr.BoolTrueText) || !string.IsNullOrEmpty(pd.DisplayOpenXmlAttr.BoolFalseText)))
                    {
                        bool bv = (bool)v;
                        if (true == bv && !string.IsNullOrEmpty(pd.DisplayOpenXmlAttr.BoolTrueText))
                        {
                            value = pd.DisplayOpenXmlAttr.BoolTrueText;
                        }
                        if (false == bv && !string.IsNullOrEmpty(pd.DisplayOpenXmlAttr.BoolFalseText))
                        {
                            value = pd.DisplayOpenXmlAttr.BoolFalseText;
                        }
                    }

                    Cell cell = ConstructCell(value, pd.CellType);
                    if (isNew)
                    {
                        cell.StyleIndex = 2;
                    }
                    else
                    {
                        cell.CellReference = string.Format("{0}{1}", pd.ColumnReference, rowIndex + 1);
                        if (pd.StyleIndex >= 0)
                        {
                            cell.StyleIndex = (uint)pd.StyleIndex;
                        }
                    }
                    cells[k] = cell;
                }
                if (!isNew)
                {
                    rowIndex++;
                }
                row.Append(cells);
                sheetData.AppendChild(row);
            }
        }
Пример #57
0
        public static void CreatingExcelAndDrowownInExcel()
        {
            var filepath          = @"C:\Test.xlsx";
            OpenXMLWindowsApp app = new OpenXMLWindowsApp();
            //app.UpdateSheet(filepath);
            SpreadsheetDocument myWorkbook = SpreadsheetDocument.Create(filepath, SpreadsheetDocumentType.Workbook);
            //SpreadsheetDocument myWorkbook = SpreadsheetDocument.Open(filepath,true);
            WorkbookPart workbookpart = myWorkbook.AddWorkbookPart();

            workbookpart.Workbook = new Workbook();
            WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>();

            worksheetPart.Worksheet = new Worksheet(new SheetData());

            WorksheetPart worksheetPart2 = workbookpart.AddNewPart <WorksheetPart>();

            worksheetPart2.Worksheet = new Worksheet(new SheetData());

            Sheets    sheets     = myWorkbook.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets());
            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");

            Worksheet worksheet2 = new Worksheet()
            {
                MCAttributes = new MarkupCompatibilityAttributes()
                {
                    Ignorable = "x14ac"
                }
            };

            worksheet2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet2.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");

            SheetDimension sheetDimension1 = new SheetDimension()
            {
                Reference = "A1"
            };
            Sheet sheet = new Sheet()
            {
                Id      = myWorkbook.WorkbookPart.GetIdOfPart(worksheetPart),
                SheetId = 1,
                Name    = "DropDownContainingSheet"
            };

            Sheet sheet1 = new Sheet()
            {
                Id      = myWorkbook.WorkbookPart.GetIdOfPart(worksheetPart2),
                SheetId = 2,
                Name    = "DropDownDataContainingSheet"
            };

            sheets.Append(sheet);
            sheets.Append(sheet1);
            SheetData sheetData  = new SheetData();
            SheetData sheetData1 = new SheetData();
            int       Counter1   = 1;

            foreach (var value in DataInSheet.GetDataOfSheet1())
            {
                Row contentRow = CreateRowValues(Counter1, value);
                Counter1++;
                sheetData.AppendChild(contentRow);
            }

            worksheet1.Append(sheetData);
            int Counter2 = 1;

            foreach (var value in DataInSheet.GetDataOfSheet2())
            {
                Row contentRow = CreateRowValues(Counter2, value);
                Counter2++;
                sheetData1.AppendChild(contentRow);
            }
            worksheet2.Append(sheetData1);


            DataValidation dataValidation = new DataValidation
            {
                Type                 = DataValidationValues.List,
                AllowBlank           = true,
                SequenceOfReferences = new ListValue <StringValue>()
                {
                    InnerText = "A1"
                },
                Formula1 = new Formula1("'DropDownDataContainingSheet'!$A$1:$A$8")
            };

            DataValidations dataValidations = worksheet1.GetFirstChild <DataValidations>();

            if (dataValidations != null)
            {
                dataValidations.Count = dataValidations.Count + 1;
                dataValidations.Append(dataValidation);
            }
            else
            {
                DataValidations newdataValidations = new DataValidations();
                newdataValidations.Append(dataValidation);
                newdataValidations.Count = 1;
                worksheet1.Append(newdataValidations);
            }


            worksheetPart.Worksheet  = worksheet1;;
            worksheetPart2.Worksheet = worksheet2;
            workbookpart.Workbook.Save();
            myWorkbook.Close();
        }
Пример #58
0
        public bool WriteReports(IEnumerable <CaseReportForListing> reports, string[] fields, Stream stream)
        {
            var          document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook);
            WorkbookPart workbook = document.AddWorkbookPart();

            workbook.Workbook = new Workbook();
            Sheets sheets = document.WorkbookPart.Workbook.AppendChild(new Sheets());

            // Create a sheet in the document
            var           data      = new SheetData();
            WorksheetPart worksheet = workbook.AddNewPart <WorksheetPart>();

            worksheet.Worksheet = new Worksheet(data);
            Sheet sheet = new Sheet()
            {
                Id = document.WorkbookPart.GetIdOfPart(worksheet), SheetId = 1, Name = "Case Reports"
            };

            sheets.Append(sheet);


            uint rowIndex = 0;

            // Add some headers
            {
                var row = new Row {
                    RowIndex = ++rowIndex
                };
                data.Append(row);

                var headers = new SortedDictionary <string, string>
                {
                    { "A", "Date" },
                    { "B", "Time" },
                    { "C", "Status" },
                    { "D", "Data Collector" },
                    { "E", "Region" },
                    { "F", "District" },
                    { "G", "Village" },
                    { "H", "Health Risk" },
                    { "I", "Males < 5" },
                    { "J", "Males ≥ 5" },
                    { "K", "Females < 5" },
                    { "L", "Females ≥ 5" },
                    { "M", "Lat. / Long." },
                    { "N", "Message" },
                    { "O", "Errors" }
                };

                foreach (var header in headers)
                {
                    var cell = new Cell {
                        CellReference = header.Key + rowIndex
                    };
                    row.Append(cell);
                    cell.DataType  = new EnumValue <CellValues>(CellValues.String);
                    cell.CellValue = new CellValue(header.Value);
                }
            }

            // Insert data
            foreach (var report in reports.OrderByDescending(e => e.Timestamp))
            {
                var row = new Row {
                    RowIndex = ++rowIndex
                };
                data.Append(row);

                var date = new Cell {
                    CellReference = "A" + rowIndex
                };
                row.Append(date);
                date.DataType  = new EnumValue <CellValues>(CellValues.Date);
                date.CellValue = new CellValue(report.Timestamp.ToString("yyyy MMMM dd"));

                var timestamp = new Cell {
                    CellReference = "B" + rowIndex
                };
                row.Append(timestamp);
                timestamp.DataType  = new EnumValue <CellValues>(CellValues.String);
                timestamp.CellValue = new CellValue(report.Timestamp.ToString("HH:mm:ss"));

                var status = new Cell {
                    CellReference = "C" + rowIndex
                };
                row.Append(status);
                status.DataType = new EnumValue <CellValues>(CellValues.String);

                var origin = new Cell {
                    CellReference = "D" + rowIndex
                };
                row.Append(origin);
                origin.DataType  = new EnumValue <CellValues>(CellValues.String);
                origin.CellValue = new CellValue(report.DataCollectorId != null ? report.DataCollectorDisplayName : "Origin: " + report.Origin);

                var region = new Cell {
                    CellReference = "E" + rowIndex
                };
                row.Append(region);
                region.DataType  = new EnumValue <CellValues>(CellValues.String);
                region.CellValue = new CellValue(report.DataCollectorId != null ? report.DataCollectorRegion : "");

                var district = new Cell {
                    CellReference = "F" + rowIndex
                };
                row.Append(district);
                district.DataType  = new EnumValue <CellValues>(CellValues.String);
                district.CellValue = new CellValue(report.DataCollectorId != null ? report.DataCollectorDistrict : "");

                var village = new Cell {
                    CellReference = "G" + rowIndex
                };
                row.Append(village);
                village.DataType  = new EnumValue <CellValues>(CellValues.String);
                village.CellValue = new CellValue(report.DataCollectorId != null ? report.DataCollectorVillage : "");

                var healthrisk = new Cell {
                    CellReference = "H" + rowIndex
                };
                row.Append(healthrisk);
                healthrisk.DataType = new EnumValue <CellValues>(CellValues.String);

                var malesUnder5 = new Cell {
                    CellReference = "I" + rowIndex
                };
                row.Append(malesUnder5);
                malesUnder5.DataType = new EnumValue <CellValues>(CellValues.Number);

                var malesOver5 = new Cell {
                    CellReference = "J" + rowIndex
                };
                row.Append(malesOver5);
                malesOver5.DataType = new EnumValue <CellValues>(CellValues.Number);

                var femalesUnder5 = new Cell {
                    CellReference = "K" + rowIndex
                };
                row.Append(femalesUnder5);
                femalesUnder5.DataType = new EnumValue <CellValues>(CellValues.Number);

                var femalesOver5 = new Cell {
                    CellReference = "L" + rowIndex
                };
                row.Append(femalesOver5);
                femalesOver5.DataType = new EnumValue <CellValues>(CellValues.Number);

                var location = new Cell {
                    CellReference = "M" + rowIndex
                };
                row.Append(location);
                location.DataType  = new EnumValue <CellValues>(CellValues.String);
                location.CellValue = new CellValue(report.Location != null ? report.Location.Latitude + "/" + report.Location.Longitude : "");

                var message = new Cell {
                    CellReference = "N" + rowIndex
                };
                row.Append(message);
                message.DataType  = new EnumValue <CellValues>(CellValues.String);
                message.CellValue = new CellValue(report.Message);

                var error = new Cell {
                    CellReference = "O" + rowIndex
                };
                row.Append(error);
                error.DataType = new EnumValue <CellValues>(CellValues.String);

                if (report.HealthRiskId != null)
                {
                    status.CellValue        = new CellValue("Success");
                    healthrisk.CellValue    = new CellValue(report.HealthRisk);
                    malesUnder5.CellValue   = new CellValue(report.NumberOfMalesUnder5.ToString());
                    malesOver5.CellValue    = new CellValue(report.NumberOfMalesAged5AndOlder.ToString());
                    femalesUnder5.CellValue = new CellValue(report.NumberOfFemalesUnder5.ToString());
                    femalesOver5.CellValue  = new CellValue(report.NumberOfFemalesAged5AndOlder.ToString());
                    error.CellValue         = new CellValue("");
                }
                else
                {
                    status.CellValue        = new CellValue("Error");
                    healthrisk.CellValue    = new CellValue("");
                    malesUnder5.CellValue   = new CellValue("");
                    malesOver5.CellValue    = new CellValue("");
                    femalesUnder5.CellValue = new CellValue("");
                    femalesOver5.CellValue  = new CellValue("");
                    error.CellValue         = new CellValue(report.ParsingErrorMessage != null ? string.Join(".", report.ParsingErrorMessage) : "");
                }
            }

            // Save the document in memory, and serve to client
            workbook.Workbook.Save();
            document.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;
        }
Пример #60
0
        public static void UpdateCell(string docName, string text,
                                      uint rowIndex, string columnName)
        {
            //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");

            //Worksheet worksheet2 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            //worksheet2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            //worksheet2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            //worksheet2.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");

            Worksheet worksheet1 = new Worksheet();

            ExcelOperations ex = new ExcelOperations();

            // Open the document for editing.
            using (SpreadsheetDocument spreadSheet = SpreadsheetDocument.Open(docName, true))
            {
                WorksheetPart worksheetPart = GetWorksheetPartByName(spreadSheet, "DropDownContainingSheet");

                if (worksheetPart != null)
                {
                    worksheet1 = worksheetPart.Worksheet;
                    SheetData sheetData  = new SheetData();
                    SheetData sheetData1 = new SheetData();
                    int       Counter1   = 1;

                    foreach (var value in DataInSheet.GetDataOfSheet1())
                    {
                        Row contentRow = ExcelOperations.CreateRowValues(Counter1, value);
                        Counter1++;
                        sheetData.AppendChild(contentRow);
                    }

                    worksheet1.Append(sheetData);
                    int Counter2 = 1;
                    //foreach (var value in DataInSheet.GetDataOfSheet2())
                    //{

                    //    Row contentRow = ExcelOprations.CreateRowValues(Counter2, value);
                    //    Counter2++;
                    //    sheetData1.AppendChild(contentRow);
                    //}
                    //worksheet2.Append(sheetData1);


                    DataValidation dataValidation = new DataValidation
                    {
                        Type                 = DataValidationValues.List,
                        AllowBlank           = true,
                        SequenceOfReferences = new ListValue <StringValue>()
                        {
                            InnerText = "A1"
                        },
                        Formula1 = new Formula1("'DropDownDataContainingSheet'!$B$1:$B$5")
                    };

                    DataValidations dataValidations = worksheet1.GetFirstChild <DataValidations>();
                    if (dataValidations != null)
                    {
                        dataValidations.Count = dataValidations.Count + 1;
                        dataValidations.Append(dataValidation);
                    }
                    else
                    {
                        DataValidations newdataValidations = new DataValidations();
                        newdataValidations.Append(dataValidation);
                        newdataValidations.Count = 1;
                        worksheet1.Append(newdataValidations);
                    }



                    Cell cell = GetCell(worksheetPart.Worksheet,
                                        columnName, rowIndex);

                    cell.CellValue = new CellValue(text);
                    cell.DataType  =
                        new EnumValue <CellValues>(CellValues.Number);

                    // Save the worksheet.
                    worksheetPart.Worksheet.Append(worksheet1);
                    // worksheetPart.Worksheet=(worksheet2);

                    worksheetPart.Worksheet.Save();
                }
            }
        }