private Row GenerateRowForProperty(UInt32Value rowIndex, int linesToAdd, ProjectFile projectFile, String property)
        {
            Row row = new Row() { RowIndex = (UInt32Value)(rowIndex + linesToAdd), Spans = new ListValue<StringValue>() { InnerText = "3:9" }, DyDescent = 0.25D };
            ProjectProperty projectProperty = projectFile.ProjectProperties.FirstOrDefault(prop => prop.Type == property);
            if (projectProperty != null)
            {
                int sharedStringIndexForType = 0;

                for (int i = 0; i < SharedStrings.Count; i++)
                {
                    if (SharedStrings[i].Text.Text == projectProperty.Type)
                    {
                        sharedStringIndexForType = i;
                        break;
                    }
                }

                List<Cell> cells = new List<Cell>()
                    {
                        new Cell(){CellReference = GetCell(String.Format("C{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 7U,DataType = CellValues.SharedString, CellValue = new CellValue(sharedStringIndexForType.ToString(CultureInfo.InvariantCulture))},
                        new Cell(){CellReference = GetCell(String.Format("D{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 8U,DataType = CellValues.Number, CellValue = new CellValue(projectProperty.Rate.ToString(CultureInfo.InvariantCulture))},
                        new Cell(){CellReference = GetCell(String.Format("F{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 9U,DataType = CellValues.Number, CellValue = new CellValue(projectProperty.Words.ToString(CultureInfo.InvariantCulture))},
                        new Cell(){CellReference = GetCell(String.Format("G{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 9U,DataType = CellValues.Number, CellValue = new CellValue(projectProperty.Characters.ToString(CultureInfo.InvariantCulture))},
                        new Cell(){CellReference = GetCell(String.Format("H{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 9U,DataType = CellValues.Number, CellValue = new CellValue(projectProperty.ValueByWords.ToString(CultureInfo.InvariantCulture))},
                        new Cell(){CellReference = GetCell(String.Format("I{0}", rowIndex.Value), linesToAdd),StyleIndex = (UInt32Value) 9U,DataType = CellValues.SharedString, CellValue = new CellValue("15")}
                    };
                row.Append(cells.ConvertAll(c => (OpenXmlElement) c));
            }
            return row;
        }
        public static Row ToRow(this TimeRecord record, DateTime startTime)
        {
            var idCell = new Cell
            {
                DataType = CellValues.Number,
                CellValue = new CellValue(record.Id.ToString(CultureInfo.InvariantCulture)),
            };

            var timeCell = new Cell
            {
                DataType = CellValues.String,
                CellValue = new CellValue(record.FullTime.ToString(Configuration.TimeFormat)),
            };

            var str = record.FullTime - startTime;
            var deltaCell = new Cell
            {
                DataType = CellValues.String,
                CellValue = new CellValue(str.ToString()),
            };

            var numberCell = new Cell
            {
                DataType = CellValues.Number,
                CellValue = new CellValue(record.Number.ToString(CultureInfo.InvariantCulture)),
            };

            var row = new Row();
            row.Append(idCell, timeCell, numberCell, deltaCell);

            if (record.IsPossiblyWrong)
            {
                var isPossblyWrongCell = new Cell
                {
                    DataType = CellValues.String,
                    CellValue = new CellValue("The number may be wrong!"),
                };

                row.Append(isPossblyWrongCell);
            }

            return row;
        }
        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;
        }
        public static void InsertValuesInWorksheet(WorksheetPart worksheetPart, uint rowIdx, List<string> values)
        {
            var worksheet = worksheetPart.Worksheet;
            var sheetData = worksheet.GetFirstChild<SheetData>();

            Row row = new Row();
            values.ForEach(v =>
            {
                Cell cell = new Cell() { DataType = CellValues.InlineString };
                InlineString inlineString = new InlineString();
                inlineString.Append(new Text() { Text = v });
                cell.Append(inlineString);
                row.Append(cell);
            });
            sheetData.Append(row);
        }
Exemple #5
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;
        }
        private void CreateDataCell(Row row, object obj, int headerIndex, ref int index)
        {
            string header = Utility.IntToAlpha(headerIndex);

            if (obj is string)
            {
                row.Append(new TextCell(header, obj.ToString(), index));
            }
            else if (obj is bool)
            {
                string value = (bool)obj ? "Yes" : "No";
                row.Append(new TextCell(header, value, index));
            }
            else if (obj is DateTime)
            {
                string value = ((DateTime)obj).ToOADate().ToString();
                row.Append(new DateCell(header, (DateTime)obj, index));
            }
            else if (obj is decimal || obj is double)
            {
                row.Append(new FormatedNumberCell(header, obj.ToString(), index));
            }
            else if (obj.GetType().GetInterface("ICollection", true) != null)
            {
                var collection = obj as System.Collections.ICollection;
                if (collection != null)
                    foreach (var item in collection)
                    {
                        CreateDataCell(row, item, headerIndex, ref index);
                        headerIndex++;
                    }
            }
            else
            {
                long value;
                if (long.TryParse(obj.ToString(), out value))
                {
                    row.Append(new NumberCell(header, obj.ToString(), index));
                }
                else
                {
                    row.Append(new TextCell(header, obj.ToString(), index));
                }
            }
        }
Exemple #7
0
        /// <summary>
        /// Appends the Commence data to the workbook.
        /// </summary>
        /// <param name="data">Commence data.</param>
        private void AppendRows(List <List <CommenceValue> > data)
        {
            if (_spreadSheetDocument == null)
            {
                _spreadSheetDocument = SpreadsheetDocument.Open(_filename, true);
            }
            // determine current rowindex
            uint lastRowIndex = GetLastRowIndex(_spreadSheetDocument);

            if (CurrentRowIndex == 0)
            {
                CurrentRowIndex = ++lastRowIndex;
            }

            WorkbookPart  wbPart        = _spreadSheetDocument.WorkbookPart;
            Sheet         sheet         = wbPart.Workbook.Descendants <Sheet>().Where(s => s.Name.Equals(_sheetName)).FirstOrDefault();
            WorksheetPart worksheetPart = (WorksheetPart)(wbPart.GetPartById(sheet.Id));
            SheetData     sd            = worksheetPart.Worksheet.Elements <SheetData>().FirstOrDefault();

            // append headers when indicated and not already there
            if (CurrentRowIndex == 1 && _settings.HeadersOnFirstRow)
            {
                AppendHeaders(_spreadSheetDocument);
                CurrentRowIndex++;
            }

            // append the data
            foreach (List <CommenceValue> row in data) // loop Commence rows
            {
                Row r = new Row()
                {
                    RowIndex = CurrentRowIndex
                };
                foreach (CommenceValue v in row) // loop Commence row
                {
                    Cell c = new Cell();
                    if (v.ColumnDefinition.IsConnection)
                    {
                        // Note that we assume that the connected items are not split!
                        if (v.ConnectedFieldValues != null)
                        {
                            string value = Utils.RemoveControlCharacters(v.ConnectedFieldValues[0]);
                            value       = FitExcelCellValue(value);
                            c.CellValue = new CellValue(value);
                            // inline strings cannot deal with line breaks
                            c.DataType   = CellValues.String; // should we bother putting this in SharedString?
                            c.StyleIndex = GetStyleIndexForCommenceType(CommenceFieldType.Text);
                        }
                    }
                    else
                    {
                        string value = Utils.RemoveControlCharacters(v.DirectFieldValue);
                        value      = FitExcelCellValue(value);
                        c.DataType = v.ColumnDefinition.CommenceFieldDefinition.Type.GetTypeForOpenXml(); // inline strings cannot deal with line breaks
                        if (v.DirectFieldValue.Contains("\r\n"))
                        {
                            c.DataType = CellValues.String; // inline strings cannot deal with line breaks
                        }
                        c.CellValue  = new CellValue(value);
                        c.StyleIndex = GetStyleIndexForCommenceType(v.ColumnDefinition.CommenceFieldDefinition.Type);
                    }
                    r.Append(c);
                }
                sd.Append(r);
                CurrentRowIndex++;
            }
            //worksheetPart.Worksheet.Save(); // very costly call, and seems to increase memory usage
        }
        /// <summary>
        /// Method used to generate an excel file and return as a MemoryStream
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="sourceList"></param>
        /// <param name="columnInfoList"></param>
        /// <returns></returns>
        public MemoryStream CreateExcelDoc <T>(List <T> sourceList, List <IColumnInfo> columnInfoList) where T : ISource <double>
        {
            IStyleSheet styleSheet = new ExcelStyleSheet(columnInfoList);
            ICell       cell;

            using (MemoryStream ms = new MemoryStream())
            {
                using (SpreadsheetDocument document = SpreadsheetDocument.Create(ms, SpreadsheetDocumentType.Workbook))
                {
                    // add the workbook and work sheet
                    WorkbookPart workbookPart = document.AddWorkbookPart();
                    workbookPart.Workbook = new Workbook();

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

                    // Adding style
                    WorkbookStylesPart stylePart = workbookPart.AddNewPart <WorkbookStylesPart>();
                    stylePart.Stylesheet = styleSheet.GenerateStyleSheet();
                    stylePart.Stylesheet.Save();

                    // Setting up columns
                    Columns columns = new Columns();

                    foreach (IColumnInfo info in columnInfoList)
                    {
                        columns.Append(new Column
                        {
                            Min         = 1,
                            Max         = 1,
                            Width       = info.Width,
                            CustomWidth = true
                        });
                    }

                    worksheetPart.Worksheet.AppendChild(columns);

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

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

                    sheets.Append(sheet);

                    workbookPart.Workbook.Save();

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

                    // Inserting each item
                    Row row;
                    foreach (var item in sourceList)
                    {
                        row  = new Row();
                        cell = new ExcelCell();
                        row.Append(cell.ConstructCell(item.ExportData.ToString(), CellValues.Number));   // TODO: determine datatype based on cellInfo passed in
                        sheetData.AppendChild(row);
                    }

                    worksheetPart.Worksheet.Save();
                }

                return(ms);
            }
        }
        // Generates content of part.
        private void GeneratePartContent(WorksheetPart part)
        {
            Worksheet worksheet1 = new Worksheet()
            {
                MCAttributes = new MarkupCompatibilityAttributes()
                {
                    Ignorable = "x14ac"
                }
            };

            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension()
            {
                Reference = "A1:AV7"
            };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView()
            {
                TabSelected = true, WorkbookViewId = (UInt32Value)0U
            };
            Selection selection1 = new Selection()
            {
                ActiveCell = "G2", SequenceOfReferences = new ListValue <StringValue>()
                {
                    InnerText = "G2"
                }
            };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties()
            {
                DefaultRowHeight = 15D, OutlineLevelColumn = 1, DyDescent = 0.25D
            };

            Columns columns1 = new Columns();
            Column  column1  = new Column()
            {
                Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 38.28515625D, CustomWidth = true
            };
            Column column2 = new Column()
            {
                Min = (UInt32Value)3U, Max = (UInt32Value)4U, Width = 11.28515625D, Style = (UInt32Value)2U, CustomWidth = true, OutlineLevel = 1
            };
            Column column3 = new Column()
            {
                Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 10.7109375D, Style = (UInt32Value)2U, CustomWidth = true, OutlineLevel = 1
            };
            Column column4 = new Column()
            {
                Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 9.5703125D, Style = (UInt32Value)2U, CustomWidth = true, OutlineLevel = 1
            };
            Column column5 = new Column()
            {
                Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 10.140625D, Style = (UInt32Value)2U, CustomWidth = true
            };



            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row()
            {
                RowIndex = (UInt32Value)1U, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:7"
                }, StyleIndex = (UInt32Value)5U, CustomFormat = true, DyDescent = 0.25D
            };

            Cell cell1 = new Cell()
            {
                CellReference = "A1", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString
            };
            CellValue cellValue1 = new CellValue();

            cellValue1.Text = "6";

            cell1.Append(cellValue1);
            Cell cell2 = new Cell()
            {
                CellReference = "B1", StyleIndex = (UInt32Value)6U
            };

            Cell cell3 = new Cell()
            {
                CellReference = "C1", StyleIndex = (UInt32Value)4U
            };
            CellValue cellValue2 = new CellValue();

            cellValue2.Text = "2003";

            cell3.Append(cellValue2);

            Cell cell4 = new Cell()
            {
                CellReference = "D1", StyleIndex = (UInt32Value)4U
            };
            CellValue cellValue3 = new CellValue();

            cellValue3.Text = "2003";

            cell4.Append(cellValue3);

            Cell cell5 = new Cell()
            {
                CellReference = "E1", StyleIndex = (UInt32Value)4U
            };
            CellValue cellValue4 = new CellValue();

            cellValue4.Text = "2003";

            cell5.Append(cellValue4);

            Cell cell6 = new Cell()
            {
                CellReference = "F1", StyleIndex = (UInt32Value)4U
            };
            CellValue cellValue5 = new CellValue();

            cellValue5.Text = "2003";

            cell6.Append(cellValue5);

            Cell cell7 = new Cell()
            {
                CellReference = "G1", StyleIndex = (UInt32Value)4U
            };
            CellValue cellValue6 = new CellValue();

            cellValue6.Text = "2003";

            cell7.Append(cellValue6);

            row1.Append(cell1);
            row1.Append(cell2);
            row1.Append(cell3);
            row1.Append(cell4);
            row1.Append(cell5);
            row1.Append(cell6);
            row1.Append(cell7);

            Row row2 = new Row()
            {
                RowIndex = (UInt32Value)2U, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:7"
                }, StyleIndex = (UInt32Value)5U, CustomFormat = true, DyDescent = 0.25D
            };
            Cell cell8 = new Cell()
            {
                CellReference = "A2", StyleIndex = (UInt32Value)6U
            };
            Cell cell9 = new Cell()
            {
                CellReference = "B2", StyleIndex = (UInt32Value)6U
            };

            Cell cell10 = new Cell()
            {
                CellReference = "C2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString
            };
            CellValue cellValue7 = new CellValue();

            cellValue7.Text = "0";

            cell10.Append(cellValue7);

            Cell cell11 = new Cell()
            {
                CellReference = "D2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString
            };
            CellValue cellValue8 = new CellValue();

            cellValue8.Text = "1";

            cell11.Append(cellValue8);

            Cell cell12 = new Cell()
            {
                CellReference = "E2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString
            };
            CellValue cellValue9 = new CellValue();

            cellValue9.Text = "2";

            cell12.Append(cellValue9);

            Cell cell13 = new Cell()
            {
                CellReference = "F2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString
            };
            CellValue cellValue10 = new CellValue();

            cellValue10.Text = "3";

            cell13.Append(cellValue10);

            Cell cell14 = new Cell()
            {
                CellReference = "G2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString
            };
            CellValue cellValue11 = new CellValue();

            cellValue11.Text = "4";

            cell14.Append(cellValue11);

            row2.Append(cell8);
            row2.Append(cell9);
            row2.Append(cell10);
            row2.Append(cell11);
            row2.Append(cell12);
            row2.Append(cell13);
            row2.Append(cell14);

            Row row3 = new Row()
            {
                RowIndex = (UInt32Value)3U, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:7"
                }, DyDescent = 0.25D
            };

            Cell cell15 = new Cell()
            {
                CellReference = "A3"
            };
            CellValue cellValue12 = new CellValue();

            cellValue12.Text = "3";

            cell15.Append(cellValue12);

            Cell cell16 = new Cell()
            {
                CellReference = "B3", DataType = CellValues.SharedString
            };
            CellValue cellValue13 = new CellValue();

            cellValue13.Text = "5";

            cell16.Append(cellValue13);

            row3.Append(cell15);
            row3.Append(cell16);

            Row row4 = new Row()
            {
                RowIndex = (UInt32Value)5U, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:7"
                }, DyDescent = 0.25D
            };
            Cell cell17 = new Cell()
            {
                CellReference = "A5", StyleIndex = (UInt32Value)1U
            };
            Cell cell18 = new Cell()
            {
                CellReference = "B5", StyleIndex = (UInt32Value)1U
            };
            Cell cell19 = new Cell()
            {
                CellReference = "C5", StyleIndex = (UInt32Value)3U
            };
            Cell cell20 = new Cell()
            {
                CellReference = "D5", StyleIndex = (UInt32Value)3U
            };
            Cell cell21 = new Cell()
            {
                CellReference = "E5", StyleIndex = (UInt32Value)3U
            };
            Cell cell22 = new Cell()
            {
                CellReference = "F5", StyleIndex = (UInt32Value)3U
            };
            Cell cell23 = new Cell()
            {
                CellReference = "G5", StyleIndex = (UInt32Value)3U
            };

            row4.Append(cell17);
            row4.Append(cell18);
            row4.Append(cell19);
            row4.Append(cell20);
            row4.Append(cell21);
            row4.Append(cell22);
            row4.Append(cell23);

            Row row5 = new Row()
            {
                RowIndex = (UInt32Value)7U, Spans = new ListValue <StringValue>()
                {
                    InnerText = "1:7"
                }, DyDescent = 0.25D
            };
            Cell cell24 = new Cell()
            {
                CellReference = "A7", StyleIndex = (UInt32Value)1U
            };
            Cell cell25 = new Cell()
            {
                CellReference = "B7", StyleIndex = (UInt32Value)1U
            };
            Cell cell26 = new Cell()
            {
                CellReference = "C7", StyleIndex = (UInt32Value)3U
            };
            Cell cell27 = new Cell()
            {
                CellReference = "D7", StyleIndex = (UInt32Value)3U
            };
            Cell cell28 = new Cell()
            {
                CellReference = "E7", StyleIndex = (UInt32Value)3U
            };
            Cell cell29 = new Cell()
            {
                CellReference = "F7", StyleIndex = (UInt32Value)3U
            };
            Cell cell30 = new Cell()
            {
                CellReference = "G7", StyleIndex = (UInt32Value)3U
            };

            row5.Append(cell24);
            row5.Append(cell25);
            row5.Append(cell26);
            row5.Append(cell27);
            row5.Append(cell28);
            row5.Append(cell29);
            row5.Append(cell30);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);

            MergeCells mergeCells1 = new MergeCells()
            {
                Count = (UInt32Value)1U
            };
            MergeCell mergeCell1 = new MergeCell()
            {
                Reference = "A1:B2"
            };

            mergeCells1.Append(mergeCell1);
            PageMargins pageMargins1 = new PageMargins()
            {
                Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D
            };
            PageSetup pageSetup1 = new PageSetup()
            {
                Orientation = OrientationValues.Portrait, VerticalDpi = (UInt32Value)2U, Id = "rId1"
            };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(mergeCells1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);

            part.Worksheet = worksheet1;
        }
        public void Crear(string nombreArchivo, IList <ModeloInformeDetalladoMatriculas> modelosMatricula)
        {
            using (SpreadsheetDocument documento = SpreadsheetDocument.Create(nombreArchivo, SpreadsheetDocumentType.Workbook))
            {
                var json = JsonConvert.SerializeObject(modelosMatricula);

                //TRUCO para Json

                /*En vez de facer algo como esto
                 * ModeloInformeDetalladoMatriculas objetoDeJson = (ModeloInformeDetalladoMatriculas)JsonConvert.DeserializeObject(json, typeof(ModeloInformeDetalladoMatriculas));
                 *
                 * Agora usamos DataTable directamente e non o tipo de obxeto, co cal transformamos directamente a unha DataTable
                 */
                DataTable tablaMatriculas = (DataTable)JsonConvert.DeserializeObject(json, typeof(DataTable)); //typeof e un datatype neste caso

                //Hay Sheet, que e como un componente pai en Excel. Sheet en Excel significa que a sheet pode ser calquer tipo, pode ser Chart Sheet, Work Sheet, etc.
                //Un Workbook e o documento enteiro, e un Workbook pode ter diferentes Sheets (work sheet, chart sheet, etc)
                //Un WorkSheet

                //Primeiro temos que crear un Workbook
                WorkbookPart workbookPart = documento.AddWorkbookPart();                 //workbookpart e un obxeto que conten configuracions globales dos componentes dun Workdbook.
                workbookPart.Workbook = new Workbook();                                  //Workbook crea o verdadeiro obxeto Workbook -diferente a WorkbookPart-

                WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>(); //de ese workbookPart queremos engadir unha nova parte ao Workbook, e esa e a worksheetPart

                //SheetData son os datos reales que se van a ver na folla de Excel
                SheetData datosDeHojaExcel = new SheetData();              //neste obxeto e onde imos albergar as filas e columnas cos datos
                worksheetPart.Worksheet = new Worksheet(datosDeHojaExcel); //WorkSheet obten un novo obxeto chamado datosDeHojaExcel

                //necesitamos asociar a nosa Worksheetpart co noso Workbook, porque agora mismo inda son unha worksheetpart e workbook separados
                Sheets listaHojas = documento.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets());//lista vacia de follas

                Sheet hojaSimple = new Sheet()
                {
                    Id      = documento.WorkbookPart.GetIdOfPart(worksheetPart), //con esta Id automatica finalmente asociamos a Worksheetpart co noso Workbook, o que nos di esta instruccion e que este obxeto Sheet vai a ser a Worksheet (o obxeto worksheetPart neste caso) que usaremos para asociar o workbook
                    SheetId = 1,
                    Name    = "Hoja Informe"                                     //O nome da folla de Excel vai ser o indicado ahi
                };

                listaHojas.Append(hojaSimple);

                //imos a situar a nosa Datatable na folla de calculo
                Row filaEncabezadoExcel = new Row();

                foreach (DataColumn columnaTabla in tablaMatriculas.Columns)
                {
                    Cell celda = new Cell();
                    celda.DataType  = CellValues.String;
                    celda.CellValue = new CellValue(columnaTabla.ColumnName); //isto vai a crear unha fila cos datos de cada columna
                    filaEncabezadoExcel.Append(celda);
                }

                datosDeHojaExcel.AppendChild(filaEncabezadoExcel);

                foreach (DataRow filaTabla in tablaMatriculas.Rows)
                {
                    //columna1 columna2 columna3
                    //datos1   datos1   datos1
                    //datos2   datos2   datos2
                    //asi quedarian os datos tras facer o loop de abaixo

                    Row nuevaFilaExcel = new Row(); //recolle os datos de cada columna de arriba
                    foreach (DataColumn columnaTabla in tablaMatriculas.Columns)
                    {
                        Cell celda = new Cell();
                        celda.DataType  = CellValues.String;
                        celda.CellValue = new CellValue(filaTabla[columnaTabla.ColumnName].ToString());
                        nuevaFilaExcel.AppendChild(celda);
                    }
                    datosDeHojaExcel.AppendChild(nuevaFilaExcel);//cada vez que terminamos todo o de arriba, cada fila hai que situala en datos da folla de Excel, o cal facemos con esta instruccion
                }

                workbookPart.Workbook.Save();//garda o noso workbookpart

                //aqui poderiamos situar unha folla de graficos ou similar,et
                //Sheet hojaGraficos = new Sheet()
                //{
                //    Id = documento.WorkbookPart.GetIdOfPart(worksheetPart), //con esta Id automatica finalmente asociamos a Worksheetpart co noso Workbook, o que nos di esta instruccion e que este obxeto Sheet vai a ser a Worksheet (o obxeto worksheetPart neste caso) que usaremos para asociar o workbook
                //    SheetId = 1,
                //    Name = "Hoja Informe" //O nome da folla de Excel vai ser o indicado ahi
                //};
            }
        }
Exemple #11
0
        /// <summary>
        /// 保存Excel数据
        /// </summary>
        /// <param name="dataSet">数据集合</param>
        /// <param name="path">文件路径</param>
        /// <returns></returns>
        public bool ToFile(DataSet dataSet, string path)
        {
            bool bResult = false;

            try
            {
                if (File.Exists(path))
                {
                    File.Delete(path);
                }

                SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(path, SpreadsheetDocumentType.Workbook);
                UInt32Value         index = 1;
                m_WorkbookPart          = spreadsheetDocument.AddWorkbookPart();                     // Add a WorkbookPart to the document.
                m_WorkbookPart.Workbook = new Workbook();
                Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild(new Sheets()); // Add Sheets to the Workbook.
                foreach (DataTable table in dataSet.Tables)
                {
                    WorksheetPart worksheetPart = m_WorkbookPart.AddNewPart <WorksheetPart>(); // Add a WorksheetPart to the WorkbookPart.
                    Sheet         sheet         = new Sheet()
                    {
                        Id = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart), SheetId = index++, Name = table.TableName
                    };
                    sheets.Append(sheet);
                    AddWorksheetPart(table.TableName);
                    Worksheet worksheet = new Worksheet();

                    SheetData sheetData = new SheetData();
                    Row       rowHeader = new Row();
                    foreach (DataColumn col in table.Columns)
                    {
                        Cell      cell      = new Cell();
                        CellValue cellValue = new CellValue();
                        cellValue.Text = col.ColumnName;
                        cell.Append(cellValue);

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

                    for (int i = 0; i < table.Rows.Count; i++)
                    {
                        DataRow dtRow = table.Rows[i];
                        Row     row   = new Row();

                        for (int j = 0; j < table.Columns.Count; j++)
                        {
                            Cell      cell      = new Cell();
                            CellValue cellValue = new CellValue();
                            cellValue.Text = Convert.ToString(dtRow[j]);
                            cell.Append(cellValue);

                            row.Append(cell);
                        }

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

                    worksheetPart.Worksheet = worksheet;
                }
                m_WorkbookPart.Workbook.Save();
                spreadsheetDocument.Close();

                bResult = true;
            }
            catch (Exception ex)
            {
                Log.OutputBox(ex);
            }

            return(bResult);
        }
        private void BuildReportTemplateEFPFlexi(string strTargetFile)
        {
            string fileName = strTargetFile;

            const string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

            string[] alph = new string[676]; // 676 = 26*26
            for (int i = 0; i < 26; i++)
            {
                alph[i] = alphabet.Substring(i, 1);
            }
            for (int i = 0; i < 26; i++)
            {
                for (int j = 0; j < 26; j++)
                {
                    alph[26 + i + j] = alphabet.Substring(i, 1) + alphabet.Substring(j, 1);
                }
            }

            var tableTargets = new List <TableInfo>();

            using (SpreadsheetDocument workbook = SpreadsheetDocument.Open(fileName, true))
            {
                var workbookPart     = workbook.WorkbookPart;
                var sharedStringPart = workbookPart.SharedStringTablePart;
                var values           = sharedStringPart.SharedStringTable.Elements <SharedStringItem>().ToArray();

                foreach (WorksheetPart worksheetpart in workbookPart.WorksheetParts)
                {
                    foreach (var sheetData in worksheetpart.Worksheet.Elements <SheetData>())
                    {
                        // reset accross sheets
                        tableTargets.Clear();

                        #region TextPopulate
                        foreach (var cell in sheetData.Descendants <Cell>())
                        {
                            if (cell.CellValue != null)
                            {
                                if (cell.CellFormula != null)
                                {
                                    // force recompute
                                    cell.CellValue.Remove();
                                }
                                else if (cell.DataType != null && cell.DataType.Value == CellValues.SharedString)
                                {
                                    var index = int.Parse(cell.CellValue.Text);
                                    if (values[index].InnerText.StartsWith(FLEXI_PREFIX))
                                    {
                                        string strBlockTypeAndName = values[index].InnerText.Substring(FLEXI_PREFIX.Length);

                                        BlockConfiguration config = GetBlockConfiguration(strBlockTypeAndName);

                                        if (TextBlock.IsMatching(config.Type))
                                        {
                                            TextBlock instance = BlockHelper.GetAssociatedBlockInstance <TextBlock>(config.Name);
                                            if (instance != null)
                                            {
                                                SetCellValue(cell, instance.GetContent(reportData, config.Options));
                                            }
                                        }
                                        else if (TableBlock.IsMatching(config.Type))
                                        {
                                            TableBlock instance = BlockHelper.GetAssociatedBlockInstance <TableBlock>(config.Name);
                                            if (instance != null)
                                            {
                                                tableTargets.Add(new TableInfo
                                                {
                                                    cell  = cell,
                                                    table = instance.GetContent(reportData, config.Options)
                                                });
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        #endregion TextPopulate


                        #region TablePopulate
                        foreach (var tableInfo in tableTargets)
                        {
                            var _finaleCell  = tableInfo.cell;
                            var _finaleTable = tableInfo.table;

                            int intColumns = _finaleTable.NbColumns;

                            // TODO: handle cell references after 'ZZ' (AA1, AB1...)
                            // TODO: current limitation: the generated cells must be in the range "A-ZZ"

                            string firstLetter = _finaleCell.CellReference.InnerText[0].ToString();
                            int    firstColIdx = alph.ToList().IndexOf(firstLetter) + 1;
                            int    lastColIdx  = firstColIdx + intColumns - 1;
                            int    curColIdx   = firstColIdx;

                            uint firstRowIdx = uint.Parse(_finaleCell.CellReference.InnerText.Substring(1));
                            uint curRowIdx   = firstRowIdx;

                            // create first row
                            Row curRow = new Row();

                            foreach (var result in _finaleTable.Data)
                            {
                                // append cell to current row
                                Cell c = new Cell();
                                SetCellValue(c, result);
                                // to avoid crash when too many columns generated
                                if (curColIdx > 676)
                                {
                                    continue;
                                }
                                c.CellReference = alph[curColIdx - 1] + curRowIdx.ToString();
                                c.StyleIndex    = 0;
                                // ReSharper disable once PossiblyMistakenUseOfParamsMethod
                                curRow.Append(c);

                                if (curColIdx == lastColIdx)
                                {
                                    // add row to current worksheet
                                    InsertRow(curRowIdx, worksheetpart, curRow);
                                    // create new row for next data
                                    curRow = new Row();

                                    // first cell on next row
                                    curRowIdx++;
                                    curColIdx = firstColIdx;
                                }
                                else
                                {
                                    // next cell
                                    curColIdx++;
                                }
                            }
                            _finaleCell.Parent.RemoveChild(_finaleCell);
                        }

                        workbookPart.Workbook.Save();

                        #endregion TablePopulate
                    }
                }
            }
        }
Exemple #13
0
        static void Main(string[] args)
        {
            if (args.Count() != 1)
            {
                Console.WriteLine("Usage: {0} <path>", Environment.GetCommandLineArgs()[0]);
                return;
            }

            try
            {
                foreach (string fileName in Directory.GetFiles(args[0], "*.xlsx"))
                {
                    Console.WriteLine("Adding top row to worksheet \"Input\" for Excel file \"{0}\"...", fileName);

                    using (SpreadsheetDocument ssd = SpreadsheetDocument.Open(fileName, true))
                    {
                        WorkbookPart wbp = ssd.WorkbookPart;
                        Sheet sheet = wbp.Workbook.Descendants<Sheet>().Where(s => s.Name == "Input").FirstOrDefault();
                        WorksheetPart wsp = (WorksheetPart)ssd.WorkbookPart.GetPartById(sheet.Id.Value);

                        SheetData sd = wsp.Worksheet.GetFirstChild<SheetData>();
                        Row rr = sd.Descendants<Row>().Where(r => r.RowIndex == 2).FirstOrDefault();
                        Row nr = new Row() { RowIndex = 2 };

                        Cell a2 = new Cell() { CellReference = "A2", DataType = CellValues.InlineString };
                        {
                            InlineString ils = new InlineString();
                            ils.Append(new Text() { Text = "TypeGuessRows" });
                            a2.Append(ils);
                        }
                        Cell b2 = new Cell() { CellReference = "B2", DataType = CellValues.InlineString };
                        {
                            InlineString ils = new InlineString();
                            ils.Append(new Text() { Text = "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" });
                            b2.Append(ils);
                        }

                        nr.Append(a2);
                        nr.Append(b2);

                        CalculationChainPart ccp = wbp.CalculationChainPart;
                        if (ccp != null)
                        {
                            CalculationCell cc = ccp.CalculationChain.Descendants<CalculationCell>().Where(c => c.CellReference == "B2").FirstOrDefault();
                            if (cc != null)
                                cc.Remove();

                            if (ccp.CalculationChain.Count() == 0)
                                wbp.DeletePart(ccp);
                        }

                        foreach (Row rw in wsp.Worksheet.Descendants<Row>().Where(r => r.RowIndex.Value >= 2))
                        {
                            uint nri = Convert.ToUInt32(rw.RowIndex.Value + 1);
                            foreach (Cell cl in rw.Elements<Cell>())
                            {
                                string cr = cl.CellReference.Value;
                                cl.CellReference = new StringValue(cr.Replace(rw.RowIndex.Value.ToString(), nri.ToString()));
                            }
                            rw.RowIndex = new UInt32Value(nri);
                        }

                        sd.InsertBefore(nr, rr);

                        wsp.Worksheet.Save();
                    }
                }

                //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                //Excel.Application excel = new Excel.Application();
                //Excel.Workbook workbook = excel.Workbooks.Open(
                //    @"C:\DATA\NS_IMPORT\Network Standards - Managing Risk  - Canada.xlsx",
                //    0,
                //    false,
                //    5,
                //    String.Empty,
                //    String.Empty,
                //    true,
                //    Excel.XlPlatform.xlWindows,
                //    "\t",
                //    true,
                //    false,
                //    0,
                //    false,
                //    true,
                //    false);
                //Excel.Worksheet worksheet = (Excel.Worksheet)workbook.Worksheets.get_Item("Input");

                //worksheet.Rows.Insert(2, 1);
                //worksheet.Rows[2][0].Value = "TYPESELECTOR";
                //worksheet.Rows[2][1].Value = "0123456789";

                //excel.SaveWorkspace(@"C:\DATA\NS_IMPORT\OUTPUT.xlsx");
            }
            catch (Exception ex)
            {
                while (ex != null)
                {
                    Console.WriteLine(ex.Message);
                    ex = ex.InnerException;
                }
            }

            //Console.WriteLine("\nPress <any key> to continue.");
            //Console.ReadKey(true);
        }
        // Generates content of worksheetPart1.
        protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart)
        {
            Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "B1:J59" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { TabSelected = true, TopLeftCell = "A25", ZoomScaleNormal = (UInt32Value)100U, WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "N13", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "N13" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D };

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)2U, Width = 0.85546875D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 5.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 16D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column4 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 9.140625D, Style = (UInt32Value)1U };
            Column column5 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 4.28515625D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column6 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 13.42578125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column7 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)8U, Width = 9.140625D, Style = (UInt32Value)1U };
            Column column8 = new Column() { Min = (UInt32Value)9U, Max = (UInt32Value)9U, Width = 23D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column9 = new Column() { Min = (UInt32Value)10U, Max = (UInt32Value)10U, Width = 0.85546875D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column10 = new Column() { Min = (UInt32Value)11U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);
            columns1.Append(column6);
            columns1.Append(column7);
            columns1.Append(column8);
            columns1.Append(column9);
            columns1.Append(column10);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell1 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell1.Append(cellValue1);

            row1.Append(cell1);

            Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell2 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "1";

            cell2.Append(cellValue2);

            row2.Append(cell2);

            Row row3 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell3 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "2";

            cell3.Append(cellValue3);
            Cell cell4 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)3U };

            Cell cell5 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "3";

            cell5.Append(cellValue4);
            Cell cell6 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)3U };

            row3.Append(cell3);
            row3.Append(cell4);
            row3.Append(cell5);
            row3.Append(cell6);

            Row row4 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 4.5D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell7 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)7U };
            Cell cell8 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)7U };
            Cell cell9 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)7U };
            Cell cell10 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)7U };
            Cell cell11 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)7U };
            Cell cell12 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)7U };
            Cell cell13 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)7U };
            Cell cell14 = new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)7U };
            Cell cell15 = new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)7U };

            row4.Append(cell7);
            row4.Append(cell8);
            row4.Append(cell9);
            row4.Append(cell10);
            row4.Append(cell11);
            row4.Append(cell12);
            row4.Append(cell13);
            row4.Append(cell14);
            row4.Append(cell15);

            Row row5 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell16 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)7U };
            Cell cell17 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)7U };
            Cell cell18 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)7U };
            Cell cell19 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)7U };

            Cell cell20 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)15U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "61";

            cell20.Append(cellValue5);
            Cell cell21 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)7U };
            Cell cell22 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)7U };
            Cell cell23 = new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)7U };
            Cell cell24 = new Cell() { CellReference = "J7", StyleIndex = (UInt32Value)7U };

            row5.Append(cell16);
            row5.Append(cell17);
            row5.Append(cell18);
            row5.Append(cell19);
            row5.Append(cell20);
            row5.Append(cell21);
            row5.Append(cell22);
            row5.Append(cell23);
            row5.Append(cell24);

            Row row6 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell25 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)7U };
            Cell cell26 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)7U };

            Cell cell27 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)15U, DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "4";

            cell27.Append(cellValue6);
            Cell cell28 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)7U };
            Cell cell29 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)7U };
            Cell cell30 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)7U };
            Cell cell31 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)7U };
            Cell cell32 = new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)7U };
            Cell cell33 = new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)7U };

            row6.Append(cell25);
            row6.Append(cell26);
            row6.Append(cell27);
            row6.Append(cell28);
            row6.Append(cell29);
            row6.Append(cell30);
            row6.Append(cell31);
            row6.Append(cell32);
            row6.Append(cell33);

            Row row7 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell34 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)7U };
            Cell cell35 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)7U };
            Cell cell36 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)7U };
            Cell cell37 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)7U };
            Cell cell38 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)7U };
            Cell cell39 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)7U };
            Cell cell40 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)7U };
            Cell cell41 = new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)7U };
            Cell cell42 = new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)3U };

            row7.Append(cell34);
            row7.Append(cell35);
            row7.Append(cell36);
            row7.Append(cell37);
            row7.Append(cell38);
            row7.Append(cell39);
            row7.Append(cell40);
            row7.Append(cell41);
            row7.Append(cell42);

            Row row8 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell43 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)8U };
            Cell cell44 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)9U };
            Cell cell45 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)9U };
            Cell cell46 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)9U };
            Cell cell47 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)9U };
            Cell cell48 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)9U };
            Cell cell49 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)9U };
            Cell cell50 = new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)9U };
            Cell cell51 = new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)12U };

            row8.Append(cell43);
            row8.Append(cell44);
            row8.Append(cell45);
            row8.Append(cell46);
            row8.Append(cell47);
            row8.Append(cell48);
            row8.Append(cell49);
            row8.Append(cell50);
            row8.Append(cell51);

            Row row9 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell52 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)11U };

            Cell cell53 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "5";

            cell53.Append(cellValue7);

            Cell cell54 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "6";

            cell54.Append(cellValue8);
            Cell cell55 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)7U };
            Cell cell56 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)7U };
            Cell cell57 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)7U };
            Cell cell58 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)7U };
            Cell cell59 = new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)7U };
            Cell cell60 = new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)12U };

            row9.Append(cell52);
            row9.Append(cell53);
            row9.Append(cell54);
            row9.Append(cell55);
            row9.Append(cell56);
            row9.Append(cell57);
            row9.Append(cell58);
            row9.Append(cell59);
            row9.Append(cell60);

            Row row10 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell61 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)11U };

            Cell cell62 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "7";

            cell62.Append(cellValue9);

            Cell cell63 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "8";

            cell63.Append(cellValue10);
            Cell cell64 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)7U };
            Cell cell65 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)7U };
            Cell cell66 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)7U };
            Cell cell67 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)7U };
            Cell cell68 = new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)7U };
            Cell cell69 = new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)12U };

            row10.Append(cell61);
            row10.Append(cell62);
            row10.Append(cell63);
            row10.Append(cell64);
            row10.Append(cell65);
            row10.Append(cell66);
            row10.Append(cell67);
            row10.Append(cell68);
            row10.Append(cell69);

            Row row11 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell70 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)11U };
            Cell cell71 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)7U };

            Cell cell72 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "9";

            cell72.Append(cellValue11);
            Cell cell73 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)7U };
            Cell cell74 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)7U };
            Cell cell75 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)7U };
            Cell cell76 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)7U };
            Cell cell77 = new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)7U };
            Cell cell78 = new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)12U };

            row11.Append(cell70);
            row11.Append(cell71);
            row11.Append(cell72);
            row11.Append(cell73);
            row11.Append(cell74);
            row11.Append(cell75);
            row11.Append(cell76);
            row11.Append(cell77);
            row11.Append(cell78);

            Row row12 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell79 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)11U };
            Cell cell80 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)7U };

            Cell cell81 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "10";

            cell81.Append(cellValue12);
            Cell cell82 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)5U };
            Cell cell83 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)5U };
            Cell cell84 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)5U };
            Cell cell85 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)5U };
            Cell cell86 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)6U };
            Cell cell87 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)12U };

            row12.Append(cell79);
            row12.Append(cell80);
            row12.Append(cell81);
            row12.Append(cell82);
            row12.Append(cell83);
            row12.Append(cell84);
            row12.Append(cell85);
            row12.Append(cell86);
            row12.Append(cell87);

            Row row13 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell88 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)11U };

            Cell cell89 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "11";

            cell89.Append(cellValue13);

            Cell cell90 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "12";

            cell90.Append(cellValue14);
            Cell cell91 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)7U };
            Cell cell92 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)7U };
            Cell cell93 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)7U };
            Cell cell94 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)7U };
            Cell cell95 = new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)7U };
            Cell cell96 = new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)12U };

            row13.Append(cell88);
            row13.Append(cell89);
            row13.Append(cell90);
            row13.Append(cell91);
            row13.Append(cell92);
            row13.Append(cell93);
            row13.Append(cell94);
            row13.Append(cell95);
            row13.Append(cell96);

            Row row14 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell97 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)11U };
            Cell cell98 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)7U };

            Cell cell99 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "9";

            cell99.Append(cellValue15);
            Cell cell100 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)7U };
            Cell cell101 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)7U };
            Cell cell102 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)7U };
            Cell cell103 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)7U };
            Cell cell104 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)7U };
            Cell cell105 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)12U };

            row14.Append(cell97);
            row14.Append(cell98);
            row14.Append(cell99);
            row14.Append(cell100);
            row14.Append(cell101);
            row14.Append(cell102);
            row14.Append(cell103);
            row14.Append(cell104);
            row14.Append(cell105);

            Row row15 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell106 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)11U };
            Cell cell107 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)7U };

            Cell cell108 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "13";

            cell108.Append(cellValue16);
            Cell cell109 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)5U };
            Cell cell110 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)5U };
            Cell cell111 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)5U };
            Cell cell112 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)5U };
            Cell cell113 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)6U };
            Cell cell114 = new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)12U };

            row15.Append(cell106);
            row15.Append(cell107);
            row15.Append(cell108);
            row15.Append(cell109);
            row15.Append(cell110);
            row15.Append(cell111);
            row15.Append(cell112);
            row15.Append(cell113);
            row15.Append(cell114);

            Row row16 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell115 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)11U };

            Cell cell116 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "14";

            cell116.Append(cellValue17);

            Cell cell117 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "15";

            cell117.Append(cellValue18);
            Cell cell118 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)7U };
            Cell cell119 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)7U };
            Cell cell120 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)7U };
            Cell cell121 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)7U };
            Cell cell122 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)7U };
            Cell cell123 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)12U };

            row16.Append(cell115);
            row16.Append(cell116);
            row16.Append(cell117);
            row16.Append(cell118);
            row16.Append(cell119);
            row16.Append(cell120);
            row16.Append(cell121);
            row16.Append(cell122);
            row16.Append(cell123);

            Row row17 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell124 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)11U };
            Cell cell125 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)7U };

            Cell cell126 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "16";

            cell126.Append(cellValue19);
            Cell cell127 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)5U };
            Cell cell128 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)5U };
            Cell cell129 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)5U };
            Cell cell130 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)5U };
            Cell cell131 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)6U };
            Cell cell132 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)12U };

            row17.Append(cell124);
            row17.Append(cell125);
            row17.Append(cell126);
            row17.Append(cell127);
            row17.Append(cell128);
            row17.Append(cell129);
            row17.Append(cell130);
            row17.Append(cell131);
            row17.Append(cell132);

            Row row18 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell133 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)13U };
            Cell cell134 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)3U };
            Cell cell135 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)3U };
            Cell cell136 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)3U };
            Cell cell137 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)3U };
            Cell cell138 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)3U };
            Cell cell139 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)3U };
            Cell cell140 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)3U };
            Cell cell141 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)14U };

            row18.Append(cell133);
            row18.Append(cell134);
            row18.Append(cell135);
            row18.Append(cell136);
            row18.Append(cell137);
            row18.Append(cell138);
            row18.Append(cell139);
            row18.Append(cell140);
            row18.Append(cell141);

            Row row19 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell142 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "17";

            cell142.Append(cellValue20);

            row19.Append(cell142);

            Row row20 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell143 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)8U };
            Cell cell144 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)9U };
            Cell cell145 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)9U };
            Cell cell146 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)9U };
            Cell cell147 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)9U };
            Cell cell148 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)9U };
            Cell cell149 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)9U };
            Cell cell150 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)9U };
            Cell cell151 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)10U };

            row20.Append(cell143);
            row20.Append(cell144);
            row20.Append(cell145);
            row20.Append(cell146);
            row20.Append(cell147);
            row20.Append(cell148);
            row20.Append(cell149);
            row20.Append(cell150);
            row20.Append(cell151);

            Row row21 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell152 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)11U };

            Cell cell153 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "18";

            cell153.Append(cellValue21);

            Cell cell154 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "19";

            cell154.Append(cellValue22);
            Cell cell155 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)7U };
            Cell cell156 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)7U };
            Cell cell157 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)7U };
            Cell cell158 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)7U };
            Cell cell159 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)7U };
            Cell cell160 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)12U };

            row21.Append(cell152);
            row21.Append(cell153);
            row21.Append(cell154);
            row21.Append(cell155);
            row21.Append(cell156);
            row21.Append(cell157);
            row21.Append(cell158);
            row21.Append(cell159);
            row21.Append(cell160);

            Row row22 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell161 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)11U };

            Cell cell162 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "20";

            cell162.Append(cellValue23);

            Cell cell163 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "21";

            cell163.Append(cellValue24);
            Cell cell164 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)19U };

            Cell cell165 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue25 = new CellValue();
            cellValue25.Text = "22";

            cell165.Append(cellValue25);

            Cell cell166 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue26 = new CellValue();
            cellValue26.Text = "23";

            cell166.Append(cellValue26);
            Cell cell167 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)7U };
            Cell cell168 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)7U };
            Cell cell169 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)12U };

            row22.Append(cell161);
            row22.Append(cell162);
            row22.Append(cell163);
            row22.Append(cell164);
            row22.Append(cell165);
            row22.Append(cell166);
            row22.Append(cell167);
            row22.Append(cell168);
            row22.Append(cell169);

            Row row23 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell170 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)11U };
            Cell cell171 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)7U };

            Cell cell172 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue27 = new CellValue();
            cellValue27.Text = "24";

            cell172.Append(cellValue27);
            Cell cell173 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)6U };
            Cell cell174 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)7U };

            Cell cell175 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue28 = new CellValue();
            cellValue28.Text = "25";

            cell175.Append(cellValue28);
            Cell cell176 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)5U };
            Cell cell177 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)6U };
            Cell cell178 = new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)12U };

            row23.Append(cell170);
            row23.Append(cell171);
            row23.Append(cell172);
            row23.Append(cell173);
            row23.Append(cell174);
            row23.Append(cell175);
            row23.Append(cell176);
            row23.Append(cell177);
            row23.Append(cell178);

            Row row24 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell179 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)11U };

            Cell cell180 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue29 = new CellValue();
            cellValue29.Text = "26";

            cell180.Append(cellValue29);

            Cell cell181 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString };
            CellValue cellValue30 = new CellValue();
            cellValue30.Text = "27";

            cell181.Append(cellValue30);
            Cell cell182 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)20U };

            Cell cell183 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue31 = new CellValue();
            cellValue31.Text = "28";

            cell183.Append(cellValue31);

            Cell cell184 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue32 = new CellValue();
            cellValue32.Text = "29";

            cell184.Append(cellValue32);
            Cell cell185 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)18U };
            Cell cell186 = new Cell() { CellReference = "I28", StyleIndex = (UInt32Value)18U };
            Cell cell187 = new Cell() { CellReference = "J28", StyleIndex = (UInt32Value)12U };

            row24.Append(cell179);
            row24.Append(cell180);
            row24.Append(cell181);
            row24.Append(cell182);
            row24.Append(cell183);
            row24.Append(cell184);
            row24.Append(cell185);
            row24.Append(cell186);
            row24.Append(cell187);

            Row row25 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell188 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)11U };
            Cell cell189 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)7U };

            Cell cell190 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue33 = new CellValue();
            cellValue33.Text = "30";

            cell190.Append(cellValue33);
            Cell cell191 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)6U };
            Cell cell192 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)7U };

            Cell cell193 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue34 = new CellValue();
            cellValue34.Text = "31";

            cell193.Append(cellValue34);
            Cell cell194 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)5U };
            Cell cell195 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)6U };
            Cell cell196 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)12U };

            row25.Append(cell188);
            row25.Append(cell189);
            row25.Append(cell190);
            row25.Append(cell191);
            row25.Append(cell192);
            row25.Append(cell193);
            row25.Append(cell194);
            row25.Append(cell195);
            row25.Append(cell196);

            Row row26 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell197 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)11U };

            Cell cell198 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue35 = new CellValue();
            cellValue35.Text = "32";

            cell198.Append(cellValue35);

            Cell cell199 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString };
            CellValue cellValue36 = new CellValue();
            cellValue36.Text = "33";

            cell199.Append(cellValue36);
            Cell cell200 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)17U };

            Cell cell201 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue37 = new CellValue();
            cellValue37.Text = "34";

            cell201.Append(cellValue37);

            Cell cell202 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue38 = new CellValue();
            cellValue38.Text = "35";

            cell202.Append(cellValue38);
            Cell cell203 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)18U };
            Cell cell204 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)18U };
            Cell cell205 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)12U };

            row26.Append(cell197);
            row26.Append(cell198);
            row26.Append(cell199);
            row26.Append(cell200);
            row26.Append(cell201);
            row26.Append(cell202);
            row26.Append(cell203);
            row26.Append(cell204);
            row26.Append(cell205);

            Row row27 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell206 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)11U };
            Cell cell207 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)7U };

            Cell cell208 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue39 = new CellValue();
            cellValue39.Text = "36";

            cell208.Append(cellValue39);
            Cell cell209 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)6U };
            Cell cell210 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)7U };
            Cell cell211 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)4U };
            Cell cell212 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)5U };
            Cell cell213 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)6U };
            Cell cell214 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)12U };

            row27.Append(cell206);
            row27.Append(cell207);
            row27.Append(cell208);
            row27.Append(cell209);
            row27.Append(cell210);
            row27.Append(cell211);
            row27.Append(cell212);
            row27.Append(cell213);
            row27.Append(cell214);

            Row row28 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell215 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)11U };

            Cell cell216 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue40 = new CellValue();
            cellValue40.Text = "37";

            cell216.Append(cellValue40);

            Cell cell217 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString };
            CellValue cellValue41 = new CellValue();
            cellValue41.Text = "38";

            cell217.Append(cellValue41);
            Cell cell218 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)17U };

            Cell cell219 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue42 = new CellValue();
            cellValue42.Text = "39";

            cell219.Append(cellValue42);

            Cell cell220 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue43 = new CellValue();
            cellValue43.Text = "40";

            cell220.Append(cellValue43);
            Cell cell221 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)7U };
            Cell cell222 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)7U };
            Cell cell223 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)12U };

            row28.Append(cell215);
            row28.Append(cell216);
            row28.Append(cell217);
            row28.Append(cell218);
            row28.Append(cell219);
            row28.Append(cell220);
            row28.Append(cell221);
            row28.Append(cell222);
            row28.Append(cell223);

            Row row29 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell224 = new Cell() { CellReference = "B33", StyleIndex = (UInt32Value)11U };
            Cell cell225 = new Cell() { CellReference = "C33", StyleIndex = (UInt32Value)7U };
            Cell cell226 = new Cell() { CellReference = "D33", StyleIndex = (UInt32Value)4U };
            Cell cell227 = new Cell() { CellReference = "E33", StyleIndex = (UInt32Value)6U };
            Cell cell228 = new Cell() { CellReference = "F33", StyleIndex = (UInt32Value)7U };
            Cell cell229 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)4U };
            Cell cell230 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)5U };
            Cell cell231 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)6U };
            Cell cell232 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)12U };

            row29.Append(cell224);
            row29.Append(cell225);
            row29.Append(cell226);
            row29.Append(cell227);
            row29.Append(cell228);
            row29.Append(cell229);
            row29.Append(cell230);
            row29.Append(cell231);
            row29.Append(cell232);

            Row row30 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 24D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell233 = new Cell() { CellReference = "B34", StyleIndex = (UInt32Value)11U };

            Cell cell234 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue44 = new CellValue();
            cellValue44.Text = "41";

            cell234.Append(cellValue44);

            Cell cell235 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString };
            CellValue cellValue45 = new CellValue();
            cellValue45.Text = "42";

            cell235.Append(cellValue45);
            Cell cell236 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)17U };

            Cell cell237 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue46 = new CellValue();
            cellValue46.Text = "43";

            cell237.Append(cellValue46);

            Cell cell238 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue47 = new CellValue();
            cellValue47.Text = "44";

            cell238.Append(cellValue47);
            Cell cell239 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)7U };
            Cell cell240 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)7U };
            Cell cell241 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)12U };

            row30.Append(cell233);
            row30.Append(cell234);
            row30.Append(cell235);
            row30.Append(cell236);
            row30.Append(cell237);
            row30.Append(cell238);
            row30.Append(cell239);
            row30.Append(cell240);
            row30.Append(cell241);

            Row row31 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell242 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)11U };
            Cell cell243 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)7U };
            Cell cell244 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)4U };
            Cell cell245 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)6U };
            Cell cell246 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)7U };
            Cell cell247 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)4U };
            Cell cell248 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)5U };
            Cell cell249 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)6U };
            Cell cell250 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)12U };

            row31.Append(cell242);
            row31.Append(cell243);
            row31.Append(cell244);
            row31.Append(cell245);
            row31.Append(cell246);
            row31.Append(cell247);
            row31.Append(cell248);
            row31.Append(cell249);
            row31.Append(cell250);

            Row row32 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell251 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)11U };

            Cell cell252 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue48 = new CellValue();
            cellValue48.Text = "45";

            cell252.Append(cellValue48);

            Cell cell253 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString };
            CellValue cellValue49 = new CellValue();
            cellValue49.Text = "46";

            cell253.Append(cellValue49);
            Cell cell254 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)17U };

            Cell cell255 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue50 = new CellValue();
            cellValue50.Text = "47";

            cell255.Append(cellValue50);

            Cell cell256 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue51 = new CellValue();
            cellValue51.Text = "48";

            cell256.Append(cellValue51);
            Cell cell257 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)7U };
            Cell cell258 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)7U };
            Cell cell259 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)12U };

            row32.Append(cell251);
            row32.Append(cell252);
            row32.Append(cell253);
            row32.Append(cell254);
            row32.Append(cell255);
            row32.Append(cell256);
            row32.Append(cell257);
            row32.Append(cell258);
            row32.Append(cell259);

            Row row33 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell260 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)11U };
            Cell cell261 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)7U };
            Cell cell262 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)4U };
            Cell cell263 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)6U };
            Cell cell264 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)7U };
            Cell cell265 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)4U };
            Cell cell266 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)5U };
            Cell cell267 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)6U };
            Cell cell268 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)12U };

            row33.Append(cell260);
            row33.Append(cell261);
            row33.Append(cell262);
            row33.Append(cell263);
            row33.Append(cell264);
            row33.Append(cell265);
            row33.Append(cell266);
            row33.Append(cell267);
            row33.Append(cell268);

            Row row34 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell269 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)11U };

            Cell cell270 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue52 = new CellValue();
            cellValue52.Text = "49";

            cell270.Append(cellValue52);

            Cell cell271 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue53 = new CellValue();
            cellValue53.Text = "50";

            cell271.Append(cellValue53);
            Cell cell272 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)7U };
            Cell cell273 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)7U };
            Cell cell274 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)7U };
            Cell cell275 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)7U };
            Cell cell276 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)7U };
            Cell cell277 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)12U };

            row34.Append(cell269);
            row34.Append(cell270);
            row34.Append(cell271);
            row34.Append(cell272);
            row34.Append(cell273);
            row34.Append(cell274);
            row34.Append(cell275);
            row34.Append(cell276);
            row34.Append(cell277);

            Row row35 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 36D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell278 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)11U };

            Cell cell279 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue54 = new CellValue();
            cellValue54.Text = "51";

            cell279.Append(cellValue54);

            Cell cell280 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue55 = new CellValue();
            cellValue55.Text = "52";

            cell280.Append(cellValue55);
            Cell cell281 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)18U };
            Cell cell282 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)18U };
            Cell cell283 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)18U };
            Cell cell284 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)18U };
            Cell cell285 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)18U };
            Cell cell286 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)12U };

            row35.Append(cell278);
            row35.Append(cell279);
            row35.Append(cell280);
            row35.Append(cell281);
            row35.Append(cell282);
            row35.Append(cell283);
            row35.Append(cell284);
            row35.Append(cell285);
            row35.Append(cell286);

            Row row36 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell287 = new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)11U };
            Cell cell288 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)7U };
            Cell cell289 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)7U };
            Cell cell290 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)7U };
            Cell cell291 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)7U };
            Cell cell292 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)7U };
            Cell cell293 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)7U };
            Cell cell294 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)7U };
            Cell cell295 = new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)12U };

            row36.Append(cell287);
            row36.Append(cell288);
            row36.Append(cell289);
            row36.Append(cell290);
            row36.Append(cell291);
            row36.Append(cell292);
            row36.Append(cell293);
            row36.Append(cell294);
            row36.Append(cell295);

            Row row37 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell296 = new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)11U };
            Cell cell297 = new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)7U };

            Cell cell298 = new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue56 = new CellValue();
            cellValue56.Text = "53";

            cell298.Append(cellValue56);
            Cell cell299 = new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)7U };

            Cell cell300 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue57 = new CellValue();
            cellValue57.Text = "54";

            cell300.Append(cellValue57);
            Cell cell301 = new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)7U };
            Cell cell302 = new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)7U };
            Cell cell303 = new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)7U };
            Cell cell304 = new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)12U };

            row37.Append(cell296);
            row37.Append(cell297);
            row37.Append(cell298);
            row37.Append(cell299);
            row37.Append(cell300);
            row37.Append(cell301);
            row37.Append(cell302);
            row37.Append(cell303);
            row37.Append(cell304);

            Row row38 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell305 = new Cell() { CellReference = "B42", StyleIndex = (UInt32Value)13U };
            Cell cell306 = new Cell() { CellReference = "C42", StyleIndex = (UInt32Value)3U };
            Cell cell307 = new Cell() { CellReference = "D42", StyleIndex = (UInt32Value)3U };
            Cell cell308 = new Cell() { CellReference = "E42", StyleIndex = (UInt32Value)3U };
            Cell cell309 = new Cell() { CellReference = "F42", StyleIndex = (UInt32Value)3U };
            Cell cell310 = new Cell() { CellReference = "G42", StyleIndex = (UInt32Value)3U };
            Cell cell311 = new Cell() { CellReference = "H42", StyleIndex = (UInt32Value)3U };
            Cell cell312 = new Cell() { CellReference = "I42", StyleIndex = (UInt32Value)3U };
            Cell cell313 = new Cell() { CellReference = "J42", StyleIndex = (UInt32Value)14U };

            row38.Append(cell305);
            row38.Append(cell306);
            row38.Append(cell307);
            row38.Append(cell308);
            row38.Append(cell309);
            row38.Append(cell310);
            row38.Append(cell311);
            row38.Append(cell312);
            row38.Append(cell313);

            Row row39 = new Row() { RowIndex = (UInt32Value)43U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell314 = new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)7U };
            Cell cell315 = new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)7U };
            Cell cell316 = new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)7U };
            Cell cell317 = new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)7U };
            Cell cell318 = new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)7U };
            Cell cell319 = new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)7U };
            Cell cell320 = new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)7U };
            Cell cell321 = new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)7U };
            Cell cell322 = new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)7U };

            row39.Append(cell314);
            row39.Append(cell315);
            row39.Append(cell316);
            row39.Append(cell317);
            row39.Append(cell318);
            row39.Append(cell319);
            row39.Append(cell320);
            row39.Append(cell321);
            row39.Append(cell322);

            Row row40 = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell323 = new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)8U };
            Cell cell324 = new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)9U };
            Cell cell325 = new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)9U };
            Cell cell326 = new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)9U };
            Cell cell327 = new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)9U };
            Cell cell328 = new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)9U };
            Cell cell329 = new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)9U };
            Cell cell330 = new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)9U };
            Cell cell331 = new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)10U };

            row40.Append(cell323);
            row40.Append(cell324);
            row40.Append(cell325);
            row40.Append(cell326);
            row40.Append(cell327);
            row40.Append(cell328);
            row40.Append(cell329);
            row40.Append(cell330);
            row40.Append(cell331);

            Row row41 = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell332 = new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)11U };

            Cell cell333 = new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue58 = new CellValue();
            cellValue58.Text = "55";

            cell333.Append(cellValue58);
            Cell cell334 = new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)7U };
            Cell cell335 = new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)7U };
            Cell cell336 = new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)7U };
            Cell cell337 = new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)7U };
            Cell cell338 = new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)7U };
            Cell cell339 = new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)7U };
            Cell cell340 = new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)12U };

            row41.Append(cell332);
            row41.Append(cell333);
            row41.Append(cell334);
            row41.Append(cell335);
            row41.Append(cell336);
            row41.Append(cell337);
            row41.Append(cell338);
            row41.Append(cell339);
            row41.Append(cell340);

            Row row42 = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell341 = new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)13U };
            Cell cell342 = new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)3U };
            Cell cell343 = new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)3U };
            Cell cell344 = new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)3U };
            Cell cell345 = new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)3U };
            Cell cell346 = new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)3U };
            Cell cell347 = new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)3U };
            Cell cell348 = new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)3U };
            Cell cell349 = new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)14U };

            row42.Append(cell341);
            row42.Append(cell342);
            row42.Append(cell343);
            row42.Append(cell344);
            row42.Append(cell345);
            row42.Append(cell346);
            row42.Append(cell347);
            row42.Append(cell348);
            row42.Append(cell349);

            Row row43 = new Row() { RowIndex = (UInt32Value)48U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell350 = new Cell() { CellReference = "B48", StyleIndex = (UInt32Value)8U };
            Cell cell351 = new Cell() { CellReference = "C48", StyleIndex = (UInt32Value)9U };
            Cell cell352 = new Cell() { CellReference = "D48", StyleIndex = (UInt32Value)9U };
            Cell cell353 = new Cell() { CellReference = "E48", StyleIndex = (UInt32Value)9U };
            Cell cell354 = new Cell() { CellReference = "F48", StyleIndex = (UInt32Value)9U };
            Cell cell355 = new Cell() { CellReference = "G48", StyleIndex = (UInt32Value)9U };
            Cell cell356 = new Cell() { CellReference = "H48", StyleIndex = (UInt32Value)9U };
            Cell cell357 = new Cell() { CellReference = "I48", StyleIndex = (UInt32Value)9U };
            Cell cell358 = new Cell() { CellReference = "J48", StyleIndex = (UInt32Value)10U };

            row43.Append(cell350);
            row43.Append(cell351);
            row43.Append(cell352);
            row43.Append(cell353);
            row43.Append(cell354);
            row43.Append(cell355);
            row43.Append(cell356);
            row43.Append(cell357);
            row43.Append(cell358);

            Row row44 = new Row() { RowIndex = (UInt32Value)49U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell359 = new Cell() { CellReference = "B49", StyleIndex = (UInt32Value)11U };

            Cell cell360 = new Cell() { CellReference = "C49", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue59 = new CellValue();
            cellValue59.Text = "63";

            cell360.Append(cellValue59);
            Cell cell361 = new Cell() { CellReference = "D49", StyleIndex = (UInt32Value)7U };
            Cell cell362 = new Cell() { CellReference = "E49", StyleIndex = (UInt32Value)3U };
            Cell cell363 = new Cell() { CellReference = "F49", StyleIndex = (UInt32Value)3U };
            Cell cell364 = new Cell() { CellReference = "G49", StyleIndex = (UInt32Value)3U };
            Cell cell365 = new Cell() { CellReference = "H49", StyleIndex = (UInt32Value)3U };
            Cell cell366 = new Cell() { CellReference = "I49", StyleIndex = (UInt32Value)3U };
            Cell cell367 = new Cell() { CellReference = "J49", StyleIndex = (UInt32Value)12U };

            row44.Append(cell359);
            row44.Append(cell360);
            row44.Append(cell361);
            row44.Append(cell362);
            row44.Append(cell363);
            row44.Append(cell364);
            row44.Append(cell365);
            row44.Append(cell366);
            row44.Append(cell367);

            Row row45 = new Row() { RowIndex = (UInt32Value)50U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };
            Cell cell368 = new Cell() { CellReference = "B50", StyleIndex = (UInt32Value)13U };
            Cell cell369 = new Cell() { CellReference = "C50", StyleIndex = (UInt32Value)3U };
            Cell cell370 = new Cell() { CellReference = "D50", StyleIndex = (UInt32Value)3U };
            Cell cell371 = new Cell() { CellReference = "E50", StyleIndex = (UInt32Value)3U };
            Cell cell372 = new Cell() { CellReference = "F50", StyleIndex = (UInt32Value)3U };
            Cell cell373 = new Cell() { CellReference = "G50", StyleIndex = (UInt32Value)3U };
            Cell cell374 = new Cell() { CellReference = "H50", StyleIndex = (UInt32Value)3U };
            Cell cell375 = new Cell() { CellReference = "I50", StyleIndex = (UInt32Value)3U };
            Cell cell376 = new Cell() { CellReference = "J50", StyleIndex = (UInt32Value)14U };

            row45.Append(cell368);
            row45.Append(cell369);
            row45.Append(cell370);
            row45.Append(cell371);
            row45.Append(cell372);
            row45.Append(cell373);
            row45.Append(cell374);
            row45.Append(cell375);
            row45.Append(cell376);

            Row row46 = new Row() { RowIndex = (UInt32Value)52U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell377 = new Cell() { CellReference = "C52", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue60 = new CellValue();
            cellValue60.Text = "64";

            cell377.Append(cellValue60);
            Cell cell378 = new Cell() { CellReference = "E52", StyleIndex = (UInt32Value)3U };
            Cell cell379 = new Cell() { CellReference = "F52", StyleIndex = (UInt32Value)3U };
            Cell cell380 = new Cell() { CellReference = "G52", StyleIndex = (UInt32Value)3U };
            Cell cell381 = new Cell() { CellReference = "H52", StyleIndex = (UInt32Value)3U };
            Cell cell382 = new Cell() { CellReference = "I52", StyleIndex = (UInt32Value)3U };

            row46.Append(cell377);
            row46.Append(cell378);
            row46.Append(cell379);
            row46.Append(cell380);
            row46.Append(cell381);
            row46.Append(cell382);
            Row row47 = new Row() { RowIndex = (UInt32Value)53U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 5.25D, CustomHeight = true, DyDescent = 0.2D };

            Row row48 = new Row() { RowIndex = (UInt32Value)54U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };
            Cell cell383 = new Cell() { CellReference = "C54", StyleIndex = (UInt32Value)3U };
            Cell cell384 = new Cell() { CellReference = "D54", StyleIndex = (UInt32Value)3U };
            Cell cell385 = new Cell() { CellReference = "E54", StyleIndex = (UInt32Value)7U };
            Cell cell386 = new Cell() { CellReference = "F54", StyleIndex = (UInt32Value)3U };
            Cell cell387 = new Cell() { CellReference = "G54", StyleIndex = (UInt32Value)3U };
            Cell cell388 = new Cell() { CellReference = "H54", StyleIndex = (UInt32Value)7U };
            Cell cell389 = new Cell() { CellReference = "I54", StyleIndex = (UInt32Value)3U };

            row48.Append(cell383);
            row48.Append(cell384);
            row48.Append(cell385);
            row48.Append(cell386);
            row48.Append(cell387);
            row48.Append(cell388);
            row48.Append(cell389);

            Row row49 = new Row() { RowIndex = (UInt32Value)55U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell390 = new Cell() { CellReference = "C55", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue61 = new CellValue();
            cellValue61.Text = "56";

            cell390.Append(cellValue61);

            Cell cell391 = new Cell() { CellReference = "F55", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue62 = new CellValue();
            cellValue62.Text = "57";

            cell391.Append(cellValue62);
            Cell cell392 = new Cell() { CellReference = "G55", StyleIndex = (UInt32Value)22U };

            Cell cell393 = new Cell() { CellReference = "I55", StyleIndex = (UInt32Value)16U, DataType = CellValues.SharedString };
            CellValue cellValue63 = new CellValue();
            cellValue63.Text = "58";

            cell393.Append(cellValue63);

            row49.Append(cell390);
            row49.Append(cell391);
            row49.Append(cell392);
            row49.Append(cell393);

            Row row50 = new Row() { RowIndex = (UInt32Value)56U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell394 = new Cell() { CellReference = "F56", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue64 = new CellValue();
            cellValue64.Text = "62";

            cell394.Append(cellValue64);
            Cell cell395 = new Cell() { CellReference = "G56", StyleIndex = (UInt32Value)22U };

            row50.Append(cell394);
            row50.Append(cell395);

            Row row51 = new Row() { RowIndex = (UInt32Value)57U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, DyDescent = 0.2D };

            Cell cell396 = new Cell() { CellReference = "C57", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue65 = new CellValue();
            cellValue65.Text = "59";

            cell396.Append(cellValue65);
            Cell cell397 = new Cell() { CellReference = "D57", StyleIndex = (UInt32Value)3U };

            row51.Append(cell396);
            row51.Append(cell397);

            Row row52 = new Row() { RowIndex = (UInt32Value)59U, Spans = new ListValue<StringValue>() { InnerText = "2:10" }, Height = 36D, CustomHeight = true, DyDescent = 0.2D };

            Cell cell398 = new Cell() { CellReference = "C59", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue66 = new CellValue();
            cellValue66.Text = "60";

            cell398.Append(cellValue66);
            Cell cell399 = new Cell() { CellReference = "D59", StyleIndex = (UInt32Value)21U };
            Cell cell400 = new Cell() { CellReference = "E59", StyleIndex = (UInt32Value)21U };
            Cell cell401 = new Cell() { CellReference = "F59", StyleIndex = (UInt32Value)21U };
            Cell cell402 = new Cell() { CellReference = "G59", StyleIndex = (UInt32Value)21U };
            Cell cell403 = new Cell() { CellReference = "H59", StyleIndex = (UInt32Value)21U };
            Cell cell404 = new Cell() { CellReference = "I59", StyleIndex = (UInt32Value)21U };

            row52.Append(cell398);
            row52.Append(cell399);
            row52.Append(cell400);
            row52.Append(cell401);
            row52.Append(cell402);
            row52.Append(cell403);
            row52.Append(cell404);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);
            sheetData1.Append(row6);
            sheetData1.Append(row7);
            sheetData1.Append(row8);
            sheetData1.Append(row9);
            sheetData1.Append(row10);
            sheetData1.Append(row11);
            sheetData1.Append(row12);
            sheetData1.Append(row13);
            sheetData1.Append(row14);
            sheetData1.Append(row15);
            sheetData1.Append(row16);
            sheetData1.Append(row17);
            sheetData1.Append(row18);
            sheetData1.Append(row19);
            sheetData1.Append(row20);
            sheetData1.Append(row21);
            sheetData1.Append(row22);
            sheetData1.Append(row23);
            sheetData1.Append(row24);
            sheetData1.Append(row25);
            sheetData1.Append(row26);
            sheetData1.Append(row27);
            sheetData1.Append(row28);
            sheetData1.Append(row29);
            sheetData1.Append(row30);
            sheetData1.Append(row31);
            sheetData1.Append(row32);
            sheetData1.Append(row33);
            sheetData1.Append(row34);
            sheetData1.Append(row35);
            sheetData1.Append(row36);
            sheetData1.Append(row37);
            sheetData1.Append(row38);
            sheetData1.Append(row39);
            sheetData1.Append(row40);
            sheetData1.Append(row41);
            sheetData1.Append(row42);
            sheetData1.Append(row43);
            sheetData1.Append(row44);
            sheetData1.Append(row45);
            sheetData1.Append(row46);
            sheetData1.Append(row47);
            sheetData1.Append(row48);
            sheetData1.Append(row49);
            sheetData1.Append(row50);
            sheetData1.Append(row51);
            sheetData1.Append(row52);

            MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)12U };
            MergeCell mergeCell1 = new MergeCell() { Reference = "C59:I59" };
            MergeCell mergeCell2 = new MergeCell() { Reference = "D34:E34" };
            MergeCell mergeCell3 = new MergeCell() { Reference = "D36:E36" };
            MergeCell mergeCell4 = new MergeCell() { Reference = "D39:I39" };
            MergeCell mergeCell5 = new MergeCell() { Reference = "F56:G56" };
            MergeCell mergeCell6 = new MergeCell() { Reference = "F55:G55" };
            MergeCell mergeCell7 = new MergeCell() { Reference = "D32:E32" };
            MergeCell mergeCell8 = new MergeCell() { Reference = "G30:I30" };
            MergeCell mergeCell9 = new MergeCell() { Reference = "G28:I28" };
            MergeCell mergeCell10 = new MergeCell() { Reference = "D26:E26" };
            MergeCell mergeCell11 = new MergeCell() { Reference = "D28:E28" };
            MergeCell mergeCell12 = new MergeCell() { Reference = "D30:E30" };

            mergeCells1.Append(mergeCell1);
            mergeCells1.Append(mergeCell2);
            mergeCells1.Append(mergeCell3);
            mergeCells1.Append(mergeCell4);
            mergeCells1.Append(mergeCell5);
            mergeCells1.Append(mergeCell6);
            mergeCells1.Append(mergeCell7);
            mergeCells1.Append(mergeCell8);
            mergeCells1.Append(mergeCell9);
            mergeCells1.Append(mergeCell10);
            mergeCells1.Append(mergeCell11);
            mergeCells1.Append(mergeCell12);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(mergeCells1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);

            worksheetPart.Worksheet = worksheet1;
        }
        private List<Row> AddResourceColumns(SpreadsheetDocument doc, string tabName)
        {
            foreach (var resource in _resources)
            {
                resource.List = resource.List.OrderBy(o => o.Category).ThenBy(o => o.Value).ToList();
            }

            List<Row> rows = new List<Row>();

            var headerRow = new Row();
            for (var i = 0; i < _resources.Count; i++)
            {
                var headerCell = new Cell
                {
                    CellValue = new CellValue(_resources[i].ResourceName),
                    DataType = new EnumValue<CellValues>(CellValues.String),
                    CellReference = (i + 1).ConvertToColumnName() + 1
                };
                headerRow.Append(headerCell);
            }
            rows.Add(headerRow);

            var resourceCount = _resources.Count;
            var maxOfResourceItems = _resources.Max(r => r.List.Count);

            var definedNameDict = new Dictionary<string, List<ResourceIndex>>();

            for (var i = 0; i < maxOfResourceItems; i++)
            {
                var contentRow = new Row();
                for (var j = 0; j < resourceCount; j++)
                {
                    if (i >= _resources[j].List.Count)
                    {
                        continue;
                    }
                    var str = _resources[j].List[i].Value;
                    var category = _resources[j].List[i].Category;
                    var columnName = (j + 1).ConvertToColumnName();
                    var contentCell = new Cell
                    {
                        CellValue = new CellValue(str),
                        //TODO: Currently only support string, will add more types if needed
                        DataType = new EnumValue<CellValues>(CellValues.String),
                        CellReference = columnName + (i + 2)
                    };
                    var key = category;

                    if (!definedNameDict.ContainsKey(key))
                    {
                        definedNameDict.Add(key,
                            new List<ResourceIndex> {new ResourceIndex {Column = columnName, Row = i + 2}});
                    }
                    else
                    {
                        definedNameDict[key].Add(new ResourceIndex {Column = columnName, Row = i + 2});
                    }
                    contentRow.Append(contentCell);
                }
                rows.Add(contentRow);
            }
            AddDefinedNames(doc, definedNameDict, tabName);
            return rows;
        }
 private static Row CreateRow(DataRow dataRow, int rowIndex)
 {
     Row row = new Row();
     for (int i = 0; i < dataRow.Table.Columns.Count; i++)
     {
         //Cell cell = CreateCell(i + 1, rowIndex, dataRow[i], GetType(dataRow.Table.Columns[i].DataType));
         Cell cell = CreateCell(i + 1, rowIndex, dataRow[i], CellValues.String);
         row.Append(cell);
     }
     return row;
 }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "x14ac" }  };
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension(){ Reference = "A1:G4" };

            SheetViews sheetViews1 = new SheetViews();
            SheetView sheetView1 = new SheetView(){ TabSelected = true, WorkbookViewId = (UInt32Value)0U };

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties(){ DefaultRowHeight = 15D };

            Columns columns1 = new Columns();
            Column column1 = new Column(){ Min = (UInt32Value)1U, Max = (UInt32Value)3U, Width = 10.5703125D, CustomWidth = true };
            Column column2 = new Column(){ Min = (UInt32Value)5U, Max = (UInt32Value)7U, Width = 10.5703125D, CustomWidth = true };

            columns1.Append(column1);
            columns1.Append(column2);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row(){ RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } };

            Cell cell1 = new Cell(){ CellReference = "A1", DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "12";

            cell1.Append(cellValue1);

            Cell cell2 = new Cell(){ CellReference = "B1", DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "13";

            cell2.Append(cellValue2);

            Cell cell3 = new Cell(){ CellReference = "C1", DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "14";

            cell3.Append(cellValue3);

            Cell cell4 = new Cell(){ CellReference = "E1", DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "12";

            cell4.Append(cellValue4);

            Cell cell5 = new Cell(){ CellReference = "F1", DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "13";

            cell5.Append(cellValue5);

            Cell cell6 = new Cell(){ CellReference = "G1", DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "14";

            cell6.Append(cellValue6);

            row1.Append(cell1);
            row1.Append(cell2);
            row1.Append(cell3);
            row1.Append(cell4);
            row1.Append(cell5);
            row1.Append(cell6);

            Row row2 = new Row(){ RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } };

            Cell cell7 = new Cell(){ CellReference = "A2", DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "0";

            cell7.Append(cellValue7);

            Cell cell8 = new Cell(){ CellReference = "B2", DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "2";

            cell8.Append(cellValue8);

            Cell cell9 = new Cell(){ CellReference = "C2" };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "1";

            cell9.Append(cellValue9);

            Cell cell10 = new Cell(){ CellReference = "E2", DataType = CellValues.SharedString };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "4";

            cell10.Append(cellValue10);

            Cell cell11 = new Cell(){ CellReference = "F2", DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "9";

            cell11.Append(cellValue11);

            Cell cell12 = new Cell(){ CellReference = "G2" };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "3";

            cell12.Append(cellValue12);

            row2.Append(cell7);
            row2.Append(cell8);
            row2.Append(cell9);
            row2.Append(cell10);
            row2.Append(cell11);
            row2.Append(cell12);

            Row row3 = new Row(){ RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } };

            Cell cell13 = new Cell(){ CellReference = "A3", DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "1";

            cell13.Append(cellValue13);

            Cell cell14 = new Cell(){ CellReference = "B3", DataType = CellValues.SharedString };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "3";

            cell14.Append(cellValue14);

            Cell cell15 = new Cell(){ CellReference = "C3" };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "2";

            cell15.Append(cellValue15);

            Cell cell16 = new Cell(){ CellReference = "E3", DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "5";

            cell16.Append(cellValue16);

            Cell cell17 = new Cell(){ CellReference = "F3", DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "10";

            cell17.Append(cellValue17);

            Cell cell18 = new Cell(){ CellReference = "G3" };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "4";

            cell18.Append(cellValue18);

            row3.Append(cell13);
            row3.Append(cell14);
            row3.Append(cell15);
            row3.Append(cell16);
            row3.Append(cell17);
            row3.Append(cell18);

            Row row4 = new Row(){ RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:7" } };

            Cell cell19 = new Cell(){ CellReference = "A4", DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "6";

            cell19.Append(cellValue19);

            Cell cell20 = new Cell(){ CellReference = "B4", DataType = CellValues.SharedString };
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "7";

            cell20.Append(cellValue20);

            Cell cell21 = new Cell(){ CellReference = "C4" };
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "3";

            cell21.Append(cellValue21);

            Cell cell22 = new Cell(){ CellReference = "E4", DataType = CellValues.SharedString };
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "8";

            cell22.Append(cellValue22);

            Cell cell23 = new Cell(){ CellReference = "F4", DataType = CellValues.SharedString };
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "11";

            cell23.Append(cellValue23);

            Cell cell24 = new Cell(){ CellReference = "G4" };
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "5";

            cell24.Append(cellValue24);

            row4.Append(cell19);
            row4.Append(cell20);
            row4.Append(cell21);
            row4.Append(cell22);
            row4.Append(cell23);
            row4.Append(cell24);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            PhoneticProperties phoneticProperties13 = new PhoneticProperties(){ FontId = (UInt32Value)1U };
            PageMargins pageMargins1 = new PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            S.Drawing drawing1 = new S.Drawing(){ Id = "rId1" };

            TableParts tableParts1 = new TableParts(){ Count = (UInt32Value)2U };
            TablePart tablePart1 = new TablePart(){ Id = "rId2" };
            TablePart tablePart2 = new TablePart(){ Id = "rId3" };

            tableParts1.Append(tablePart1);
            tableParts1.Append(tablePart2);

            WorksheetExtensionList worksheetExtensionList1 = new WorksheetExtensionList();

            WorksheetExtension worksheetExtension1 = new WorksheetExtension(){ Uri = "{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}" };
            worksheetExtension1.AddNamespaceDeclaration("x15", "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main");

            X14.SlicerList slicerList1 = new X14.SlicerList();
            slicerList1.AddNamespaceDeclaration("x14", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main");
            X14.SlicerRef slicerRef1 = new X14.SlicerRef(){ Id = "rId4" };

            slicerList1.Append(slicerRef1);

            worksheetExtension1.Append(slicerList1);

            worksheetExtensionList1.Append(worksheetExtension1);

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(phoneticProperties13);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(drawing1);
            worksheet1.Append(tableParts1);
            worksheet1.Append(worksheetExtensionList1);

            worksheetPart1.Worksheet = worksheet1;
        }
 private static Row CreateHeaderRow(DataColumnCollection columns)
 {
     Row header = new Row();
     for (int i = 0; i < columns.Count; i++)
     {
         Cell cell = CreateCell(i + 1, 1, columns[i].ColumnName, CellValues.String);
         header.Append(cell);
     }
     return header;
 }
 private void AddCell(Row row, long val)
 {
     Cell cell = new Cell()
                     {
                         DataType = CellValues.Number,
                         CellValue = new CellValue(val.ToString())
                     };
     row.Append(cell);
 }
 private void AddCell(Row row, string str)
 {
     Cell cell = new Cell()
                     {
                         DataType = CellValues.String,
                         CellValue = new CellValue(str)
                     };
     row.Append(cell);
 }
        /* Export the list to excel file at the location provide by DependencyService */
        public async System.Threading.Tasks.Task ExportDataToExcelAsync()
        {
            // Granted storage permission
            var storageStatus = await CrossPermissions.Current.CheckPermissionStatusAsync(Permission.Storage);

            if (storageStatus != PermissionStatus.Granted)
            {
                var results = await CrossPermissions.Current.RequestPermissionsAsync(new[] { Permission.Storage });

                storageStatus = results[Permission.Storage];
                if (!permissionDeniedOnce && storageStatus == PermissionStatus.Denied)
                {
                    permissionDeniedOnce = true;
                }

                if (!permissionDeniedOnce && storageStatus == PermissionStatus.Granted)
                {
                    exportData = true;
                }

                if (permissionDeniedOnce && storageStatus == PermissionStatus.Granted)
                {
                    exportData = true;
                }

                if (permissionDeniedOnce && storageStatus == PermissionStatus.Denied)
                {
                    MessagingCenter.Send(this, "DataExportedPermissionDenied");
                }
            }
            else
            {
                exportData = true;
            }

            if (exportData)
            {
                if (Developers.Count() > 0)
                {
                    try
                    {
                        string date = DateTime.Now.ToShortDateString();
                        date = date.Replace("/", "_");

                        var path = DependencyService.Get <IExportFilesToLocation>().GetFolderLocation() + "XFDevelopers" + date + ".xlsx";
                        FilePath = path;
                        System.Diagnostics.Debug.WriteLine("Excel filespec: " + path);
                        System.Diagnostics.Debug.Flush();

                        using (SpreadsheetDocument document = SpreadsheetDocument.Create(path, 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 = "Xamarin Forms developers list"
                            };
                            sheets.Append(sheet);

                            workbookPart.Workbook.Save();

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

                            // Constructing header
                            Row row = new Row();

                            row.Append(
                                ConstructCell("No", CellValues.String),
                                ConstructCell("FullName", CellValues.String),
                                ConstructCell("Phone", CellValues.String)
                                );

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

                            // Add each product
                            foreach (var d in Developers)
                            {
                                row = new Row();
                                row.Append(
                                    ConstructCell(d.ID.ToString(), CellValues.String),
                                    ConstructCell(d.FullName, CellValues.String),
                                    ConstructCell(d.Phone, CellValues.String));
                                sheetData.AppendChild(row);
                            }

                            worksheetPart.Worksheet.Save();
                            MessagingCenter.Send(this, "DataExportedSuccessfully");
                        }
                    }
                    catch (Exception e)
                    {
                        Debug.WriteLine("ERROR: " + e.Message);
                    }
                }
                else
                {
                    MessagingCenter.Send(this, "NoDataToExport");
                }
            }
        }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "O9", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "O9" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D };

            SheetData sheetData1 = new SheetData();

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

            Cell cell1 = new Cell() { CellReference = "A1", DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "2";

            cell1.Append(cellValue1);

            row1.Append(cell1);

            sheetData1.Append(row1);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            S.Drawing drawing1 = new S.Drawing() { Id = "rId1" };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(drawing1);

            worksheetPart1.Worksheet = worksheet1;
        }
        // Generates content of worksheetPart2.
        private void GenerateWorksheetPart2Content(WorksheetPart worksheetPart2)
        {
            Worksheet worksheet2 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            worksheet2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet2.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheet2.AddNamespaceDeclaration("x14", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main");
            worksheet2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet2.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension2 = new SheetDimension() { Reference = "A1:V19" };

            SheetViews sheetViews2 = new SheetViews();

            SheetView sheetView2 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U };
            Selection selection2 = new Selection() { ActiveCell = "X5", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "X5" } };

            sheetView2.Append(selection2);

            sheetViews2.Append(sheetView2);
            SheetFormatProperties sheetFormatProperties2 = new SheetFormatProperties() { DefaultRowHeight = 15D, DyDescent = 0.25D };

            SheetData sheetData2 = new SheetData();

            Row row2 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell2 = new Cell() { CellReference = "A1" };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "1";

            cell2.Append(cellValue2);

            Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "0";

            cell3.Append(cellValue3);

            row2.Append(cell2);
            row2.Append(cell3);

            Row row3 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell4 = new Cell() { CellReference = "A2" };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "2";

            cell4.Append(cellValue4);

            row3.Append(cell4);

            Row row4 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell5 = new Cell() { CellReference = "A3" };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "3";

            cell5.Append(cellValue5);

            row4.Append(cell5);

            Row row5 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, Height = 135D, DyDescent = 0.25D };

            Cell cell6 = new Cell() { CellReference = "A4" };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "4";

            cell6.Append(cellValue6);

            Cell cell7 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "1";

            cell7.Append(cellValue7);

            row5.Append(cell6);
            row5.Append(cell7);

            Row row6 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell8 = new Cell() { CellReference = "A5" };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "5";

            cell8.Append(cellValue8);

            Cell cell9 = new Cell() { CellReference = "Q5", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "6";

            cell9.Append(cellValue9);

            Cell cell10 = new Cell() { CellReference = "T5" };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "4";

            cell10.Append(cellValue10);

            row6.Append(cell8);
            row6.Append(cell9);
            row6.Append(cell10);

            Row row7 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell11 = new Cell() { CellReference = "A6" };
            CellFormula cellFormula1 = new CellFormula();
            cellFormula1.Text = "SUM(A1:A5)";
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "15";

            cell11.Append(cellFormula1);
            cell11.Append(cellValue11);

            Cell cell12 = new Cell() { CellReference = "T6" };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "7";

            cell12.Append(cellValue12);

            row7.Append(cell11);
            row7.Append(cell12);

            Row row8 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell13 = new Cell() { CellReference = "T7" };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "6";

            cell13.Append(cellValue13);

            row8.Append(cell13);

            Row row9 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell14 = new Cell() { CellReference = "T8" };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "5";

            cell14.Append(cellValue14);

            row9.Append(cell14);

            Row row10 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell15 = new Cell() { CellReference = "T9" };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "4";

            cell15.Append(cellValue15);

            row10.Append(cell15);

            Row row11 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:22" }, DyDescent = 0.25D };

            Cell cell16 = new Cell() { CellReference = "T10" };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "7";

            cell16.Append(cellValue16);

            row11.Append(cell16);

            Row row12 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:3" }, DyDescent = 0.25D };

            Cell cell17 = new Cell() { CellReference = "A17", DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "3";

            cell17.Append(cellValue17);

            Cell cell18 = new Cell() { CellReference = "B17", DataType = CellValues.SharedString };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "4";

            cell18.Append(cellValue18);

            Cell cell19 = new Cell() { CellReference = "C17", DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "5";

            cell19.Append(cellValue19);

            row12.Append(cell17);
            row12.Append(cell18);
            row12.Append(cell19);

            Row row13 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:3" }, DyDescent = 0.25D };

            Cell cell20 = new Cell() { CellReference = "A18" };
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "1";

            cell20.Append(cellValue20);

            Cell cell21 = new Cell() { CellReference = "B18" };
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "2";

            cell21.Append(cellValue21);

            Cell cell22 = new Cell() { CellReference = "C18" };
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "3";

            cell22.Append(cellValue22);

            row13.Append(cell20);
            row13.Append(cell21);
            row13.Append(cell22);

            Row row14 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:3" }, DyDescent = 0.25D };

            Cell cell23 = new Cell() { CellReference = "A19" };
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "4";

            cell23.Append(cellValue23);

            Cell cell24 = new Cell() { CellReference = "B19" };
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "5";

            cell24.Append(cellValue24);

            Cell cell25 = new Cell() { CellReference = "C19" };
            CellValue cellValue25 = new CellValue();
            cellValue25.Text = "6";

            cell25.Append(cellValue25);

            row14.Append(cell23);
            row14.Append(cell24);
            row14.Append(cell25);

            sheetData2.Append(row2);
            sheetData2.Append(row3);
            sheetData2.Append(row4);
            sheetData2.Append(row5);
            sheetData2.Append(row6);
            sheetData2.Append(row7);
            sheetData2.Append(row8);
            sheetData2.Append(row9);
            sheetData2.Append(row10);
            sheetData2.Append(row11);
            sheetData2.Append(row12);
            sheetData2.Append(row13);
            sheetData2.Append(row14);

            Hyperlinks hyperlinks1 = new Hyperlinks();
            Hyperlink hyperlink2 = new Hyperlink() { Reference = "Q5", Id = "rId1" };

            hyperlinks1.Append(hyperlink2);
            PageMargins pageMargins2 = new PageMargins() { Left = 0.25D, Right = 0.25D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            PageSetup pageSetup1 = new PageSetup() { Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)4294967293U, VerticalDpi = (UInt32Value)0U, Id = "rId2" };
            S.Drawing drawing3 = new S.Drawing() { Id = "rId3" };
            LegacyDrawing legacyDrawing1 = new LegacyDrawing() { Id = "rId4" };

            TableParts tableParts1 = new TableParts() { Count = (UInt32Value)1U };
            TablePart tablePart1 = new TablePart() { Id = "rId5" };

            tableParts1.Append(tablePart1);

            worksheet2.Append(sheetDimension2);
            worksheet2.Append(sheetViews2);
            worksheet2.Append(sheetFormatProperties2);
            worksheet2.Append(sheetData2);
            worksheet2.Append(hyperlinks1);
            worksheet2.Append(pageMargins2);
            worksheet2.Append(pageSetup1);
            worksheet2.Append(drawing3);
            worksheet2.Append(legacyDrawing1);
            worksheet2.Append(tableParts1);

            worksheetPart2.Worksheet = worksheet2;
        }
        //.....................................................................
        /// <summary>
        ///
        /// </summary>
        /// <param name="worksheetpart"></param>
        private void GenerateWorksheet(WorksheetPart worksheetPart)
        {
            //  [1]
            SheetDimension sheetDimension3 = new SheetDimension( )
            {
                Reference = "A1:C5"
            };

            //.............................................
            Selection selection1 = new Selection( )
            {
                ActiveCell = "C6", SequenceOfReferences = new ListValue <StringValue>( )
                {
                    InnerText = "C6"
                }
            };

            SheetView sheetView3 = new SheetView( )
            {
                TabSelected = true, WorkbookViewId = ( UInt32Value )0U
            };

            sheetView3.Append(selection1);

            //  [1]
            SheetViews sheetViews3 = new SheetViews( );

            sheetViews3.Append(sheetView3);

            //.............................................
            //  [1]
            SheetFormatProperties sheetFormatProperties3 = new SheetFormatProperties( )
            {
                DefaultRowHeight = 13.5D, DyDescent = 0.15D
            };

            //.............................................
            Row row1 = new Row( )
            {
                RowIndex = ( UInt32Value )1U, Spans = new ListValue <StringValue>( )
                {
                    InnerText = "1:3"
                }, DyDescent = 0.15D
            };

            Cell cell1 = new Cell( )
            {
                CellReference = "A1"
            };
            CellValue cellValue1 = new CellValue( );

            cellValue1.Text = "1";

            cell1.Append(cellValue1);

            Cell cell2 = new Cell( )
            {
                CellReference = "C1"
            };
            CellValue cellValue2 = new CellValue( );

            cellValue2.Text = "3";

            cell2.Append(cellValue2);

            row1.Append(cell1);
            row1.Append(cell2);

            //.............................................
            Row row2 = new Row( )
            {
                RowIndex = ( UInt32Value )2U, Height = 44D, Spans = new ListValue <StringValue>( )
                {
                    InnerText = "1:3"
                }, DyDescent = 0.15D
            };

            Cell cell3 = new Cell( )
            {
                CellReference = "A2"
            };
            CellValue cellValue3 = new CellValue( );

            cellValue3.Text = "2";

            cell3.Append(cellValue3);

            Cell cell4 = new Cell( )
            {
                CellReference = "C2"
            };
            CellValue cellValue4 = new CellValue( );

            cellValue4.Text = "4";

            cell4.Append(cellValue4);

            row2.Append(cell3);
            row2.Append(cell4);

            //.............................................
            Row row3 = new Row( )
            {
                RowIndex = ( UInt32Value )5U, Spans = new ListValue <StringValue>( )
                {
                    InnerText = "1:3"
                }, DyDescent = 0.15D
            };

            Cell cell5 = new Cell( )
            {
                CellReference = "C5", DataType = CellValues.SharedString
            };
            CellValue cellValue5 = new CellValue( );

            cellValue5.Text = "0";

            cell5.Append(cellValue5);

            row3.Append(cell5);

            //.............................................
            //  [1]
            SheetData sheetData3 = new SheetData( );

            sheetData3.Append(row1);
            sheetData3.Append(row2);
            sheetData3.Append(row3);

            //.............................................
            //  [1]
            PhoneticProperties phoneticProperties3 = new PhoneticProperties( )
            {
                FontId = ( UInt32Value )1U, Type = PhoneticValues.NoConversion
            };

            //  [1]
            PageMargins pageMargins3 = new PageMargins( )
            {
                Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D
            };

            //.............................................
            Worksheet worksheet3 = MakeWorkSheet( );

            worksheet3.Append(sheetDimension3);
            worksheet3.Append(sheetViews3);
            worksheet3.Append(sheetFormatProperties3);

            worksheet3.Append(sheetData3);

            worksheet3.Append(phoneticProperties3);
            worksheet3.Append(pageMargins3);

            //.............................................
            worksheetPart.Worksheet = worksheet3;

            return;
        }
Exemple #25
0
 /// <summary>
 /// Append text in a cell
 /// </summary>
 /// <param name="cellReference">Reference</param>
 /// <param name="cellStringValue">Value</param>
 /// <param name="excelRow">Excel row</param>
 /// <param name="styleIndex">Style</param>
 private static void AppendTextCell(string cellReference, string cellStringValue, Row excelRow, UInt32Value styleIndex)
 {
     //  Add a new Excel Cell to our Row
     Cell cell = new Cell() { CellReference = cellReference, DataType = CellValues.String };
     CellValue cellValue = new CellValue();
     cellValue.Text = cellStringValue;
     cell.StyleIndex = styleIndex;
     cell.Append(cellValue);
     excelRow.Append(cell);
 }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet();
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            SheetProperties sheetProperties1 = new SheetProperties();
            PageSetupProperties pageSetupProperties1 = new PageSetupProperties() { FitToPage = true };

            sheetProperties1.Append(pageSetupProperties1);
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:I32" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { TabSelected = true, ZoomScale = (UInt32Value)80U, WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "C38", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "C38" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 12.75D };

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 8.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 16.5703125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 25.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 33.140625D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 22.42578125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 16.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 14.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column8 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)16384U, Width = 11.42578125D, Style = (UInt32Value)1U };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);
            columns1.Append(column6);
            columns1.Append(column7);
            columns1.Append(column8);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)7U };
            Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)32U };
            Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)32U };
            Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)32U };
            Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)32U };
            Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)32U };
            Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)7U };
            Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)7U };

            row1.Append(cell1);
            row1.Append(cell2);
            row1.Append(cell3);
            row1.Append(cell4);
            row1.Append(cell5);
            row1.Append(cell6);
            row1.Append(cell7);
            row1.Append(cell8);

            Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell9 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)7U };
            Cell cell10 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)2U };
            Cell cell11 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)2U };

            Cell cell12 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "9";

            cell12.Append(cellValue1);
            Cell cell13 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)2U };
            Cell cell14 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)2U };
            Cell cell15 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)7U };
            Cell cell16 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)7U };

            row2.Append(cell9);
            row2.Append(cell10);
            row2.Append(cell11);
            row2.Append(cell12);
            row2.Append(cell13);
            row2.Append(cell14);
            row2.Append(cell15);
            row2.Append(cell16);

            Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell17 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)7U };
            Cell cell18 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)2U };
            Cell cell19 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)2U };

            Cell cell20 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "10";

            cell20.Append(cellValue2);
            Cell cell21 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)2U };
            Cell cell22 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)2U };
            Cell cell23 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)7U };
            Cell cell24 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)7U };

            row3.Append(cell17);
            row3.Append(cell18);
            row3.Append(cell19);
            row3.Append(cell20);
            row3.Append(cell21);
            row3.Append(cell22);
            row3.Append(cell23);
            row3.Append(cell24);

            Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell25 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)10U };
            Cell cell26 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)3U };
            Cell cell27 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)2U };

            Cell cell28 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "8";

            cell28.Append(cellValue3);
            Cell cell29 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)2U };
            Cell cell30 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)2U };
            Cell cell31 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)7U };
            Cell cell32 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)7U };

            row4.Append(cell25);
            row4.Append(cell26);
            row4.Append(cell27);
            row4.Append(cell28);
            row4.Append(cell29);
            row4.Append(cell30);
            row4.Append(cell31);
            row4.Append(cell32);

            Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 54.75D, CustomHeight = true };
            Cell cell33 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)10U };
            Cell cell34 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)7U };
            Cell cell35 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)2U };
            Cell cell36 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)2U };
            Cell cell37 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)2U };
            Cell cell38 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)2U };
            Cell cell39 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)7U };
            Cell cell40 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)7U };

            row5.Append(cell33);
            row5.Append(cell34);
            row5.Append(cell35);
            row5.Append(cell36);
            row5.Append(cell37);
            row5.Append(cell38);
            row5.Append(cell39);
            row5.Append(cell40);

            Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell41 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)10U };

            Cell cell42 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "2";

            cell42.Append(cellValue4);
            Cell cell43 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)12U };
            Cell cell44 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)2U };
            Cell cell45 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)2U };
            Cell cell46 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)2U };
            Cell cell47 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)7U };
            Cell cell48 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)7U };

            row6.Append(cell41);
            row6.Append(cell42);
            row6.Append(cell43);
            row6.Append(cell44);
            row6.Append(cell45);
            row6.Append(cell46);
            row6.Append(cell47);
            row6.Append(cell48);

            Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell49 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)10U };

            Cell cell50 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "4";

            cell50.Append(cellValue5);
            Cell cell51 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)8U };
            Cell cell52 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)2U };
            Cell cell53 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)2U };
            Cell cell54 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)2U };
            Cell cell55 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)7U };
            Cell cell56 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)7U };

            row7.Append(cell49);
            row7.Append(cell50);
            row7.Append(cell51);
            row7.Append(cell52);
            row7.Append(cell53);
            row7.Append(cell54);
            row7.Append(cell55);
            row7.Append(cell56);

            Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell57 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)10U };

            Cell cell58 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "3";

            cell58.Append(cellValue6);
            Cell cell59 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)2U };
            Cell cell60 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)2U };
            Cell cell61 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)2U };
            Cell cell62 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)2U };
            Cell cell63 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)7U };
            Cell cell64 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)7U };

            row8.Append(cell57);
            row8.Append(cell58);
            row8.Append(cell59);
            row8.Append(cell60);
            row8.Append(cell61);
            row8.Append(cell62);
            row8.Append(cell63);
            row8.Append(cell64);

            Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell65 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)10U };

            Cell cell66 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "0";

            cell66.Append(cellValue7);
            Cell cell67 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)38U };
            Cell cell68 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)4U };
            Cell cell69 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)4U };
            Cell cell70 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)4U };
            Cell cell71 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)7U };
            Cell cell72 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)7U };

            row9.Append(cell65);
            row9.Append(cell66);
            row9.Append(cell67);
            row9.Append(cell68);
            row9.Append(cell69);
            row9.Append(cell70);
            row9.Append(cell71);
            row9.Append(cell72);

            Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell73 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)10U };

            Cell cell74 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "1";

            cell74.Append(cellValue8);
            Cell cell75 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)38U };
            Cell cell76 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)4U };
            Cell cell77 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)4U };
            Cell cell78 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)4U };
            Cell cell79 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)7U };
            Cell cell80 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)7U };

            row10.Append(cell73);
            row10.Append(cell74);
            row10.Append(cell75);
            row10.Append(cell76);
            row10.Append(cell77);
            row10.Append(cell78);
            row10.Append(cell79);
            row10.Append(cell80);

            Row row11 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell81 = new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)10U };
            Cell cell82 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)4U };
            Cell cell83 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)4U };
            Cell cell84 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)4U };
            Cell cell85 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)4U };
            Cell cell86 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)4U };
            Cell cell87 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)7U };
            Cell cell88 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)7U };

            row11.Append(cell81);
            row11.Append(cell82);
            row11.Append(cell83);
            row11.Append(cell84);
            row11.Append(cell85);
            row11.Append(cell86);
            row11.Append(cell87);
            row11.Append(cell88);

            Row row12 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell89 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)10U };
            Cell cell90 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)4U };
            Cell cell91 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)4U };
            Cell cell92 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)4U };
            Cell cell93 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)4U };
            Cell cell94 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)4U };
            Cell cell95 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)7U };
            Cell cell96 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)7U };

            row12.Append(cell89);
            row12.Append(cell90);
            row12.Append(cell91);
            row12.Append(cell92);
            row12.Append(cell93);
            row12.Append(cell94);
            row12.Append(cell95);
            row12.Append(cell96);

            Row row13 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 15.75D };
            Cell cell97 = new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)10U };
            Cell cell98 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)4U };
            Cell cell99 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)4U };

            Cell cell100 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "11";

            cell100.Append(cellValue9);
            Cell cell101 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)22U };
            Cell cell102 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)4U };
            Cell cell103 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)4U };
            Cell cell104 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)7U };

            row13.Append(cell97);
            row13.Append(cell98);
            row13.Append(cell99);
            row13.Append(cell100);
            row13.Append(cell101);
            row13.Append(cell102);
            row13.Append(cell103);
            row13.Append(cell104);

            Row row14 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 15.75D, CustomHeight = true };
            Cell cell105 = new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)10U };
            Cell cell106 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)6U };
            Cell cell107 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)6U };
            Cell cell108 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)23U };
            Cell cell109 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)6U };
            Cell cell110 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)24U };
            Cell cell111 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)25U };
            Cell cell112 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)4U };

            row14.Append(cell105);
            row14.Append(cell106);
            row14.Append(cell107);
            row14.Append(cell108);
            row14.Append(cell109);
            row14.Append(cell110);
            row14.Append(cell111);
            row14.Append(cell112);

            Row row15 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 52.5D, CustomHeight = true };
            Cell cell113 = new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)10U };
            Cell cell114 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)6U };
            Cell cell115 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)6U };
            Cell cell116 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)23U };
            Cell cell117 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)6U };
            Cell cell118 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)24U };
            Cell cell119 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)25U };
            Cell cell120 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)4U };

            row15.Append(cell113);
            row15.Append(cell114);
            row15.Append(cell115);
            row15.Append(cell116);
            row15.Append(cell117);
            row15.Append(cell118);
            row15.Append(cell119);
            row15.Append(cell120);

            Row row16 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true };
            Cell cell121 = new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)10U };

            Cell cell122 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "4";

            cell122.Append(cellValue10);

            Cell cell123 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "5";

            cell123.Append(cellValue11);

            Cell cell124 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "7";

            cell124.Append(cellValue12);

            Cell cell125 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)13U, DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "6";

            cell125.Append(cellValue13);

            Cell cell126 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)14U, DataType = CellValues.SharedString };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "15";

            cell126.Append(cellValue14);

            Cell cell127 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)34U, DataType = CellValues.SharedString };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "16";

            cell127.Append(cellValue15);
            Cell cell128 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)4U };
            Cell cell129 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)4U };

            row16.Append(cell121);
            row16.Append(cell122);
            row16.Append(cell123);
            row16.Append(cell124);
            row16.Append(cell125);
            row16.Append(cell126);
            row16.Append(cell127);
            row16.Append(cell128);
            row16.Append(cell129);

            Row row17 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true };
            Cell cell130 = new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)10U };
            Cell cell131 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)5U };
            Cell cell132 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)31U };
            Cell cell133 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)39U };
            Cell cell134 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)5U };
            Cell cell135 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)33U };
            Cell cell136 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)35U };
            Cell cell137 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)4U };
            Cell cell138 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)4U };

            row17.Append(cell130);
            row17.Append(cell131);
            row17.Append(cell132);
            row17.Append(cell133);
            row17.Append(cell134);
            row17.Append(cell135);
            row17.Append(cell136);
            row17.Append(cell137);
            row17.Append(cell138);

            Row row18 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true };
            Cell cell139 = new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)9U };
            Cell cell140 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)6U };
            Cell cell141 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)6U };
            Cell cell142 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)6U };
            Cell cell143 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)6U };
            Cell cell144 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)6U };
            Cell cell145 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)7U };
            Cell cell146 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)4U };
            Cell cell147 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)4U };

            row18.Append(cell139);
            row18.Append(cell140);
            row18.Append(cell141);
            row18.Append(cell142);
            row18.Append(cell143);
            row18.Append(cell144);
            row18.Append(cell145);
            row18.Append(cell146);
            row18.Append(cell147);

            Row row19 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true };
            Cell cell148 = new Cell() { CellReference = "A19", StyleIndex = (UInt32Value)10U };
            Cell cell149 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)7U };
            Cell cell150 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)26U };
            Cell cell151 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)7U };

            Cell cell152 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)27U, DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "12";

            cell152.Append(cellValue16);
            Cell cell153 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)36U };
            Cell cell154 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)7U };

            row19.Append(cell148);
            row19.Append(cell149);
            row19.Append(cell150);
            row19.Append(cell151);
            row19.Append(cell152);
            row19.Append(cell153);
            row19.Append(cell154);

            Row row20 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true };
            Cell cell155 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)10U };
            Cell cell156 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)6U };
            Cell cell157 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)25U };
            Cell cell158 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)6U };

            Cell cell159 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)27U, DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "13";

            cell159.Append(cellValue17);

            Cell cell160 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)36U };
            CellFormula cellFormula1 = new CellFormula();
            cellFormula1.Text = "+G19*0.21";
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "0";

            cell160.Append(cellFormula1);
            cell160.Append(cellValue18);
            Cell cell161 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)7U };

            row20.Append(cell155);
            row20.Append(cell156);
            row20.Append(cell157);
            row20.Append(cell158);
            row20.Append(cell159);
            row20.Append(cell160);
            row20.Append(cell161);

            Row row21 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true };
            Cell cell162 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)10U };
            Cell cell163 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)6U };
            Cell cell164 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)25U };
            Cell cell165 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)6U };

            Cell cell166 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)28U, DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "14";

            cell166.Append(cellValue19);

            Cell cell167 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)37U };
            CellFormula cellFormula2 = new CellFormula();
            cellFormula2.Text = "+G20+G19";
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "0";

            cell167.Append(cellFormula2);
            cell167.Append(cellValue20);
            Cell cell168 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)7U };

            row21.Append(cell162);
            row21.Append(cell163);
            row21.Append(cell164);
            row21.Append(cell165);
            row21.Append(cell166);
            row21.Append(cell167);
            row21.Append(cell168);

            Row row22 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell169 = new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)29U };
            Cell cell170 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)7U };
            Cell cell171 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)7U };
            Cell cell172 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)7U };
            Cell cell173 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)7U };
            Cell cell174 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)30U };
            Cell cell175 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)11U };
            Cell cell176 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)7U };

            row22.Append(cell169);
            row22.Append(cell170);
            row22.Append(cell171);
            row22.Append(cell172);
            row22.Append(cell173);
            row22.Append(cell174);
            row22.Append(cell175);
            row22.Append(cell176);

            Row row23 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 19.5D, CustomHeight = true };
            Cell cell177 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)9U };
            Cell cell178 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)6U };
            Cell cell179 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)6U };
            Cell cell180 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)6U };
            Cell cell181 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)6U };
            Cell cell182 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)6U };
            Cell cell183 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)7U };
            Cell cell184 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)4U };
            Cell cell185 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)4U };

            row23.Append(cell177);
            row23.Append(cell178);
            row23.Append(cell179);
            row23.Append(cell180);
            row23.Append(cell181);
            row23.Append(cell182);
            row23.Append(cell183);
            row23.Append(cell184);
            row23.Append(cell185);

            Row row24 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 16.5D, CustomHeight = true };
            Cell cell186 = new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)9U };
            Cell cell187 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)6U };
            Cell cell188 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)6U };
            Cell cell189 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)6U };
            Cell cell190 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)6U };
            Cell cell191 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)7U };
            Cell cell192 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)7U };
            Cell cell193 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)7U };

            row24.Append(cell186);
            row24.Append(cell187);
            row24.Append(cell188);
            row24.Append(cell189);
            row24.Append(cell190);
            row24.Append(cell191);
            row24.Append(cell192);
            row24.Append(cell193);

            Row row25 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true };
            Cell cell194 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)9U };
            Cell cell195 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)6U };
            Cell cell196 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)6U };
            Cell cell197 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)6U };
            Cell cell198 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)6U };
            Cell cell199 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)11U };
            Cell cell200 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)7U };
            Cell cell201 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)7U };

            row25.Append(cell194);
            row25.Append(cell195);
            row25.Append(cell196);
            row25.Append(cell197);
            row25.Append(cell198);
            row25.Append(cell199);
            row25.Append(cell200);
            row25.Append(cell201);

            Row row26 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true };
            Cell cell202 = new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)9U };
            Cell cell203 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)6U };
            Cell cell204 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)6U };
            Cell cell205 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)6U };
            Cell cell206 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)6U };
            Cell cell207 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)15U };
            Cell cell208 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)4U };
            Cell cell209 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)4U };
            Cell cell210 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)4U };

            row26.Append(cell202);
            row26.Append(cell203);
            row26.Append(cell204);
            row26.Append(cell205);
            row26.Append(cell206);
            row26.Append(cell207);
            row26.Append(cell208);
            row26.Append(cell209);
            row26.Append(cell210);

            Row row27 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true };
            Cell cell211 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)9U };
            Cell cell212 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)6U };
            Cell cell213 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)6U };
            Cell cell214 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)6U };
            Cell cell215 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)6U };
            Cell cell216 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)16U };
            Cell cell217 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U };
            Cell cell218 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)4U };
            Cell cell219 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)4U };

            row27.Append(cell211);
            row27.Append(cell212);
            row27.Append(cell213);
            row27.Append(cell214);
            row27.Append(cell215);
            row27.Append(cell216);
            row27.Append(cell217);
            row27.Append(cell218);
            row27.Append(cell219);

            Row row28 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 12.75D, CustomHeight = true };
            Cell cell220 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)10U };
            Cell cell221 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)7U };
            Cell cell222 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)7U };
            Cell cell223 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)7U };
            Cell cell224 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)7U };
            Cell cell225 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)17U };
            Cell cell226 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)7U };
            Cell cell227 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)7U };

            row28.Append(cell220);
            row28.Append(cell221);
            row28.Append(cell222);
            row28.Append(cell223);
            row28.Append(cell224);
            row28.Append(cell225);
            row28.Append(cell226);
            row28.Append(cell227);

            Row row29 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:9" }, Height = 10.5D, CustomHeight = true };
            Cell cell228 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)7U };
            Cell cell229 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)7U };
            Cell cell230 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)7U };
            Cell cell231 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)7U };
            Cell cell232 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)7U };
            Cell cell233 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)7U };
            Cell cell234 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)7U };
            Cell cell235 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)7U };

            row29.Append(cell228);
            row29.Append(cell229);
            row29.Append(cell230);
            row29.Append(cell231);
            row29.Append(cell232);
            row29.Append(cell233);
            row29.Append(cell234);
            row29.Append(cell235);

            Row row30 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell236 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)7U };
            Cell cell237 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)7U };
            Cell cell238 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)7U };
            Cell cell239 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)7U };
            Cell cell240 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)7U };
            Cell cell241 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)7U };
            Cell cell242 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)7U };
            Cell cell243 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)7U };

            row30.Append(cell236);
            row30.Append(cell237);
            row30.Append(cell238);
            row30.Append(cell239);
            row30.Append(cell240);
            row30.Append(cell241);
            row30.Append(cell242);
            row30.Append(cell243);

            Row row31 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell244 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)7U };
            Cell cell245 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)7U };
            Cell cell246 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)7U };
            Cell cell247 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)7U };
            Cell cell248 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)7U };
            Cell cell249 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)7U };
            Cell cell250 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)7U };

            row31.Append(cell244);
            row31.Append(cell245);
            row31.Append(cell246);
            row31.Append(cell247);
            row31.Append(cell248);
            row31.Append(cell249);
            row31.Append(cell250);

            Row row32 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "1:9" } };
            Cell cell251 = new Cell() { CellReference = "A32", StyleIndex = (UInt32Value)7U };
            Cell cell252 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)7U };
            Cell cell253 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)7U };
            Cell cell254 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)7U };
            Cell cell255 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)7U };
            Cell cell256 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)7U };
            Cell cell257 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)7U };

            row32.Append(cell251);
            row32.Append(cell252);
            row32.Append(cell253);
            row32.Append(cell254);
            row32.Append(cell255);
            row32.Append(cell256);
            row32.Append(cell257);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);
            sheetData1.Append(row6);
            sheetData1.Append(row7);
            sheetData1.Append(row8);
            sheetData1.Append(row9);
            sheetData1.Append(row10);
            sheetData1.Append(row11);
            sheetData1.Append(row12);
            sheetData1.Append(row13);
            sheetData1.Append(row14);
            sheetData1.Append(row15);
            sheetData1.Append(row16);
            sheetData1.Append(row17);
            sheetData1.Append(row18);
            sheetData1.Append(row19);
            sheetData1.Append(row20);
            sheetData1.Append(row21);
            sheetData1.Append(row22);
            sheetData1.Append(row23);
            sheetData1.Append(row24);
            sheetData1.Append(row25);
            sheetData1.Append(row26);
            sheetData1.Append(row27);
            sheetData1.Append(row28);
            sheetData1.Append(row29);
            sheetData1.Append(row30);
            sheetData1.Append(row31);
            sheetData1.Append(row32);
            PhoneticProperties phoneticProperties1 = new PhoneticProperties() { FontId = (UInt32Value)0U, Type = PhoneticValues.NoConversion };
            PageMargins pageMargins1 = new PageMargins() { Left = 0.82D, Right = 0.39D, Top = 0.62D, Bottom = 1D, Header = 0D, Footer = 0D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Scale = (UInt32Value)74U, Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)4294967292U, VerticalDpi = (UInt32Value)300U, Id = "rId1" };
            HeaderFooter headerFooter1 = new HeaderFooter() { AlignWithMargins = false };
            Drawing drawing1 = new Drawing() { Id = "rId2" };

            worksheet1.Append(sheetProperties1);
            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(phoneticProperties1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);
            worksheet1.Append(headerFooter1);
            worksheet1.Append(drawing1);

            worksheetPart1.Worksheet = worksheet1;
        }
        // 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;
        }
        // Generates content of worksheet.
        protected override void GenerateWorksheetDataContent(SheetData sheetData, int linesToAdd, ProjectFile projectFile)
        {
            List<Row> rows = new List<Row>();
            List<Cell> cells = new List<Cell>();

            #region file name
            Row fileNameRow = new Row(){RowIndex = (UInt32Value)(2U + linesToAdd),Spans = new ListValue<StringValue>() { InnerText = "3:9" },DyDescent = 0.25D};

            if (FileNamesSharedStrings == null)
                FileNamesSharedStrings = new List<SharedStringItem>();
            FileNamesSharedStrings.Add(new SharedStringItem() { Text = new Text() { Text = String.Format("File: {0}", Path.GetFileName(projectFile.FileName)) } });

// ReSharper disable PossiblyMistakenUseOfParamsMethod
            fileNameRow.Append(new Cell()
            {
                CellReference = GetCell("C2", linesToAdd),
                StyleIndex = (UInt32Value)3U,
                DataType = CellValues.SharedString,
                CellValue = new CellValue((SharedStringsCount + FileNamesSharedStrings.Count).ToString(CultureInfo.InvariantCulture))
            }); rows.Add(fileNameRow);
// ReSharper restore PossiblyMistakenUseOfParamsMethod
            #endregion

            #region analysis results text
            Row arRow = new Row(){RowIndex = (UInt32Value) (3U+linesToAdd),Spans = new ListValue<StringValue>() {InnerText = "3:9"},DyDescent = 0.25D};

            cells = new List<Cell>()
                {
                    new Cell() {CellReference = GetCell("F3", linesToAdd), StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString, CellValue = new CellValue("0") },
                    new Cell() {CellReference = GetCell("G3", linesToAdd), StyleIndex = (UInt32Value) 1U},
                    new Cell() {CellReference = GetCell("H3", linesToAdd), StyleIndex = (UInt32Value) 1U},
                    new Cell() {CellReference = GetCell("I3", linesToAdd), StyleIndex = (UInt32Value) 1U}
                };
            arRow.Append(cells.ConvertAll(c => (OpenXmlElement)c));
            rows.Add(arRow);
            #endregion 

            #region header row
            Row headerRow = new Row(){RowIndex = (UInt32Value) (4U+linesToAdd),Spans = new ListValue<StringValue>() {InnerText = "3:9"},DyDescent = 0.25D};
            cells = new List<Cell>()
                {
                    new Cell() {CellReference = GetCell("C4", linesToAdd), StyleIndex = (UInt32Value) 3U, DataType = CellValues.SharedString, CellValue = new CellValue("1")},
                    new Cell() {CellReference = GetCell("D4", linesToAdd), StyleIndex = (UInt32Value) 4U, DataType = CellValues.SharedString, CellValue = new CellValue("2")},
                    new Cell() {CellReference = GetCell("F4", linesToAdd), StyleIndex = (UInt32Value) 5U, DataType = CellValues.SharedString, CellValue = new CellValue("3")},
                    new Cell() {CellReference = GetCell("G4", linesToAdd), StyleIndex = (UInt32Value) 5U, DataType = CellValues.SharedString, CellValue = new CellValue("4")},
                    new Cell() {CellReference = GetCell("H4", linesToAdd), StyleIndex = (UInt32Value) 6U, DataType = CellValues.SharedString, CellValue = new CellValue("5")},
                    new Cell() {CellReference = GetCell("I4", linesToAdd), StyleIndex = (UInt32Value) 2U}
                };

            headerRow.Append(cells.ConvertAll(c => (OpenXmlElement)c));
            rows.Add(headerRow);
            #endregion

            #region value rows
            rows.Add(GenerateRowForProperty(5U, linesToAdd, projectFile, Templates.Templates.PerfectMatch));
            rows.Add(GenerateRowForProperty(6U, linesToAdd, projectFile, Templates.Templates.ContextMatch));
            rows.Add(GenerateRowForProperty(7U, linesToAdd, projectFile, Templates.Templates.Repetitions));
            rows.Add(GenerateRowForProperty(8U, linesToAdd, projectFile, Templates.Templates.Percent100));
            rows.Add(GenerateRowForProperty(9U, linesToAdd, projectFile, Templates.Templates.Percent95));
            rows.Add(GenerateRowForProperty(10U, linesToAdd, projectFile, Templates.Templates.Percent85));
            rows.Add(GenerateRowForProperty(11U, linesToAdd, projectFile, Templates.Templates.Percent75));
            rows.Add(GenerateRowForProperty(12U, linesToAdd, projectFile, Templates.Templates.Percent50));
            rows.Add(GenerateRowForProperty(13U, linesToAdd, projectFile, Templates.Templates.New));
            rows.Add(GenerateRowForProperty(14U, linesToAdd, projectFile, Templates.Templates.Tags));
            #endregion

            #region total rows
            Row emptyRow = new Row() { RowIndex = (UInt32Value)(15U + linesToAdd), Spans = new ListValue<StringValue>() { InnerText = "3:9" }, DyDescent = 0.25D };
            cells = new List<Cell>()
                {
                    new Cell() {CellReference = GetCell("F15", linesToAdd), StyleIndex = (UInt32Value) 12U},
                    new Cell() {CellReference = GetCell("G15", linesToAdd), StyleIndex = (UInt32Value) 12U},
                    new Cell() {CellReference = GetCell("H15", linesToAdd), StyleIndex = (UInt32Value) 12U},
                    new Cell() {CellReference = GetCell("I15", linesToAdd), StyleIndex = (UInt32Value) 12U}
                };
            emptyRow.Append(cells.ConvertAll(c => (OpenXmlElement)c));
            rows.Add(emptyRow);

            Row totalRow = new Row() { RowIndex = (UInt32Value)(16U + linesToAdd), Spans = new ListValue<StringValue>() { InnerText = "3:9" }, DyDescent = 0.25D };

            Decimal totalWords = projectFile.ProjectProperties.Where(property => property.StandardType != StandardType.Global).Sum(property => property.Words);
            Decimal totalChars = projectFile.ProjectProperties.Where(property => property.StandardType != StandardType.Global).Sum(property => property.Characters);
            Decimal totalValue = projectFile.ProjectProperties.Where(property => property.StandardType != StandardType.Global).Sum(property => property.ValueByWords);

            cells = new List<Cell>()
                {
                    new Cell(){CellReference = GetCell("F16", linesToAdd),StyleIndex = (UInt32Value) 13U, DataType = CellValues.Number, CellValue = new CellValue(totalWords.ToString(CultureInfo.InvariantCulture))},
                    new Cell(){CellReference = GetCell("G16", linesToAdd),StyleIndex = (UInt32Value) 13U, DataType = CellValues.Number, CellValue = new CellValue(totalChars.ToString(CultureInfo.InvariantCulture))},
                    new Cell(){CellReference = GetCell("H16", linesToAdd),StyleIndex = (UInt32Value) 13U, DataType = CellValues.Number, CellValue =new CellValue(totalValue.ToString(CultureInfo.InvariantCulture))},
                    new Cell(){CellReference = GetCell("I16", linesToAdd), StyleIndex = (UInt32Value) 13U ,DataType = CellValues.SharedString, CellValue = new CellValue("15")}
                };
            totalRow.Append(cells.ConvertAll(c => (OpenXmlElement)c));
            rows.Add(totalRow);
            #endregion

            sheetData.Append(rows.ConvertAll(c => (OpenXmlElement)c));
        }
        // 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;
        }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet();
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:K59" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "B5", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "B5" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 15D };

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 27.7109375D, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 13.7109375D, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)8U, Width = 27.7109375D, CustomWidth = true };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)29U };
            Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)19U };
            Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)19U };
            Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)19U };
            Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)19U };
            Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)19U };
            Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)19U };
            Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)19U };
            Cell cell9 = new Cell() { CellReference = "I1", StyleIndex = (UInt32Value)19U };
            Cell cell10 = new Cell() { CellReference = "J1", StyleIndex = (UInt32Value)30U };
            Cell cell11 = new Cell() { CellReference = "K1", StyleIndex = (UInt32Value)1U };

            row1.Append(cell1);
            row1.Append(cell2);
            row1.Append(cell3);
            row1.Append(cell4);
            row1.Append(cell5);
            row1.Append(cell6);
            row1.Append(cell7);
            row1.Append(cell8);
            row1.Append(cell9);
            row1.Append(cell10);
            row1.Append(cell11);

            Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell12 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)29U };
            Cell cell13 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)19U };
            Cell cell14 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)19U };
            Cell cell15 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)19U };
            Cell cell16 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)19U };
            Cell cell17 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)19U };
            Cell cell18 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)19U };
            Cell cell19 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)19U };
            Cell cell20 = new Cell() { CellReference = "I2", StyleIndex = (UInt32Value)19U };
            Cell cell21 = new Cell() { CellReference = "J2", StyleIndex = (UInt32Value)30U };
            Cell cell22 = new Cell() { CellReference = "K2", StyleIndex = (UInt32Value)2U };

            row2.Append(cell12);
            row2.Append(cell13);
            row2.Append(cell14);
            row2.Append(cell15);
            row2.Append(cell16);
            row2.Append(cell17);
            row2.Append(cell18);
            row2.Append(cell19);
            row2.Append(cell20);
            row2.Append(cell21);
            row2.Append(cell22);

            Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell23 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)31U };
            Cell cell24 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)32U };

            Cell cell25 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)33U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell25.Append(cellValue1);
            Cell cell26 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)32U };
            Cell cell27 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)33U };
            Cell cell28 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)32U };
            Cell cell29 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)19U };
            Cell cell30 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)19U };
            Cell cell31 = new Cell() { CellReference = "I3", StyleIndex = (UInt32Value)19U };
            Cell cell32 = new Cell() { CellReference = "J3", StyleIndex = (UInt32Value)30U };
            Cell cell33 = new Cell() { CellReference = "K3", StyleIndex = (UInt32Value)2U };

            row3.Append(cell23);
            row3.Append(cell24);
            row3.Append(cell25);
            row3.Append(cell26);
            row3.Append(cell27);
            row3.Append(cell28);
            row3.Append(cell29);
            row3.Append(cell30);
            row3.Append(cell31);
            row3.Append(cell32);
            row3.Append(cell33);

            Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell34 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)31U };
            Cell cell35 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)32U };

            Cell cell36 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)33U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "1";

            cell36.Append(cellValue2);
            Cell cell37 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)32U };
            Cell cell38 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)33U };
            Cell cell39 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)19U };
            Cell cell40 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)19U };
            Cell cell41 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)19U };
            Cell cell42 = new Cell() { CellReference = "I4", StyleIndex = (UInt32Value)19U };
            Cell cell43 = new Cell() { CellReference = "J4", StyleIndex = (UInt32Value)30U };
            Cell cell44 = new Cell() { CellReference = "K4", StyleIndex = (UInt32Value)2U };

            row4.Append(cell34);
            row4.Append(cell35);
            row4.Append(cell36);
            row4.Append(cell37);
            row4.Append(cell38);
            row4.Append(cell39);
            row4.Append(cell40);
            row4.Append(cell41);
            row4.Append(cell42);
            row4.Append(cell43);
            row4.Append(cell44);

            Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell45 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)29U };
            Cell cell46 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)19U };
            Cell cell47 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)19U };
            Cell cell48 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)19U };
            Cell cell49 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)19U };
            Cell cell50 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)19U };
            Cell cell51 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)19U };
            Cell cell52 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)19U };
            Cell cell53 = new Cell() { CellReference = "I5", StyleIndex = (UInt32Value)19U };
            Cell cell54 = new Cell() { CellReference = "J5", StyleIndex = (UInt32Value)30U };
            Cell cell55 = new Cell() { CellReference = "K5", StyleIndex = (UInt32Value)2U };

            row5.Append(cell45);
            row5.Append(cell46);
            row5.Append(cell47);
            row5.Append(cell48);
            row5.Append(cell49);
            row5.Append(cell50);
            row5.Append(cell51);
            row5.Append(cell52);
            row5.Append(cell53);
            row5.Append(cell54);
            row5.Append(cell55);

            Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:11" }, Height = 15.75D, ThickBot = true };
            Cell cell56 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)29U };
            Cell cell57 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)19U };
            Cell cell58 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)19U };
            Cell cell59 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)19U };
            Cell cell60 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)19U };
            Cell cell61 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)19U };
            Cell cell62 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)19U };
            Cell cell63 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)19U };
            Cell cell64 = new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)19U };
            Cell cell65 = new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)30U };
            Cell cell66 = new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)1U };

            row6.Append(cell56);
            row6.Append(cell57);
            row6.Append(cell58);
            row6.Append(cell59);
            row6.Append(cell60);
            row6.Append(cell61);
            row6.Append(cell62);
            row6.Append(cell63);
            row6.Append(cell64);
            row6.Append(cell65);
            row6.Append(cell66);

            Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:11" }, Height = 20.25D, ThickBot = true };
            Cell cell67 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)34U };
            Cell cell68 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)35U };
            Cell cell69 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)35U };

            Cell cell70 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)36U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "2";

            cell70.Append(cellValue3);
            Cell cell71 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)35U };
            Cell cell72 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)35U };
            Cell cell73 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)35U };
            Cell cell74 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)35U };
            Cell cell75 = new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)37U };
            Cell cell76 = new Cell() { CellReference = "J7", StyleIndex = (UInt32Value)38U };
            Cell cell77 = new Cell() { CellReference = "K7", StyleIndex = (UInt32Value)1U };

            row7.Append(cell67);
            row7.Append(cell68);
            row7.Append(cell69);
            row7.Append(cell70);
            row7.Append(cell71);
            row7.Append(cell72);
            row7.Append(cell73);
            row7.Append(cell74);
            row7.Append(cell75);
            row7.Append(cell76);
            row7.Append(cell77);

            Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell78 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)29U };
            Cell cell79 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)19U };
            Cell cell80 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)19U };
            Cell cell81 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)19U };
            Cell cell82 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)19U };
            Cell cell83 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)19U };
            Cell cell84 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)19U };
            Cell cell85 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)19U };
            Cell cell86 = new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)19U };
            Cell cell87 = new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)30U };
            Cell cell88 = new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)1U };

            row8.Append(cell78);
            row8.Append(cell79);
            row8.Append(cell80);
            row8.Append(cell81);
            row8.Append(cell82);
            row8.Append(cell83);
            row8.Append(cell84);
            row8.Append(cell85);
            row8.Append(cell86);
            row8.Append(cell87);
            row8.Append(cell88);

            Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell89 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "3";

            cell89.Append(cellValue4);
            Cell cell90 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)39U };
            Cell cell91 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)39U };
            Cell cell92 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)19U };
            Cell cell93 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)19U };
            Cell cell94 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)40U };
            Cell cell95 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)19U };
            Cell cell96 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)19U };
            Cell cell97 = new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)19U };
            Cell cell98 = new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)30U };
            Cell cell99 = new Cell() { CellReference = "K9", StyleIndex = (UInt32Value)2U };

            row9.Append(cell89);
            row9.Append(cell90);
            row9.Append(cell91);
            row9.Append(cell92);
            row9.Append(cell93);
            row9.Append(cell94);
            row9.Append(cell95);
            row9.Append(cell96);
            row9.Append(cell97);
            row9.Append(cell98);
            row9.Append(cell99);

            Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell100 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "4";

            cell100.Append(cellValue5);
            Cell cell101 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)41U };
            Cell cell102 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)19U };
            Cell cell103 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)19U };
            Cell cell104 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)19U };
            Cell cell105 = new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)41U };
            Cell cell106 = new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)19U };
            Cell cell107 = new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)19U };
            Cell cell108 = new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)19U };
            Cell cell109 = new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)30U };
            Cell cell110 = new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)2U };

            row10.Append(cell100);
            row10.Append(cell101);
            row10.Append(cell102);
            row10.Append(cell103);
            row10.Append(cell104);
            row10.Append(cell105);
            row10.Append(cell106);
            row10.Append(cell107);
            row10.Append(cell108);
            row10.Append(cell109);
            row10.Append(cell110);

            Row row11 = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell111 = new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "5";

            cell111.Append(cellValue6);
            Cell cell112 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)41U };
            Cell cell113 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)19U };
            Cell cell114 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)19U };
            Cell cell115 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)19U };
            Cell cell116 = new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)41U };
            Cell cell117 = new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)19U };
            Cell cell118 = new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)19U };
            Cell cell119 = new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)19U };
            Cell cell120 = new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)30U };
            Cell cell121 = new Cell() { CellReference = "K11", StyleIndex = (UInt32Value)2U };

            row11.Append(cell111);
            row11.Append(cell112);
            row11.Append(cell113);
            row11.Append(cell114);
            row11.Append(cell115);
            row11.Append(cell116);
            row11.Append(cell117);
            row11.Append(cell118);
            row11.Append(cell119);
            row11.Append(cell120);
            row11.Append(cell121);

            Row row12 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell122 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "6";

            cell122.Append(cellValue7);
            Cell cell123 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)42U };
            Cell cell124 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)19U };
            Cell cell125 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)19U };
            Cell cell126 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)19U };
            Cell cell127 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)43U };
            Cell cell128 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)19U };
            Cell cell129 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)19U };
            Cell cell130 = new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)19U };
            Cell cell131 = new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)30U };
            Cell cell132 = new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)2U };

            row12.Append(cell122);
            row12.Append(cell123);
            row12.Append(cell124);
            row12.Append(cell125);
            row12.Append(cell126);
            row12.Append(cell127);
            row12.Append(cell128);
            row12.Append(cell129);
            row12.Append(cell130);
            row12.Append(cell131);
            row12.Append(cell132);

            Row row13 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell133 = new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "7";

            cell133.Append(cellValue8);
            Cell cell134 = new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)41U };
            Cell cell135 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)19U };
            Cell cell136 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)19U };
            Cell cell137 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)19U };
            Cell cell138 = new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)19U };
            Cell cell139 = new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)19U };
            Cell cell140 = new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)44U };
            Cell cell141 = new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)19U };
            Cell cell142 = new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)30U };
            Cell cell143 = new Cell() { CellReference = "K13", StyleIndex = (UInt32Value)1U };

            row13.Append(cell133);
            row13.Append(cell134);
            row13.Append(cell135);
            row13.Append(cell136);
            row13.Append(cell137);
            row13.Append(cell138);
            row13.Append(cell139);
            row13.Append(cell140);
            row13.Append(cell141);
            row13.Append(cell142);
            row13.Append(cell143);

            Row row14 = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell144 = new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)29U, DataType = CellValues.SharedString };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "8";

            cell144.Append(cellValue9);
            Cell cell145 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)41U };
            Cell cell146 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)19U };
            Cell cell147 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)19U };
            Cell cell148 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)19U };
            Cell cell149 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)45U };
            Cell cell150 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)46U };
            Cell cell151 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)19U };
            Cell cell152 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)19U };
            Cell cell153 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)30U };
            Cell cell154 = new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)2U };

            row14.Append(cell144);
            row14.Append(cell145);
            row14.Append(cell146);
            row14.Append(cell147);
            row14.Append(cell148);
            row14.Append(cell149);
            row14.Append(cell150);
            row14.Append(cell151);
            row14.Append(cell152);
            row14.Append(cell153);
            row14.Append(cell154);

            Row row15 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell155 = new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)5U, DataType = CellValues.SharedString };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "9";

            cell155.Append(cellValue10);
            Cell cell156 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)47U };
            Cell cell157 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)6U };
            Cell cell158 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)6U };
            Cell cell159 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)6U };
            Cell cell160 = new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)6U };
            Cell cell161 = new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)6U };
            Cell cell162 = new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)6U };
            Cell cell163 = new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)6U };
            Cell cell164 = new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)7U };
            Cell cell165 = new Cell() { CellReference = "K15", StyleIndex = (UInt32Value)2U };

            row15.Append(cell155);
            row15.Append(cell156);
            row15.Append(cell157);
            row15.Append(cell158);
            row15.Append(cell159);
            row15.Append(cell160);
            row15.Append(cell161);
            row15.Append(cell162);
            row15.Append(cell163);
            row15.Append(cell164);
            row15.Append(cell165);

            Row row16 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell166 = new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)5U };
            Cell cell167 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)6U };
            Cell cell168 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)6U };
            Cell cell169 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)6U };
            Cell cell170 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)6U };
            Cell cell171 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)6U };
            Cell cell172 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)6U };
            Cell cell173 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)6U };
            Cell cell174 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)6U };
            Cell cell175 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)7U };
            Cell cell176 = new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)2U };

            row16.Append(cell166);
            row16.Append(cell167);
            row16.Append(cell168);
            row16.Append(cell169);
            row16.Append(cell170);
            row16.Append(cell171);
            row16.Append(cell172);
            row16.Append(cell173);
            row16.Append(cell174);
            row16.Append(cell175);
            row16.Append(cell176);

            Row row17 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell177 = new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)5U };
            Cell cell178 = new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)6U };
            Cell cell179 = new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)6U };
            Cell cell180 = new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)6U };
            Cell cell181 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)6U };
            Cell cell182 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)6U };
            Cell cell183 = new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)6U };
            Cell cell184 = new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)6U };
            Cell cell185 = new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)6U };
            Cell cell186 = new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)7U };
            Cell cell187 = new Cell() { CellReference = "K17", StyleIndex = (UInt32Value)2U };

            row17.Append(cell177);
            row17.Append(cell178);
            row17.Append(cell179);
            row17.Append(cell180);
            row17.Append(cell181);
            row17.Append(cell182);
            row17.Append(cell183);
            row17.Append(cell184);
            row17.Append(cell185);
            row17.Append(cell186);
            row17.Append(cell187);

            Row row18 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell188 = new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)5U };
            Cell cell189 = new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)6U };
            Cell cell190 = new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)6U };
            Cell cell191 = new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)6U };
            Cell cell192 = new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)6U };
            Cell cell193 = new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)6U };
            Cell cell194 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)6U };
            Cell cell195 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)6U };
            Cell cell196 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)6U };
            Cell cell197 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)7U };
            Cell cell198 = new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)1U };

            row18.Append(cell188);
            row18.Append(cell189);
            row18.Append(cell190);
            row18.Append(cell191);
            row18.Append(cell192);
            row18.Append(cell193);
            row18.Append(cell194);
            row18.Append(cell195);
            row18.Append(cell196);
            row18.Append(cell197);
            row18.Append(cell198);

            Row row19 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell199 = new Cell() { CellReference = "A19", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "10";

            cell199.Append(cellValue11);

            Cell cell200 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "11";

            cell200.Append(cellValue12);

            Cell cell201 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "12";

            cell201.Append(cellValue13);

            Cell cell202 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "13";

            cell202.Append(cellValue14);

            Cell cell203 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "14";

            cell203.Append(cellValue15);

            Cell cell204 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "15";

            cell204.Append(cellValue16);

            Cell cell205 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "16";

            cell205.Append(cellValue17);

            Cell cell206 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "17";

            cell206.Append(cellValue18);
            Cell cell207 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)6U };
            Cell cell208 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)7U };
            Cell cell209 = new Cell() { CellReference = "K19", StyleIndex = (UInt32Value)2U };

            row19.Append(cell199);
            row19.Append(cell200);
            row19.Append(cell201);
            row19.Append(cell202);
            row19.Append(cell203);
            row19.Append(cell204);
            row19.Append(cell205);
            row19.Append(cell206);
            row19.Append(cell207);
            row19.Append(cell208);
            row19.Append(cell209);

            Row row20 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell210 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)10U };
            Cell cell211 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)10U };
            Cell cell212 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)10U };
            Cell cell213 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)10U };
            Cell cell214 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)10U };
            Cell cell215 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)10U };
            Cell cell216 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)10U };
            Cell cell217 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)10U };
            Cell cell218 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)6U };
            Cell cell219 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)7U };
            Cell cell220 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)2U };

            row20.Append(cell210);
            row20.Append(cell211);
            row20.Append(cell212);
            row20.Append(cell213);
            row20.Append(cell214);
            row20.Append(cell215);
            row20.Append(cell216);
            row20.Append(cell217);
            row20.Append(cell218);
            row20.Append(cell219);
            row20.Append(cell220);

            Row row21 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell221 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)11U };
            Cell cell222 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)12U };
            Cell cell223 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)12U };
            Cell cell224 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)12U };
            Cell cell225 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)12U };
            Cell cell226 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)12U };
            Cell cell227 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)12U };
            Cell cell228 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)12U };
            Cell cell229 = new Cell() { CellReference = "I21", StyleIndex = (UInt32Value)6U };
            Cell cell230 = new Cell() { CellReference = "J21", StyleIndex = (UInt32Value)7U };
            Cell cell231 = new Cell() { CellReference = "K21", StyleIndex = (UInt32Value)2U };

            row21.Append(cell221);
            row21.Append(cell222);
            row21.Append(cell223);
            row21.Append(cell224);
            row21.Append(cell225);
            row21.Append(cell226);
            row21.Append(cell227);
            row21.Append(cell228);
            row21.Append(cell229);
            row21.Append(cell230);
            row21.Append(cell231);

            Row row22 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell232 = new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)13U };

            Cell cell233 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula1 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "B22:H22", SharedIndex = (UInt32Value)0U };
            cellFormula1.Text = "COUNTA(B21:B21)";
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "0";

            cell233.Append(cellFormula1);
            cell233.Append(cellValue19);

            Cell cell234 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula2 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula2.Text = "";
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "0";

            cell234.Append(cellFormula2);
            cell234.Append(cellValue20);

            Cell cell235 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula3 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula3.Text = "";
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "0";

            cell235.Append(cellFormula3);
            cell235.Append(cellValue21);

            Cell cell236 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula4 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula4.Text = "";
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "0";

            cell236.Append(cellFormula4);
            cell236.Append(cellValue22);

            Cell cell237 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula5 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula5.Text = "";
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "0";

            cell237.Append(cellFormula5);
            cell237.Append(cellValue23);

            Cell cell238 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula6 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula6.Text = "";
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "0";

            cell238.Append(cellFormula6);
            cell238.Append(cellValue24);

            Cell cell239 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula7 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula7.Text = "";
            CellValue cellValue25 = new CellValue();
            cellValue25.Text = "0";

            cell239.Append(cellFormula7);
            cell239.Append(cellValue25);
            Cell cell240 = new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)6U };

            Cell cell241 = new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula8 = new CellFormula();
            cellFormula8.Text = "SUM(B22:H22)";
            CellValue cellValue26 = new CellValue();
            cellValue26.Text = "0";

            cell241.Append(cellFormula8);
            cell241.Append(cellValue26);
            Cell cell242 = new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)1U };

            row22.Append(cell232);
            row22.Append(cell233);
            row22.Append(cell234);
            row22.Append(cell235);
            row22.Append(cell236);
            row22.Append(cell237);
            row22.Append(cell238);
            row22.Append(cell239);
            row22.Append(cell240);
            row22.Append(cell241);
            row22.Append(cell242);

            Row row23 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell243 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)6U };
            Cell cell244 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)6U };
            Cell cell245 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)6U };
            Cell cell246 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)6U };
            Cell cell247 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)6U };
            Cell cell248 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)6U };
            Cell cell249 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)6U };
            Cell cell250 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)6U };
            Cell cell251 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)6U };
            Cell cell252 = new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)7U };
            Cell cell253 = new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)2U };

            row23.Append(cell243);
            row23.Append(cell244);
            row23.Append(cell245);
            row23.Append(cell246);
            row23.Append(cell247);
            row23.Append(cell248);
            row23.Append(cell249);
            row23.Append(cell250);
            row23.Append(cell251);
            row23.Append(cell252);
            row23.Append(cell253);

            Row row24 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell254 = new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue27 = new CellValue();
            cellValue27.Text = "10";

            cell254.Append(cellValue27);

            Cell cell255 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue28 = new CellValue();
            cellValue28.Text = "11";

            cell255.Append(cellValue28);

            Cell cell256 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue29 = new CellValue();
            cellValue29.Text = "12";

            cell256.Append(cellValue29);

            Cell cell257 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue30 = new CellValue();
            cellValue30.Text = "13";

            cell257.Append(cellValue30);

            Cell cell258 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue31 = new CellValue();
            cellValue31.Text = "14";

            cell258.Append(cellValue31);

            Cell cell259 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue32 = new CellValue();
            cellValue32.Text = "15";

            cell259.Append(cellValue32);

            Cell cell260 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue33 = new CellValue();
            cellValue33.Text = "16";

            cell260.Append(cellValue33);

            Cell cell261 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue34 = new CellValue();
            cellValue34.Text = "17";

            cell261.Append(cellValue34);
            Cell cell262 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)6U };
            Cell cell263 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)7U };
            Cell cell264 = new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)2U };

            row24.Append(cell254);
            row24.Append(cell255);
            row24.Append(cell256);
            row24.Append(cell257);
            row24.Append(cell258);
            row24.Append(cell259);
            row24.Append(cell260);
            row24.Append(cell261);
            row24.Append(cell262);
            row24.Append(cell263);
            row24.Append(cell264);

            Row row25 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell265 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)10U };
            Cell cell266 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)10U };
            Cell cell267 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)10U };
            Cell cell268 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)10U };
            Cell cell269 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)10U };
            Cell cell270 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)10U };
            Cell cell271 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)10U };
            Cell cell272 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)10U };
            Cell cell273 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)6U };
            Cell cell274 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)7U };
            Cell cell275 = new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)2U };

            row25.Append(cell265);
            row25.Append(cell266);
            row25.Append(cell267);
            row25.Append(cell268);
            row25.Append(cell269);
            row25.Append(cell270);
            row25.Append(cell271);
            row25.Append(cell272);
            row25.Append(cell273);
            row25.Append(cell274);
            row25.Append(cell275);

            Row row26 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell276 = new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)11U };
            Cell cell277 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)12U };
            Cell cell278 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)12U };
            Cell cell279 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)12U };
            Cell cell280 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)12U };
            Cell cell281 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)12U };
            Cell cell282 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)12U };
            Cell cell283 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)12U };
            Cell cell284 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)6U };
            Cell cell285 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)15U };
            Cell cell286 = new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)1U };

            row26.Append(cell276);
            row26.Append(cell277);
            row26.Append(cell278);
            row26.Append(cell279);
            row26.Append(cell280);
            row26.Append(cell281);
            row26.Append(cell282);
            row26.Append(cell283);
            row26.Append(cell284);
            row26.Append(cell285);
            row26.Append(cell286);

            Row row27 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell287 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)13U };

            Cell cell288 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula9 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "B27:H27", SharedIndex = (UInt32Value)1U };
            cellFormula9.Text = "COUNTA(B26:B26)";
            CellValue cellValue35 = new CellValue();
            cellValue35.Text = "0";

            cell288.Append(cellFormula9);
            cell288.Append(cellValue35);

            Cell cell289 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula10 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula10.Text = "";
            CellValue cellValue36 = new CellValue();
            cellValue36.Text = "0";

            cell289.Append(cellFormula10);
            cell289.Append(cellValue36);

            Cell cell290 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula11 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula11.Text = "";
            CellValue cellValue37 = new CellValue();
            cellValue37.Text = "0";

            cell290.Append(cellFormula11);
            cell290.Append(cellValue37);

            Cell cell291 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula12 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula12.Text = "";
            CellValue cellValue38 = new CellValue();
            cellValue38.Text = "0";

            cell291.Append(cellFormula12);
            cell291.Append(cellValue38);

            Cell cell292 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula13 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula13.Text = "";
            CellValue cellValue39 = new CellValue();
            cellValue39.Text = "0";

            cell292.Append(cellFormula13);
            cell292.Append(cellValue39);

            Cell cell293 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula14 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula14.Text = "";
            CellValue cellValue40 = new CellValue();
            cellValue40.Text = "0";

            cell293.Append(cellFormula14);
            cell293.Append(cellValue40);

            Cell cell294 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)14U };
            CellFormula cellFormula15 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)1U };
            cellFormula15.Text = "";
            CellValue cellValue41 = new CellValue();
            cellValue41.Text = "0";

            cell294.Append(cellFormula15);
            cell294.Append(cellValue41);
            Cell cell295 = new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)6U };

            Cell cell296 = new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula16 = new CellFormula();
            cellFormula16.Text = "SUM(B27:H27)";
            CellValue cellValue42 = new CellValue();
            cellValue42.Text = "0";

            cell296.Append(cellFormula16);
            cell296.Append(cellValue42);
            Cell cell297 = new Cell() { CellReference = "K27", StyleIndex = (UInt32Value)2U };

            row27.Append(cell287);
            row27.Append(cell288);
            row27.Append(cell289);
            row27.Append(cell290);
            row27.Append(cell291);
            row27.Append(cell292);
            row27.Append(cell293);
            row27.Append(cell294);
            row27.Append(cell295);
            row27.Append(cell296);
            row27.Append(cell297);

            Row row28 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell298 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)6U };
            Cell cell299 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)6U };
            Cell cell300 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)6U };
            Cell cell301 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)6U };
            Cell cell302 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)6U };
            Cell cell303 = new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)6U };
            Cell cell304 = new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)6U };
            Cell cell305 = new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)6U };
            Cell cell306 = new Cell() { CellReference = "I28", StyleIndex = (UInt32Value)6U };
            Cell cell307 = new Cell() { CellReference = "J28", StyleIndex = (UInt32Value)7U };
            Cell cell308 = new Cell() { CellReference = "K28", StyleIndex = (UInt32Value)2U };

            row28.Append(cell298);
            row28.Append(cell299);
            row28.Append(cell300);
            row28.Append(cell301);
            row28.Append(cell302);
            row28.Append(cell303);
            row28.Append(cell304);
            row28.Append(cell305);
            row28.Append(cell306);
            row28.Append(cell307);
            row28.Append(cell308);

            Row row29 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell309 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue43 = new CellValue();
            cellValue43.Text = "10";

            cell309.Append(cellValue43);

            Cell cell310 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue44 = new CellValue();
            cellValue44.Text = "11";

            cell310.Append(cellValue44);

            Cell cell311 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue45 = new CellValue();
            cellValue45.Text = "12";

            cell311.Append(cellValue45);

            Cell cell312 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue46 = new CellValue();
            cellValue46.Text = "13";

            cell312.Append(cellValue46);

            Cell cell313 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue47 = new CellValue();
            cellValue47.Text = "14";

            cell313.Append(cellValue47);

            Cell cell314 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue48 = new CellValue();
            cellValue48.Text = "15";

            cell314.Append(cellValue48);

            Cell cell315 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue49 = new CellValue();
            cellValue49.Text = "16";

            cell315.Append(cellValue49);

            Cell cell316 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue50 = new CellValue();
            cellValue50.Text = "17";

            cell316.Append(cellValue50);
            Cell cell317 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)6U };
            Cell cell318 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)7U };
            Cell cell319 = new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)2U };

            row29.Append(cell309);
            row29.Append(cell310);
            row29.Append(cell311);
            row29.Append(cell312);
            row29.Append(cell313);
            row29.Append(cell314);
            row29.Append(cell315);
            row29.Append(cell316);
            row29.Append(cell317);
            row29.Append(cell318);
            row29.Append(cell319);

            Row row30 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell320 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)10U };
            Cell cell321 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)10U };
            Cell cell322 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)10U };
            Cell cell323 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)10U };
            Cell cell324 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)10U };
            Cell cell325 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)10U };
            Cell cell326 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)10U };
            Cell cell327 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)10U };
            Cell cell328 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)6U };
            Cell cell329 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)7U };
            Cell cell330 = new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)1U };

            row30.Append(cell320);
            row30.Append(cell321);
            row30.Append(cell322);
            row30.Append(cell323);
            row30.Append(cell324);
            row30.Append(cell325);
            row30.Append(cell326);
            row30.Append(cell327);
            row30.Append(cell328);
            row30.Append(cell329);
            row30.Append(cell330);

            Row row31 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell331 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)11U };
            Cell cell332 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)12U };
            Cell cell333 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)12U };
            Cell cell334 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)12U };
            Cell cell335 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)12U };
            Cell cell336 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)12U };
            Cell cell337 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)12U };
            Cell cell338 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)12U };
            Cell cell339 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)6U };
            Cell cell340 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)7U };
            Cell cell341 = new Cell() { CellReference = "K31", StyleIndex = (UInt32Value)2U };

            row31.Append(cell331);
            row31.Append(cell332);
            row31.Append(cell333);
            row31.Append(cell334);
            row31.Append(cell335);
            row31.Append(cell336);
            row31.Append(cell337);
            row31.Append(cell338);
            row31.Append(cell339);
            row31.Append(cell340);
            row31.Append(cell341);

            Row row32 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell342 = new Cell() { CellReference = "A32", StyleIndex = (UInt32Value)13U };
            Cell cell343 = new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)14U };
            Cell cell344 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)14U };
            Cell cell345 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)14U };
            Cell cell346 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)14U };
            Cell cell347 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)14U };
            Cell cell348 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)14U };
            Cell cell349 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)14U };
            Cell cell350 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)6U };

            Cell cell351 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula17 = new CellFormula();
            cellFormula17.Text = "SUM(B32:H32)";
            CellValue cellValue51 = new CellValue();
            cellValue51.Text = "0";

            cell351.Append(cellFormula17);
            cell351.Append(cellValue51);
            Cell cell352 = new Cell() { CellReference = "K32", StyleIndex = (UInt32Value)2U };

            row32.Append(cell342);
            row32.Append(cell343);
            row32.Append(cell344);
            row32.Append(cell345);
            row32.Append(cell346);
            row32.Append(cell347);
            row32.Append(cell348);
            row32.Append(cell349);
            row32.Append(cell350);
            row32.Append(cell351);
            row32.Append(cell352);

            Row row33 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell353 = new Cell() { CellReference = "A33", StyleIndex = (UInt32Value)6U };
            Cell cell354 = new Cell() { CellReference = "B33", StyleIndex = (UInt32Value)6U };
            Cell cell355 = new Cell() { CellReference = "C33", StyleIndex = (UInt32Value)6U };
            Cell cell356 = new Cell() { CellReference = "D33", StyleIndex = (UInt32Value)6U };
            Cell cell357 = new Cell() { CellReference = "E33", StyleIndex = (UInt32Value)6U };
            Cell cell358 = new Cell() { CellReference = "F33", StyleIndex = (UInt32Value)6U };
            Cell cell359 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)6U };
            Cell cell360 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)6U };
            Cell cell361 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)6U };
            Cell cell362 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)7U };
            Cell cell363 = new Cell() { CellReference = "K33", StyleIndex = (UInt32Value)2U };

            row33.Append(cell353);
            row33.Append(cell354);
            row33.Append(cell355);
            row33.Append(cell356);
            row33.Append(cell357);
            row33.Append(cell358);
            row33.Append(cell359);
            row33.Append(cell360);
            row33.Append(cell361);
            row33.Append(cell362);
            row33.Append(cell363);

            Row row34 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell364 = new Cell() { CellReference = "A34", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue52 = new CellValue();
            cellValue52.Text = "10";

            cell364.Append(cellValue52);

            Cell cell365 = new Cell() { CellReference = "B34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue53 = new CellValue();
            cellValue53.Text = "11";

            cell365.Append(cellValue53);

            Cell cell366 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue54 = new CellValue();
            cellValue54.Text = "12";

            cell366.Append(cellValue54);

            Cell cell367 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue55 = new CellValue();
            cellValue55.Text = "13";

            cell367.Append(cellValue55);

            Cell cell368 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue56 = new CellValue();
            cellValue56.Text = "14";

            cell368.Append(cellValue56);

            Cell cell369 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue57 = new CellValue();
            cellValue57.Text = "15";

            cell369.Append(cellValue57);

            Cell cell370 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue58 = new CellValue();
            cellValue58.Text = "16";

            cell370.Append(cellValue58);

            Cell cell371 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue59 = new CellValue();
            cellValue59.Text = "17";

            cell371.Append(cellValue59);
            Cell cell372 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)6U };

            Cell cell373 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula18 = new CellFormula();
            cellFormula18.Text = "SUM(B36:H36)";
            CellValue cellValue60 = new CellValue();
            cellValue60.Text = "0";

            cell373.Append(cellFormula18);
            cell373.Append(cellValue60);
            Cell cell374 = new Cell() { CellReference = "K34", StyleIndex = (UInt32Value)1U };

            row34.Append(cell364);
            row34.Append(cell365);
            row34.Append(cell366);
            row34.Append(cell367);
            row34.Append(cell368);
            row34.Append(cell369);
            row34.Append(cell370);
            row34.Append(cell371);
            row34.Append(cell372);
            row34.Append(cell373);
            row34.Append(cell374);

            Row row35 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell375 = new Cell() { CellReference = "A35", StyleIndex = (UInt32Value)10U };
            Cell cell376 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)10U };
            Cell cell377 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)10U };
            Cell cell378 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)10U };
            Cell cell379 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)10U };
            Cell cell380 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)10U };
            Cell cell381 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)10U };
            Cell cell382 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)10U };
            Cell cell383 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)6U };
            Cell cell384 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)7U };
            Cell cell385 = new Cell() { CellReference = "K35", StyleIndex = (UInt32Value)2U };

            row35.Append(cell375);
            row35.Append(cell376);
            row35.Append(cell377);
            row35.Append(cell378);
            row35.Append(cell379);
            row35.Append(cell380);
            row35.Append(cell381);
            row35.Append(cell382);
            row35.Append(cell383);
            row35.Append(cell384);
            row35.Append(cell385);

            Row row36 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell386 = new Cell() { CellReference = "A36", StyleIndex = (UInt32Value)11U };
            Cell cell387 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)12U };
            Cell cell388 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)12U };
            Cell cell389 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)12U };
            Cell cell390 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)12U };
            Cell cell391 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)12U };
            Cell cell392 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)12U };
            Cell cell393 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)12U };
            Cell cell394 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)6U };
            Cell cell395 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)7U };
            Cell cell396 = new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)2U };

            row36.Append(cell386);
            row36.Append(cell387);
            row36.Append(cell388);
            row36.Append(cell389);
            row36.Append(cell390);
            row36.Append(cell391);
            row36.Append(cell392);
            row36.Append(cell393);
            row36.Append(cell394);
            row36.Append(cell395);
            row36.Append(cell396);

            Row row37 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell397 = new Cell() { CellReference = "A37", StyleIndex = (UInt32Value)13U };
            Cell cell398 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)14U };
            Cell cell399 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)14U };
            Cell cell400 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)14U };
            Cell cell401 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)14U };
            Cell cell402 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)14U };
            Cell cell403 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)14U };
            Cell cell404 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)14U };
            Cell cell405 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)6U };

            Cell cell406 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula19 = new CellFormula();
            cellFormula19.Text = "SUM(B37:H37)";
            CellValue cellValue61 = new CellValue();
            cellValue61.Text = "0";

            cell406.Append(cellFormula19);
            cell406.Append(cellValue61);
            Cell cell407 = new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)2U };

            row37.Append(cell397);
            row37.Append(cell398);
            row37.Append(cell399);
            row37.Append(cell400);
            row37.Append(cell401);
            row37.Append(cell402);
            row37.Append(cell403);
            row37.Append(cell404);
            row37.Append(cell405);
            row37.Append(cell406);
            row37.Append(cell407);

            Row row38 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell408 = new Cell() { CellReference = "A38", StyleIndex = (UInt32Value)6U };
            Cell cell409 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)6U };
            Cell cell410 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)6U };
            Cell cell411 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)6U };
            Cell cell412 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)6U };
            Cell cell413 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)6U };
            Cell cell414 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)6U };
            Cell cell415 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)6U };
            Cell cell416 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)6U };
            Cell cell417 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)15U };
            Cell cell418 = new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)2U };

            row38.Append(cell408);
            row38.Append(cell409);
            row38.Append(cell410);
            row38.Append(cell411);
            row38.Append(cell412);
            row38.Append(cell413);
            row38.Append(cell414);
            row38.Append(cell415);
            row38.Append(cell416);
            row38.Append(cell417);
            row38.Append(cell418);

            Row row39 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };

            Cell cell419 = new Cell() { CellReference = "A39", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue62 = new CellValue();
            cellValue62.Text = "10";

            cell419.Append(cellValue62);

            Cell cell420 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue63 = new CellValue();
            cellValue63.Text = "11";

            cell420.Append(cellValue63);

            Cell cell421 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue64 = new CellValue();
            cellValue64.Text = "12";

            cell421.Append(cellValue64);

            Cell cell422 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue65 = new CellValue();
            cellValue65.Text = "13";

            cell422.Append(cellValue65);

            Cell cell423 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue66 = new CellValue();
            cellValue66.Text = "14";

            cell423.Append(cellValue66);

            Cell cell424 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue67 = new CellValue();
            cellValue67.Text = "15";

            cell424.Append(cellValue67);

            Cell cell425 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue68 = new CellValue();
            cellValue68.Text = "16";

            cell425.Append(cellValue68);

            Cell cell426 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue69 = new CellValue();
            cellValue69.Text = "17";

            cell426.Append(cellValue69);
            Cell cell427 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)6U };
            Cell cell428 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)7U };
            Cell cell429 = new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)1U };

            row39.Append(cell419);
            row39.Append(cell420);
            row39.Append(cell421);
            row39.Append(cell422);
            row39.Append(cell423);
            row39.Append(cell424);
            row39.Append(cell425);
            row39.Append(cell426);
            row39.Append(cell427);
            row39.Append(cell428);
            row39.Append(cell429);

            Row row40 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell430 = new Cell() { CellReference = "A40", StyleIndex = (UInt32Value)10U };
            Cell cell431 = new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)10U };
            Cell cell432 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)10U };
            Cell cell433 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)10U };
            Cell cell434 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)10U };
            Cell cell435 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)10U };
            Cell cell436 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)10U };
            Cell cell437 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)10U };
            Cell cell438 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)6U };
            Cell cell439 = new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)7U };
            Cell cell440 = new Cell() { CellReference = "K40", StyleIndex = (UInt32Value)3U };

            row40.Append(cell430);
            row40.Append(cell431);
            row40.Append(cell432);
            row40.Append(cell433);
            row40.Append(cell434);
            row40.Append(cell435);
            row40.Append(cell436);
            row40.Append(cell437);
            row40.Append(cell438);
            row40.Append(cell439);
            row40.Append(cell440);

            Row row41 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell441 = new Cell() { CellReference = "A41", StyleIndex = (UInt32Value)11U };
            Cell cell442 = new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)12U };
            Cell cell443 = new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)12U };
            Cell cell444 = new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)12U };
            Cell cell445 = new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)12U };
            Cell cell446 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)12U };
            Cell cell447 = new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)12U };
            Cell cell448 = new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)12U };
            Cell cell449 = new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)6U };
            Cell cell450 = new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)4U };
            Cell cell451 = new Cell() { CellReference = "K41", StyleIndex = (UInt32Value)3U };

            row41.Append(cell441);
            row41.Append(cell442);
            row41.Append(cell443);
            row41.Append(cell444);
            row41.Append(cell445);
            row41.Append(cell446);
            row41.Append(cell447);
            row41.Append(cell448);
            row41.Append(cell449);
            row41.Append(cell450);
            row41.Append(cell451);

            Row row42 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell452 = new Cell() { CellReference = "A42", StyleIndex = (UInt32Value)13U };
            Cell cell453 = new Cell() { CellReference = "B42", StyleIndex = (UInt32Value)14U };
            Cell cell454 = new Cell() { CellReference = "C42", StyleIndex = (UInt32Value)14U };
            Cell cell455 = new Cell() { CellReference = "D42", StyleIndex = (UInt32Value)14U };
            Cell cell456 = new Cell() { CellReference = "E42", StyleIndex = (UInt32Value)14U };
            Cell cell457 = new Cell() { CellReference = "F42", StyleIndex = (UInt32Value)14U };
            Cell cell458 = new Cell() { CellReference = "G42", StyleIndex = (UInt32Value)14U };
            Cell cell459 = new Cell() { CellReference = "H42", StyleIndex = (UInt32Value)14U };
            Cell cell460 = new Cell() { CellReference = "I42", StyleIndex = (UInt32Value)3U };

            Cell cell461 = new Cell() { CellReference = "J42", StyleIndex = (UInt32Value)15U };
            CellFormula cellFormula20 = new CellFormula();
            cellFormula20.Text = "SUM(B42:H42)";
            CellValue cellValue70 = new CellValue();
            cellValue70.Text = "0";

            cell461.Append(cellFormula20);
            cell461.Append(cellValue70);
            Cell cell462 = new Cell() { CellReference = "K42", StyleIndex = (UInt32Value)3U };

            row42.Append(cell452);
            row42.Append(cell453);
            row42.Append(cell454);
            row42.Append(cell455);
            row42.Append(cell456);
            row42.Append(cell457);
            row42.Append(cell458);
            row42.Append(cell459);
            row42.Append(cell460);
            row42.Append(cell461);
            row42.Append(cell462);

            Row row43 = new Row() { RowIndex = (UInt32Value)43U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell463 = new Cell() { CellReference = "A43", StyleIndex = (UInt32Value)6U };
            Cell cell464 = new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)6U };
            Cell cell465 = new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)6U };
            Cell cell466 = new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)6U };
            Cell cell467 = new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)6U };
            Cell cell468 = new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)6U };
            Cell cell469 = new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)6U };
            Cell cell470 = new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)6U };
            Cell cell471 = new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)6U };
            Cell cell472 = new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)4U };
            Cell cell473 = new Cell() { CellReference = "K43", StyleIndex = (UInt32Value)3U };

            row43.Append(cell463);
            row43.Append(cell464);
            row43.Append(cell465);
            row43.Append(cell466);
            row43.Append(cell467);
            row43.Append(cell468);
            row43.Append(cell469);
            row43.Append(cell470);
            row43.Append(cell471);
            row43.Append(cell472);
            row43.Append(cell473);

            Row row44 = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell474 = new Cell() { CellReference = "A44", StyleIndex = (UInt32Value)6U };
            Cell cell475 = new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)6U };
            Cell cell476 = new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)6U };
            Cell cell477 = new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)6U };
            Cell cell478 = new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)6U };
            Cell cell479 = new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)19U };
            Cell cell480 = new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)19U };
            Cell cell481 = new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)19U };
            Cell cell482 = new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)19U };
            Cell cell483 = new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)20U };
            Cell cell484 = new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)3U };

            row44.Append(cell474);
            row44.Append(cell475);
            row44.Append(cell476);
            row44.Append(cell477);
            row44.Append(cell478);
            row44.Append(cell479);
            row44.Append(cell480);
            row44.Append(cell481);
            row44.Append(cell482);
            row44.Append(cell483);
            row44.Append(cell484);

            Row row45 = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell485 = new Cell() { CellReference = "A45", StyleIndex = (UInt32Value)6U };
            Cell cell486 = new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)6U };
            Cell cell487 = new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)6U };
            Cell cell488 = new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)6U };
            Cell cell489 = new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)6U };
            Cell cell490 = new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)19U };
            Cell cell491 = new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)19U };
            Cell cell492 = new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)19U };
            Cell cell493 = new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)19U };
            Cell cell494 = new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)20U };
            Cell cell495 = new Cell() { CellReference = "K45", StyleIndex = (UInt32Value)3U };

            row45.Append(cell485);
            row45.Append(cell486);
            row45.Append(cell487);
            row45.Append(cell488);
            row45.Append(cell489);
            row45.Append(cell490);
            row45.Append(cell491);
            row45.Append(cell492);
            row45.Append(cell493);
            row45.Append(cell494);
            row45.Append(cell495);

            Row row46 = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell496 = new Cell() { CellReference = "A46", StyleIndex = (UInt32Value)6U };
            Cell cell497 = new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)6U };
            Cell cell498 = new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)6U };
            Cell cell499 = new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)6U };
            Cell cell500 = new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)6U };
            Cell cell501 = new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)19U };
            Cell cell502 = new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)19U };
            Cell cell503 = new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)19U };
            Cell cell504 = new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)19U };
            Cell cell505 = new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)20U };
            Cell cell506 = new Cell() { CellReference = "K46", StyleIndex = (UInt32Value)3U };

            row46.Append(cell496);
            row46.Append(cell497);
            row46.Append(cell498);
            row46.Append(cell499);
            row46.Append(cell500);
            row46.Append(cell501);
            row46.Append(cell502);
            row46.Append(cell503);
            row46.Append(cell504);
            row46.Append(cell505);
            row46.Append(cell506);

            Row row47 = new Row() { RowIndex = (UInt32Value)47U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell507 = new Cell() { CellReference = "A47", StyleIndex = (UInt32Value)6U };
            Cell cell508 = new Cell() { CellReference = "B47", StyleIndex = (UInt32Value)6U };
            Cell cell509 = new Cell() { CellReference = "C47", StyleIndex = (UInt32Value)6U };
            Cell cell510 = new Cell() { CellReference = "D47", StyleIndex = (UInt32Value)6U };
            Cell cell511 = new Cell() { CellReference = "E47", StyleIndex = (UInt32Value)6U };
            Cell cell512 = new Cell() { CellReference = "F47", StyleIndex = (UInt32Value)21U };

            Cell cell513 = new Cell() { CellReference = "G47", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue71 = new CellValue();
            cellValue71.Text = "18";

            cell513.Append(cellValue71);

            Cell cell514 = new Cell() { CellReference = "H47", StyleIndex = (UInt32Value)23U };
            CellFormula cellFormula21 = new CellFormula();
            cellFormula21.Text = "+J22+J27+J32+J37+J42";
            CellValue cellValue72 = new CellValue();
            cellValue72.Text = "0";

            cell514.Append(cellFormula21);
            cell514.Append(cellValue72);
            Cell cell515 = new Cell() { CellReference = "I47", StyleIndex = (UInt32Value)21U };
            Cell cell516 = new Cell() { CellReference = "J47", StyleIndex = (UInt32Value)20U };
            Cell cell517 = new Cell() { CellReference = "K47", StyleIndex = (UInt32Value)3U };

            row47.Append(cell507);
            row47.Append(cell508);
            row47.Append(cell509);
            row47.Append(cell510);
            row47.Append(cell511);
            row47.Append(cell512);
            row47.Append(cell513);
            row47.Append(cell514);
            row47.Append(cell515);
            row47.Append(cell516);
            row47.Append(cell517);

            Row row48 = new Row() { RowIndex = (UInt32Value)48U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell518 = new Cell() { CellReference = "A48", StyleIndex = (UInt32Value)6U };
            Cell cell519 = new Cell() { CellReference = "B48", StyleIndex = (UInt32Value)6U };
            Cell cell520 = new Cell() { CellReference = "C48", StyleIndex = (UInt32Value)6U };
            Cell cell521 = new Cell() { CellReference = "D48", StyleIndex = (UInt32Value)6U };
            Cell cell522 = new Cell() { CellReference = "E48", StyleIndex = (UInt32Value)6U };
            Cell cell523 = new Cell() { CellReference = "F48", StyleIndex = (UInt32Value)21U };

            Cell cell524 = new Cell() { CellReference = "G48", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue73 = new CellValue();
            cellValue73.Text = "19";

            cell524.Append(cellValue73);

            Cell cell525 = new Cell() { CellReference = "H48", StyleIndex = (UInt32Value)24U };
            CellValue cellValue74 = new CellValue();
            cellValue74.Text = "0";

            cell525.Append(cellValue74);
            Cell cell526 = new Cell() { CellReference = "I48", StyleIndex = (UInt32Value)25U };
            Cell cell527 = new Cell() { CellReference = "J48", StyleIndex = (UInt32Value)20U };
            Cell cell528 = new Cell() { CellReference = "K48", StyleIndex = (UInt32Value)3U };

            row48.Append(cell518);
            row48.Append(cell519);
            row48.Append(cell520);
            row48.Append(cell521);
            row48.Append(cell522);
            row48.Append(cell523);
            row48.Append(cell524);
            row48.Append(cell525);
            row48.Append(cell526);
            row48.Append(cell527);
            row48.Append(cell528);

            Row row49 = new Row() { RowIndex = (UInt32Value)49U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell529 = new Cell() { CellReference = "A49", StyleIndex = (UInt32Value)6U };
            Cell cell530 = new Cell() { CellReference = "B49", StyleIndex = (UInt32Value)6U };
            Cell cell531 = new Cell() { CellReference = "C49", StyleIndex = (UInt32Value)6U };
            Cell cell532 = new Cell() { CellReference = "D49", StyleIndex = (UInt32Value)6U };
            Cell cell533 = new Cell() { CellReference = "E49", StyleIndex = (UInt32Value)6U };
            Cell cell534 = new Cell() { CellReference = "F49", StyleIndex = (UInt32Value)21U };

            Cell cell535 = new Cell() { CellReference = "G49", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue75 = new CellValue();
            cellValue75.Text = "20";

            cell535.Append(cellValue75);

            Cell cell536 = new Cell() { CellReference = "H49", StyleIndex = (UInt32Value)24U };
            CellFormula cellFormula22 = new CellFormula();
            cellFormula22.Text = "+H48*H47";
            CellValue cellValue76 = new CellValue();
            cellValue76.Text = "0";

            cell536.Append(cellFormula22);
            cell536.Append(cellValue76);
            Cell cell537 = new Cell() { CellReference = "I49", StyleIndex = (UInt32Value)25U };
            Cell cell538 = new Cell() { CellReference = "J49", StyleIndex = (UInt32Value)20U };
            Cell cell539 = new Cell() { CellReference = "K49", StyleIndex = (UInt32Value)3U };

            row49.Append(cell529);
            row49.Append(cell530);
            row49.Append(cell531);
            row49.Append(cell532);
            row49.Append(cell533);
            row49.Append(cell534);
            row49.Append(cell535);
            row49.Append(cell536);
            row49.Append(cell537);
            row49.Append(cell538);
            row49.Append(cell539);

            Row row50 = new Row() { RowIndex = (UInt32Value)50U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell540 = new Cell() { CellReference = "A50", StyleIndex = (UInt32Value)6U };
            Cell cell541 = new Cell() { CellReference = "B50", StyleIndex = (UInt32Value)6U };
            Cell cell542 = new Cell() { CellReference = "C50", StyleIndex = (UInt32Value)6U };
            Cell cell543 = new Cell() { CellReference = "D50", StyleIndex = (UInt32Value)6U };
            Cell cell544 = new Cell() { CellReference = "E50", StyleIndex = (UInt32Value)6U };
            Cell cell545 = new Cell() { CellReference = "F50", StyleIndex = (UInt32Value)21U };

            Cell cell546 = new Cell() { CellReference = "G50", StyleIndex = (UInt32Value)26U };
            CellValue cellValue77 = new CellValue();
            cellValue77.Text = "0.21";

            cell546.Append(cellValue77);

            Cell cell547 = new Cell() { CellReference = "H50", StyleIndex = (UInt32Value)24U };
            CellFormula cellFormula23 = new CellFormula();
            cellFormula23.Text = "+H49*0.21";
            CellValue cellValue78 = new CellValue();
            cellValue78.Text = "0";

            cell547.Append(cellFormula23);
            cell547.Append(cellValue78);
            Cell cell548 = new Cell() { CellReference = "I50", StyleIndex = (UInt32Value)25U };
            Cell cell549 = new Cell() { CellReference = "J50", StyleIndex = (UInt32Value)20U };
            Cell cell550 = new Cell() { CellReference = "K50", StyleIndex = (UInt32Value)3U };

            row50.Append(cell540);
            row50.Append(cell541);
            row50.Append(cell542);
            row50.Append(cell543);
            row50.Append(cell544);
            row50.Append(cell545);
            row50.Append(cell546);
            row50.Append(cell547);
            row50.Append(cell548);
            row50.Append(cell549);
            row50.Append(cell550);

            Row row51 = new Row() { RowIndex = (UInt32Value)51U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell551 = new Cell() { CellReference = "A51", StyleIndex = (UInt32Value)3U };
            Cell cell552 = new Cell() { CellReference = "B51", StyleIndex = (UInt32Value)3U };
            Cell cell553 = new Cell() { CellReference = "C51", StyleIndex = (UInt32Value)3U };
            Cell cell554 = new Cell() { CellReference = "D51", StyleIndex = (UInt32Value)3U };
            Cell cell555 = new Cell() { CellReference = "E51", StyleIndex = (UInt32Value)3U };
            Cell cell556 = new Cell() { CellReference = "F51", StyleIndex = (UInt32Value)21U };

            Cell cell557 = new Cell() { CellReference = "G51", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue79 = new CellValue();
            cellValue79.Text = "21";

            cell557.Append(cellValue79);

            Cell cell558 = new Cell() { CellReference = "H51", StyleIndex = (UInt32Value)24U };
            CellFormula cellFormula24 = new CellFormula();
            cellFormula24.Text = "+H50+H49";
            CellValue cellValue80 = new CellValue();
            cellValue80.Text = "0";

            cell558.Append(cellFormula24);
            cell558.Append(cellValue80);
            Cell cell559 = new Cell() { CellReference = "I51", StyleIndex = (UInt32Value)21U };
            Cell cell560 = new Cell() { CellReference = "J51", StyleIndex = (UInt32Value)20U };
            Cell cell561 = new Cell() { CellReference = "K51", StyleIndex = (UInt32Value)3U };

            row51.Append(cell551);
            row51.Append(cell552);
            row51.Append(cell553);
            row51.Append(cell554);
            row51.Append(cell555);
            row51.Append(cell556);
            row51.Append(cell557);
            row51.Append(cell558);
            row51.Append(cell559);
            row51.Append(cell560);
            row51.Append(cell561);

            Row row52 = new Row() { RowIndex = (UInt32Value)52U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell562 = new Cell() { CellReference = "A52", StyleIndex = (UInt32Value)6U };
            Cell cell563 = new Cell() { CellReference = "B52", StyleIndex = (UInt32Value)6U };
            Cell cell564 = new Cell() { CellReference = "C52", StyleIndex = (UInt32Value)6U };
            Cell cell565 = new Cell() { CellReference = "D52", StyleIndex = (UInt32Value)6U };
            Cell cell566 = new Cell() { CellReference = "E52", StyleIndex = (UInt32Value)6U };
            Cell cell567 = new Cell() { CellReference = "F52", StyleIndex = (UInt32Value)19U };
            Cell cell568 = new Cell() { CellReference = "G52", StyleIndex = (UInt32Value)19U };
            Cell cell569 = new Cell() { CellReference = "H52", StyleIndex = (UInt32Value)19U };
            Cell cell570 = new Cell() { CellReference = "I52", StyleIndex = (UInt32Value)19U };
            Cell cell571 = new Cell() { CellReference = "J52", StyleIndex = (UInt32Value)20U };
            Cell cell572 = new Cell() { CellReference = "K52", StyleIndex = (UInt32Value)3U };

            row52.Append(cell562);
            row52.Append(cell563);
            row52.Append(cell564);
            row52.Append(cell565);
            row52.Append(cell566);
            row52.Append(cell567);
            row52.Append(cell568);
            row52.Append(cell569);
            row52.Append(cell570);
            row52.Append(cell571);
            row52.Append(cell572);

            Row row53 = new Row() { RowIndex = (UInt32Value)53U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell573 = new Cell() { CellReference = "A53", StyleIndex = (UInt32Value)6U };
            Cell cell574 = new Cell() { CellReference = "B53", StyleIndex = (UInt32Value)6U };
            Cell cell575 = new Cell() { CellReference = "C53", StyleIndex = (UInt32Value)6U };
            Cell cell576 = new Cell() { CellReference = "D53", StyleIndex = (UInt32Value)6U };
            Cell cell577 = new Cell() { CellReference = "E53", StyleIndex = (UInt32Value)6U };
            Cell cell578 = new Cell() { CellReference = "F53", StyleIndex = (UInt32Value)19U };
            Cell cell579 = new Cell() { CellReference = "G53", StyleIndex = (UInt32Value)19U };
            Cell cell580 = new Cell() { CellReference = "H53", StyleIndex = (UInt32Value)19U };
            Cell cell581 = new Cell() { CellReference = "I53", StyleIndex = (UInt32Value)19U };
            Cell cell582 = new Cell() { CellReference = "J53", StyleIndex = (UInt32Value)20U };
            Cell cell583 = new Cell() { CellReference = "K53", StyleIndex = (UInt32Value)3U };

            row53.Append(cell573);
            row53.Append(cell574);
            row53.Append(cell575);
            row53.Append(cell576);
            row53.Append(cell577);
            row53.Append(cell578);
            row53.Append(cell579);
            row53.Append(cell580);
            row53.Append(cell581);
            row53.Append(cell582);
            row53.Append(cell583);

            Row row54 = new Row() { RowIndex = (UInt32Value)54U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell584 = new Cell() { CellReference = "A54", StyleIndex = (UInt32Value)6U };
            Cell cell585 = new Cell() { CellReference = "B54", StyleIndex = (UInt32Value)6U };
            Cell cell586 = new Cell() { CellReference = "C54", StyleIndex = (UInt32Value)6U };
            Cell cell587 = new Cell() { CellReference = "D54", StyleIndex = (UInt32Value)6U };
            Cell cell588 = new Cell() { CellReference = "E54", StyleIndex = (UInt32Value)6U };
            Cell cell589 = new Cell() { CellReference = "F54", StyleIndex = (UInt32Value)19U };
            Cell cell590 = new Cell() { CellReference = "G54", StyleIndex = (UInt32Value)19U };
            Cell cell591 = new Cell() { CellReference = "H54", StyleIndex = (UInt32Value)19U };
            Cell cell592 = new Cell() { CellReference = "I54", StyleIndex = (UInt32Value)19U };
            Cell cell593 = new Cell() { CellReference = "J54", StyleIndex = (UInt32Value)20U };
            Cell cell594 = new Cell() { CellReference = "K54", StyleIndex = (UInt32Value)3U };

            row54.Append(cell584);
            row54.Append(cell585);
            row54.Append(cell586);
            row54.Append(cell587);
            row54.Append(cell588);
            row54.Append(cell589);
            row54.Append(cell590);
            row54.Append(cell591);
            row54.Append(cell592);
            row54.Append(cell593);
            row54.Append(cell594);

            Row row55 = new Row() { RowIndex = (UInt32Value)55U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell595 = new Cell() { CellReference = "A55", StyleIndex = (UInt32Value)6U };
            Cell cell596 = new Cell() { CellReference = "B55", StyleIndex = (UInt32Value)6U };
            Cell cell597 = new Cell() { CellReference = "C55", StyleIndex = (UInt32Value)6U };
            Cell cell598 = new Cell() { CellReference = "D55", StyleIndex = (UInt32Value)6U };
            Cell cell599 = new Cell() { CellReference = "E55", StyleIndex = (UInt32Value)6U };
            Cell cell600 = new Cell() { CellReference = "F55", StyleIndex = (UInt32Value)19U };
            Cell cell601 = new Cell() { CellReference = "G55", StyleIndex = (UInt32Value)19U };
            Cell cell602 = new Cell() { CellReference = "H55", StyleIndex = (UInt32Value)19U };
            Cell cell603 = new Cell() { CellReference = "I55", StyleIndex = (UInt32Value)19U };
            Cell cell604 = new Cell() { CellReference = "J55", StyleIndex = (UInt32Value)20U };
            Cell cell605 = new Cell() { CellReference = "K55", StyleIndex = (UInt32Value)3U };

            row55.Append(cell595);
            row55.Append(cell596);
            row55.Append(cell597);
            row55.Append(cell598);
            row55.Append(cell599);
            row55.Append(cell600);
            row55.Append(cell601);
            row55.Append(cell602);
            row55.Append(cell603);
            row55.Append(cell604);
            row55.Append(cell605);

            Row row56 = new Row() { RowIndex = (UInt32Value)56U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell606 = new Cell() { CellReference = "A56", StyleIndex = (UInt32Value)6U };
            Cell cell607 = new Cell() { CellReference = "B56", StyleIndex = (UInt32Value)6U };
            Cell cell608 = new Cell() { CellReference = "C56", StyleIndex = (UInt32Value)6U };
            Cell cell609 = new Cell() { CellReference = "D56", StyleIndex = (UInt32Value)6U };
            Cell cell610 = new Cell() { CellReference = "E56", StyleIndex = (UInt32Value)6U };
            Cell cell611 = new Cell() { CellReference = "F56", StyleIndex = (UInt32Value)19U };
            Cell cell612 = new Cell() { CellReference = "G56", StyleIndex = (UInt32Value)19U };
            Cell cell613 = new Cell() { CellReference = "H56", StyleIndex = (UInt32Value)19U };
            Cell cell614 = new Cell() { CellReference = "I56", StyleIndex = (UInt32Value)19U };
            Cell cell615 = new Cell() { CellReference = "J56", StyleIndex = (UInt32Value)20U };
            Cell cell616 = new Cell() { CellReference = "K56", StyleIndex = (UInt32Value)3U };

            row56.Append(cell606);
            row56.Append(cell607);
            row56.Append(cell608);
            row56.Append(cell609);
            row56.Append(cell610);
            row56.Append(cell611);
            row56.Append(cell612);
            row56.Append(cell613);
            row56.Append(cell614);
            row56.Append(cell615);
            row56.Append(cell616);

            Row row57 = new Row() { RowIndex = (UInt32Value)57U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell617 = new Cell() { CellReference = "A57", StyleIndex = (UInt32Value)16U };
            Cell cell618 = new Cell() { CellReference = "B57", StyleIndex = (UInt32Value)17U };
            Cell cell619 = new Cell() { CellReference = "C57", StyleIndex = (UInt32Value)17U };
            Cell cell620 = new Cell() { CellReference = "D57", StyleIndex = (UInt32Value)17U };
            Cell cell621 = new Cell() { CellReference = "E57", StyleIndex = (UInt32Value)17U };
            Cell cell622 = new Cell() { CellReference = "F57", StyleIndex = (UInt32Value)27U };
            Cell cell623 = new Cell() { CellReference = "G57", StyleIndex = (UInt32Value)27U };
            Cell cell624 = new Cell() { CellReference = "H57", StyleIndex = (UInt32Value)27U };
            Cell cell625 = new Cell() { CellReference = "I57", StyleIndex = (UInt32Value)27U };
            Cell cell626 = new Cell() { CellReference = "J57", StyleIndex = (UInt32Value)28U };
            Cell cell627 = new Cell() { CellReference = "K57", StyleIndex = (UInt32Value)3U };

            row57.Append(cell617);
            row57.Append(cell618);
            row57.Append(cell619);
            row57.Append(cell620);
            row57.Append(cell621);
            row57.Append(cell622);
            row57.Append(cell623);
            row57.Append(cell624);
            row57.Append(cell625);
            row57.Append(cell626);
            row57.Append(cell627);

            Row row58 = new Row() { RowIndex = (UInt32Value)58U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell628 = new Cell() { CellReference = "A58", StyleIndex = (UInt32Value)3U };
            Cell cell629 = new Cell() { CellReference = "B58", StyleIndex = (UInt32Value)3U };
            Cell cell630 = new Cell() { CellReference = "C58", StyleIndex = (UInt32Value)3U };
            Cell cell631 = new Cell() { CellReference = "D58", StyleIndex = (UInt32Value)3U };
            Cell cell632 = new Cell() { CellReference = "E58", StyleIndex = (UInt32Value)3U };
            Cell cell633 = new Cell() { CellReference = "F58", StyleIndex = (UInt32Value)3U };
            Cell cell634 = new Cell() { CellReference = "G58", StyleIndex = (UInt32Value)3U };
            Cell cell635 = new Cell() { CellReference = "H58", StyleIndex = (UInt32Value)3U };
            Cell cell636 = new Cell() { CellReference = "I58", StyleIndex = (UInt32Value)3U };
            Cell cell637 = new Cell() { CellReference = "J58", StyleIndex = (UInt32Value)18U };
            Cell cell638 = new Cell() { CellReference = "K58", StyleIndex = (UInt32Value)3U };

            row58.Append(cell628);
            row58.Append(cell629);
            row58.Append(cell630);
            row58.Append(cell631);
            row58.Append(cell632);
            row58.Append(cell633);
            row58.Append(cell634);
            row58.Append(cell635);
            row58.Append(cell636);
            row58.Append(cell637);
            row58.Append(cell638);

            Row row59 = new Row() { RowIndex = (UInt32Value)59U, Spans = new ListValue<StringValue>() { InnerText = "1:11" } };
            Cell cell639 = new Cell() { CellReference = "A59", StyleIndex = (UInt32Value)3U };
            Cell cell640 = new Cell() { CellReference = "B59", StyleIndex = (UInt32Value)3U };
            Cell cell641 = new Cell() { CellReference = "C59", StyleIndex = (UInt32Value)3U };
            Cell cell642 = new Cell() { CellReference = "D59", StyleIndex = (UInt32Value)3U };
            Cell cell643 = new Cell() { CellReference = "E59", StyleIndex = (UInt32Value)3U };
            Cell cell644 = new Cell() { CellReference = "F59", StyleIndex = (UInt32Value)3U };
            Cell cell645 = new Cell() { CellReference = "G59", StyleIndex = (UInt32Value)3U };
            Cell cell646 = new Cell() { CellReference = "H59", StyleIndex = (UInt32Value)3U };
            Cell cell647 = new Cell() { CellReference = "I59", StyleIndex = (UInt32Value)3U };
            Cell cell648 = new Cell() { CellReference = "J59", StyleIndex = (UInt32Value)18U };
            Cell cell649 = new Cell() { CellReference = "K59", StyleIndex = (UInt32Value)3U };

            row59.Append(cell639);
            row59.Append(cell640);
            row59.Append(cell641);
            row59.Append(cell642);
            row59.Append(cell643);
            row59.Append(cell644);
            row59.Append(cell645);
            row59.Append(cell646);
            row59.Append(cell647);
            row59.Append(cell648);
            row59.Append(cell649);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);
            sheetData1.Append(row6);
            sheetData1.Append(row7);
            sheetData1.Append(row8);
            sheetData1.Append(row9);
            sheetData1.Append(row10);
            sheetData1.Append(row11);
            sheetData1.Append(row12);
            sheetData1.Append(row13);
            sheetData1.Append(row14);
            sheetData1.Append(row15);
            sheetData1.Append(row16);
            sheetData1.Append(row17);
            sheetData1.Append(row18);
            sheetData1.Append(row19);
            sheetData1.Append(row20);
            sheetData1.Append(row21);
            sheetData1.Append(row22);
            sheetData1.Append(row23);
            sheetData1.Append(row24);
            sheetData1.Append(row25);
            sheetData1.Append(row26);
            sheetData1.Append(row27);
            sheetData1.Append(row28);
            sheetData1.Append(row29);
            sheetData1.Append(row30);
            sheetData1.Append(row31);
            sheetData1.Append(row32);
            sheetData1.Append(row33);
            sheetData1.Append(row34);
            sheetData1.Append(row35);
            sheetData1.Append(row36);
            sheetData1.Append(row37);
            sheetData1.Append(row38);
            sheetData1.Append(row39);
            sheetData1.Append(row40);
            sheetData1.Append(row41);
            sheetData1.Append(row42);
            sheetData1.Append(row43);
            sheetData1.Append(row44);
            sheetData1.Append(row45);
            sheetData1.Append(row46);
            sheetData1.Append(row47);
            sheetData1.Append(row48);
            sheetData1.Append(row49);
            sheetData1.Append(row50);
            sheetData1.Append(row51);
            sheetData1.Append(row52);
            sheetData1.Append(row53);
            sheetData1.Append(row54);
            sheetData1.Append(row55);
            sheetData1.Append(row56);
            sheetData1.Append(row57);
            sheetData1.Append(row58);
            sheetData1.Append(row59);

            MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)1U };
            MergeCell mergeCell1 = new MergeCell() { Reference = "B9:C9" };

            mergeCells1.Append(mergeCell1);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, HorizontalDpi = (UInt32Value)300U, VerticalDpi = (UInt32Value)300U, Id = "rId1" };
            Drawing drawing1 = new Drawing() { Id = "rId2" };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(mergeCells1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);
            worksheet1.Append(drawing1);

            worksheetPart1.Worksheet = worksheet1;
        }
Exemple #31
0
        //thanks to https://stackoverflow.com/questions/44572018/using-open-xml-to-create-excel-file
        // and thanks to https://askxammy.com/getting-started-with-excel-files-creation-in-xamarin-forms/

        // creates an excel file with the data from selected time entries and soll entries
        public void report(object sender, EventArgs e)
        {
            calculate(null, null);
            string filepath = path + "/report.xlsx";

            using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(filepath, SpreadsheetDocumentType.Workbook))
            {
                //preparation of workbook
                WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
                workbookpart.Workbook = new Workbook();
                WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>();
                SheetData     sheetData     = new SheetData();
                worksheetPart.Worksheet = new Worksheet(sheetData);
                Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.AppendChild <Sheets>(new Sheets());
                Sheet  sheet  = new Sheet()
                {
                    Id = spreadsheetDocument.WorkbookPart.
                         GetIdOfPart(worksheetPart),
                    SheetId = 1,
                    Name    = "report"
                };


                //Create Report Summary
                Row Title = new Row {
                    RowIndex = 1
                };
                string sDate     = StartDatePicked.Date.ToString("dd.MM.yy");
                string eDate     = EndDatePicked.Date.ToString("dd.MM.yy");
                Cell   titlecell = new Cell()
                {
                    CellReference = "A1", CellValue = new CellValue("Zeiterfassung Caroline Koch von " + sDate + " bis " + eDate), DataType = CellValues.String
                };
                Title.Append(titlecell);

                Row HeaderTop = new Row()
                {
                    RowIndex = 2
                };
                Cell header1 = new Cell()
                {
                    CellReference = "A2", CellValue = new CellValue("Total gearbeitet"), DataType = CellValues.String
                };
                HeaderTop.Append(header1);
                Cell header2 = new Cell()
                {
                    CellReference = "B2", CellValue = new CellValue("Total Sollzeit"), DataType = CellValues.String
                };
                HeaderTop.Append(header2);
                Cell header3 = new Cell()
                {
                    CellReference = "C2", CellValue = new CellValue("Überzeit"), DataType = CellValues.String
                };
                HeaderTop.Append(header3);
                Cell header4 = new Cell()
                {
                    CellReference = "D2", CellValue = new CellValue("Total Notfälle"), DataType = CellValues.String
                };
                HeaderTop.Append(header4);

                Row ContentTop = new Row()
                {
                    RowIndex = 3
                };
                Cell content1 = new Cell()
                {
                    CellReference = "A3", CellValue = new CellValue(Worked.Text), DataType = CellValues.String
                };
                ContentTop.Append(content1);
                Cell content2 = new Cell()
                {
                    CellReference = "B3", CellValue = new CellValue(SollTime.Text), DataType = CellValues.String
                };
                ContentTop.Append(content2);
                Cell content3 = new Cell()
                {
                    CellReference = "C3", CellValue = new CellValue(Diff.Text), DataType = CellValues.String
                };
                ContentTop.Append(content3);
                Cell content4 = new Cell()
                {
                    CellReference = "D3", CellValue = new CellValue(Emergency.Text), DataType = CellValues.String
                };
                ContentTop.Append(content4);


                // Create Report Details Section for regular time entries
                Row Header = new Row()
                {
                    RowIndex = 5
                };
                Cell Header1 = new Cell()
                {
                    CellReference = "A5", CellValue = new CellValue("Datum"), DataType = CellValues.String
                };
                Header.Append(Header1);
                Cell Header2 = new Cell()
                {
                    CellReference = "B5", CellValue = new CellValue("Sollzeit"), DataType = CellValues.String
                };
                Header.Append(Header2);
                Cell Header3 = new Cell()
                {
                    CellReference = "C5", CellValue = new CellValue("Von"), DataType = CellValues.String
                };
                Header.Append(Header3);
                Cell Header4 = new Cell()
                {
                    CellReference = "D5", CellValue = new CellValue("Bis"), DataType = CellValues.String
                };
                Header.Append(Header4);
                Cell Header5 = new Cell()
                {
                    CellReference = "E5", CellValue = new CellValue("Total"), DataType = CellValues.String
                };
                Header.Append(Header5);
                Cell Header6 = new Cell()
                {
                    CellReference = "F5", CellValue = new CellValue("Typ / Überzeit"), DataType = CellValues.String
                };
                Header.Append(Header6);
                Cell Header7 = new Cell()
                {
                    CellReference = "G5", CellValue = new CellValue("Kommentar"), DataType = CellValues.String
                };
                Header.Append(Header7);

                sheetData.Append(Title, HeaderTop, ContentTop, Header);


                uint rownr = 6;

                using (SQLite.SQLiteConnection conn = new SQLite.SQLiteConnection(App.DB_Path))
                {
                    conn.CreateTable <SollEntry>();
                    sollEntries = conn.Table <SollEntry>().Where(s => s.SortDate <= endDate && s.SortDate >= startDate).OrderByDescending(t => t.SortDate).ToList();


                    foreach (var sollItem in sollEntries)
                    {
                        sollItem.export(sheetData, rownr);
                        uint lookuprow = rownr;
                        rownr++;


                        List <TimeEntry> reportTimeEntries = conn.Table <TimeEntry>().Where(s => s.Date == sollItem.Date).OrderByDescending(t => t.SortDate).ToList();

                        double time = 0;

                        foreach (var timeItem in reportTimeEntries)
                        {
                            if (timeItem.Type != "NF")
                            {
                                time += timeItem.hours;
                                timeItem.export(sheetData, rownr);
                                rownr++;
                            }
                        }
                        Row ts = new Row {
                            RowIndex = lookuprow
                        };

                        string TimeSum = TimeSpanString(time);
                        Cell   sumTime = new Cell {
                            CellReference = String.Concat("E", lookuprow), CellValue = new CellValue(TimeSum), DataType = CellValues.String
                        };
                        sheetData.Append(sumTime);
                    }
                    rownr++;
                    // Create Report Details Section for NF time entries
                    Row Emergency = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell emergencyTitle = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("Notfälle und Überzeit"), DataType = CellValues.String
                    };
                    Emergency.Append(emergencyTitle);
                    rownr++;

                    Row Emergencies = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell emerg1 = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("Datum"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg1);
                    Cell emerg3 = new Cell()
                    {
                        CellReference = String.Concat("C", rownr), CellValue = new CellValue("Von"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg3);
                    Cell emerg4 = new Cell()
                    {
                        CellReference = String.Concat("D", rownr), CellValue = new CellValue("Bis"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg4);
                    Cell emerg5 = new Cell()
                    {
                        CellReference = String.Concat("E", rownr), CellValue = new CellValue("Total"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg5);
                    Cell emerg6 = new Cell()
                    {
                        CellReference = String.Concat("F", rownr), CellValue = new CellValue("Typ"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg6);
                    Cell emerg7 = new Cell()
                    {
                        CellReference = String.Concat("G", rownr), CellValue = new CellValue("Kommentar"), DataType = CellValues.String
                    };
                    Emergencies.Append(emerg7);
                    sheetData.Append(Emergency, Emergencies);
                    rownr++;

                    var nfEntries = conn.Table <TimeEntry>().Where(nf => nf.SortDate <= endDate && nf.SortDate >= startDate && nf.Type == "NF").OrderByDescending(t => t.SortDate).ToList();
                    foreach (var nfItem in nfEntries)
                    {
                        nfItem.export(sheetData, rownr);
                        rownr++;
                    }
                    rownr++;

                    // Create Report Details Section for ÜZ time entries
                    var otEntries = conn.Table <TimeEntry>().Where(ot => ot.Type == "ÜZ").OrderByDescending(t => t.SortDate).ToList();
                    foreach (var otItem in otEntries)
                    {
                        otItem.export(sheetData, rownr);
                        rownr += 2;
                    }

                    // legend for abbreviations
                    Row Legend1 = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell legend11 = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("NF"), DataType = CellValues.String
                    };
                    Legend1.Append(legend11);
                    Cell legend12 = new Cell()
                    {
                        CellReference = String.Concat("B", rownr), CellValue = new CellValue("Notfall (eingetragene Zeit wird nicht zur Überzeit hinzugerechnet, da monetär abgegolten)"), DataType = CellValues.String
                    };
                    Legend1.Append(legend12);

                    rownr++;
                    Row Legend2 = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell legend21 = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("WB"), DataType = CellValues.String
                    };
                    Legend2.Append(legend21);
                    Cell legend22 = new Cell()
                    {
                        CellReference = String.Concat("B", rownr), CellValue = new CellValue("Weiterbildung (zählt als Arbeitszeit)"), DataType = CellValues.String
                    };
                    Legend2.Append(legend22);

                    rownr++;
                    Row Legend3 = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell legend31 = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("M"), DataType = CellValues.String
                    };
                    Legend3.Append(legend31);
                    Cell legend32 = new Cell()
                    {
                        CellReference = String.Concat("B", rownr), CellValue = new CellValue("Meeting (zählt als Arbeitszeit)"), DataType = CellValues.String
                    };
                    Legend3.Append(legend32);

                    rownr++;
                    Row Legend4 = new Row()
                    {
                        RowIndex = rownr
                    };
                    Cell legend41 = new Cell()
                    {
                        CellReference = String.Concat("A", rownr), CellValue = new CellValue("ÜZ"), DataType = CellValues.String
                    };
                    Legend4.Append(legend41);
                    Cell legend42 = new Cell()
                    {
                        CellReference = String.Concat("B", rownr), CellValue = new CellValue("Überzeit aus gelöschten Einträgen"), DataType = CellValues.String
                    };
                    Legend4.Append(legend42);

                    sheetData.Append(Legend1, Legend2, Legend3, Legend4);
                }
                sheets.Append(sheet);
                workbookpart.Workbook.Save();
                spreadsheetDocument.Close();

                Launcher.OpenAsync(new OpenFileRequest()
                {
                    File = new ReadOnlyFile(filepath)
                });
            }
        }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet();
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            SheetDimension sheetDimension1 = new SheetDimension(){ Reference = "A1" };

            SheetViews sheetViews1 = new SheetViews();
            SheetView sheetView1 = new SheetView(){ TabSelected = true, WorkbookViewId = (UInt32Value)0U };

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties(){ BaseColumnWidth = (UInt32Value)10U, DefaultRowHeight = 15D };

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row(){ RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:1" } };

            Cell cell1 = new Cell(){ CellReference = "A1", DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell1.Append(cellValue1);

            row1.Append(cell1);

            sheetData1.Append(row1);
            PageMargins pageMargins1 = new PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(pageMargins1);

            worksheetPart1.Worksheet = worksheet1;
        }
        public static void Create(string filename, DataSet ds)
        {
            Regex regex = new Regex(@"^(-?\d+)(\.\d+)?$");

            SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(filename, SpreadsheetDocumentType.Workbook);

            WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
            Workbook     workbook     = new Workbook();
            Sheets       sheets       = new Sheets();

            #region 创建多个 sheet 页

            //创建多个sheet
            for (int s = 0; s < ds.Tables.Count; s++)
            {
                DataTable dt    = ds.Tables[s];
                var       tname = dt.TableName;

                WorksheetPart worksheetPart = workbookpart.AddNewPart <WorksheetPart>();
                Worksheet     worksheet     = new Worksheet();
                SheetData     sheetData     = new SheetData();

                //创建 sheet 页
                Sheet sheet = new Sheet()
                {
                    //页面关联的 WorksheetPart
                    Id      = spreadsheetDocument.WorkbookPart.GetIdOfPart(worksheetPart),
                    SheetId = UInt32Value.FromUInt32((uint)s + 1),
                    Name    = tname
                };
                sheets.Append(sheet);

                #region 创建sheet 行
                Row  row;
                uint rowIndex = 1;
                //添加表头
                row = new Row()
                {
                    RowIndex = UInt32Value.FromUInt32(rowIndex++)
                };
                sheetData.Append(row);
                for (int i = 0; i < dt.Columns.Count; i++)
                {
                    Cell newCell = new Cell();
                    newCell.CellValue = new CellValue(dt.Columns[i].ColumnName);
                    newCell.DataType  = new EnumValue <CellValues>(CellValues.String);
                    row.Append(newCell);
                }
                //添加内容
                object val = null;
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    row = new Row()
                    {
                        RowIndex = UInt32Value.FromUInt32(rowIndex++)
                    };
                    sheetData.Append(row);

                    for (int j = 0; j < dt.Columns.Count; j++)
                    {
                        Cell newCell = new Cell();
                        val = dt.Rows[i][j];
                        var str = (val?.ToString() ?? "").Trim();
                        if (str.Length == 0 || regex.IsMatch(str))
                        {
                            newCell.CellValue = new CellValue(str);
                            newCell.DataType  = new EnumValue <CellValues>(CellValues.Number);
                        }
                        else
                        {
                            newCell.CellValue = new CellValue(val.ToString());
                            newCell.DataType  = new EnumValue <CellValues>(CellValues.String);
                        }
                        row.Append(newCell);
                    }
                }
                #endregion

                worksheet.Append(sheetData);
                worksheetPart.Worksheet = worksheet;
                worksheetPart.Worksheet.Save();
            }
            #endregion

            workbook.Append(sheets);
            workbookpart.Workbook = workbook;

            workbookpart.Workbook.Save();
            spreadsheetDocument.Close();
        }
        /// <summary>
        /// Create a new excel file, insert data from SQL-Server from a list.
        /// along with formating the first row which is field names
        /// </summary>
        /// <param name="pFileName">Path and file name to create</param>
        /// <param name="pSheetName">Work sheet data will be placed</param>
        /// <param name="pList">Person list</param>
        public void CreateExcelDocPopulateWithPeople(string pFileName, string pSheetName, List <Person> pList)
        {
            mHasException = false;

            try
            {
                using (var document = SpreadsheetDocument.Create(pFileName, SpreadsheetDocumentType.Workbook))
                {
                    WorkbookPart wbp = document.AddWorkbookPart();
                    wbp.Workbook = new Workbook();

                    var wsp = wbp.AddNewPart <WorksheetPart>();
                    wsp.Worksheet = new Worksheet();

                    var sheets = wbp.Workbook.AppendChild(new Sheets());

                    var sheet = new Sheet()
                    {
                        Id      = wbp.GetIdOfPart(wsp),
                        SheetId = 1,
                        Name    = "People"
                    };

                    // ReSharper disable once PossiblyMistakenUseOfParamsMethod
                    sheets?.Append(sheet);

                    wbp.Workbook.Save();

                    WorkbookStylesPart stylePart = wbp.AddNewPart <WorkbookStylesPart>();
                    stylePart.Stylesheet = CreateStylesheet();
                    stylePart.Stylesheet.Save();

                    var sheetData = wsp.Worksheet.AppendChild(new SheetData());

                    var headerRow = sheetData.AppendChild(new Row());
                    headerRow.AppendChild(new Cell()
                    {
                        CellValue  = new CellValue("Id"),
                        DataType   = CellValues.String,
                        StyleIndex = 2
                    });
                    headerRow.AppendChild(new Cell()
                    {
                        CellValue  = new CellValue("First Name"),
                        DataType   = CellValues.String,
                        StyleIndex = 2
                    });

                    headerRow.AppendChild(new Cell()
                    {
                        CellValue  = new CellValue("Last Name"),
                        DataType   = CellValues.String,
                        StyleIndex = 2
                    });

                    headerRow.AppendChild(new Cell()
                    {
                        CellValue  = new CellValue("Gender"),
                        DataType   = CellValues.String,
                        StyleIndex = 2
                    });

                    headerRow.AppendChild(new Cell()
                    {
                        CellValue  = new CellValue("Birthday"),
                        DataType   = CellValues.String,
                        StyleIndex = 2
                    });

                    // insert people data
                    foreach (var person in pList)
                    {
                        var row = new Row();

                        row.Append(
                            ConstructCell(person.Id.ToString(), CellValues.Number),
                            ConstructCell(person.FirstName, CellValues.String),
                            ConstructCell(person.LastName, CellValues.String),
                            ConstructCell(person.Role, CellValues.String),
                            ConstructCell(person.BirthDay.ToString("MM/dd/yyyy"), CellValues.String));

                        sheetData.AppendChild(row);
                    }

                    wsp.Worksheet.Save();
                }
            }
            catch (Exception ex)
            {
                mHasException  = true;
                mLastException = ex;
            }
        }
Exemple #35
0
        private void BuildReportTemplateEFPFlexi(string strTargetFile)
        {
            string fileName = strTargetFile;

            const string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

            var tableTargets = new List <TableInfo>();

            using (SpreadsheetDocument workbook = SpreadsheetDocument.Open(fileName, true))
            {
                var workbookPart     = workbook.WorkbookPart;
                var sharedStringPart = workbookPart.SharedStringTablePart;
                var values           = sharedStringPart.SharedStringTable.Elements <SharedStringItem>().ToArray();

                foreach (WorksheetPart worksheetpart in workbookPart.WorksheetParts)
                {
                    foreach (var sheetData in worksheetpart.Worksheet.Elements <SheetData>())
                    {
                        // reset accross sheets
                        //Cell FinaleCell = null;
                        //TableDefinition FinaleTable = null;
                        tableTargets.Clear();

                        #region TextPopulate
                        foreach (var cell in sheetData.Descendants <Cell>())
                        {
                            if (cell.CellValue != null)
                            {
                                if (cell.CellFormula != null)
                                {
                                    // force recompute
                                    cell.CellValue.Remove();
                                }
                                else if (cell.DataType != null && cell.DataType.Value == CellValues.SharedString)
                                {
                                    var index = int.Parse(cell.CellValue.Text);
                                    if (values[index].InnerText.StartsWith(FLEXI_PREFIX))
                                    {
                                        string strBlockTypeAndName = values[index].InnerText.Substring(FLEXI_PREFIX.Length);

                                        BlockConfiguration config = GetBlockConfiguration(strBlockTypeAndName);

                                        if (TextBlock.IsMatching(config.Type))
                                        {
                                            TextBlock instance = BlockHelper.GetAssociatedBlockInstance <TextBlock>(config.Name);
                                            if (instance != null)
                                            {
                                                SetCellValue(cell, instance.GetContent(reportData, config.Options));
                                            }
                                        }
                                        else if (TableBlock.IsMatching(config.Type))
                                        {
                                            TableBlock instance = BlockHelper.GetAssociatedBlockInstance <TableBlock>(config.Name);
                                            if (instance != null)
                                            {
                                                tableTargets.Add(new TableInfo
                                                {
                                                    cell  = cell,
                                                    table = instance.GetContent(reportData, config.Options)
                                                });
                                                //FinaleCell = cell;
                                                //FinaleTable = instance.GetContent(reportData, config.Options);
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        #endregion TextPopulate


                        #region TablePopulate
                        foreach (var tableInfo in tableTargets)
                        {
                            var FinaleCell  = tableInfo.cell;
                            var FinaleTable = tableInfo.table;

                            int intColumns = FinaleTable.NbColumns;
                            int intRows    = FinaleTable.NbRows;

                            // TODO: handle cell references after 'Znn' (AA1, AB1...)
                            // TODO: current limitation: the generated cells must be in the range "A-Z"

                            char firstLetter = FinaleCell.CellReference.InnerText[0];
                            int  firstColIdx = alphabet.IndexOf(firstLetter) + 1;
                            int  lastColIdx  = firstColIdx + intColumns - 1;
                            int  curColIdx   = firstColIdx;

                            uint firstRowIdx = uint.Parse(FinaleCell.CellReference.InnerText.Substring(1));
                            uint curRowIdx   = firstRowIdx;

                            // create first row
                            Row curRow = new Row();

                            foreach (var result in FinaleTable.Data)
                            {
                                // append cell to current row
                                Cell c = new Cell();
                                SetCellValue(c, result.ToString());
                                c.CellReference = alphabet[curColIdx - 1] + curRowIdx.ToString();
                                c.StyleIndex    = 0;
                                curRow.Append(c);

                                if (curColIdx == lastColIdx)
                                {
                                    // add row to current worksheet
                                    InsertRow(curRowIdx, worksheetpart, curRow, false);
                                    // create new row for next data
                                    curRow = new Row();

                                    // first cell on next row
                                    curRowIdx++;
                                    curColIdx = firstColIdx;
                                }
                                else
                                {
                                    // next cell
                                    curColIdx++;
                                }
                            }
                            FinaleCell.Parent.RemoveChild(FinaleCell);
                        }

                        workbookPart.Workbook.Save();

                        #endregion TablePopulate
                    }
                }
            }
        }
Exemple #36
0
        public static void CreateExcelDoc <T>(string fileName, List <T> items) where T : class
        {
            using (SpreadsheetDocument document = SpreadsheetDocument.Create(fileName, 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 = typeof(T).Name
                };
                sheets.Append(sheet);
                workbookPart.Workbook.Save();

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

                List <PropertyInfo> properties = typeof(T).GetProperties().Where(t => t.PropertyType == typeof(int) || t.PropertyType == typeof(string) || t.PropertyType == typeof(DateTime) ||
                                                                                 t.PropertyType == typeof(DateTime?) || t.PropertyType == typeof(decimal)).ToList();

                string[] headers = properties.Where(x => x.Name != "Item" && x.Name != "Error").Select(x => x.Name).ToArray();

                Cell[] cells = new Cell[headers.Count()];

                for (int i = 0; i < headers.Count(); i++)
                {
                    cells[i] = ConstructCell(headers[i], CellValues.String);
                }

                row.Append(cells);
                sheetData.AppendChild(row);


                CellValues type = new CellValues();
                foreach (var item in items)
                {
                    row = new Row();
                    for (int i = 0; i < headers.Count(); i++)
                    {
                        if (properties[i].PropertyType == typeof(int))
                        {
                            type = CellValues.Number;
                        }
                        else if (properties[i].PropertyType == typeof(DateTime))
                        {
                            type = CellValues.Date;
                        }
                        else
                        {
                            type = CellValues.String;
                        }
                        cells[i] = ConstructCell(properties[i].GetValue(item) ?? "", type);
                    }
                    row.Append(cells);
                    sheetData.AppendChild(row);
                }

                worksheetPart.Worksheet.Save();

                ProcessStartInfo startInfo = new ProcessStartInfo {
                    FileName = fileName
                };
                Process.Start(startInfo);
            }
        }
Exemple #37
0
        public FileStreamResult ToExcel(IQueryable query)
        {
            var columns = GetProperties(query.ElementType);
            var stream  = new MemoryStream();

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

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

                var workbookStylesPart = workbookPart.AddNewPart <WorkbookStylesPart>();
                GenerateWorkbookStylesPartContent(workbookStylesPart);

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

                workbookPart.Workbook.Save();

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

                var headerRow = new Row();

                foreach (var column in columns)
                {
                    headerRow.Append(new Cell()
                    {
                        CellValue = new CellValue(column.Key),
                        DataType  = new EnumValue <CellValues>(CellValues.String)
                    });
                }

                sheetData.AppendChild(headerRow);

                foreach (var item in query)
                {
                    var row = new Row();

                    foreach (var column in columns)
                    {
                        var value       = GetValue(item, column.Key);
                        var stringValue = $"{value}";

                        var cell = new Cell();

                        var underlyingType = column.Value.IsGenericType &&
                                             column.Value.GetGenericTypeDefinition() == typeof(Nullable <>) ?
                                             Nullable.GetUnderlyingType(column.Value) : column.Value;

                        var typeCode = Type.GetTypeCode(underlyingType);

                        if (typeCode == TypeCode.DateTime)
                        {
                            if (stringValue != string.Empty)
                            {
                                cell.CellValue = new CellValue()
                                {
                                    Text = DateTime.Parse(stringValue).ToOADate().ToString()
                                };
                                cell.StyleIndex = (UInt32Value)1U;
                            }
                        }
                        else if (typeCode == TypeCode.Boolean)
                        {
                            cell.CellValue = new CellValue(stringValue.ToLower());
                            cell.DataType  = new EnumValue <CellValues>(CellValues.Boolean);
                        }
                        else if (IsNumeric(typeCode))
                        {
                            cell.CellValue = new CellValue(stringValue);
                            cell.DataType  = new EnumValue <CellValues>(CellValues.Number);
                        }
                        else
                        {
                            cell.CellValue = new CellValue(stringValue);
                            cell.DataType  = new EnumValue <CellValues>(CellValues.String);
                        }

                        row.Append(cell);
                    }

                    sheetData.AppendChild(row);
                }


                workbookPart.Workbook.Save();
            }

            if (stream?.Length > 0)
            {
                stream.Seek(0, SeekOrigin.Begin);
            }

            var result = new FileStreamResult(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");

            result.FileDownloadName = $"{query.ElementType}.xls";

            return(result);
        }
        public async Task <ActionResult> ExportExcel(QueryModel q)
        {
            ResultModel result = new ResultModel();
            //var data = JsonConvert.SerializeObject(q);


            string targetUri = _config["api"] + "/FinancialRecord";

            targetUri += q.GenerateQueryString();

            result = await _callApi.CallAPI(null, new Uri(targetUri), "GET");

            if (result.IsSuccess == true && result.Data != null)
            {
                q.FinancialRecords = JsonConvert.DeserializeObject <List <FinancialRecord> >(result.Data.ToString());
                var memoryStream = new MemoryStream();

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

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

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

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

                    var sheetData = worksheetPart.Worksheet.GetFirstChild <SheetData>();

                    var row = new Row();
                    row.Append(
                        new Cell()
                    {
                        CellValue = new CellValue(""),
                        DataType  = CellValues.String
                    },
                        new Cell()
                    {
                        CellValue = new CellValue("編號"),
                        DataType  = CellValues.String
                    },
                        new Cell()
                    {
                        CellValue = new CellValue("姓名"),
                        DataType  = CellValues.String
                    },
                        new Cell()
                    {
                        CellValue = new CellValue("時間"),
                        DataType  = CellValues.String
                    },
                        new Cell()
                    {
                        CellValue = new CellValue("交易項目"),
                        DataType  = CellValues.String
                    },
                        new Cell()
                    {
                        CellValue = new CellValue("數量"),
                        DataType  = CellValues.String
                    }, new Cell()
                    {
                        CellValue = new CellValue("金額"),
                        DataType  = CellValues.String
                    }, new Cell()
                    {
                        CellValue = new CellValue("位置"),
                        DataType  = CellValues.String
                    }
                        , new Cell()
                    {
                        CellValue = new CellValue("到期日"),
                        DataType  = CellValues.String
                    }
                        , new Cell()
                    {
                        CellValue = new CellValue("備註"),
                        DataType  = CellValues.String
                    }
                        );
                    sheetData.AppendChild(row);

                    for (var i = 0; i < q.FinancialRecords.Count(); i++)
                    {
                        row = new Row();
                        row.Append(
                            new Cell()
                        {
                            CellValue = new CellValue((i + 1).ToString()),
                            DataType  = CellValues.Number
                        },
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].Id.ToString()),
                            DataType  = CellValues.String
                        },
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].CustomerName),
                            DataType  = CellValues.String
                        }
                            ,
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].CreateDate),
                            DataType  = CellValues.String
                        }
                            ,
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].FinancialItem.Name),
                            DataType  = CellValues.String
                        }
                            ,
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].Quantity.ToString()),
                            DataType  = CellValues.String
                        }
                            ,
                            new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].Amount.ToString()),
                            DataType  = CellValues.String
                        }
                            , new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].Position.ToString()),
                            DataType  = CellValues.String
                        }
                            , new Cell()
                        {
                            //CellValue = new CellValue(q.FinancialRecords[i].DueDate),
                            CellValue = new CellValue(""),
                            DataType  = CellValues.String
                        }, new Cell()
                        {
                            CellValue = new CellValue(q.FinancialRecords[i].Notes),
                            //CellValue = new CellValue(""),
                            DataType = CellValues.String
                        }
                            );
                        sheetData.AppendChild(row);
                    }
                }

                memoryStream.Seek(0, SeekOrigin.Begin);
                return(new FileStreamResult(memoryStream,
                                            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"));
            }
            return(null);
            //result.Data = q.RitualMoneyRecords;
            //return result;
        }
Exemple #39
0
        public void OpenXmlSdkCreateTest()
        {
            var path = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid().ToString()}.xlsx");

            // Create a spreadsheet document by supplying the filepath.
            // By default, AutoSave = true, Editable = true, and Type = xlsx.

            using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(path, 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>();
                worksheetPart.Worksheet = new Worksheet(new 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    = "Sheet1"
                };
                sheets.Append(sheet);

                var sheetData = worksheetPart.Worksheet.GetFirstChild <SheetData>();
                foreach (var item in GetValues())
                {
                    var row = new Row();
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text1), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text2), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text3), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text4), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text5), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text6), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text7), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text8), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text9), DataType = CellValues.String
                    });
                    row.Append(new Cell()
                    {
                        CellValue = new CellValue(item.Text10), DataType = CellValues.String
                    });
                    sheetData.AppendChild(row);
                }

                workbookpart.Workbook.Save();
            }
            File.Delete(path);
        }
Exemple #40
0
        private static Row CreateRow(UInt32 iRow, IList <string> data, IList <ColumnModel> colunmModels, IDictionary <string, int> sharedStrings)
        {
            var r = new Row {
                RowIndex = iRow
            };

            for (var iCol = 0; iCol < data.Count; iCol++)
            {
                var styleIndex = (uint)(OutputCellFormat.Text) + 1;
                if (colunmModels != null && iCol < colunmModels.Count)
                {
                    styleIndex = GetStyleIndexFromColumnModel(colunmModels[iCol]);
                    switch (colunmModels[iCol].Type)
                    {
                    case DataType.Integer:
                        r.Append(new OpenXmlElement[] {
                            // create Cell with CellValue as a child, which has Text as a child
                            new Cell(new CellValue {
                                Text = data[iCol]
                            })
                            {
                                StyleIndex    = styleIndex,
                                CellReference = GetCellReference(iRow, (uint)iCol)
                            }
                        });
                        continue;

                    case DataType.Date:
                        r.Append(new OpenXmlElement[] {
                            // create Cell with CellValue as a child, which has Text as a child
                            new Cell(new CellValue {
                                Text = ConvertDateToString(data[iCol])
                            })
                            {
                                StyleIndex    = styleIndex,
                                CellReference = GetCellReference(iRow, (uint)iCol)
                            }
                        });
                        continue;
                    }
                }

                // default format is text
                if (!sharedStrings.ContainsKey(data[iCol]))
                {
                    // create Cell with InlineString as a child, which has Text as a child
                    r.Append(new OpenXmlElement[] {
                        new Cell(new InlineString(new Text {
                            Text = data[iCol]
                        }))
                        {
                            DataType      = CellValues.InlineString,
                            StyleIndex    = styleIndex,
                            CellReference = GetCellReference(iRow, (uint)iCol)
                        }
                    });
                }
                var dataCol = data[iCol];
                var el      = new OpenXmlElement[]
                {
                    // create Cell with CellValue as a child, which has Text as a child
                    new Cell(new CellValue {
                        Text = sharedStrings[data[iCol]].ToString(CultureInfo.InvariantCulture)
                    })
                    {
                        DataType      = CellValues.SharedString,
                        StyleIndex    = styleIndex,
                        CellReference = GetCellReference(iRow, (uint)iCol)
                    }
                };

                r.Append(new OpenXmlElement[] {
                    // create Cell with CellValue as a child, which has Text as a child
                    new Cell(new CellValue {
                        Text = sharedStrings[data[iCol]].ToString(CultureInfo.InvariantCulture)
                    })
                    {
                        DataType      = CellValues.SharedString,
                        StyleIndex    = styleIndex,
                        CellReference = GetCellReference(iRow, (uint)iCol)
                    }
                });
            }

            return(r);
        }
Exemple #41
0
        public byte[] Build(SqlContext context, User currentUser, DateTime min, DateTime max, string filterUserScope, int[] filterUserIds, string filterProjectScope, int[] filterProjectIds)
        {
            var organization = context.Organizations.Find(currentUser.OrganizationId);

            var reportTitle = $"TIME CARDS BY PROJECT {min.ToString("M/d/yyyy")} thru {max.ToString("M/d/yyyy")} GENERATED {DateTime.Now.ToString("ddd, MMM d, yyyy h:mm:ss tt").ToUpperInvariant()}";

            using (var stream = new MemoryStream())
                using (var document = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook))
                {
                    // ------------------------------------------------------------
                    // Add document properties.
                    // ------------------------------------------------------------

                    document.PackageProperties.Creator = "BRIZBEE";
                    document.PackageProperties.Created = DateTime.UtcNow;


                    // ------------------------------------------------------------
                    // Add a WorkbookPart to the document.
                    // ------------------------------------------------------------

                    var workbookPart1 = document.AddWorkbookPart();
                    workbookPart1.Workbook = new Workbook();


                    // ------------------------------------------------------------
                    // Apply stylesheet.
                    // ------------------------------------------------------------

                    var workStylePart1 = workbookPart1.AddNewPart <WorkbookStylesPart>();
                    workStylePart1.Stylesheet = Stylesheets.Common();;


                    // ------------------------------------------------------------
                    // Add a WorksheetPart to the WorkbookPart.
                    // ------------------------------------------------------------

                    var worksheetPart1 = workbookPart1.AddNewPart <WorksheetPart>();
                    var worksheet1     = new Worksheet();
                    var rowBreaks1     = new RowBreaks()
                    {
                        Count = 0, ManualBreakCount = 0
                    };
                    var mergeCells1 = new MergeCells()
                    {
                        Count = 0
                    };
                    var sheetData1 = new SheetData();


                    // ------------------------------------------------------------
                    // Collect the users based on the filters.
                    // ------------------------------------------------------------

                    List <User> users;
                    if (filterUserScope.ToUpperInvariant() == "SPECIFIC")
                    {
                        users = context.Users
                                .Where(u => u.OrganizationId == currentUser.OrganizationId)
                                .Where(u => u.IsDeleted == false)
                                .Where(u => filterUserIds.Contains(u.Id))
                                .OrderBy(u => u.Name)
                                .ToList();
                    }
                    else
                    {
                        users = context.Users
                                .Where(u => u.OrganizationId == currentUser.OrganizationId)
                                .Where(u => u.IsDeleted == false)
                                .OrderBy(u => u.Name)
                                .ToList();
                    }


                    // ------------------------------------------------------------
                    // Collect the time cards based on the filters.
                    // ------------------------------------------------------------

                    IQueryable <TimesheetEntry> timeCardsQueryable = context.TimesheetEntries
                                                                     .Include(t => t.Task.Job.Customer)
                                                                     .Include(t => t.User)
                                                                     .Where(t => t.User.OrganizationId == currentUser.OrganizationId)
                                                                     .Where(t => t.User.IsDeleted == false)
                                                                     .Where(t => t.EnteredAt.Date >= min.Date)
                                                                     .Where(t => t.EnteredAt.Date <= max.Date);

                    // Optionally filter projects.
                    if (filterProjectScope.ToUpperInvariant() == "SPECIFIC")
                    {
                        timeCardsQueryable = timeCardsQueryable
                                             .Where(t => filterProjectIds.Contains(t.Task.JobId));
                    }

                    var timeCards = timeCardsQueryable.ToList();

                    var projectIds = timeCards
                                     .OrderBy(t => t.Task.Job.Number)
                                     .GroupBy(t => t.Task.JobId)
                                     .Select(g => g.Key)
                                     .ToList();


                    // ------------------------------------------------------------
                    // Loop each project.
                    // ------------------------------------------------------------

                    var rowIndex = (uint)1;
                    foreach (var projectId in projectIds)
                    {
                        var project        = context.Jobs.Find(projectId);
                        var groupedTaskIds = timeCards
                                             .GroupBy(t => t.TaskId)
                                             .Select(g => g.Key)
                                             .ToList();
                        var timeCardsForProject = timeCards
                                                  .Where(t => groupedTaskIds.Contains(t.TaskId))
                                                  .ToList();


                        // ------------------------------------------------------------
                        // Header for project cell.
                        // ------------------------------------------------------------

                        var rowProject = new Row()
                        {
                            RowIndex = rowIndex, Height = 22D, CustomHeight = true, Spans = new ListValue <StringValue>()
                            {
                                InnerText = "1:1"
                            }, StyleIndex = 4U, CustomFormat = true
                        };

                        var cellProject = new Cell()
                        {
                            CellReference = $"A{rowIndex}", StyleIndex = 4U, DataType = CellValues.String, CellValue = new CellValue($"Project {project.Number} - {project.Name} for Customer {project.Customer.Number} - {project.Customer.Name}")
                        };
                        rowProject.Append(cellProject);

                        sheetData1.Append(rowProject);

                        // Merge the user name across the row.
                        var mergeCell0 = new MergeCell()
                        {
                            Reference = $"A{rowIndex}:E{rowIndex}"
                        };
                        mergeCells1.Append(mergeCell0);
                        mergeCells1.Count++;

                        rowIndex++;


                        // ------------------------------------------------------------
                        // Loop each date.
                        // ------------------------------------------------------------

                        var dates = timeCards
                                    .GroupBy(t => t.EnteredAt.Date)
                                    .Select(g => g.Key)
                                    .OrderBy(g => g)
                                    .ToList();
                        foreach (var date in dates)
                        {
                            var timeCardsForProjectAndDate = timeCards
                                                             .Where(t => t.EnteredAt.Date == date.Date)
                                                             .Where(t => groupedTaskIds.Contains(t.TaskId))
                                                             .OrderBy(t => t.EnteredAt)
                                                             .ToList();

                            if (!timeCardsForProjectAndDate.Any())
                            {
                                continue;
                            }

                            rowIndex++;


                            // ------------------------------------------------------------
                            // Header for date cell.
                            // ------------------------------------------------------------

                            var rowDate = new Row()
                            {
                                RowIndex = rowIndex, Height = 22D, CustomHeight = true, Spans = new ListValue <StringValue>()
                                {
                                    InnerText = "1:1"
                                }, StyleIndex = 4U, CustomFormat = true
                            };

                            var cellDate = new Cell()
                            {
                                CellReference = $"A{rowIndex}", StyleIndex = 4U, DataType = CellValues.String, CellValue = new CellValue(date.ToString("D"))
                            };
                            rowDate.Append(cellDate);

                            sheetData1.Append(rowDate);

                            // Merge the date across the row.
                            var mergeCell1 = new MergeCell()
                            {
                                Reference = $"A{rowIndex}:E{rowIndex}"
                            };
                            mergeCells1.Append(mergeCell1);
                            mergeCells1.Count++;

                            rowIndex++;


                            // ------------------------------------------------------------
                            // Headers for time cards cells.
                            // ------------------------------------------------------------

                            var rowHeaders = new Row()
                            {
                                RowIndex = rowIndex, Height = 16D, CustomHeight = true, StyleIndex = 1U, CustomFormat = true
                            };

                            // Task Number
                            var cellTaskNumberHeader = new Cell()
                            {
                                CellReference = $"A{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("#")
                            };
                            rowHeaders.Append(cellTaskNumberHeader);

                            // Task Name
                            var cellTaskNameHeader = new Cell()
                            {
                                CellReference = $"B{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Task")
                            };
                            rowHeaders.Append(cellTaskNameHeader);

                            // User Name
                            var cellUserNameHeader = new Cell()
                            {
                                CellReference = $"C{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("User")
                            };
                            rowHeaders.Append(cellUserNameHeader);

                            // Notes
                            var cellNotesHeader = new Cell()
                            {
                                CellReference = $"D{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Notes")
                            };
                            rowHeaders.Append(cellNotesHeader);

                            // Total
                            var cellTotalHeader = new Cell()
                            {
                                CellReference = $"E{rowIndex}", DataType = CellValues.String, StyleIndex = 2U, CellValue = new CellValue("Total")
                            };
                            rowHeaders.Append(cellTotalHeader);

                            sheetData1.Append(rowHeaders);

                            rowIndex++;


                            // ------------------------------------------------------------
                            // Time cards cells.
                            // ------------------------------------------------------------

                            foreach (var timeCard in timeCardsForProjectAndDate)
                            {
                                var rowTimeCard = new Row()
                                {
                                    RowIndex = rowIndex, Height = 16D, CustomHeight = true
                                };

                                // Task Number
                                var cellTaskNumber = new Cell()
                                {
                                    CellReference = $"A{rowIndex}", DataType = CellValues.Number, StyleIndex = 6U, CellValue = new CellValue(timeCard.Task.Number)
                                };
                                rowTimeCard.Append(cellTaskNumber);

                                // Task Name
                                var cellTaskName = new Cell()
                                {
                                    CellReference = $"B{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(timeCard.Task.Name)
                                };
                                rowTimeCard.Append(cellTaskName);

                                // User Name
                                var cellUserName = new Cell()
                                {
                                    CellReference = $"C{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(timeCard.User.Name)
                                };
                                rowTimeCard.Append(cellUserName);

                                // Notes
                                var cellNotes = new Cell()
                                {
                                    CellReference = $"D{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(timeCard.Notes)
                                };
                                rowTimeCard.Append(cellNotes);

                                // Calculate the total
                                var total = Math.Round((double)timeCard.Minutes / 60, 2).ToString("0.00");

                                // Total
                                var cellTotal = new Cell()
                                {
                                    CellReference = $"E{rowIndex}", DataType = CellValues.Number, StyleIndex = 5U, CellValue = new CellValue(total)
                                };
                                rowTimeCard.Append(cellTotal);

                                sheetData1.Append(rowTimeCard);

                                rowIndex++;
                            }

                            // ------------------------------------------------------------
                            // Cells for date total.
                            // ------------------------------------------------------------

                            var rowDateTotal = new Row()
                            {
                                RowIndex = rowIndex, Height = 16D, CustomHeight = true, StyleIndex = 1U, CustomFormat = true
                            };

                            // Header Cell
                            var cellDateFormatted = new Cell()
                            {
                                CellReference = $"A{rowIndex}", DataType = CellValues.String, StyleIndex = 2U, CellValue = new CellValue("Daily Total")
                            };
                            rowDateTotal.Append(cellDateFormatted);

                            // Calculate the total
                            double dailyTotalMinutes = 0;
                            foreach (var timeCard in timeCardsForProjectAndDate)
                            {
                                dailyTotalMinutes += timeCard.Minutes;
                            }
                            var dailyTotal = Math.Round(dailyTotalMinutes / 60, 2).ToString("0.00");

                            // Total Cell
                            var cellDateTotal = new Cell()
                            {
                                CellReference = $"E{rowIndex}", DataType = CellValues.Number, StyleIndex = 2U, CellValue = new CellValue(dailyTotal)
                            };
                            rowDateTotal.Append(cellDateTotal);

                            sheetData1.Append(rowDateTotal);

                            // Merge the date across the row.
                            var mergeCell3 = new MergeCell()
                            {
                                Reference = $"A{rowIndex}:D{rowIndex}"
                            };
                            mergeCells1.Append(mergeCell3);
                            mergeCells1.Count++;

                            rowIndex++;
                        }


                        // ------------------------------------------------------------
                        // Cells for project total.
                        // ------------------------------------------------------------

                        var rowTotal = new Row()
                        {
                            RowIndex = rowIndex, Height = 16D, CustomHeight = true, StyleIndex = 1U, CustomFormat = true
                        };

                        // Header Cell
                        var cellProjectName = new Cell()
                        {
                            CellReference = $"A{rowIndex}", DataType = CellValues.String, StyleIndex = 2U, CellValue = new CellValue($"Total for Project {project.Number} - {project.Name}")
                        };
                        rowTotal.Append(cellProjectName);

                        // Calculate the total
                        double projectTotalMinutes = 0;
                        foreach (var timeCard in timeCardsForProject)
                        {
                            projectTotalMinutes += timeCard.Minutes;
                        }
                        var projectTotal = Math.Round(projectTotalMinutes / 60, 2).ToString("0.00");

                        // Total Cell
                        var cellProjectTotal = new Cell()
                        {
                            CellReference = $"E{rowIndex}", DataType = CellValues.Number, StyleIndex = 2U, CellValue = new CellValue(projectTotal)
                        };
                        rowTotal.Append(cellProjectTotal);

                        sheetData1.Append(rowTotal);

                        // Merge the project name across the row.
                        var mergeCell4 = new MergeCell()
                        {
                            Reference = $"A{rowIndex}:D{rowIndex}"
                        };
                        mergeCells1.Append(mergeCell4);
                        mergeCells1.Count++;

                        rowIndex++;


                        // ------------------------------------------------------------
                        // Add a page break.
                        // ------------------------------------------------------------

                        var rowBreak1 = new Break()
                        {
                            Id = rowIndex, Max = 16383U, ManualPageBreak = true
                        };
                        rowBreaks1.Append(rowBreak1);
                        rowBreaks1.ManualBreakCount++;
                        rowBreaks1.Count++;

                        rowIndex++;
                    }


                    // ------------------------------------------------------------
                    // Custom column width.
                    // ------------------------------------------------------------

                    var columns1 = new Columns();

                    var column1 = new Column()
                    {
                        Min = 1U, Max = 1U, Width = 10D, CustomWidth = true
                    };
                    var column2 = new Column()
                    {
                        Min = 2U, Max = 2U, Width = 28D, CustomWidth = true
                    };
                    var column3 = new Column()
                    {
                        Min = 3U, Max = 3U, Width = 28D, CustomWidth = true
                    };
                    var column4 = new Column()
                    {
                        Min = 4U, Max = 4U, Width = 40D, CustomWidth = true
                    };
                    var column5 = new Column()
                    {
                        Min = 5U, Max = 5U, Width = 10D, CustomWidth = true
                    };

                    columns1.Append(column1);
                    columns1.Append(column2);
                    columns1.Append(column3);
                    columns1.Append(column4);
                    columns1.Append(column5);


                    // ------------------------------------------------------------
                    // Sheet Views.
                    // ------------------------------------------------------------

                    var sheetViews1 = new SheetViews();

                    var sheetView1 = new SheetView()
                    {
                        ShowGridLines = true, TabSelected = true, ZoomScaleNormal = 100U, WorkbookViewId = 0U
                    };
                    var selection1 = new Selection()
                    {
                        ActiveCell = "A1", SequenceOfReferences = new ListValue <StringValue>()
                        {
                            InnerText = "A1"
                        }
                    };

                    sheetView1.Append(selection1);
                    sheetViews1.Append(sheetView1);


                    // ------------------------------------------------------------
                    // Sheet Format.
                    // ------------------------------------------------------------

                    var sheetFormatProperties1 = new SheetFormatProperties()
                    {
                        DefaultRowHeight = 16D, DyDescent = 0.35D
                    };


                    // ------------------------------------------------------------
                    // Page Setup.
                    // ------------------------------------------------------------

                    var pageMargins1 = new PageMargins()
                    {
                        Left = 0.5D, Right = 0.5D, Top = 0.5D, Bottom = 0.5D, Header = 0.3D, Footer = 0.3D
                    };
                    var pageSetup1 = new PageSetup()
                    {
                        Orientation = OrientationValues.Landscape
                    };


                    // ------------------------------------------------------------
                    // Header and Footer.
                    // ------------------------------------------------------------

                    var headerFooter1 = new HeaderFooter();

                    var oddHeader1 = new OddHeader();
                    oddHeader1.Text = reportTitle;

                    var oddFooter1 = new OddFooter();
                    oddFooter1.Text = organization.Name;

                    headerFooter1.Append(oddHeader1);
                    headerFooter1.Append(oddFooter1);


                    // ------------------------------------------------------------
                    // Build the worksheet.
                    // ------------------------------------------------------------

                    worksheet1.Append(sheetViews1);
                    worksheet1.Append(columns1);
                    worksheet1.Append(sheetData1);

                    // Cannot add zero merge cells.
                    if (mergeCells1.Count != 0)
                    {
                        worksheet1.Append(mergeCells1);
                    }

                    worksheet1.Append(pageMargins1);
                    worksheet1.Append(pageSetup1);
                    worksheet1.Append(headerFooter1);

                    worksheet1.Append(rowBreaks1);

                    worksheetPart1.Worksheet = worksheet1;


                    // ------------------------------------------------------------
                    // Add Sheets to the Workbook.
                    // ------------------------------------------------------------

                    var sheets = workbookPart1.Workbook.AppendChild(new Sheets());


                    // ------------------------------------------------------------
                    // Append a new worksheet and associate it with the workbook.
                    // ------------------------------------------------------------

                    var sheet = new Sheet()
                    {
                        Id      = workbookPart1.GetIdOfPart(worksheetPart1),
                        SheetId = 1,
                        Name    = "Report"
                    };
                    sheets.Append(sheet);


                    // Save and close the document.
                    workbookPart1.Workbook.Save();
                    document.Close();

                    return(stream.ToArray());
                }
        }
        // Generates content of worksheetPart1.
        protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart)
        {
            Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:E30" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "A2", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A2:E2" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D };

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 42.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 11.5703125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 6.85546875D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 11.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 13.5703125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);
            columns1.Append(column6);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell1 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell1.Append(cellValue1);

            row1.Append(cell1);

            Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, Height = 23.25D, CustomHeight = true, DyDescent = 0.2D };

            Cell cell2 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "1";

            cell2.Append(cellValue2);
            Cell cell3 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)4U };
            Cell cell4 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)4U };
            Cell cell5 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)4U };
            Cell cell6 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)4U };

            row2.Append(cell2);
            row2.Append(cell3);
            row2.Append(cell4);
            row2.Append(cell5);
            row2.Append(cell6);

            Row row3 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell7 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "2";

            cell7.Append(cellValue3);

            row3.Append(cell7);

            Row row4 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, Height = 60D, DyDescent = 0.2D };

            Cell cell8 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "3";

            cell8.Append(cellValue4);

            Cell cell9 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "4";

            cell9.Append(cellValue5);

            Cell cell10 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "5";

            cell10.Append(cellValue6);

            Cell cell11 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "6";

            cell11.Append(cellValue7);

            Cell cell12 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "7";

            cell12.Append(cellValue8);

            row4.Append(cell8);
            row4.Append(cell9);
            row4.Append(cell10);
            row4.Append(cell11);
            row4.Append(cell12);

            uint row = 7;
            var dynamicRows = new List<Row>();
            int count = sampleSelectionRequest.AnalysesCount;
            foreach (var work in sampleSelectionRequest.AnalyzeWorks.Where(w => w.IsPresent && w.Work.IsWork))
            {
                Row row14 = new Row() { RowIndex = row, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };
                double price = (double)sampleSelectionRequest.PriceList.GetPrice(sampleSelectionRequest.PlantVariety.Plant, work.Work).Price;
                double cost = price * count;
                double fullCost;
                double vat = Taxes.CalculateVat(price, out fullCost);

                Cell cell58 = new Cell() { CellReference = "A" + row, StyleIndex = (UInt32Value)2U, DataType = CellValues.String };
                CellValue cellValue54 = new CellValue();
                cellValue54.Text = work.Work.Name;

                cell58.Append(cellValue54);

                Cell cell59 = new Cell() { CellReference = "B"+row, StyleIndex = (UInt32Value)2U };
                CellValue cellValue55 = new CellValue();
                cellValue55.Text = price.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell59.Append(cellValue55);

                Cell cell60 = new Cell() { CellReference = "C"+row, StyleIndex = (UInt32Value)2U };
                CellValue cellValue56 = new CellValue();
                cellValue56.Text = Taxes.VatPercent.ToString("N0");

                cell60.Append(cellValue56);

                Cell cell61 = new Cell() { CellReference = "D"+row, StyleIndex = (UInt32Value)2U };
                CellValue cellValue57 = new CellValue();
                cellValue57.Text = vat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell61.Append(cellValue57);

                Cell cell62 = new Cell() { CellReference = "E" + row, StyleIndex = (UInt32Value)2U };
                CellValue cellValue58 = new CellValue();
                cellValue58.Text = fullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell62.Append(cellValue58);

                row14.Append(cell58);
                row14.Append(cell59);
                row14.Append(cell60);
                row14.Append(cell61);
                row14.Append(cell62);

                dynamicRows.Add(row14);

                sumPrice += price;
                sumCost += cost;
                sumVat += vat;
                sumFullCost += cost;
                row++;
            }

            Row row15 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell63 = new Cell() { CellReference = "A21", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue59 = new CellValue();
            cellValue59.Text = "18";

            cell63.Append(cellValue59);

            Cell cell64 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)1U };
            CellValue cellValue60 = new CellValue();
            cellValue60.Text = sumFullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

            cell64.Append(cellValue60);

            row15.Append(cell63);
            row15.Append(cell64);

            Row row16 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell65 = new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue61 = new CellValue();
            cellValue61.Text = "19";

            cell65.Append(cellValue61);

            Cell cell66 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)1U };
            CellValue cellValue62 = new CellValue();
            cellValue62.Text = sumVat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

            cell66.Append(cellValue62);

            row16.Append(cell65);
            row16.Append(cell66);

            Row row17 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell67 = new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue63 = new CellValue();
            cellValue63.Text = "20";

            cell67.Append(cellValue63);

            Cell cell68 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)1U };
            CellValue cellValue64 = new CellValue();
            cellValue64.Text = sumFullCost.ToString();

            cell68.Append(cellValue64);

            row17.Append(cell67);
            row17.Append(cell68);

            Row row18 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell69 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue65 = new CellValue();
            cellValue65.Text = "21";

            cell69.Append(cellValue65);

            Cell cell70 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue66 = new CellValue();
            cellValue66.Text = "22";

            cell70.Append(cellValue66);

            row18.Append(cell69);
            row18.Append(cell70);

            Row row19 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell71 = new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue67 = new CellValue();
            cellValue67.Text = "23";

            cell71.Append(cellValue67);

            Cell cell72 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue68 = new CellValue();
            cellValue68.Text = "24";

            cell72.Append(cellValue68);

            row19.Append(cell71);
            row19.Append(cell72);

            Row row20 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell73 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue69 = new CellValue();
            cellValue69.Text = "25";

            cell73.Append(cellValue69);

            Cell cell74 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue70 = new CellValue();
            cellValue70.Text = "26";

            cell74.Append(cellValue70);

            row20.Append(cell73);
            row20.Append(cell74);

            Row row21 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "1:5" }, DyDescent = 0.2D };

            Cell cell75 = new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue71 = new CellValue();
            cellValue71.Text = "27";

            cell75.Append(cellValue71);

            Cell cell76 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue72 = new CellValue();
            cellValue72.Text = "27";

            cell76.Append(cellValue72);

            row21.Append(cell75);
            row21.Append(cell76);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            foreach (var dynamicRow in dynamicRows)
            {
                sheetData1.Append(dynamicRow);
            }
            sheetData1.Append(row15);
            sheetData1.Append(row16);
            sheetData1.Append(row17);
            sheetData1.Append(row18);
            sheetData1.Append(row19);
            sheetData1.Append(row20);
            sheetData1.Append(row21);

            MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)1U };
            MergeCell mergeCell1 = new MergeCell() { Reference = "A2:E2" };

            mergeCells1.Append(mergeCell1);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(mergeCells1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);

            worksheetPart.Worksheet = worksheet1;
        }
Exemple #43
0
        internal void Write(string file, Dictionary <string, List <Variable> > variables, Dictionary <string, List <Table> > tables, List <Chart> charts)
        {
            using (var document = SpreadsheetDocument.Open(file, true))
            {
                IEnumerable <Sheet> sheets = document.WorkbookPart.Workbook.GetFirstChild <Sheets>().Elements <Sheet>();

                foreach (var sheet in sheets)
                {
                    var worksheetPart = GetWorksheetPart(document, sheet);
                    var sheetData     = worksheetPart.Worksheet.GetFirstChild <SheetData>();

                    if (variables.ContainsKey(sheet.Name))
                    {
                        foreach (var variable in variables[sheet.Name])
                        {
                            var cell = GetCell(worksheetPart.Worksheet, variable.RowIndex, variable.CellReference);
                            cell.CellValue = new CellValue(variable.Value);
                        }
                    }

                    if (tables.ContainsKey(sheet.Name))
                    {
                        foreach (var table in tables[sheet.Name])
                        {
                            var chart = charts.FirstOrDefault(x => x.TableKey == table.Key);

                            var rowIndex  = table.RowIndex;
                            var rowNumber = 0;

                            foreach (var row in table.Rows)
                            {
                                var wRow = new Row
                                {
                                    RowIndex = rowIndex,
                                    Spans    = new ListValue <StringValue>()
                                    {
                                        InnerText = $"1:{row.Cells.Count}"
                                    }
                                };

                                var column     = table.ColumnName;
                                var lastColumn = column;
                                foreach (var cell in row.Cells)
                                {
                                    var wCell = new Cell
                                    {
                                        CellReference = $"{column}{rowIndex}",
                                        CellValue     = new CellValue(cell.Value)
                                    };

                                    wRow.Append(wCell);
                                    lastColumn = column;
                                    column     = IncColumn(column);
                                }

                                if (chart != null)
                                {
                                    if (rowNumber == chart.AxisXRowNumber)
                                    {
                                        chart.AxisX = $"'{sheet.Name}'!${table.ColumnName}${rowIndex}:${lastColumn}${rowIndex}";
                                    }

                                    if (rowNumber == chart.AxisYRowNumber)
                                    {
                                        chart.AxisY = $"'{sheet.Name}'!${table.ColumnName}${rowIndex}:${lastColumn}${rowIndex}";
                                    }
                                }

                                sheetData.Append(wRow);
                                rowNumber++;
                                rowIndex++;
                            }
                        }
                    }
                }

                var chartWriter = new ChartWriter();

                foreach (var chart in charts)
                {
                    var sheet = sheets.FirstOrDefault(x => x.Name == chart.SheetName);
                    if (sheet != null)
                    {
                        var worksheetPart = GetWorksheetPart(document, sheet);

                        chartWriter.Write(worksheetPart, chart);
                    }
                }
            }
        }
Exemple #44
0
        public static 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);
        }
Exemple #45
0
        public ExcelFile(ArrayList dataList)
        {
            SaveFileDialog excelFile = new SaveFileDialog
            {
                InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
                Filter           = langDE.FILEDIALOG_FileTypeName_ExcelFile + " (*.xlsx)|*.xlsx"
            };

            if (excelFile.ShowDialog() != true)
            {
                return;
            }
            this.spreadsheetDocument = SpreadsheetDocument.Create(excelFile.FileName, SpreadsheetDocumentType.Workbook);
            WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();

            workbookpart.Workbook = new Workbook();

            // Add a WorksheetPart to the WorkbookPart.
            worksheetPart           = workbookpart.AddNewPart <WorksheetPart>();
            worksheetPart.Worksheet = new Worksheet();
            sheetData = worksheetPart.Worksheet.AppendChild(new SheetData());
            // Add Sheets to the Workbook.
            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    = langDE.TABLE_SheetName
            };

            sheets.Append(sheet);



            foreach (Array rowData in dataList)
            {
                Row row = new Row();
                foreach (string cellData in rowData)
                {
                    if (Regex.Replace(cellData, @"[0-3][0-9].[0-1]\d.\d\d\d\d", "").Length == 0)
                    {
                        row.Append(new Cell
                        {
                            CellValue = new CellValue(cellData),
                            DataType  = CellValues.String
                        });
                    }
                    else if (Regex.Replace(cellData, @"[0-9.]+", "").Length == 0)
                    {
                        row.Append(new Cell
                        {
                            CellValue = new CellValue(cellData.Replace(".", ",")),
                            DataType  = CellValues.String
                        });
                    }
                    else
                    {
                        row.Append(new Cell
                        {
                            CellValue = new CellValue(cellData),
                            DataType  = CellValues.String
                        });
                    }
                }
                sheetData.AppendChild(row);
            }



            workbookpart.Workbook.Save();

            // Close the document.
            spreadsheetDocument.Close();
        }
Exemple #46
0
        public FileResult ExportJewelryTypesReport(int companyId, string sCurrDate)
        {
            byte[] b;

            DateTime curr;

            sCurrDate = sCurrDate.Replace("'", "");
            if (!DateTime.TryParse(sCurrDate, out curr))
            {
                curr = DateTime.Now.ToLocalTime();
            }
            string currDate = $"{curr.ToShortDateString()} {curr.ToShortTimeString()}";

            DCTSOpenXML oxl = new DCTSOpenXML();

            using (MemoryStream memStream = new MemoryStream())
            {
                using (SpreadsheetDocument document = SpreadsheetDocument.Create(memStream, SpreadsheetDocumentType.Workbook))
                {
                    // Build Excel File
                    WorkbookPart workbookPart = document.AddWorkbookPart();
                    workbookPart.Workbook = new Workbook();

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

                    Sheets sheets = document.WorkbookPart.Workbook.AppendChild(new DocumentFormat.OpenXml.Spreadsheet.Sheets());

                    // declare locals
                    Row    row;
                    Cell   cell;
                    string loc;
                    int    rr;

                    Sheet sheet = new Sheet()
                    {
                        Id      = workbookPart.GetIdOfPart(worksheetPart),
                        SheetId = 1,
                        Name    = "Jewelry Types"
                    };
                    sheets.Append(sheet);

                    Worksheet worksheet = new Worksheet();
                    SheetData sd        = new SheetData();
                    // Build sheet
                    // Title
                    row  = new Row();
                    cell = oxl.SetCellVal("A1", $"Export - Jewelry Types  {currDate}");
                    row.Append(cell);
                    sd.Append(row);
                    row  = new Row();
                    cell = oxl.SetCellVal("A2", "");
                    row.Append(cell);
                    sd.Append(row);
                    // Headers
                    row = new Row();
                    oxl.columns.Append(new Column()
                    {
                        Width = oxl.ComputeExcelCellWidth(oxl.minWidth), Min = 1, Max = 1, BestFit = true, CustomWidth = true
                    }); cell = oxl.SetCellVal("A3", "Name"); row.Append(cell);
                    oxl.columns.Append(new Column()
                    {
                        Width = oxl.ComputeExcelCellWidth(oxl.minWidth), Min = 2, Max = 2, BestFit = true, CustomWidth = true
                    }); cell = oxl.SetCellVal("B3", "Packaging Cost"); row.Append(cell);
                    oxl.columns.Append(new Column()
                    {
                        Width = oxl.ComputeExcelCellWidth(oxl.minWidth), Min = 3, Max = 3, BestFit = true, CustomWidth = true
                    }); cell = oxl.SetCellVal("C3", "Finishing Cost"); row.Append(cell);
                    oxl.columns.Append(new Column()
                    {
                        Width = oxl.ComputeExcelCellWidth(oxl.minWidth), Min = 4, Max = 4, BestFit = true, CustomWidth = true
                    }); cell = oxl.SetCellVal("D3", "Use Labor Table"); row.Append(cell);
                    worksheet.Append(oxl.columns);
                    sd.Append(row);
                    List <JewelryType> JewelryTypes = db.JewelryTypes.Where(v => v.CompanyId == companyId).OrderBy(j => j.Name).ToList();
                    // Content
                    for (int i = 0; i < JewelryTypes.Count(); i++)
                    {
                        row = new Row();
                        rr  = 4 + i;
                        loc = "A" + rr; cell = oxl.SetCellVal(loc, JewelryTypes[i].Name); row.Append(cell);
                        loc = "B" + rr; cell = oxl.SetCellVal(loc, JewelryTypes[i].PackagingCost); row.Append(cell);
                        loc = "C" + rr; cell = oxl.SetCellVal(loc, JewelryTypes[i].FinishingCost); row.Append(cell);
                        loc = "D" + rr; cell = oxl.SetCellVal(loc, JewelryTypes[i].bUseLaborTable); row.Append(cell);
                        sd.Append(row);
                    }
                    worksheet.Append(sd);
                    // Autofit columns - ss:AutoFitWidth="1"
                    worksheetPart.Worksheet = worksheet;
                    workbookPart.Workbook.Save();
                    document.Close();

                    b = memStream.ToArray();
                    return(File(b, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                                "Jewelry Types as of " + $"{currDate}" + ".xlsx"));
                }
            }
        }
Exemple #47
0
        /// <summary>
        ///导出数据为Excel
        /// </summary>
        /// <param name="dataGridViewSource">需要导出的数据</param>
        /// <param name="saveFileName">导出文件的名称</param>
        /// <returns></returns>
        public static string ImprotDataToExcel(DataGridView dataGridViewSource, string saveFileName)
        {
            //string DownLoadPath = System.IO.Directory.GetCurrentDirectory() + "\\template\\模版.xlsx";

            SaveFileDialog saveFileDialog1 = new SaveFileDialog();

            saveFileDialog1.Filter           = "Excel文件 (*.xlsx)|*.xlsx|(*.xls)|*.xls";
            saveFileDialog1.FilterIndex      = 1;
            saveFileDialog1.RestoreDirectory = true;
            //获取时分秒
            string exportDate = DateTime.Now.ToString("yyyyMMddHHmmss");

            //名称后面自动加入时分秒
            saveFileDialog1.FileName += saveFileName + exportDate + ".xlsx";
            DialogResult dialogResult = saveFileDialog1.ShowDialog();

            // 如果点击了取消,则退出方法
            if (dialogResult == DialogResult.Cancel)
            {
                return("");
            }

            //try
            //{
            //    // 根据模版生成一个空白的Excel文件
            //    //System.IO.File.Copy(DownLoadPath, saveFileDialog1.FileName);
            //}
            //catch (Exception ex)
            //{
            //    MessageBox.Show("复制Excel文件出错" + ex.Message, "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Error);
            //}

            try
            {
                //SpreadsheetDocument.Create(saveFileDialog1.FileName,DocumentFormat.OpenXml.SpreadsheetDocumentType.Workbook,true);
                //SpreadsheetDocument.Open(saveFileDialog1.FileName, true)
                using (SpreadsheetDocument spreadSheet = SpreadsheetDocument.Create(saveFileDialog1.FileName, DocumentFormat.OpenXml.SpreadsheetDocumentType.Workbook, true))
                {
                    #region 新建一个WorkSheet
                    //WorkSheet的名称
                    string sheetName = saveFileName;
                    // create the workbook
                    spreadSheet.AddWorkbookPart();
                    spreadSheet.WorkbookPart.Workbook = new Workbook();     // create the worksheet
                    spreadSheet.WorkbookPart.AddNewPart <WorksheetPart>();
                    spreadSheet.WorkbookPart.WorksheetParts.First().Worksheet = new Worksheet();
                    SharedStringTablePart m_SharedStringTablePart             = spreadSheet.WorkbookPart.AddNewPart <SharedStringTablePart>();

                    // create sheet data
                    SheetData m_SheetData = new SheetData();
                    spreadSheet.WorkbookPart.WorksheetParts.First().Worksheet.AppendChild(m_SheetData);

                    // create row
                    //spreadSheet.WorkbookPart.WorksheetParts.First().Worksheet.First().AppendChild(new Row());
                    //// create cell with data
                    //spreadSheet.WorkbookPart.WorksheetParts.First().Worksheet.First().First().AppendChild(new Cell() { CellValue = new CellValue("100") });

                    //Add Data
                    Row row1 = new Row()
                    {
                        RowIndex = 1
                    };

                    Cell cell1 = new Cell()
                    {
                        CellReference = "A1"
                    };
                    int index = InsertSharedStringItem("Sun", m_SharedStringTablePart);
                    cell1.CellValue = new CellValue(index.ToString());
                    cell1.DataType  = new EnumValue <CellValues>(CellValues.SharedString);

                    row1.Append(cell1);
                    m_SheetData.Append(row1);

                    // save worksheet
                    spreadSheet.WorkbookPart.WorksheetParts.First().Worksheet.Save();

                    // create the worksheet to workbook relation
                    spreadSheet.WorkbookPart.Workbook.AppendChild(new Sheets());
                    spreadSheet.WorkbookPart.Workbook.GetFirstChild <Sheets>().AppendChild(new Sheet()
                    {
                        Id      = spreadSheet.WorkbookPart.GetIdOfPart(spreadSheet.WorkbookPart.WorksheetParts.First()),
                        SheetId = 1,
                        Name    = sheetName
                    });

                    spreadSheet.WorkbookPart.Workbook.Save();
                    #endregion

                    var sheetData = spreadSheet.GetFirstSheetData();
                    //设置单元格样式等于第一条样式
                    //OpenXmlHelper.CellStyleIndex = 1;

                    char OneColumn = Convert.ToChar('A');//第一列都是从A开始的

                    // 去除列表中隐藏的列
                    DataGridView newDataSouce = dataGridViewSource;
                    for (int i = dataGridViewSource.Columns.Count - 1; i >= 0; i--)
                    {
                        if (!dataGridViewSource.Columns[i].Visible)
                        {
                            //删除重复的项
                            newDataSouce.Columns.Remove(dataGridViewSource.Columns[i]);
                        }
                    }

                    //不存在模板时就补充字段名称
                    for (var i = 0; i < newDataSouce.Columns.Count; i++)
                    {
                        if (newDataSouce.Columns[i].Visible)
                        {
                            OneColumn = Convert.ToChar('A' + i);
                            //填写列的名称(暂时还是数据库中的英文)
                            sheetData.SetCellValue(OneColumn.ToString() + 1, newDataSouce.Columns[i].HeaderText);
                        }
                    }
                    if (dataGridViewSource.Rows.Count > 0)
                    {
                        for (var j = 0; j < newDataSouce.Rows.Count; j++)
                        {
                            OneColumn = Convert.ToChar('A');

                            for (var k = 0; k < newDataSouce.Columns.Count; k++)
                            {
                                if (!newDataSouce.Rows[j].Cells[k].Visible)
                                {
                                    continue;
                                }

                                OneColumn = Convert.ToChar('A' + k);
                                //一个个填写值
                                sheetData.SetCellValue(OneColumn.ToString() + (j + 2), newDataSouce.Rows[j].Cells[k].EditedFormattedValue);
                            }
                        }
                    }
                    MessageBox.Show("导出成功!", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("导出Excel文件出错" + ex.Message);
            }
            return("");
        }
Exemple #48
0
        /// <summary>
        /// import by excel docx
        /// excel row/cell (base 0)
        /// </summary>
        /// <param name="docx"></param>
        /// <param name="importDto"></param>
        /// <param name="fileName">imported excel file name</param>
        /// <param name="uiDtFormat"></param>
        /// <returns>error msg if any</returns>
        public async Task <ResultImportDto> ImportByDocxAsync(SpreadsheetDocument docx, ExcelImportDto <T> importDto, string dirUpload, string fileName, string uiDtFormat)
        {
            #region 1.set variables
            #region set docx, excelRows, ssTable
            //var errorMsg = "";
            var wbPart = docx.WorkbookPart;
            var wsPart = (WorksheetPart)wbPart.GetPartById(
                wbPart.Workbook.Descendants <Sheet>().ElementAt(importDto.SheetNo).Id);

            var excelRows = wsPart.Worksheet.Descendants <Row>();    //include empty rows
            var ssTable   = wbPart.GetPartsOfType <SharedStringTablePart>().First().SharedStringTable;
            #endregion

            #region set importDto.ExcelFids, excelFidLen
            int idx;
            var colMap    = new JObject();  //col x-way name(ex:A) -> col index
            var cells     = excelRows.ElementAt(importDto.FidRowNo - 1).Elements <Cell>();
            var excelFids = new List <string>();
            //if (importDto.ExcelFids == null || importDto.ExcelFids.Count == 0)
            //{
            //如果沒有傳入excel欄位名稱, 則使用第一行excel做為欄位名稱
            idx = 0;
            foreach (var cell in cells)
            {
                excelFids.Add(GetCellValue(ssTable, cell));
                colMap[CellXname(cell.CellReference)] = idx;
                idx++;
            }

            /*
             * }
             * else
             * {
             *  //有傳入excel欄位名稱
             *  //check
             *  var cellLen = cells.Count();
             *  if (cellLen != importDto.ExcelFids.Count)
             *  {
             *      errorMsg = "importDto.ExcelFids length should be " + cellLen;
             *      goto lab_error;
             *  }
             *
             *  //set colMap
             *  for (var i=0; i< cellLen; i++)
             *  {
             *      var colName = CellXname(cells.ElementAt(i).CellReference);
             *      colMap[colName] = i;
             *  }
             * }
             */

            //initial excelIsDates & set excelFidLen
            var excelIsDates = new List <bool>();        //是否為是日期欄位
            var excelFidLen  = excelFids.Count;
            for (var i = 0; i < excelFidLen; i++)
            {
                excelIsDates.Add(false);    //initial
            }
            #endregion

            #region set excelIsDates, modelFids, modelDateFids/Fno/Len, modelNotDateFids/Fno/Len
            int fno;
            var modelFids = new List <string>();         //全部欄位
            var model     = new T();
            foreach (var prop in model.GetType().GetProperties())
            {
                //如果對應的excel欄位不存在, 則不記錄此欄位(skip)
                //var type = prop.GetValue(model, null).GetType();
                var fid = prop.Name;
                fno = excelFids.FindIndex(a => a == fid);
                if (fno < 0)
                {
                    continue;
                }

                modelFids.Add(fid);
                if (prop.PropertyType == typeof(DateTime?))
                {
                    excelIsDates[fno] = true;
                }
            }

            //var modelDateFidLen = modelDateFids.Count;
            //var modelNotDateFidLen = modelNotDateFids.Count;
            #endregion

            #region set fileRows by excel file
            var fileRows    = new List <T>(); //excel rows with data(not empty row)
            var excelRowLen = excelRows.LongCount();
            for (var i = importDto.FidRowNo; i < excelRowLen; i++)
            {
                var excelRow = excelRows.ElementAt(i);
                var fileRow  = new T();

                /*
                 * //set datetime column
                 * //var rowHasCol = false;
                 * for(var j=0; j<modelDateFidLen; j++)
                 * {
                 *  //var cell = cells.ElementAt(modelDateFnos[j]);
                 *  var cell = excelRow.Descendants<Cell>().ElementAt(j);
                 *  if (cell.DataType != null)
                 *  {
                 *      //rowHasCol = true;
                 *      value = (cell.DataType == CellValues.SharedString) ? ssTable.ChildElements[int.Parse(cell.CellValue.Text)].InnerText :
                 *          cell.CellValue.Text;
                 *      _Model.SetValue(modelRow, modelDateFids[j], DateTime.FromOADate(double.Parse(value)).ToString(rb.uiDtFormat));
                 *  }
                 * }
                 */

                //write not date column
                //for (var j = 0; j < modelNotDateFidLen; j++)
                //var j = 0;
                foreach (Cell cell in excelRow)
                {
                    /*
                     * if (i == 2 && j == 1)
                     * {
                     *  var aa = "aa";
                     * }
                     */
                    //var cell = cells.ElementAt(modelNotDateFnos[j]);
                    //var cell = excelRow.Descendants<Cell>().ElementAt(modelNotDateFnos[j]);
                    //colName = ;
                    fno = (int)colMap[CellXname(cell.CellReference)];
                    var value = (cell.DataType == CellValues.SharedString)
                        ? ssTable.ChildElements[int.Parse(cell.CellValue.Text)].InnerText
                        : cell.CellValue.Text;
                    _Model.SetValue(fileRow, excelFids[fno], excelIsDates[fno]
                        ? DateTime.FromOADate(double.Parse(value)).ToString(uiDtFormat)
                        : value
                                    );
                }

                fileRows.Add(fileRow);
            }
            #endregion
            #endregion

            #region 2.validate fileRows loop
            idx = 0;
            //var error = "";
            foreach (var fileRow in fileRows)
            {
                //validate
                var context = new ValidationContext(fileRow, null, null);
                var results = new List <ValidationResult>();
                if (Validator.TryValidateObject(fileRow, context, results, true))
                {
                    //user validate rule
                    //if (importDto.FnCheckImportRow != null)
                    //    error = importDto.FnCheckImportRow(fileRow);
                    //if (_Str.IsEmpty(error))
                    _okRowNos.Add(idx);
                    //else
                    //    AddError(idx, error);
                }
                else
                {
                    AddErrorByResults(idx, results);
                }
                idx++;
            }
            #endregion

            #region 3.save database for ok rows(call FnSaveImportRows())
            if (_okRowNos.Count > 0)
            {
                //set okRows
                var okRows = new List <T>();
                foreach (var okRowNo in _okRowNos)
                {
                    okRows.Add(fileRows[okRowNo]);
                }

                //call FnSaveImportRows
                idx = 0;
                var saveResults = importDto.FnSaveImportRows(okRows);
                if (saveResults != null)
                {
                    foreach (var result in saveResults)
                    {
                        if (!_Str.IsEmpty(result))
                        {
                            AddError(_okRowNos[idx], result);
                        }
                        idx++;
                    }
                }
            }
            #endregion

            #region 4.save ok excel file
            if (_Str.IsEmpty(importDto.LogRowId))
            {
                importDto.LogRowId = _Str.NewId();
            }
            var fileStem = _Str.AddDirSep(dirUpload) + importDto.LogRowId;
            docx.SaveAs(fileStem + ".xlsx");
            #endregion

            #region 5.save fail excel file (tail _fail.xlsx)
            var failCount = _failRows.Count;
            if (failCount > 0)
            {
                //set excelFnos: excel column map model column
                var excelFnos = new List <int>();
                for (var i = 0; i < excelFidLen; i++)
                {
                    fno = modelFids.FindIndex(a => a == excelFids[i]);
                    excelFnos.Add(fno);    //<0 means no mapping
                }

                //get docx
                var failFilePath = fileStem + "_fail.xlsx";
                File.Copy(importDto.TplPath, failFilePath, true);

                var docx2   = SpreadsheetDocument.Open(failFilePath, true);
                var wbPart2 = docx2.WorkbookPart;
                var wsPart2 = (WorksheetPart)wbPart2.GetPartById(
                    wbPart2.Workbook.Descendants <Sheet>().ElementAt(0).Id);
                var sheetData2 = wsPart2.Worksheet.GetFirstChild <SheetData>();

                var startRow = importDto.FidRowNo;    //insert position
                for (var i = 0; i < failCount; i++)
                {
                    //add row, fill value & copy row style
                    var modelRow = fileRows[_failRows[i].Sn];
                    var newRow   = new Row();   //new excel row
                    for (var colNo = 0; colNo < excelFidLen; colNo++)
                    {
                        fno = excelFnos[colNo];
                        var value2 = _Model.GetValue(modelRow, excelFids[colNo]);
                        newRow.Append(new Cell()
                        {
                            CellValue = new CellValue(fno < 0 || value2 == null ? "" : value2.ToString()),
                            DataType  = CellValues.String,
                        });
                    }

                    //write cell for error msg
                    newRow.Append(new Cell()
                    {
                        CellValue = new CellValue(_failRows[i].Str),
                        DataType  = CellValues.String,
                    });

                    sheetData2.InsertAt(newRow, startRow + i);
                }
                docx2.Save();
                docx2.Dispose();
            }
            #endregion

            #region 6.insert ImportLog table
            var totalCount = fileRows.Count;
            var okCount    = totalCount - failCount;
            var sql        = $@"
insert into dbo.XpImportLog(Id, Type, FileName,
OkCount, FailCount, TotalCount,
CreatorName, Created)
values('{importDto.LogRowId}', '{importDto.ImportType}', '{fileName}',
{okCount}, {failCount}, {totalCount}, 
'{importDto.CreatorName}', '{_Date.NowDbStr()}')
";
            await _Db.ExecSqlAsync(sql);

            #endregion

            //7.return import result
            return(new ResultImportDto()
            {
                OkCount = okCount,
                FailCount = failCount,
                TotalCount = totalCount,
            });
        }
        // Given a Worksheet and a cell name, verifies that the specified cell exists.
        // If it does not exist, creates a new cell.
        private static void CreateSpreadsheetCellIfNotExist(Worksheet worksheet, string cellName)
        {
            string columnName = GetColumnName(cellName);
            uint rowIndex = GetRowIndex(cellName);

            IEnumerable<Row> rows = worksheet.Descendants<Row>().Where(r => r.RowIndex.Value == rowIndex);

            // If the Worksheet does not contain the specified row, create the specified row.
            // Create the specified cell in that row, and insert the row into the Worksheet.
            if (rows.Count() == 0)
            {
                Row row = new Row() { RowIndex = new UInt32Value(rowIndex) };
                Cell cell = new Cell() { CellReference = new StringValue(cellName) };
                row.Append(cell);
                worksheet.Descendants<SheetData>().First().Append(row);
                worksheet.Save();
            }
            else
            {
                Row row = rows.First();

                IEnumerable<Cell> cells = row.Elements<Cell>().Where(c => c.CellReference.Value == cellName);

                // If the row does not contain the specified cell, create the specified cell.
                if (cells.Count() == 0)
                {
                    Cell cell = new Cell() { CellReference = new StringValue(cellName) };
                    row.Append(cell);
                    worksheet.Save();
                }
            }
        }
        // Generates content of worksheetPart1.
        protected override void GenerateWorksheetPartContent(WorksheetPart worksheetPart)
        {
            Worksheet worksheet1 = new Worksheet() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "x14ac" } };
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            worksheet1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            worksheet1.AddNamespaceDeclaration("x14ac", "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac");
            SheetDimension sheetDimension1 = new SheetDimension() { Reference = "A1:H31" };

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { TabSelected = true, WorkbookViewId = (UInt32Value)0U };
            Selection selection1 = new Selection() { ActiveCell = "A23", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "A23:XFD24" } };

            sheetView1.Append(selection1);

            sheetViews1.Append(sheetView1);
            SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 12D, DyDescent = 0.2D };

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 35.42578125D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 5.7109375D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 5.28515625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 6.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 10.42578125D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 4.85546875D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)7U, Width = 6.140625D, Style = (UInt32Value)1U, BestFit = true, CustomWidth = true };
            Column column8 = new Column() { Min = (UInt32Value)8U, Max = (UInt32Value)8U, Width = 11.85546875D, Style = (UInt32Value)1U, CustomWidth = true };
            Column column9 = new Column() { Min = (UInt32Value)9U, Max = (UInt32Value)16384U, Width = 9.140625D, Style = (UInt32Value)1U };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);
            columns1.Append(column6);
            columns1.Append(column7);
            columns1.Append(column8);
            columns1.Append(column9);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell1 = new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell1.Append(cellValue1);

            Cell cell2 = new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)7U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "1";

            cell2.Append(cellValue2);
            Cell cell3 = new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)8U };
            Cell cell4 = new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)8U };
            Cell cell5 = new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)8U };
            Cell cell6 = new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)9U };

            Cell cell7 = new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "2";

            cell7.Append(cellValue3);
            Cell cell8 = new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)6U };

            row1.Append(cell1);
            row1.Append(cell2);
            row1.Append(cell3);
            row1.Append(cell4);
            row1.Append(cell5);
            row1.Append(cell6);
            row1.Append(cell7);
            row1.Append(cell8);

            Row row2 = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };
            Cell cell9 = new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)6U };
            Cell cell10 = new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)10U };
            Cell cell11 = new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)11U };
            Cell cell12 = new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)11U };
            Cell cell13 = new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)11U };
            Cell cell14 = new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)12U };

            Cell cell15 = new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "3";

            cell15.Append(cellValue4);
            Cell cell16 = new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)6U };

            row2.Append(cell9);
            row2.Append(cell10);
            row2.Append(cell11);
            row2.Append(cell12);
            row2.Append(cell13);
            row2.Append(cell14);
            row2.Append(cell15);
            row2.Append(cell16);

            Row row3 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };
            Cell cell17 = new Cell() { CellReference = "A3", StyleIndex = (UInt32Value)6U };
            Cell cell18 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)10U };
            Cell cell19 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)11U };
            Cell cell20 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)11U };
            Cell cell21 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)11U };
            Cell cell22 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)12U };

            Cell cell23 = new Cell() { CellReference = "G3", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "4";

            cell23.Append(cellValue5);
            Cell cell24 = new Cell() { CellReference = "H3", StyleIndex = (UInt32Value)6U };

            row3.Append(cell17);
            row3.Append(cell18);
            row3.Append(cell19);
            row3.Append(cell20);
            row3.Append(cell21);
            row3.Append(cell22);
            row3.Append(cell23);
            row3.Append(cell24);

            Row row4 = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };
            Cell cell25 = new Cell() { CellReference = "A4", StyleIndex = (UInt32Value)6U };
            Cell cell26 = new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)13U };
            Cell cell27 = new Cell() { CellReference = "C4", StyleIndex = (UInt32Value)14U };
            Cell cell28 = new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)14U };
            Cell cell29 = new Cell() { CellReference = "E4", StyleIndex = (UInt32Value)14U };
            Cell cell30 = new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)15U };

            Cell cell31 = new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue6 = new CellValue();
            cellValue6.Text = "5";

            cell31.Append(cellValue6);
            Cell cell32 = new Cell() { CellReference = "H4", StyleIndex = (UInt32Value)6U };

            row4.Append(cell25);
            row4.Append(cell26);
            row4.Append(cell27);
            row4.Append(cell28);
            row4.Append(cell29);
            row4.Append(cell30);
            row4.Append(cell31);
            row4.Append(cell32);

            Row row5 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell33 = new Cell() { CellReference = "A5", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "6";

            cell33.Append(cellValue7);

            Cell cell34 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "7";

            cell34.Append(cellValue8);
            Cell cell35 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)6U };
            Cell cell36 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)6U };
            Cell cell37 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)6U };
            Cell cell38 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)6U };
            Cell cell39 = new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)6U };
            Cell cell40 = new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)6U };

            row5.Append(cell33);
            row5.Append(cell34);
            row5.Append(cell35);
            row5.Append(cell36);
            row5.Append(cell37);
            row5.Append(cell38);
            row5.Append(cell39);
            row5.Append(cell40);

            Row row6 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell41 = new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue9 = new CellValue();
            cellValue9.Text = "8";

            cell41.Append(cellValue9);

            Cell cell42 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue10 = new CellValue();
            cellValue10.Text = "9";

            cell42.Append(cellValue10);
            Cell cell43 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)6U };
            Cell cell44 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)6U };
            Cell cell45 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)6U };
            Cell cell46 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)6U };
            Cell cell47 = new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)6U };
            Cell cell48 = new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)6U };

            row6.Append(cell41);
            row6.Append(cell42);
            row6.Append(cell43);
            row6.Append(cell44);
            row6.Append(cell45);
            row6.Append(cell46);
            row6.Append(cell47);
            row6.Append(cell48);

            Row row7 = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell49 = new Cell() { CellReference = "A7", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "10";

            cell49.Append(cellValue11);

            Cell cell50 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "11";

            cell50.Append(cellValue12);
            Cell cell51 = new Cell() { CellReference = "C7", StyleIndex = (UInt32Value)6U };
            Cell cell52 = new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)6U };
            Cell cell53 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)6U };
            Cell cell54 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)6U };
            Cell cell55 = new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)6U };
            Cell cell56 = new Cell() { CellReference = "H7", StyleIndex = (UInt32Value)6U };

            row7.Append(cell49);
            row7.Append(cell50);
            row7.Append(cell51);
            row7.Append(cell52);
            row7.Append(cell53);
            row7.Append(cell54);
            row7.Append(cell55);
            row7.Append(cell56);

            Row row8 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell57 = new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "12";

            cell57.Append(cellValue13);

            Cell cell58 = new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "13";

            cell58.Append(cellValue14);
            Cell cell59 = new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)6U };
            Cell cell60 = new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)6U };
            Cell cell61 = new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)6U };
            Cell cell62 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)6U };
            Cell cell63 = new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)6U };
            Cell cell64 = new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)6U };

            row8.Append(cell57);
            row8.Append(cell58);
            row8.Append(cell59);
            row8.Append(cell60);
            row8.Append(cell61);
            row8.Append(cell62);
            row8.Append(cell63);
            row8.Append(cell64);

            Row row9 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell65 = new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)2U, DataType = CellValues.SharedString };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "14";

            cell65.Append(cellValue15);

            Cell cell66 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)6U, DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "9";

            cell66.Append(cellValue16);
            Cell cell67 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)6U };
            Cell cell68 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)6U };
            Cell cell69 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)6U };
            Cell cell70 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)6U };
            Cell cell71 = new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)6U };
            Cell cell72 = new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)6U };

            row9.Append(cell65);
            row9.Append(cell66);
            row9.Append(cell67);
            row9.Append(cell68);
            row9.Append(cell69);
            row9.Append(cell70);
            row9.Append(cell71);
            row9.Append(cell72);

            Row row10 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell73 = new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "15";

            cell73.Append(cellValue17);

            row10.Append(cell73);

            Row row11 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell74 = new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "16";

            cell74.Append(cellValue18);

            Cell cell75 = new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "41";

            cell75.Append(cellValue19);

            Cell cell76 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "17";

            cell76.Append(cellValue20);

            Cell cell77 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "18";

            cell77.Append(cellValue21);

            Cell cell78 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "19";

            cell78.Append(cellValue22);

            Cell cell79 = new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "20";

            cell79.Append(cellValue23);

            Cell cell80 = new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "21";

            cell80.Append(cellValue24);

            Cell cell81 = new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)3U, DataType = CellValues.SharedString };
            CellValue cellValue25 = new CellValue();
            cellValue25.Text = "22";

            cell81.Append(cellValue25);

            row11.Append(cell74);
            row11.Append(cell75);
            row11.Append(cell76);
            row11.Append(cell77);
            row11.Append(cell78);
            row11.Append(cell79);
            row11.Append(cell80);
            row11.Append(cell81);

            uint row = 13;
            var dynamicRows = new List<Row>();
            int count = sampleSelectionRequest.AnalysesCount;
            foreach (var work in sampleSelectionRequest.AnalyzeWorks.Where(w => w.IsPresent && w.Work.IsWork))
            {
                Row row12 = new Row() { RowIndex = row, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };
                double price = (double) sampleSelectionRequest.PriceList.GetPrice(sampleSelectionRequest.PlantVariety.Plant, work.Work).Price;
                double cost = price * count;
                double fullCost;
                double vat = Taxes.CalculateVat(price, out fullCost);

                Cell cell82 = new Cell() { CellReference = "A"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String };
                CellValue cellValue26 = new CellValue();
                cellValue26.Text = work.Work.Name;

                cell82.Append(cellValue26);

                Cell cell83 = new Cell() { CellReference = "B"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String };
                CellValue cellValue27 = new CellValue();
                cellValue27.Text = Unit.Value;

                cell83.Append(cellValue27);

                Cell cell84 = new Cell() { CellReference = "C"+row, StyleIndex = (UInt32Value)3U, DataType = CellValues.String };
                CellValue cellValue28 = new CellValue();
                cellValue28.Text = count.ToString("N0");

                cell84.Append(cellValue28);

                Cell cell85 = new Cell() { CellReference = "D"+row, StyleIndex = (UInt32Value)3U };
                CellValue cellValue29 = new CellValue();
                cellValue29.Text = price.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell85.Append(cellValue29);

                Cell cell86 = new Cell() { CellReference = "E"+row, StyleIndex = (UInt32Value)3U };
                CellValue cellValue30 = new CellValue();
                cellValue30.Text = cost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell86.Append(cellValue30);

                Cell cell87 = new Cell() { CellReference = "F"+row, StyleIndex = (UInt32Value)3U };
                CellValue cellValue31 = new CellValue();
                cellValue31.Text = Taxes.VatPercent.ToString("N0");

                cell87.Append(cellValue31);

                Cell cell88 = new Cell() { CellReference = "G"+row, StyleIndex = (UInt32Value)3U };
                CellValue cellValue32 = new CellValue();
                cellValue32.Text = vat.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell88.Append(cellValue32);

                Cell cell89 = new Cell() { CellReference = "H"+row, StyleIndex = (UInt32Value)3U };
                CellValue cellValue33 = new CellValue();
                cellValue33.Text = fullCost.ToString(SeedsConfiguration.Current.Ui.CurrencyFormat);

                cell89.Append(cellValue33);

                row12.Append(cell82);
                row12.Append(cell83);
                row12.Append(cell84);
                row12.Append(cell85);
                row12.Append(cell86);
                row12.Append(cell87);
                row12.Append(cell88);
                row12.Append(cell89);

                dynamicRows.Add(row12);

                sumPrice += price;
                sumCost += cost;
                sumVat += vat;
                sumFullCost += cost;
                row++;
            }

            Row row25 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell183 = new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue127 = new CellValue();
            cellValue127.Text = "37";

            cell183.Append(cellValue127);

            Cell cell184 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue128 = new CellValue();
            cellValue128.Text = "42";

            cell184.Append(cellValue128);
            Cell cell185 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)5U };
            Cell cell186 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)4U };
            Cell cell187 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)4U };
            Cell cell188 = new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)4U };
            Cell cell189 = new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)4U };
            Cell cell190 = new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)4U };

            row25.Append(cell183);
            row25.Append(cell184);
            row25.Append(cell185);
            row25.Append(cell186);
            row25.Append(cell187);
            row25.Append(cell188);
            row25.Append(cell189);
            row25.Append(cell190);

            Row row26 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell191 = new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue129 = new CellValue();
            cellValue129.Text = "38";

            cell191.Append(cellValue129);

            Cell cell192 = new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue130 = new CellValue();
            cellValue130.Text = "43";

            cell192.Append(cellValue130);
            Cell cell193 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)5U };
            Cell cell194 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)4U };
            Cell cell195 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)4U };
            Cell cell196 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)4U };
            Cell cell197 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)4U };
            Cell cell198 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)4U };

            row26.Append(cell191);
            row26.Append(cell192);
            row26.Append(cell193);
            row26.Append(cell194);
            row26.Append(cell195);
            row26.Append(cell196);
            row26.Append(cell197);
            row26.Append(cell198);

            Row row27 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "1:8" }, DyDescent = 0.2D };

            Cell cell199 = new Cell() { CellReference = "A31", StyleIndex = (UInt32Value)1U, DataType = CellValues.SharedString };
            CellValue cellValue131 = new CellValue();
            cellValue131.Text = "39";

            cell199.Append(cellValue131);

            row27.Append(cell199);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);
            sheetData1.Append(row6);
            sheetData1.Append(row7);
            sheetData1.Append(row8);
            sheetData1.Append(row9);
            sheetData1.Append(row10);
            sheetData1.Append(row11);
            foreach (var dynamicRow in dynamicRows)
            {
                sheetData1.Append(dynamicRow);
            }
            sheetData1.Append(row25);
            sheetData1.Append(row26);
            sheetData1.Append(row27);

            MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)13U };
            MergeCell mergeCell1 = new MergeCell() { Reference = "A1:A4" };
            MergeCell mergeCell2 = new MergeCell() { Reference = "G1:H1" };
            MergeCell mergeCell3 = new MergeCell() { Reference = "G2:H2" };
            MergeCell mergeCell4 = new MergeCell() { Reference = "G3:H3" };
            MergeCell mergeCell5 = new MergeCell() { Reference = "G4:H4" };
            MergeCell mergeCell6 = new MergeCell() { Reference = "B1:F4" };
            MergeCell mergeCell7 = new MergeCell() { Reference = "B29:C29" };
            MergeCell mergeCell8 = new MergeCell() { Reference = "B5:H5" };
            MergeCell mergeCell9 = new MergeCell() { Reference = "B6:H6" };
            MergeCell mergeCell10 = new MergeCell() { Reference = "B7:H7" };
            MergeCell mergeCell11 = new MergeCell() { Reference = "B9:H9" };
            MergeCell mergeCell12 = new MergeCell() { Reference = "B8:H8" };
            MergeCell mergeCell13 = new MergeCell() { Reference = "B27:C27" };

            mergeCells1.Append(mergeCell1);
            mergeCells1.Append(mergeCell2);
            mergeCells1.Append(mergeCell3);
            mergeCells1.Append(mergeCell4);
            mergeCells1.Append(mergeCell5);
            mergeCells1.Append(mergeCell6);
            mergeCells1.Append(mergeCell7);
            mergeCells1.Append(mergeCell8);
            mergeCells1.Append(mergeCell9);
            mergeCells1.Append(mergeCell10);
            mergeCells1.Append(mergeCell11);
            mergeCells1.Append(mergeCell12);
            mergeCells1.Append(mergeCell13);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" };

            worksheet1.Append(sheetDimension1);
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(columns1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(mergeCells1);
            worksheet1.Append(pageMargins1);
            worksheet1.Append(pageSetup1);

            worksheetPart.Worksheet = worksheet1;
        }
        public override Task WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
        {
            var query = context.Object is IQueryable ? (IQueryable)context.Object : ((IEnumerable)context.Object).AsQueryable();

            var queryString = context.HttpContext.Request.QueryString;
            var columns     = queryString.Value.Contains("$select") ?
                              OutputFormatter.GetPropertiesFromSelect(queryString.Value, query.ElementType) :
                              OutputFormatter.GetProperties(query.ElementType);


            var stream = new MemoryStream();

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

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

                var workbookStylesPart = workbookPart.AddNewPart <WorkbookStylesPart>();
                GenerateWorkbookStylesPartContent(workbookStylesPart);

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

                workbookPart.Workbook.Save();

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

                var headerRow = new Row();

                foreach (var column in columns)
                {
                    headerRow.Append(new Cell()
                    {
                        CellValue = new CellValue(column.Key),
                        DataType  = new EnumValue <CellValues>(CellValues.String)
                    });
                }

                sheetData.AppendChild(headerRow);

                foreach (var item in query)
                {
                    var row = new Row();

                    foreach (var column in columns)
                    {
                        var value       = OutputFormatter.GetValue(item, column.Key);
                        var stringValue = $"{value}".Trim();

                        var cell = new Cell();

                        var underlyingType = column.Value.IsGenericType &&
                                             column.Value.GetGenericTypeDefinition() == typeof(Nullable <>) ?
                                             Nullable.GetUnderlyingType(column.Value) : column.Value;

                        var typeCode = Type.GetTypeCode(underlyingType);

                        if (typeCode == TypeCode.DateTime)
                        {
                            if (stringValue != string.Empty)
                            {
                                cell.CellValue = new CellValue()
                                {
                                    Text = DateTime.Parse(stringValue).ToOADate().ToString()
                                };
                                cell.StyleIndex = (UInt32Value)1U;
                            }
                        }
                        else if (typeCode == TypeCode.Boolean)
                        {
                            cell.CellValue = new CellValue(stringValue.ToLower());
                            cell.DataType  = new EnumValue <CellValues>(CellValues.Boolean);
                        }
                        else if (IsNumeric(typeCode))
                        {
                            cell.CellValue = new CellValue(stringValue);
                            cell.DataType  = new EnumValue <CellValues>(CellValues.Number);
                        }
                        else
                        {
                            cell.CellValue = new CellValue(stringValue);
                            cell.DataType  = new EnumValue <CellValues>(CellValues.String);
                        }

                        row.Append(cell);
                    }

                    sheetData.AppendChild(row);
                }


                workbookPart.Workbook.Save();
            }

            if (stream?.Length > 0)
            {
                stream.Seek(0, SeekOrigin.Begin);
            }

            return(stream.CopyToAsync(context.HttpContext.Response.Body));
        }
Exemple #52
0
        private static void FillSheetDataWithInputItemList(SheetData sheetData, List <InputItem> inputItems)
        {
            Row rHeader = new Row()
            {
                RowIndex = (UInt32Value)1u
            };
            Cell cHeader1 = new Cell();

            cHeader1.DataType  = CellValues.String;
            cHeader1.CellValue = new CellValue("序号");
            Cell cHeader2 = new Cell();

            cHeader2.DataType  = CellValues.String;
            cHeader2.CellValue = new CellValue("产品名称");
            Cell cHeader3 = new Cell();

            cHeader3.DataType  = CellValues.String;
            cHeader3.CellValue = new CellValue("规格");
            Cell cHeader4 = new Cell();

            cHeader4.DataType  = CellValues.String;
            cHeader4.CellValue = new CellValue("数量");
            Cell cHeader5 = new Cell();

            cHeader5.DataType  = CellValues.String;
            cHeader5.CellValue = new CellValue("位置");
            Cell cHeader6 = new Cell();

            cHeader6.DataType  = CellValues.String;
            cHeader6.CellValue = new CellValue("备注");
            Cell cHeader7 = new Cell();

            cHeader7.DataType  = CellValues.String;
            cHeader7.CellValue = new CellValue("铺贴方向");
            rHeader.Append(cHeader1);
            rHeader.Append(cHeader2);
            rHeader.Append(cHeader3);
            rHeader.Append(cHeader4);
            rHeader.Append(cHeader5);
            rHeader.Append(cHeader6);
            rHeader.Append(cHeader7);
            sheetData.Append(rHeader);

            uint rowIndex = 2u;

            foreach (InputItem item in inputItems)
            {
                Row row = new Row()
                {
                    RowIndex = (UInt32Value)rowIndex
                };
                Cell cell1 = new Cell();
                cell1.DataType  = CellValues.Number;
                cell1.CellValue = new CellValue((rowIndex - 1).ToString());
                Cell cell2 = new Cell();
                cell2.DataType  = CellValues.String;
                cell2.CellValue = new CellValue(item.ProductName);
                Cell cell3 = new Cell();
                cell3.DataType  = CellValues.String;
                cell3.CellValue = new CellValue(item.Type);
                Cell cell4 = new Cell();
                cell4.DataType  = CellValues.Number;
                cell4.CellValue = new CellValue(item.Quantity.ToString());
                Cell cell5 = new Cell();
                cell5.DataType  = CellValues.String;
                cell5.CellValue = new CellValue(item.Position);
                Cell cell6 = new Cell();
                cell6.DataType  = CellValues.String;
                cell6.CellValue = new CellValue(item.Room);
                Cell cell7 = new Cell();
                cell7.DataType  = CellValues.String;
                cell7.CellValue = new CellValue(item.ApplyDirection);
                row.Append(cell1);
                row.Append(cell2);
                row.Append(cell3);
                row.Append(cell4);
                row.Append(cell5);
                row.Append(cell6);
                row.Append(cell7);
                sheetData.Append(row);

                rowIndex++;
            }
        }
        // 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;
        }
Exemple #54
0
        private static void FillSheetDataWithInputItemListAllFields(SheetData sheetData, List <InputItem> inputItems)
        {
            Row rHeader = new Row()
            {
                RowIndex = (UInt32Value)1u
            };
            Cell cHeader1 = new Cell();

            cHeader1.DataType  = CellValues.String;
            cHeader1.CellValue = new CellValue("序号");
            Cell cHeader2 = new Cell();

            cHeader2.DataType  = CellValues.String;
            cHeader2.CellValue = new CellValue("产品名称");
            Cell cHeader3 = new Cell();

            cHeader3.DataType  = CellValues.String;
            cHeader3.CellValue = new CellValue("板或线");
            Cell cHeader4 = new Cell();

            cHeader4.DataType  = CellValues.String;
            cHeader4.CellValue = new CellValue("规格");
            Cell cHeader5 = new Cell();

            cHeader5.DataType  = CellValues.String;
            cHeader5.CellValue = new CellValue("尺寸");
            Cell cHeader6 = new Cell();

            cHeader6.DataType  = CellValues.String;
            cHeader6.CellValue = new CellValue("位置");
            Cell cHeader7 = new Cell();

            cHeader7.DataType  = CellValues.String;
            cHeader7.CellValue = new CellValue("房间");
            Cell cHeader8 = new Cell();

            cHeader8.DataType  = CellValues.String;
            cHeader8.CellValue = new CellValue("单片长");
            Cell cHeader9 = new Cell();

            cHeader9.DataType  = CellValues.String;
            cHeader9.CellValue = new CellValue("铺贴方向");
            Cell cHeader10 = new Cell();

            cHeader10.DataType  = CellValues.String;
            cHeader10.CellValue = new CellValue("总尺寸");
            Cell cHeader11 = new Cell();

            cHeader11.DataType  = CellValues.String;
            cHeader11.CellValue = new CellValue("数量");

            rHeader.Append(cHeader1);
            rHeader.Append(cHeader2);
            rHeader.Append(cHeader3);
            rHeader.Append(cHeader4);
            rHeader.Append(cHeader5);
            rHeader.Append(cHeader6);
            rHeader.Append(cHeader7);
            rHeader.Append(cHeader8);
            rHeader.Append(cHeader9);
            rHeader.Append(cHeader10);
            rHeader.Append(cHeader11);
            sheetData.Append(rHeader);

            uint rowIndex = 2u;

            foreach (InputItem item in inputItems)
            {
                Row row = new Row()
                {
                    RowIndex = (UInt32Value)rowIndex
                };
                Cell cell1 = new Cell();
                cell1.DataType  = CellValues.Number;
                cell1.CellValue = new CellValue((rowIndex - 1).ToString());
                Cell cell2 = new Cell();
                cell2.DataType  = CellValues.String;
                cell2.CellValue = new CellValue(item.ProductName);
                Cell cell3 = new Cell();
                cell3.DataType  = CellValues.String;
                cell3.CellValue = new CellValue(item.BorX);
                Cell cell4 = new Cell();
                cell4.DataType  = CellValues.String;
                cell4.CellValue = new CellValue(item.Type);
                Cell cell5 = new Cell();
                cell5.DataType  = CellValues.String;
                cell5.CellValue = new CellValue(item.Size);
                Cell cell6 = new Cell();
                cell6.DataType  = CellValues.String;
                cell6.CellValue = new CellValue(item.Position);
                Cell cell7 = new Cell();
                cell7.DataType  = CellValues.String;
                cell7.CellValue = new CellValue(item.Room);
                Cell cell8 = new Cell();
                cell8.DataType  = CellValues.Number;
                cell8.CellValue = new CellValue(item.UnitLength);
                Cell cell9 = new Cell();
                cell9.DataType  = CellValues.String;
                cell9.CellValue = new CellValue(item.ApplyDirection);
                Cell cell10 = new Cell();
                cell10.DataType  = CellValues.Number;
                cell10.CellValue = new CellValue(item.SummedUpSize.ToString());
                Cell cell11 = new Cell();
                cell11.DataType  = CellValues.Number;
                cell11.CellValue = new CellValue(item.Quantity.ToString());
                row.Append(cell1);
                row.Append(cell2);
                row.Append(cell3);
                row.Append(cell4);
                row.Append(cell5);
                row.Append(cell6);
                row.Append(cell7);
                row.Append(cell8);
                row.Append(cell9);
                row.Append(cell10);
                row.Append(cell11);
                sheetData.Append(row);

                rowIndex++;
            }
        }
        // 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;
        }
Exemple #56
0
        private static void FillSheetDataWithSummedItemListAndBuckleItem(SheetData sheetData, List <SummedItem> summedItems, BuckleItem buckleItem, bool buyPriceNotSellPrice)
        {
            // Sum price for all items
            double totalPrice = 0;

            // Fill in header
            Row rHeader = new Row()
            {
                RowIndex = (UInt32Value)1u
            };
            Cell cHeader1 = new Cell();

            cHeader1.DataType  = CellValues.String;
            cHeader1.CellValue = new CellValue("序号");
            Cell cHeader2 = new Cell();

            cHeader2.DataType  = CellValues.String;
            cHeader2.CellValue = new CellValue("产品名称");
            Cell cHeader3 = new Cell();

            cHeader3.DataType  = CellValues.String;
            cHeader3.CellValue = new CellValue("规格");
            Cell cHeader4 = new Cell();

            cHeader4.DataType  = CellValues.String;
            cHeader4.CellValue = new CellValue("数量");
            Cell cHeader5 = new Cell();

            cHeader5.DataType  = CellValues.String;
            cHeader5.CellValue = new CellValue("平方");
            Cell cHeader6 = new Cell();

            cHeader6.DataType  = CellValues.String;
            cHeader6.CellValue = new CellValue("单价");
            Cell cHeader7 = new Cell();

            cHeader7.DataType  = CellValues.String;
            cHeader7.CellValue = new CellValue("合计");
            Cell cHeader8 = new Cell();

            cHeader8.DataType  = CellValues.String;
            cHeader8.CellValue = new CellValue("位置");
            Cell cHeader9 = new Cell();

            cHeader9.DataType  = CellValues.String;
            cHeader9.CellValue = new CellValue("备注");
            rHeader.Append(cHeader1);
            rHeader.Append(cHeader2);
            rHeader.Append(cHeader3);
            rHeader.Append(cHeader4);
            rHeader.Append(cHeader5);
            rHeader.Append(cHeader6);
            rHeader.Append(cHeader7);
            rHeader.Append(cHeader8);
            rHeader.Append(cHeader9);
            sheetData.Append(rHeader);

            // Fill in summedItemList
            uint rowIndex = 2u;

            foreach (SummedItem item in summedItems)
            {
                Row row = new Row()
                {
                    RowIndex = (UInt32Value)rowIndex
                };
                Cell cell1 = new Cell();
                cell1.DataType  = CellValues.Number;
                cell1.CellValue = new CellValue((rowIndex - 1).ToString());
                Cell cell2 = new Cell();
                cell2.DataType  = CellValues.String;
                cell2.CellValue = new CellValue(item.ProductName);
                Cell cell3 = new Cell();
                cell3.DataType  = CellValues.String;
                cell3.CellValue = new CellValue(item.Type);
                Cell cell4 = new Cell();
                cell4.DataType  = CellValues.Number;
                cell4.CellValue = new CellValue(item.Quantity.ToString());
                Cell cell5 = new Cell();
                cell5.DataType  = CellValues.Number;
                cell5.CellValue = new CellValue(item.TotalAreaOrLength.ToString());
                Cell cell6 = new Cell();
                cell6.DataType  = CellValues.Number;
                cell6.CellValue = new CellValue(buyPriceNotSellPrice ? item.BuyPrice: item.SellPrice);

                Cell cell7 = new Cell();
                cell7.DataType = CellValues.Number;
                double itemTotalPrice = buyPriceNotSellPrice ? item.TotalBuyPrice : item.TotalSellPrice;
                cell7.CellValue = new CellValue(itemTotalPrice.ToString());
                totalPrice     += itemTotalPrice;

                Cell cell8 = new Cell();
                cell8.DataType  = CellValues.String;
                cell8.CellValue = new CellValue(item.Memo);
                Cell cell9 = new Cell();
                cell9.DataType  = CellValues.String;
                cell9.CellValue = new CellValue("");
                row.Append(cell1);
                row.Append(cell2);
                row.Append(cell3);
                row.Append(cell4);
                row.Append(cell5);
                row.Append(cell6);
                row.Append(cell7);
                row.Append(cell8);
                row.Append(cell9);
                sheetData.Append(row);

                rowIndex++;
            }

            // Fill in buckleItem if we need buckle
            if (buckleItem != null)
            {
                Row rBuckle = new Row()
                {
                    RowIndex = (UInt32Value)rowIndex
                };
                Cell cBuckle1 = new Cell();
                cBuckle1.DataType  = CellValues.Number;
                cBuckle1.CellValue = new CellValue((rowIndex - 1).ToString());
                Cell cBuckle2 = new Cell();
                cBuckle2.DataType  = CellValues.String;
                cBuckle2.CellValue = new CellValue(buckleItem.ProductName);
                Cell cBuckle3 = new Cell();
                cBuckle3.DataType  = CellValues.String;
                cBuckle3.CellValue = new CellValue("");
                Cell cBuckle4 = new Cell();
                cBuckle4.DataType  = CellValues.Number;
                cBuckle4.CellValue = new CellValue(buckleItem.Quantity.ToString());
                Cell cBuckle5 = new Cell();
                cBuckle5.DataType  = CellValues.String;
                cBuckle5.CellValue = new CellValue("");
                Cell cBuckle6 = new Cell();
                cBuckle6.DataType  = CellValues.Number;
                cBuckle6.CellValue = new CellValue(buyPriceNotSellPrice ? buckleItem.BuyPrice : buckleItem.SellPrice);

                Cell cBuckle7 = new Cell();
                cBuckle7.DataType = CellValues.Number;
                double buckleTotalPrice = buyPriceNotSellPrice ? buckleItem.TotalBuyPrice : buckleItem.TotalSellPrice;
                cBuckle7.CellValue = new CellValue(buckleTotalPrice.ToString());
                totalPrice        += buckleTotalPrice;

                Cell cBuckle8 = new Cell();
                cBuckle8.DataType  = CellValues.String;
                cBuckle8.CellValue = new CellValue("");
                Cell cBuckle9 = new Cell();
                cBuckle9.DataType  = CellValues.String;
                cBuckle9.CellValue = new CellValue("");
                rBuckle.Append(cBuckle1);
                rBuckle.Append(cBuckle2);
                rBuckle.Append(cBuckle3);
                rBuckle.Append(cBuckle4);
                rBuckle.Append(cBuckle5);
                rBuckle.Append(cBuckle6);
                rBuckle.Append(cBuckle7);
                rBuckle.Append(cBuckle8);
                rBuckle.Append(cBuckle9);
                sheetData.Append(rBuckle);

                rowIndex++;
            }

            // Fill in total price
            Row rTotal = new Row()
            {
                RowIndex = (UInt32Value)rowIndex
            };
            Cell cTotal1 = new Cell();

            cTotal1.DataType  = CellValues.String;
            cTotal1.CellValue = new CellValue("");
            Cell cTotal2 = new Cell();

            cTotal2.DataType  = CellValues.String;
            cTotal2.CellValue = new CellValue("");
            Cell cTotal3 = new Cell();

            cTotal3.DataType  = CellValues.String;
            cTotal3.CellValue = new CellValue("");
            Cell cTotal4 = new Cell();

            cTotal4.DataType  = CellValues.String;
            cTotal4.CellValue = new CellValue("");
            Cell cTotal5 = new Cell();

            cTotal5.DataType  = CellValues.String;
            cTotal5.CellValue = new CellValue("");
            Cell cTotal6 = new Cell();

            cTotal6.DataType  = CellValues.String;
            cTotal6.CellValue = new CellValue("总计");
            Cell cTotal7 = new Cell();

            cTotal7.DataType  = CellValues.Number;
            cTotal7.CellValue = new CellValue(totalPrice.ToString());
            Cell cTotal8 = new Cell();

            cTotal8.DataType  = CellValues.String;
            cTotal8.CellValue = new CellValue("");
            Cell cTotal9 = new Cell();

            cTotal9.DataType  = CellValues.String;
            cTotal9.CellValue = new CellValue("");
            rTotal.Append(cTotal1);
            rTotal.Append(cTotal2);
            rTotal.Append(cTotal3);
            rTotal.Append(cTotal4);
            rTotal.Append(cTotal5);
            rTotal.Append(cTotal6);
            rTotal.Append(cTotal7);
            rTotal.Append(cTotal8);
            rTotal.Append(cTotal9);
            sheetData.Append(rTotal);

            rowIndex++;
        }
Exemple #57
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;
        }
Exemple #58
0
        static void GenerateSpreadsheet(string fileName, List <HostelGroup> groups)
        {
            using (SpreadsheetDocument document = SpreadsheetDocument.Create(fileName, SpreadsheetDocumentType.Workbook))
            {
                // Add a Workbook container to the document and put a workbook in it
                WorkbookPart workbookPart = document.AddWorkbookPart();
                workbookPart.Workbook = new Workbook();

                // Add an initially empty collection of sheets to the workbook
                Sheets sheets = workbookPart.Workbook.AppendChild(new Sheets());

                // Adding style
                WorkbookStylesPart stylePart = workbookPart.AddNewPart <WorkbookStylesPart>();
                stylePart.Stylesheet = GenerateStylesheet();
                stylePart.Stylesheet.Save();

                // Create and populate a worksheet per group
                uint sheetId = 1;
                foreach (HostelGroup group in groups)
                {
                    // Add a worksheet container to the workbook container, and put a worksheet in it
                    WorksheetPart worksheetPart = workbookPart.AddNewPart <WorksheetPart>();
                    worksheetPart.Worksheet = new Worksheet();

                    // Setting up columns collection and add the date column format.
                    // Columns are worksheet specific and cannot be shared between multiple worksheets
                    Columns columns = new Columns(new Column {
                        Min = 1, Max = 1, Width = 18, CustomWidth = true
                    });
                    worksheetPart.Worksheet.AppendChild(columns);

                    // Create a sheet to contain the data (well at least a link to the data) and append it to the collection held by the workbook
                    sheets.Append(new Sheet()
                    {
                        Id = workbookPart.GetIdOfPart(worksheetPart), SheetId = sheetId++, Name = group.Name
                    });

                    // Save the workbook
                    workbookPart.Workbook.Save();

                    // Constructing header of hostel names
                    Row row = new Row();
                    row.Append(ConstructCell(" ", CellValues.String, 1));
                    uint columnNo = 2;

                    foreach (Hostel hostel in group.Hostels)
                    {
                        row.Append(ConstructCell(hostel.Name, CellValues.String, 1));
                        columns.Append(new Column {
                            Min = columnNo, Max = columnNo++, Width = hostel.Name.Length + 1, CustomWidth = true
                        });
                    }

                    // Now actually create somewhere to store the data
                    SheetData sheetData = worksheetPart.Worksheet.AppendChild(new SheetData());

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

                    // Inserting each date
                    foreach (string date in group.Availability.Dates)
                    {
                        row = new Row();
                        row.Append(ConstructCell(date, CellValues.String, 4));

                        // And now the availability for that date
                        foreach (bool avail in group.Availability.AvailabilityForDate(date))
                        {
                            row.Append(ConstructCell("", CellValues.String, (uint)(avail ? 2 :  3)));
                        }

                        sheetData.AppendChild(row);
                    }

                    worksheetPart.Worksheet.Save();
                }
            }
        }
Exemple #59
0
        public void Write(DataTable dt)
        {
            var sheets = _wbPart.Workbook.Descendants<Sheet>();
            int sheetCount = sheets.Count();
            var sheet = sheets.Where(c => c.Name.Value.ToLower() == dt.TableName.ToLower()).FirstOrDefault();
            WorksheetPart wsPart = null;
            if (sheet == null)
            {
                wsPart = _wbPart.AddNewPart<WorksheetPart>();
                wsPart.Worksheet = new Worksheet(new SheetData());
                sheet = new Sheet()
                {
                    Id = _wbPart.GetIdOfPart(wsPart),
                    Name = dt.TableName,
                    SheetId = (uint)(sheetCount + 1)
                };
                _wbPart.Workbook.GetFirstChild<Sheets>().Append(sheet);
            }
            else
            {
                wsPart = _wbPart.GetPartById(sheet.Id) as WorksheetPart;
                wsPart.Worksheet.GetFirstChild<SheetData>().RemoveAllChildren();
            }

            SheetData sheetData = wsPart.Worksheet.GetFirstChild<SheetData>();

            Row headRow = new Row();
            headRow.RowIndex = 1;

            for (int i = 0; i < dt.Columns.Count; i++)
            {
                Cell c = new Cell();
                c.DataType = new EnumValue<CellValues>(CellValues.String);
                c.CellReference = getColumnName(i + 1) + "1";
                c.CellValue = new CellValue(dt.Columns[i].ColumnName);
                headRow.AppendChild(c);
            }
            sheetData.AppendChild(headRow);

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                Row r = new Row();
                r.RowIndex = (UInt32)i + 2;
                for (int j = 0; j < dt.Columns.Count; j++)
                {
                    Cell c = new Cell();
                    c.DataType = new EnumValue<CellValues>(getCellType(dt.Columns[j].DataType));
                    c.CellReference = getColumnName(j + 1) + r.RowIndex.ToString();

                    DataRow dr = dt.Rows[i];

                    if (dr.IsNull(j))
                    {
                        c.CellValue = new CellValue("");
                    }
                    else if (c.DataType.Value == CellValues.Boolean)
                    {
                        string value = bool.Parse(dt.Rows[i][j].ToString()) ? "1" : "0";
                        c.CellValue = new CellValue(value);
                    }
                    else
                    {
                        c.CellValue = new CellValue(dt.Rows[i][j].ToString());
                    }

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

            _wbPart.Workbook.Save();
        }
        private void Consolidate(object sender, RoutedEventArgs e)
        {
            if (lstFileList.Items.Count == 0)
            {
                return;
            }
            SaveFileDialog sfd = new SaveFileDialog();

            sfd.DefaultExt = "xlsx";
            if (sfd.ShowDialog() == true)
            {
                string filename = sfd.FileName;

                Dictionary <string, Dictionary <string, Dictionary <string, string> > > MetricValuesByYearByMetricByFile = new Dictionary <string, Dictionary <string, Dictionary <string, string> > >();
                int index = 1;
                foreach (object oFileName in lstFileList.Items)
                {
                    string FileTitle = "Run " + index++;
                    MetricValuesByYearByMetricByFile.Add(FileTitle, ProcessFile(oFileName.ToString()));
                }

                Dictionary <string, Dictionary <string, Dictionary <string, string> > > MetricValuesByFileByYearByMetric = GetMetricValuesByFileByYearByMetric(MetricValuesByYearByMetricByFile);


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

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

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

                    uint MetricID = 1;
                    foreach (string metric in MetricValuesByFileByYearByMetric.Keys)
                    {
                        WorksheetPart worksheetPart1 = workbookPart.AddNewPart <WorksheetPart>();
                        Worksheet     worksheet1     = new Worksheet();
                        SheetData     sheetData1     = new SheetData();

                        // the data for sheet 1
                        Row headerRow = new Row();
                        headerRow.Append(ConstructCell("Year", CellValues.String));
                        List <string> runFiles = new List <string>();
                        foreach (string file in MetricValuesByYearByMetricByFile.Keys)
                        {
                            headerRow.Append(ConstructCell(file, CellValues.String));
                            runFiles.Add(file);
                        }
                        headerRow.Append(ConstructCell("Average", CellValues.String));
                        sheetData1.Append(headerRow);

                        foreach (string year in MetricValuesByFileByYearByMetric[metric].Keys)
                        {
                            Row yearRow = new Row();
                            yearRow.Append(ConstructCell(year, CellValues.Number));
                            sheetData1.Append(yearRow);

                            double sum = 0;
                            int    num = 0;
                            foreach (string filecursor in runFiles)
                            {
                                if (MetricValuesByFileByYearByMetric[metric][year].ContainsKey(filecursor) && !String.IsNullOrWhiteSpace(MetricValuesByFileByYearByMetric[metric][year][filecursor]))
                                {
                                    yearRow.Append(ConstructCell(MetricValuesByFileByYearByMetric[metric][year][filecursor], CellValues.Number));
                                    num++;
                                    sum += MetricValuesByFileByYearByMetric[metric][year][filecursor].ConvertToDouble();
                                }
                                else
                                {
                                    yearRow.Append(ConstructCell("", CellValues.Number));
                                }
                            }
                            if (num > 0)
                            {
                                yearRow.Append(ConstructCell((sum / num).ToString(), CellValues.Number));
                            }
                        }



                        worksheet1.AppendChild(sheetData1);
                        worksheetPart1.Worksheet = worksheet1;

                        Sheet sheet1 = new Sheet()
                        {
                            Id      = document.WorkbookPart.GetIdOfPart(worksheetPart1),
                            SheetId = MetricID,
                            Name    = metric
                        };
                        MetricID++;
                        sheets.Append(sheet1);

                        worksheetPart1.Worksheet.Save();
                    }
                    // End: Code block for Excel sheet 1



                    /*foreach (string metricName in MetricValuesByFileByYearByMetric.Keys)
                     * {
                     *    string relId = workbookPart.Workbook.Descendants<Sheet>().First(s => metricName.Equals(s.Name)).Id;
                     *    WorksheetPart wsp = (WorksheetPart)workbookPart.GetPartById(relId);
                     *
                     *    SheetData sheetData = wsp.Worksheet.AppendChild(new SheetData());
                     *
                     *    Row headRow = new Row();
                     *
                     *    headRow.Append(
                     *        ConstructCell("Year", CellValues.String));
                     *
                     *    foreach (string file in MetricValuesByYearByMetricByFile.Keys)
                     *    {
                     *        headRow.Append(ConstructCell(file, CellValues.String));
                     *    }
                     *
                     *
                     *    sheetData.AppendChild(headRow);
                     *    worksheetPart.Worksheet.Save();
                     * }*/



                    //workbookPart.Workbook.Save();
                }

                System.Diagnostics.Process.Start(filename);
            }
        }