Ejemplo n.º 1
0
 private static Tuple<string, string> ToTuple(CellValue value)
 {
     var type = "";
     var str = Eval.toString(value);
     if (value.IsBooleanValue)
     {
         type = "bool";
     }
     if (value.IsErrorValue)
     {
         type = "error";
     }
     if (value.IsFloatValue)
     {
         type = "float";
     }
     if (value.IsStringValue)
     {
         type = "string";
     }
     if (value.IsNullValue)
     {
         type = "";
     }
     if (value.IsValueList)
     {
         type = "error";
     }
     return Tuple.Create(type, str);
 }
Ejemplo n.º 2
0
    // Update is called once per frame
    void Update()
    {
        if (heroValue == null)
        {
            GameObject hero = GameObject.Find("Hero(Clone)");

            if (hero != null)
            {
                //Debug.Log("Hero found");
                heroValue = hero.GetComponent(typeof(CellValue)) as CellValue;
            }
            else
                Debug.Log("No Hero Found");
        }
        else //Hero Exists
        {
            if (oldValue != heroValue.Value)
            {
                //Update Value
                oldValue = heroValue.Value;
                //Update String
                UIText.text = heroValue.Value.ToString();
            }
        }
    }
Ejemplo n.º 3
0
 public DateCell(string header, DateTime dateTime, int index)
 {
     DataType = CellValues.Date;
     CellReference = header + index;
     StyleIndex = 1;
     CellValue = new CellValue { Text = dateTime.ToOADate().ToString() };
 }
        //добавляет к ячейка форматы
        protected void ApplyStyle(object value, RestType restType, ref Cell cell, ref CellValue cellValue)
        {
            if (restType == RestType.stringType)
            {
                // Формат № 0 по умолчанию общий
                cell.StyleIndex = (UInt32Value)0U;
                cell.DataType = CellValues.String;
                cellValue.Text = value.ToString();
            }
            else if (restType == RestType.intType)  //ловим на int что бы потом преобразовать в Excel в число
            {
                cell.DataType = CellValues.Number;
                cell.StyleIndex = (UInt32Value)5U;

                int resultIinteger;
                var intBool = int.TryParse(value.ToString(), out resultIinteger);

                if (intBool)
                {
                    cellValue.Text = resultIinteger.ToString();
                    return;
                }
            }
            else if (restType == RestType.dateType)
            {
                //формат № 3 для дат * 14.03.2015
                cell.StyleIndex = (UInt32Value)1U;
                cell.DataType = CellValues.Date;

                DateTime resultDate;
                var dateBool = DateTime.TryParse(value.ToString(), out resultDate);

                if (dateBool)
                {
                    cellValue.Text = string.Format("{0:yyyy-MM-dd}", resultDate);
                    return;
                }
            }
            else if (restType == RestType.decimalType)
            {
                //формат № 2 для денег FormatCode = "#,##0\"р.\""
                cell.StyleIndex = (UInt32Value)7U;
                cell.DataType = CellValues.Number;

                decimal resultDecemaly;
                var decemalBool = decimal.TryParse(value.ToString(), out resultDecemaly);

                if (decemalBool)
                {
                    cellValue.Text = string.Format(CultureInfo.InvariantCulture, "{0}", resultDecemaly);
                    return;
                }
            }

            // Формат № 0 по умолчанию общий
            cell.StyleIndex = (UInt32Value)0U;
            cell.DataType = CellValues.String;
            cellValue.Text = value.ToString();
        }
Ejemplo n.º 5
0
 public Cell(int row, int column, int value)
 {
     Row = row;
     Column = column;
     Value = (CellValue) value;
     if (value > 0)
         Solved = true;
 }
Ejemplo n.º 6
0
    // Use this for initialization
    void Start()
    {
        root = transform.parent.parent.gameObject;
        //Debug.Log(root.name);
        cellValue = root.GetComponent<CellValue>();

        valueText = GetComponent<Text>();
    }
Ejemplo n.º 7
0
        public static CellMatrix Clone(this CellMatrix theMatrix)
        {
            CellMatrix theClone = new CellMatrix(theMatrix.RowsInStructure, theMatrix.ColumnsInStructure);
            for (int i = 0; i < theMatrix.RowsInStructure; ++i)
            {
                for (int j = 0; j < theMatrix.ColumnsInStructure; ++j)
                {
                    theClone[i, j] = new CellValue(theMatrix[i, j]);
                }
            }

            return theClone;
        }
Ejemplo n.º 8
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;
        }
        public override void addDataRows(SheetData sheetData, DataTable dt)
        {
            // бежим по строкам
            foreach (DataRow dataRow in dt.Rows)
            {
                var row = new Row();

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

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

                    cell.Append(cellValue);
                    row.AppendChild(cell);
                }
                sheetData.AppendChild(row);
            }
        }
Ejemplo n.º 10
0
 private static void SetCellType(HSSFCell cell, CellValue cv)
 {
     int cellType = cv.CellType;
     switch (cellType)
     {
         case HSSFCell.CELL_TYPE_BOOLEAN:
         case HSSFCell.CELL_TYPE_ERROR:
         case HSSFCell.CELL_TYPE_NUMERIC:
         case HSSFCell.CELL_TYPE_STRING:
             cell.SetCellType(cellType);
             return;
         case HSSFCell.CELL_TYPE_BLANK:
         // never happens - blanks eventually get translated to zero
             break;
         case HSSFCell.CELL_TYPE_FORMULA:
         // this will never happen, we have already evaluated the formula
             break;
     }
     throw new InvalidOperationException("Unexpected cell value type (" + cellType + ")");
 }
Ejemplo n.º 11
0
        public FormattedCell(string text, UInt32Value index, string pluginId, string assetName)
        {
            int intParseResult;

            if (int.TryParse(text, out intParseResult))
            {
                DataType   = CellValues.Number;
                CellValue  = new CellValue(text);
                StyleIndex = index;
            }
            else
            {
                DataType = CellValues.InlineString;
                if (text.Contains(">"))
                {
                    text.Replace(">", "&gt;");
                }
                if (text.Contains("<"))
                {
                    text.Replace("<", "&lt;");
                }
                if (text.Length < 32767)
                {
                    InlineString = new InlineString {
                        Text = new Text {
                            Text = text
                        }
                    };
                }
                else if (text.Length > 32767 && !string.IsNullOrWhiteSpace(assetName))
                {
                    string outputPath     = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\AcasScanOutput_TextFiles";
                    string outputTextFile = outputPath + @"\" + pluginId + "_" + assetName + "_ScanOutput.txt";

                    InlineString = new InlineString
                    {
                        Text = new Text
                        {
                            Text = "Output text exceeds the maximum character allowance for an Excel cell; "
                                   + "please see \"" + outputTextFile + "\" for full output details."
                        }
                    };

                    if (!Directory.Exists(outputPath))
                    {
                        Directory.CreateDirectory(outputPath);
                    }

                    try
                    {
                        if (!System.IO.File.Exists(outputTextFile))
                        {
                            using (FileStream fs = new FileStream(outputTextFile, FileMode.Append, FileAccess.Write))
                                using (StreamWriter sw = new StreamWriter(fs))
                                {
                                    sw.WriteLine(text);
                                    sw.Close();
                                }
                        }
                    }
                    catch
                    { return; }
                }
                StyleIndex = index;
            }
        }
Ejemplo n.º 12
0
        /// <summary>
        /// Function is used to read row values for the provided excel sheet
        /// </summary>
        /// <param name="row">Row from the excel sheet</param>
        /// <param name="workbookPart">WorkbookPart object</param>
        /// <returns>List of values in row</returns>
        private static Collection <string> ReadRow(Row row, WorkbookPart workbookPart)
        {
            string value = string.Empty;
            int    rowSize = row.Elements().Count(), emptyValue = 0;
            Collection <string> rowValue = new Collection <string>();

            try
            {
                foreach (Cell cell in row.Elements <Cell>())
                {
                    if (null != cell)
                    {
                        CellValue cellValue = cell.Descendants <CellValue>().FirstOrDefault();
                        if (null != cellValue)
                        {
                            value = cellValue.Text;
                            if (null != cell.DataType)
                            {
                                switch (cell.DataType.Value)
                                {
                                case CellValues.SharedString:
                                    var stringTable = workbookPart.GetPartsOfType <SharedStringTablePart>().FirstOrDefault();
                                    if (null != stringTable)
                                    {
                                        value = stringTable.SharedStringTable.
                                                ElementAt(int.Parse(value, CultureInfo.InvariantCulture)).InnerText;
                                    }
                                    break;

                                case CellValues.Boolean:
                                    switch (value)
                                    {
                                    case "0":
                                        value = "FALSE";
                                        break;

                                    default:
                                        value = "TRUE";
                                        break;
                                    }
                                    break;
                                }
                            }
                        }
                        else
                        {
                            value = string.Empty;
                        }
                        value = value.Trim();
                        if (string.IsNullOrWhiteSpace(value))
                        {
                            emptyValue++;
                        }
                        if (string.Equals("NA", value, StringComparison.OrdinalIgnoreCase))
                        {
                            value = string.Empty;
                        }
                        rowValue.Add(value);
                    }
                }
            }
            catch (Exception exception)
            {
                ErrorLogger.LogErrorToTextFile(errorFilePath, "Exception occurred while reading row value: " + exception.Message);
            }
            if (emptyValue == rowSize)
            {
                return(null);
            }
            return(rowValue);
        }
        // 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;
        }
Ejemplo n.º 14
0
 public bool Solve()
 {
     if (Solved)
         return false;
     if (PossibleNumbers.Count == 0)
         throw new Exception("Row:" + Row + ",Column:" + Column + " not solved and no possible numbers.");
     if (PossibleNumbers.Count == 1)
     {
         Value = PossibleNumbers[0];
         Solved = true;
         return true;
     }
     return FindUniquePossibleNumberInAllRelatedCells() || FindUniqueInRow() ||
            FindUniqueInColumn() || FindUniqueInSubgrid();
 }
        // 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.
        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;
        }
Ejemplo n.º 17
0
        public override void Render(float timePassed)
        {
            base.Render(timePassed);
            // Do not render if not visible.
            if (GUIGraphicsContext.EditMode == false)
            {
                if (!IsVisible)
                {
                    return;
                }
            }

            // The GUIButtonControl has the focus

            //if (value < 0)
            //{

            if (Focus)
            {
                //render the focused image
                m_imgFocus.Render(timePassed);
            }
            else
            {
                //render the non-focused image
                m_imgNoFocus.Render(timePassed);
            }
            //}

            m_label.TextAlignment = Alignment.ALIGN_CENTER;
            m_label.Label         = (CellValue > 0) ? CellValue.ToString() : "";

            if (CellValue > 0)
            {
                if (editable)
                {
                    if (CellValue == SolutionValue)
                    {
                        m_label.TextColor = m_dwTextColor;
                    }
                    else
                    {
                        m_label.TextColor = m_dwCellIncorrectTextColor;
                    }
                }
                else
                {
                    m_label.TextColor = m_dwDisabledColor;
                }
            }

            m_label.SetPosition(XPosition, YPosition + m_iTextOffsetY);
            m_label.Render(timePassed);

            if (_showCandidates)
            {
                if (_displayColourOverlay && editable && (m_label.Label == string.Empty))
                {
                    _colorOverlay.Render(timePassed);
                }

                if (m_label.Label == string.Empty)
                {
                    for (int i = 0; i < 9; i++)
                    {
                        if (_isCandidate[i])
                        {
                            m_imgOverlay[i].Render(timePassed);
                        }
                    }
                }
            }
        }
        // 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;
        }
Ejemplo n.º 19
0
 /**
  * Makes sure that the specified Evaluated cell value represents a circular reference error.
  */
 private static void ConfirmCycleErrorCode(CellValue cellValue)
 {
     Assert.IsTrue(cellValue.CellType == CellType.Error);
     Assert.AreEqual(ErrorEval.CIRCULAR_REF_ERROR.ErrorCode, cellValue.ErrorValue);
 }
Ejemplo n.º 20
0
        private void barButtonItemTabelleVorbereiten_ItemClick(object sender, ItemClickEventArgs e)
        {
            //KUND kund = new KUND(Session.DefaultSession);
            //KUND1 kund1 = new KUND1(Session.DefaultSession);
            //List<HelperClassMetadata> LiMd1 = DataHelperKunde.LeseMetadata(kund);
            //List<HelperClassMetadata> LiMd2 = DataHelperKunde.LeseMetadata(kund1);
            //LiMd1.AddRange(LiMd2);
            //_liMd = LiMd1;


            //Eine Leerzeile einfügen, die die zu importierenden Feldnamen enthält
            _worksheet1.Rows["1"].Insert();

            BDDatenbankTabelle bdDt = DataHelperBDDatenbankTabelle.Lese_mittelsDatenbankName_mittelsTabelleName_BDDatenbankTabelle(Program._sBDDatenbankLibraryCRM, "DB100", "KUND");
            IQueryable <BDDatenbankTabelleFeld> iqBdDtf = DataHelperBDDatenbankTabelle.Lese_mittelsTabelle_BDDatenbankTabelleFelder(Program._sBDDatenbankLibraryCRM, bdDt);

            CellValue[] valuesFeldnamen = new CellValue[iqBdDtf.Count()];
            for (int i = 0; i < iqBdDtf.Count(); i++)
            {
                valuesFeldnamen[i] = iqBdDtf.ElementAt(i).Feldname;
            }

            int cols = AnzahlSpalten();

            if (cols > 0)
            {
                for (int i = 0; i < cols; i++)
                {
                    CellRange cR = _worksheet1[0, i];
                    _worksheet1.CustomCellInplaceEditors.Add(cR, CustomCellInplaceEditorType.ComboBox, ValueObject.CreateListSource(valuesFeldnamen));
                }
            }

            //LookUpEdit lookupEdit1 = new LookUpEdit();
            //_worksheet1.CustomCellInplaceEditors.Add(cR, lookupEdit1);

            //repositoryItemLookUpEdit1.DataSource = LiMd1;
            //repositoryItemLookUpEdit1.ValueMember = "Feldname";
            //repositoryItemLookUpEdit1.DisplayMember = "Feldname";

            //Alle leeren Zeilen löschen
            int lz = LetzteZeile();

            if (lz > 0)
            {
                for (int i = 1; i < lz; i++)
                {
                    if (lz > i)
                    {
                        LeerzeileEleminieren(ref lz, ref i);
                    }
                }
            }

            //Formatierungen entfernen
            //_worksheet1.ClearFormats(_worksheet1.Range.Parse("R[1]C[1]:R[" + lz + "]C[" + cols + "]", ReferenceStyle.UseDocumentSettings));
            _worksheet1.ClearFormats(_worksheet1.Range.FromLTRB(0, 0, cols, lz));


            //Outlines entfernen
            _worksheet1.ClearOutline();
        }
Ejemplo n.º 21
0
        public void processFunctionRow(String targetFunctionName, int formulasRowIdx)
        {
            int endColNum = Navigator.START_RESULT_COL_INDEX + Navigator.COL_OFF_EXPECTED_RESULT;

            for (int rowNum = formulasRowIdx; rowNum < formulasRowIdx + Navigator.ROW_OFF_NEXT_OP - 1; rowNum++)
            {
                for (int colNum = Navigator.START_RESULT_COL_INDEX; colNum < endColNum; colNum++)
                {
                    IRow r = sheet.GetRow(rowNum);

                    /* mainly to escape row failures on MDETERM which only returns a scalar */
                    if (r == null)
                    {
                        continue;
                    }

                    ICell c = sheet.GetRow(rowNum).GetCell(colNum);

                    if (c == null || c.CellType != CellType.Formula)
                    {
                        continue;
                    }

                    CellValue actValue = evaluator.Evaluate(c);
                    ICell     expValue = sheet.GetRow(rowNum).GetCell(colNum + Navigator.COL_OFF_EXPECTED_RESULT);

                    String msg = String.Format("Function '{0}': Formula: {1} @ {2}:{3}"
                                               , targetFunctionName, c.CellFormula, rowNum, colNum);

                    Assert.IsNotNull(expValue, msg + " - Bad setup data expected value is null");
                    Assert.IsNotNull(actValue, msg + " - actual value was null");

                    CellType cellType = expValue.CellType;
                    switch (cellType)
                    {
                    case CellType.Blank:
                        Assert.AreEqual(CellType.Blank, actValue.CellType, msg);
                        break;

                    case CellType.Boolean:
                        Assert.AreEqual(CellType.Boolean, actValue.CellType, msg);
                        Assert.AreEqual(expValue.BooleanCellValue, actValue.BooleanValue, msg);
                        break;

                    case CellType.Error:
                        Assert.AreEqual(CellType.Error, actValue.CellType, msg);
                        Assert.AreEqual(ErrorEval.GetText(expValue.ErrorCellValue), ErrorEval.GetText(actValue.ErrorValue), msg);
                        break;

                    case CellType.Formula:     // will never be used, since we will call method after formula evaluation
                        Assert.Fail("Cannot expect formula as result of formula evaluation: " + msg);
                        break;

                    case CellType.Numeric:
                        Assert.AreEqual(CellType.Numeric, actValue.CellType, msg);
                        Assert.AreEqual(expValue.NumericCellValue, actValue.NumberValue, msg);
                        break;

                    case CellType.String:
                        Assert.AreEqual(CellType.String, actValue.CellType, msg);
                        Assert.AreEqual(expValue.RichStringCellValue.String, actValue.StringValue, msg);
                        break;

                    default:
                        Assert.Fail("Unexpected cell type: " + cellType);
                        break;
                    }
                }
            }
        }
Ejemplo n.º 22
0
        private void barButtonItemTabelleImportieren_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                //if (_liMd.Count <= 0)
                //{
                //    MessageBox.Show("Error: Feldnamen können nicht überpürft werden.");
                //    return;
                //}

                //Sind in den Spalten nur korrekt geschriebene Feldnamen?
                //Todo durch alle Spalten
                //if (_liMd.Exists(x => x.Feldname.Contains(Feldname)))
                //{

                //}

                bool resultCheckFeldnamen = CheckFeldnamen(AnzahlSpalten());
                if (!resultCheckFeldnamen)
                {
                    return;
                }
                int lz = LetzteZeile();
                if (lz > 0)
                {
                    for (int row = 1; row < lz; row++)
                    {
                        int cols = AnzahlSpalten();
                        if (cols > 0)
                        {
                            KUND ku = null;

                            CellValue cellValueKundeKennung = _worksheet1.Cells[row, 0].Value;
                            if (cellValueKundeKennung != null)
                            {
                                ku = DataHelperKunde.LeseKunde(cellValueKundeKennung.TextValue);
                            }
                            if (ku == null)
                            {
                                ku = new KUND(Session.DefaultSession);
                                //Kundenkennung aus Nachname und Vorname
                                //=LINKS(WECHSELN(WECHSELN(VERKETTEN(B20;" ";C20);" ";"");"-";"");15)
                                ku.Kunde = "K" + row.ToString().PadLeft(4, '0'); //ToDo
                                //KUND1 ku1 = new KUND1(Session.DefaultSession);
                            }

                            string pn = nameof(ku.Kunde);

                            for (int col = 0; col < cols; col++)
                            {
                                Cell   cell      = _worksheet1.Cells[row, col];
                                var    cellValue = cell.Value;
                                string Feldname  = _worksheet1.Cells[0, col].Value.TextValue;

                                if (!string.IsNullOrEmpty(Feldname) && cellValue != null && cellValue.Type != CellValueType.None)
                                {
                                    PropertyInfo propKu = ku.GetType().GetProperty(Feldname, BindingFlags.Public | BindingFlags.Instance);
                                    if (propKu.Name != pn && propKu != null && propKu.CanWrite)
                                    {
                                        Type typeZiel   = propKu.PropertyType;
                                        Type typeQuelle = null;
                                        if (cellValue.Type == CellValueType.Numeric)
                                        {
                                            object value = null;
                                            if (Type.GetTypeCode(typeZiel) == TypeCode.String)
                                            {
                                                value = cellValue.NumericValue.ToString();
                                            }
                                            else
                                            {
                                                typeQuelle = cellValue.NumericValue.GetType();
                                                switch (Type.GetTypeCode(typeQuelle))
                                                {
                                                case TypeCode.Byte:
                                                    break;

                                                case TypeCode.SByte:
                                                    break;

                                                case TypeCode.UInt16:
                                                    break;

                                                case TypeCode.UInt32:
                                                    break;

                                                case TypeCode.UInt64:
                                                    break;

                                                case TypeCode.Int16:
                                                    break;

                                                case TypeCode.Int32:
                                                    break;

                                                case TypeCode.Int64:
                                                    break;

                                                case TypeCode.Decimal:
                                                    break;

                                                case TypeCode.Double:
                                                    if (Type.GetTypeCode(typeZiel) == TypeCode.Decimal)
                                                    {
                                                        value = (decimal)cellValue.NumericValue;
                                                    }
                                                    break;

                                                case TypeCode.Single:
                                                    break;
                                                }
                                            }
                                            if (value != null)
                                            {
                                                propKu.SetValue(ku, value, null);
                                            }
                                            else
                                            {
                                                string typeQuelleName = typeQuelle != null ? typeQuelle.Name : "Quelle ???";
                                                MessageBox.Show(Feldname + ": Konvertierung von " + typeQuelleName + " zu " + typeZiel.Name + " fehlt.");
                                            }
                                        }
                                        else if (cellValue.Type == CellValueType.Text)
                                        {
                                            typeQuelle = cellValue.TextValue.GetType();
                                            if (typeQuelle == typeZiel)
                                            {
                                                propKu.SetValue(ku, cellValue.TextValue, null);
                                            }
                                        }
                                        else if (cellValue.Type == CellValueType.DateTime)
                                        {
                                            propKu.SetValue(ku, cellValue.DateTimeValue, null);
                                        }
                                        else
                                        {
                                            propKu.SetValue(ku, cellValue.TextValue, null);
                                        }
                                    }
                                    //PropertyInfo propKu1 = ku.GetType().GetProperty(Feldname, BindingFlags.Public | BindingFlags.Instance);
                                    //if (null != propKu1 && propKu1.CanWrite)
                                    //{
                                    //    propKu1.SetValue(ku, cellValue, null);
                                    //}
                                }
                            }
                            BDDatenbankTabelle bdDt = DataHelperBDDatenbankTabelle.Lese_mittelsDatenbankName_mittelsTabelleName_BDDatenbankTabelle(Program._sBDDatenbankLibraryCRM, "DB100", "KUND");
                            IQueryable <BDDatenbankTabelleFeld> iqBdDtf = DataHelperBDDatenbankTabelle.Lese_mittelsTabelle_BDDatenbankTabelleFelder(Program._sBDDatenbankLibraryCRM, bdDt);
                            foreach (BDDatenbankTabelleFeld bdDtf in iqBdDtf)
                            {
                                bool   IstSchlüsselfeld = bdDtf.IstSchlüsselfeld;
                                string Datentyp         = bdDtf.DatentypGenerisch.Datentyp;
                                string Feldname         = bdDtf.Feldname;
                                int    Feldlänge        = bdDtf.Feldlänge;
                                if (!IstSchlüsselfeld)
                                {
                                    PropertyInfo propKu = ku.GetType().GetProperty(Feldname, BindingFlags.Public | BindingFlags.Instance);
                                    if (propKu != null && propKu.CanWrite)
                                    {
                                        var value = propKu.GetValue(ku);
                                        if (Datentyp == "string")
                                        {
                                            string s = (string)value;
                                            if (s != null && Feldlänge > 0 && s.Length > Feldlänge)
                                            {
                                                string sAbgeschnitten = s.Substring(0, Feldlänge - 1);
                                                propKu.SetValue(ku, sAbgeschnitten, null);
                                            }
                                            else if (s == null || string.IsNullOrEmpty(s))
                                            {
                                                propKu.SetValue(ku, "", null);
                                            }
                                        }
                                        else if (Datentyp == "int")
                                        {
                                            int?i    = (int)value;
                                            int imin = 0;
                                            if (i == null || i < imin)
                                            {
                                                propKu.SetValue(ku, imin, null);
                                            }
                                        }
                                        else if (Datentyp == "decimal")
                                        {
                                            decimal?d    = (decimal)value;
                                            decimal dmin = 0m;
                                            if (d == null || d < dmin)
                                            {
                                                propKu.SetValue(ku, dmin, null);
                                            }
                                        }
                                        else if (Datentyp == "datetime")
                                        {
                                            DateTime dt    = (DateTime)value;
                                            DateTime dtmin = new DateTime(1900, 1, 1);
                                            if (dt == null || dt < dtmin)
                                            {
                                                propKu.SetValue(ku, dtmin, null);
                                            }
                                        }
                                    }
                                }
                            }
                            ku.Save();
                            _worksheet1.Cells[row, 0].Value = ku.Kunde;
                            //ku1.CompoundKey1.Kunde = ku.Kunde;
                            //ku1.CompoundKey1.Nr = 1;
                            //ku1.Save();
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Ejemplo n.º 23
0
        public static string[] SaveSpreadsheetXl(string saveFilename, string[] sheetNames, List <List <SpreadsheetCell[]> > spreadsheet, ProgressActionSet progressActionSet = null, FileExistsHandler.FileExistsOptions fileExistsOptions = FileExistsHandler.FileExistsOptions.AppendNumberToFilename)
        {
            var result = new List <string>();

            var xlFilename = new FileInfo(FileAndPathMethods.RemoveFileExtension(saveFilename) + ".xlsx");

            if (xlFilename.Exists)
            {
                if (fileExistsOptions == FileExistsHandler.FileExistsOptions.AppendNumberToFilename)
                {
                    xlFilename = new FileInfo(FileExistsHandler.FindNextFreeOutputFilename(xlFilename.FullName));
                }
                else if (fileExistsOptions == FileExistsHandler.FileExistsOptions.OverwriteFile)
                {
                }
                else if (fileExistsOptions == FileExistsHandler.FileExistsOptions.SkipFile)
                {
                    return(result.ToArray());
                }
            }

            if (xlFilename.Directory != null)
            {
                xlFilename.Directory.Create();
            }

            var totalSheets = spreadsheet.Count;


            string sheetName = XlSheetNameVerification(Path.GetFileNameWithoutExtension(xlFilename.Name));

            if (sheetNames == null || sheetNames.Length < spreadsheet.Count)
            {
                var extraSheetNames = new string[totalSheets];

                if (sheetNames != null && sheetNames.Length > 0)
                {
                    Array.Copy(sheetNames, extraSheetNames, sheetNames.Length);
                }

                for (var sheetIndex = sheetNames != null ? sheetNames.Length : 0; sheetIndex < extraSheetNames.Length; sheetIndex++)
                {
                    extraSheetNames[sheetIndex] = sheetName + (sheetIndex + 1);
                }

                sheetNames = extraSheetNames;
            }

            for (int index = 0; index < sheetNames.Length; index++)
            {
                if (string.IsNullOrWhiteSpace(sheetNames[index]))
                {
                    sheetNames[index] = sheetName + (index + 1);
                }

                sheetNames[index] = XlSheetNameVerification(sheetNames[index]);
            }


            XlSpreadsheetDocumentContainer xlSpreadsheet = ExcelCreateSpreadsheet.CreateSpreadsheetWorkbook(xlFilename.FullName, sheetNames);


            //Worksheet worksheet1 = xlSpreadsheet.WorksheetPart.Worksheet;//new Worksheet();

            var runPropertiesArray = GetAminoAcidRunProperties();

            for (uint sheetIndex = 0; sheetIndex < spreadsheet.Count; sheetIndex++)
            {
                var worksheet1 = new Worksheet();

                var sheetData1 = new SheetData();


                for (uint rowIndex = 0; rowIndex < spreadsheet[(int)sheetIndex].Count; rowIndex++)
                {
                    var rowDataArray = spreadsheet[(int)sheetIndex][(int)rowIndex];

                    if (rowDataArray == null)
                    {
                        continue;
                    }

                    var row1 = new Row {
                        RowIndex = (UInt32Value)rowIndex + 1                  /*, Spans = new ListValue<StringValue>() { InnerText = "1:3" }, DyDescent = 0.25D*/
                    };
                    //var row4 = new Row(){ RowIndex = (UInt32Value)4U, Spans = new ListValue<StringValue>() { InnerText = "1:2" }, DyDescent = 0.25D };

                    for (uint columnIndex = 0; columnIndex < rowDataArray.Length; columnIndex++)
                    {
                        string columnValue = rowDataArray[columnIndex].CellData;

                        if (string.IsNullOrWhiteSpace(columnValue))
                        {
                            continue;
                        }

                        string columnName = AlphabetLetterRollOver((int)columnIndex);
                        string cellRef    = columnName + (rowIndex + 1);

                        var cell1 = new Cell {
                            CellReference = cellRef, StyleIndex = 1U
                        };

                        switch (rowDataArray[columnIndex].SpreadsheetDataType)
                        {
                        case SpreadsheetDataTypes.String:
                            cell1.DataType = CellValues.String;
                            break;

                        case SpreadsheetDataTypes.Integer:
                            cell1.DataType = CellValues.Number;
                            break;

                        case SpreadsheetDataTypes.Double:
                            cell1.DataType = CellValues.Number;
                            break;

                        case SpreadsheetDataTypes.Decimal:
                            cell1.DataType = CellValues.Number;
                            break;
                        }

                        //InlineString inlineString1 = new InlineString();
                        //Text text1 = new Text();
                        //text1.Text = columnValue;

                        //inlineString1.Append(text1);

                        //cell1.Append(inlineString1);


                        //if (rowDataArray[columnIndex].CellColourScheme == SpreadsheetCellColourScheme.Default)
                        //{
                        var cellValue1 = new CellValue();
                        cellValue1.Text = columnValue;
                        cell1.Append(cellValue1);
                        row1.Append(cell1);
                        //}
                        //else if (rowDataArray[columnIndex].CellColourScheme == SpreadsheetCellColourScheme.AminoAcidsUniProtKb)
                        //{

                        //    foreach (var ch in rowDataArray[columnIndex].CellData)
                        //    {
                        //        var subgroups = AminoAcidGroups.AminoAcidGroups.ConvertAminoAcidNameCodeToGroupNumbers(AminoAcidGroups.AminoAcidGroups.EnumAminoAcidGroups.UniProtKb, ch);
                        //        var firstGroup = subgroups[0];
                        //        //var groupColours = AminoAcidGroups.AminoAcidGroups.GetGroupColors(AminoAcidGroups.AminoAcidGroups.EnumAminoAcidGroups.UniProtKb);
                        //        //var firstGroupColour = groupColours[firstGroup];

                        //        var runProperties = runPropertiesArray[(int) AminoAcidGroups.AminoAcidGroups.EnumAminoAcidGroups.UniProtKb][firstGroup];

                        //        Run run = new Run();
                        //        Text text = new Text();
                        //        text.Text = ""+ch;

                        //        run.Append(runProperties);
                        //        run.Append(text);

                        //        cell1.Append(run);
                        //        row1.Append(cell1);
                        //    }
                        //}

                        //worksheetPart1.Worksheet = worksheet1;


                        //var cell = ExcelSheets.InsertCellInWorksheet(ProteinInterfaceDetection.AlphabetLetterRollOver(columnIndex), rowIndex + 1, xlSpreadsheet.WorksheetPart);
                        //ExcelSheets.InsertText(xlSpreadsheet.SpreadsheetDocument, xlSpreadsheet.WorksheetPart, cell, "Test");
                        //cell.DataType = new EnumValue<CellValues>(CellValues.String);//.SharedString);
                        //cell.CellValue = new CellValue("test");

                        //xlSpreadsheet.WorksheetPart.Worksheet.Save();
                    }
                    sheetData1.Append(row1);
                }

                worksheet1.Append(sheetData1);

                //xlSpreadsheet.WorksheetPart.Worksheet = worksheet1;
                xlSpreadsheet.WorkbookPartObject.WorksheetParts.ToList()[(int)sheetIndex].Worksheet = worksheet1;
            }

            //xlSpreadsheet.WorksheetPart.Worksheet.Save();
            //xlSpreadsheet.WorkbookPart.Workbook.Save();
            //xlSpreadsheet.SpreadsheetDocument.WorkbookPart.Workbook.Save();

            xlSpreadsheet.SpreadsheetDocumentObject.Close();

            result.Add(xlFilename.FullName);
            return(result.ToArray());
        }
Ejemplo n.º 24
0
 private void StorePreviousTurn()
 {
     int[] array = new int[CellValue.Length];
     CellValue.CopyTo(array, 0);
     _previousTurns.Push(array);
 }
Ejemplo n.º 25
0
        private static Cell GetCellValues(DataRow row, DataColumn column, string dateFormat = "dd/MM/yyyy")
        {
            var       cell = new Cell();
            CellValue cellValue;
            var       cellType = CellValues.String;

            var value     = row[column, DataRowVersion.Current];
            var valueText = value.ToString();
            var valueType = value.GetType();


            // Ref: https://exceptionnotfound.net/decimal-vs-double-and-other-tips-about-number-types-in-net/
            switch (valueType.FullName)
            {
            case "System.Decimal":
                cellType = CellValues.Number;
                if (!string.IsNullOrEmpty(valueText))
                {
                    cellValue = new CellValue(Math.Round(decimal.Parse(valueText), 28).ToString(CultureInfo.InvariantCulture));
                }
                else
                {
                    cellValue = new CellValue("0");
                }
                break;

            case "System.Double":
                cellType = CellValues.Number;
                if (!string.IsNullOrEmpty(valueText))
                {
                    cellValue = new CellValue(Math.Round(double.Parse(valueText), 14).ToString(CultureInfo.InvariantCulture));
                }
                else
                {
                    cellValue = new CellValue("0");
                }
                break;

            case "System.Single":
                cellType = CellValues.Number;
                if (!string.IsNullOrEmpty(valueText))
                {
                    cellValue = new CellValue(Math.Round(float.Parse(valueText), 7).ToString(CultureInfo.InvariantCulture));
                }
                else
                {
                    cellValue = new CellValue("0");
                }
                break;

            case "System.Int32":
            case "System.Int64":
            case "System.UInt32":
            case "System.UInt64":
                cellType  = CellValues.Number;
                cellValue = new CellValue(valueText);
                break;

            case "System.Date":
            case "System.DateTime":
                //cellType = CellValues.Date; // NO USAR - POCO SOPORTADO Y CORROMPE FICHEROS
                if (!string.IsNullOrEmpty(valueText))
                {
                    DateTime dtValue  = Convert.ToDateTime(valueText);
                    string   strValue = dtValue.ToString(dateFormat);
                    cellValue = new CellValue(strValue);
                }
                else
                {
                    string strValue = DateTime.Now.ToString(dateFormat);
                    cellValue = new CellValue(strValue);
                }
                break;

            case "System.Boolean":
                cellType  = CellValues.Boolean;
                cellValue = new CellValue(valueText);
                break;

            case "System.Byte[]":
                if (!DBNull.Value.Equals(value))
                {
                    byte[] dataBytes = (byte[])value;
                    cellValue = new CellValue(new Guid(dataBytes).ToString());
                }
                else
                {
                    cellValue = new CellValue(string.Empty);
                }
                break;

            default:
                byte[] utf8Bytes  = System.Text.Encoding.UTF8.GetBytes(valueText);
                string s_unicode2 = System.Text.Encoding.UTF8.GetString(utf8Bytes);
                cellValue = new CellValue(s_unicode2);
                break;
            }

            cell.DataType  = cellType;
            cell.CellValue = cellValue;

            return(cell);
        }
 private static AssertionException wrongTypeError(String msgPrefix, ICell expectedCell, CellValue actualValue)
 {
     return(new AssertionException(msgPrefix + " Result type mismatch. Evaluated result was "
                                   + actualValue.FormatAsString()
                                   + " but the expected result was "
                                   + formatValue(expectedCell)
                                   ));
 }
Ejemplo n.º 27
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);
 }
 private static void ConfirmErrorResult(String msgPrefix, int expectedErrorCode, CellValue actual)
 {
     if (actual.CellType != CellType.ERROR)
     {
         throw new AssertionException(msgPrefix + " Expected cell error ("
                                      + ErrorEval.GetText(expectedErrorCode) + ") but actual value was "
                                      + actual.FormatAsString());
     }
     if (expectedErrorCode != actual.ErrorValue)
     {
         throw new AssertionException(msgPrefix + " Expected cell error code ("
                                      + ErrorEval.GetText(expectedErrorCode)
                                      + ") but actual error code was ("
                                      + ErrorEval.GetText(actual.ErrorValue)
                                      + ")");
     }
 }
        // 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;
        }
        private int ProcessTestSheet(HSSFWorkbook workbook, int sheetIndex, String sheetName)
        {
            ISheet sheet = workbook.GetSheetAt(sheetIndex);
            HSSFFormulaEvaluator Evaluator = new HSSFFormulaEvaluator(workbook);
            int maxRows = sheet.LastRowNum + 1;
            int result  = Result.NO_EVALUATIONS_FOUND; // so far

            String currentGroupComment = null;

            for (int rowIndex = SS.START_TEST_CASES_ROW_INDEX; rowIndex < maxRows; rowIndex++)
            {
                IRow   r = sheet.GetRow(rowIndex);
                String newMarkerValue = GetMarkerColumnValue(r);
                if (r == null)
                {
                    continue;
                }
                if (SS.TEST_CASES_END_MARKER.Equals(newMarkerValue, StringComparison.OrdinalIgnoreCase))
                {
                    // normal exit point
                    return(result);
                }
                if (SS.SKIP_CURRENT_TEST_CASE_MARKER.Equals(newMarkerValue, StringComparison.OrdinalIgnoreCase))
                {
                    // currently disabled Test case row
                    continue;
                }
                if (newMarkerValue != null)
                {
                    currentGroupComment = newMarkerValue;
                }
                ICell c = r.GetCell(SS.COLUMN_INDEX_EVALUATION);
                if (c == null || c.CellType != CellType.FORMULA)
                {
                    continue;
                }
                CellValue actualValue       = Evaluator.Evaluate(c);
                ICell     expectedValueCell = r.GetCell(SS.COLUMN_INDEX_EXPECTED_RESULT);
                String    rowComment        = GetRowCommentColumnValue(r);

                String msgPrefix = FormatTestCaseDetails(sheetName, r.RowNum, c, currentGroupComment, rowComment);
                try
                {
                    ConfirmExpectedResult(msgPrefix, expectedValueCell, actualValue);
                    _EvaluationSuccessCount++;
                    if (result != Result.SOME_EVALUATIONS_FAILED)
                    {
                        result = Result.ALL_EVALUATIONS_SUCCEEDED;
                    }
                }
                catch (RuntimeException e)
                {
                    _EvaluationFailureCount++;
                    printshortStackTrace(System.Console.Error, e);
                    result = Result.SOME_EVALUATIONS_FAILED;
                }
                catch (AssertionException e)
                {
                    _EvaluationFailureCount++;
                    printshortStackTrace(System.Console.Error, e);
                    result = Result.SOME_EVALUATIONS_FAILED;
                }
            }
            throw new Exception("Missing end marker '" + SS.TEST_CASES_END_MARKER
                                + "' on sheet '" + sheetName + "'");
        }
Ejemplo n.º 31
0
        bool FindUniquePossibleNumberInAllRelatedCells()
        {
            List<CellValue> uniqueNumbers = new List<CellValue>(PossibleNumbers);
            foreach (Cell cell in RelatedCells)
                foreach (CellValue number in cell.PossibleNumbers)
                    uniqueNumbers.Remove(number);

            if (uniqueNumbers.Count == 1)
            {
                Value = uniqueNumbers[0];
                Solved = true;
                return true;
            }
            if (uniqueNumbers.Count > 1)
                throw new Exception("Row:" + Row + ",Column:" + Column + " more than 1 unique number.");
            return false;
        }
Ejemplo n.º 32
0
        public byte[] Build(SqlContext context, User currentUser, DateTime min, DateTime max, string filterUserScope, int[] filterUserIds, string filterProjectScope, int[] filterProjectIds, string filterLockStatus)
        {
            var organization = context.Organizations.Find(currentUser.OrganizationId);

            var reportTitle = $"PUNCHES BY DAY {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 punches based on the filters.
                    // ------------------------------------------------------------

                    IQueryable <Punch> punchesQueryable = context.Punches
                                                          .Include(p => p.Task.Job.Customer)
                                                          .Include(p => p.User)
                                                          .Include(p => p.ServiceRate)
                                                          .Include(p => p.PayrollRate)
                                                          .Where(p => p.User.OrganizationId == currentUser.OrganizationId)
                                                          .Where(p => p.User.IsDeleted == false)
                                                          .Where(p => p.OutAt.HasValue == true)
                                                          .Where(p => p.InAt.Date >= min.Date)
                                                          .Where(p => p.InAt.Date <= max.Date);

                    // Optionally filter projects.
                    if (filterProjectScope.ToUpperInvariant() == "SPECIFIC")
                    {
                        punchesQueryable = punchesQueryable
                                           .Where(p => filterProjectIds.Contains(p.Task.JobId));
                    }

                    // Optionally filter locked or unlocked.
                    if (filterLockStatus.ToUpperInvariant() == "ONLY")
                    {
                        punchesQueryable = punchesQueryable.Where(p => p.CommitId != null);
                    }
                    else if (filterLockStatus.ToUpperInvariant() == "UNCOMMITTED")
                    {
                        punchesQueryable = punchesQueryable.Where(p => p.CommitId == null);
                    }

                    var punches = punchesQueryable.ToList();

                    var dates = punches
                                .GroupBy(p => p.InAt.Date)
                                .Select(g => g.Key)
                                .OrderBy(g => g.Date)
                                .ToList();


                    // ------------------------------------------------------------
                    // Loop each date.
                    // ------------------------------------------------------------

                    var rowIndex = (uint)1;
                    foreach (var date in dates)
                    {
                        var punchesForDate = punches
                                             .Where(p => p.InAt.Date == date.Date)
                                             .OrderBy(p => p.InAt);


                        // ------------------------------------------------------------
                        // 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}:M{rowIndex}"
                        };
                        mergeCells1.Append(mergeCell1);
                        mergeCells1.Count++;

                        rowIndex++;


                        // ------------------------------------------------------------
                        // Headers for punch cells.
                        // ------------------------------------------------------------

                        var rowHeaders = new Row()
                        {
                            RowIndex = rowIndex, Height = 16D, CustomHeight = true, StyleIndex = 1U, CustomFormat = true
                        };

                        // InAt
                        var cellInAtHeader = new Cell()
                        {
                            CellReference = $"A{rowIndex}", DataType = CellValues.String, StyleIndex = 1U
                        };
                        var cellValueForInAtHeader = new CellValue("In");

                        cellInAtHeader.Append(cellValueForInAtHeader);
                        rowHeaders.Append(cellInAtHeader);

                        // OutAt
                        var cellOutAtHeader = new Cell()
                        {
                            CellReference = $"B{rowIndex}", DataType = CellValues.String, StyleIndex = 1U
                        };
                        var cellValueForOutAtHeader = new CellValue("Out");

                        cellOutAtHeader.Append(cellValueForOutAtHeader);
                        rowHeaders.Append(cellOutAtHeader);

                        // User Name
                        var cellUserNameHeader = new Cell()
                        {
                            CellReference = $"C{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("User")
                        };
                        rowHeaders.Append(cellUserNameHeader);

                        // Task Number
                        var cellTaskNumberHeader = new Cell()
                        {
                            CellReference = $"D{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("#")
                        };
                        rowHeaders.Append(cellTaskNumberHeader);

                        // Task Name
                        var cellTaskNameHeader = new Cell()
                        {
                            CellReference = $"E{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Task")
                        };
                        rowHeaders.Append(cellTaskNameHeader);

                        // Project Number
                        var cellProjectNumberHeader = new Cell()
                        {
                            CellReference = $"F{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("#")
                        };
                        rowHeaders.Append(cellProjectNumberHeader);

                        // Project Name
                        var cellProjectNameHeader = new Cell()
                        {
                            CellReference = $"G{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Project")
                        };
                        rowHeaders.Append(cellProjectNameHeader);

                        // Customer Number
                        var cellCustomerNumberHeader = new Cell()
                        {
                            CellReference = $"H{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("#")
                        };
                        rowHeaders.Append(cellCustomerNumberHeader);

                        // Customer Name
                        var cellCustomerNameHeader = new Cell()
                        {
                            CellReference = $"I{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Customer")
                        };
                        rowHeaders.Append(cellCustomerNameHeader);

                        // Customer Rate
                        var cellCustomerRateHeader = new Cell()
                        {
                            CellReference = $"J{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Customer Rate")
                        };
                        rowHeaders.Append(cellCustomerRateHeader);

                        // Payroll Rate
                        var cellPayrollRateHeader = new Cell()
                        {
                            CellReference = $"K{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Payroll Rate")
                        };
                        rowHeaders.Append(cellPayrollRateHeader);

                        // Locked
                        var cellLockedHeader = new Cell()
                        {
                            CellReference = $"L{rowIndex}", DataType = CellValues.String, StyleIndex = 1U, CellValue = new CellValue("Locked?")
                        };
                        rowHeaders.Append(cellLockedHeader);

                        // Total
                        var cellTotalHeader = new Cell()
                        {
                            CellReference = $"M{rowIndex}", DataType = CellValues.String, StyleIndex = 2U, CellValue = new CellValue("Total")
                        };
                        rowHeaders.Append(cellTotalHeader);

                        sheetData1.Append(rowHeaders);

                        rowIndex++;


                        // ------------------------------------------------------------
                        // Punch cells.
                        // ------------------------------------------------------------

                        foreach (var punch in punchesForDate)
                        {
                            var rowPunch = new Row()
                            {
                                RowIndex = rowIndex, Height = 16D, CustomHeight = true
                            };

                            // InAt
                            var cellInAt = new Cell()
                            {
                                CellReference = $"A{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.InAt.ToShortTimeString())
                            };
                            rowPunch.Append(cellInAt);

                            // OutAt
                            var cellOutAt = new Cell()
                            {
                                CellReference = $"B{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.OutAt.Value.ToShortTimeString())
                            };
                            rowPunch.Append(cellOutAt);

                            // User Name
                            var cellUserName = new Cell()
                            {
                                CellReference = $"C{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.User.Name)
                            };
                            rowPunch.Append(cellUserName);

                            // Task Number
                            var cellTaskNumber = new Cell()
                            {
                                CellReference = $"D{rowIndex}", DataType = CellValues.Number, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Number)
                            };
                            rowPunch.Append(cellTaskNumber);

                            // Task Name
                            var cellTaskName = new Cell()
                            {
                                CellReference = $"E{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Name)
                            };
                            rowPunch.Append(cellTaskName);

                            // Project Number
                            var cellProjectNumber = new Cell()
                            {
                                CellReference = $"F{rowIndex}", DataType = CellValues.Number, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Job.Number)
                            };
                            rowPunch.Append(cellProjectNumber);

                            // Project Name
                            var cellProjectName = new Cell()
                            {
                                CellReference = $"G{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Job.Name)
                            };
                            rowPunch.Append(cellProjectName);

                            // Customer Number
                            var cellCustomerNumber = new Cell()
                            {
                                CellReference = $"H{rowIndex}", DataType = CellValues.Number, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Job.Customer.Number)
                            };
                            rowPunch.Append(cellCustomerNumber);

                            // Customer Name
                            var cellCustomerName = new Cell()
                            {
                                CellReference = $"I{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.Task.Job.Customer.Name)
                            };
                            rowPunch.Append(cellCustomerName);

                            // Customer Rate
                            var cellCustomerRate = new Cell()
                            {
                                CellReference = $"J{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.ServiceRateId.HasValue ? punch.ServiceRate.Name : "")
                            };
                            rowPunch.Append(cellCustomerRate);

                            // Payroll Rate
                            var cellPayrollRate = new Cell()
                            {
                                CellReference = $"K{rowIndex}", DataType = CellValues.String, StyleIndex = 6U, CellValue = new CellValue(punch.PayrollRateId.HasValue ? punch.PayrollRate.Name : "")
                            };
                            rowPunch.Append(cellPayrollRate);

                            // Locked
                            var cellLocked = new Cell()
                            {
                                CellReference = $"L{rowIndex}", DataType = CellValues.String, StyleIndex = 3U, CellValue = new CellValue(punch.CommitId.HasValue ? "X" : "")
                            };
                            rowPunch.Append(cellLocked);

                            // Calculate the total
                            var total = Math.Round((punch.OutAt.Value - punch.InAt).TotalMinutes / 60, 2).ToString("0.00");

                            // Total
                            var cellTotal = new Cell()
                            {
                                CellReference = $"M{rowIndex}", DataType = CellValues.Number, StyleIndex = 5U, CellValue = new CellValue(total)
                            };
                            rowPunch.Append(cellTotal);

                            sheetData1.Append(rowPunch);

                            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 punch in punchesForDate)
                        {
                            dailyTotalMinutes += (punch.OutAt.Value - punch.InAt).TotalMinutes;
                        }
                        var dailyTotal = Math.Round(dailyTotalMinutes / 60, 2).ToString("0.00");

                        // Total Cell
                        var cellDateTotal = new Cell()
                        {
                            CellReference = $"M{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}:L{rowIndex}"
                        };
                        mergeCells1.Append(mergeCell3);
                        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 = 9D, CustomWidth = true
                    };
                    var column2 = new Column()
                    {
                        Min = 2U, Max = 2U, Width = 9D, CustomWidth = true
                    };
                    var column3 = new Column()
                    {
                        Min = 3U, Max = 3U, Width = 28D, CustomWidth = true
                    };
                    var column4 = new Column()
                    {
                        Min = 4U, Max = 4U, Width = 8D, CustomWidth = true
                    };
                    var column5 = new Column()
                    {
                        Min = 5U, Max = 5U, Width = 28D, CustomWidth = true
                    };
                    var column6 = new Column()
                    {
                        Min = 6U, Max = 6U, Width = 8D, CustomWidth = true
                    };
                    var column7 = new Column()
                    {
                        Min = 7U, Max = 7U, Width = 28D, CustomWidth = true
                    };
                    var column8 = new Column()
                    {
                        Min = 8U, Max = 8U, Width = 8D, CustomWidth = true
                    };
                    var column9 = new Column()
                    {
                        Min = 9U, Max = 9U, Width = 28D, CustomWidth = true
                    };
                    var column10 = new Column()
                    {
                        Min = 10U, Max = 10U, Width = 15D, CustomWidth = true
                    };
                    var column11 = new Column()
                    {
                        Min = 11U, Max = 11U, Width = 15D, CustomWidth = true
                    };
                    var column12 = new Column()
                    {
                        Min = 12U, Max = 12U, Width = 8D, CustomWidth = true
                    };
                    var column13 = new Column()
                    {
                        Min = 13U, Max = 13U, Width = 8D, 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);
                    columns1.Append(column10);
                    columns1.Append(column11);
                    columns1.Append(column12);
                    columns1.Append(column13);


                    // ------------------------------------------------------------
                    // 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());
                }
        }
Ejemplo n.º 33
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;
        }
Ejemplo n.º 34
0
 public CellValue Cell(CellValue o)
 {
     return(new CellValue(o));
 }
Ejemplo n.º 35
0
 // A function to count how many more more you have left until you win
 // AKA count the blank spaces
 public int CountAllBlanksRemaining()
 {
     return(CellValue.Count(i => i == 0));
 }
Ejemplo n.º 36
0
 public Cell(int x, int y, CellValue cellValue)
 {
     X = x;
     Y = y;
     CellValue = cellValue;
 }
        private Cell CreateCell(ExcelCell excelCell)
        {
            if (excelCell is null)
            {
                throw new ArgumentNullException(nameof(excelCell));
            }

            var cell = new Cell {
                CellReference = excelCell.Address
            };

            if (excelCell.CellStyle != null)
            {
                cell.StyleIndex = excelCell.CellStyle.StyleIndex;
            }

            if (excelCell.Value is null)
            {
                cell.DataType  = CellValues.String;
                cell.CellValue = new CellValue("");
                return(cell);
            }

            if (excelCell.IsFormula)
            {
                cell.CellFormula = new CellFormula(excelCell.Value as string);
                cell.CellValue   = new CellValue();
                return(cell);
            }

            CellValue  cellValue     = null;
            CellValues excelCellType = CellValues.String;

            if (excelCell.ValueType == typeof(decimal) ||
                excelCell.ValueType == typeof(decimal?) ||
                excelCell.ValueType == typeof(int) ||
                excelCell.ValueType == typeof(int?) ||
                excelCell.ValueType == typeof(float) ||
                excelCell.ValueType == typeof(float?) ||
                excelCell.ValueType == typeof(double) ||
                excelCell.ValueType == typeof(double?))
            {
                excelCellType = CellValues.Number;
                cellValue     = new CellValue(string.Format(CultureInfo.InvariantCulture, "{0:F8}", excelCell.Value));
            }
            else if (excelCell.ValueType == typeof(DateTime) ||
                     excelCell.ValueType == typeof(DateTime?))
            {
                //https://stackoverflow.com/questions/2792304/how-to-insert-a-date-to-an-open-xml-worksheet
                excelCellType = CellValues.Number;
                cellValue     = new CellValue(((DateTime)excelCell.Value).ToOADate().ToString(CultureInfo.InvariantCulture));
            }
            else if (excelCell.ValueType == typeof(bool) ||
                     excelCell.ValueType == typeof(bool?))
            {
                excelCellType = CellValues.Number;
                cellValue     = new CellValue((bool?)excelCell.Value == true ? "1" : "0");
            }
            else
            {
                excelCellType = CellValues.String;
                cellValue     = new CellValue(excelCell.Value.ToString());
            }

            cell.DataType      = excelCellType;
            cell.CellValue     = cellValue;
            cell.CellReference = excelCell.Address;

            return(cell);
        }
Ejemplo n.º 38
0
        // Generates content of worksheetPart1.
        private static void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1, DataTable dtSource, bool encloseInDataTable)
        {
            Worksheet worksheet1 = new Worksheet();

            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            SheetData sheetData1 = new SheetData();
            // todo: refactor to use bulk xml insert if performance is slow due to large data sets
            Row row1 = new Row()
            {
                RowIndex = 1U
            };
            Cell         cell1;
            InlineString inlineString1;
            Text         text1;
            CellValue    cv;
            // add header row
            char charCol = 'A';

            foreach (DataColumn dc in dtSource.Columns)
            {
                cell1 = new Cell()
                {
                    CellReference = charCol.ToString() + "1", DataType = CellValues.InlineString
                };
                inlineString1 = new InlineString();
                text1         = new Text();
                text1.Text    = dc.ColumnName;
                inlineString1.Append(text1);
                cell1.Append(inlineString1);
                row1.Append(cell1);
                charCol = (char)((int)charCol + 1);
            }
            sheetData1.Append(row1);
            // add rows
            int rowIx = 2;

            foreach (DataRow dr in dtSource.Rows)
            {
                row1 = new Row()
                {
                    RowIndex = (uint)rowIx
                };
                charCol = 'A';
                foreach (DataColumn dc in dtSource.Columns)
                {
                    if (dc.DataType == typeof(int) || dc.DataType == typeof(decimal))
                    {
                        cell1 = new Cell()
                        {
                            CellReference = charCol.ToString() + rowIx.ToString()
                        };
                    }
                    else
                    {
                        cell1 = new Cell()
                        {
                            CellReference = charCol.ToString() + rowIx.ToString(), DataType = CellValues.String
                        };
                    }

                    cv      = new CellValue();
                    cv.Text = dr[dc.ColumnName].ToString();
                    cell1.Append(cv);
                    row1.Append(cell1);
                    charCol = (char)((int)charCol + 1);
                }
                sheetData1.Append(row1);
                rowIx++;
            }
            worksheet1.Append(sheetData1);
            string tableReferenceId = "rId2";

            if (encloseInDataTable)
            {
                TableParts tableParts1 = new TableParts()
                {
                    Count = (UInt32Value)1U
                };
                TablePart tablePart1 = new TablePart()
                {
                    Id = tableReferenceId
                };
                tableParts1.Append(tablePart1);
                worksheet1.Append(tableParts1);
            }

            worksheetPart1.Worksheet = worksheet1;

            if (encloseInDataTable)
            {
                TableDefinitionPart tableDefinitionPart1 = worksheetPart1.AddNewPart <TableDefinitionPart>(tableReferenceId);
                GenerateTableDefinitionPart1Content(tableDefinitionPart1, dtSource);
            }
        } // generate content
Ejemplo n.º 39
0
        static object GetCodeValue(ISheet sheet, CustomWorkbook book, ICell cell, string type, out string error)
        {
            error = string.Empty;
            try
            {
                object codevalue = null;
                if (CustomWorkbook.evaluateSheets.Contains(sheet.SheetName) && cell != null && cell.CellType == CellType.Formula)
                {
                    book.evaluator.DebugEvaluationOutputForNextEval = true;
                    CellValue cellValue = book.evaluator.Evaluate(cell);
                    switch (type)
                    {
                    case "int":
                        codevalue = cellValue.CellType == CellType.Numeric ? Convert.ToInt32(cellValue.NumberValue) :
                                    cellValue.CellType != CellType.String || string.IsNullOrEmpty(cellValue.StringValue) ? 0 : int.Parse(cellValue.StringValue); break;

                    case "string":
                        codevalue = cellValue.CellType == CellType.String ? cellValue.StringValue : cellValue.ToString(); break;

                    case "double":
                    case "float":
                    case "float64":
                        codevalue = cellValue.CellType == CellType.Numeric ? cellValue.NumberValue :
                                    cellValue.CellType != CellType.String || string.IsNullOrEmpty(cellValue.StringValue) ? 0 : double.Parse(cellValue.StringValue); break;

                    default:
                        if (type.StartsWith("[]"))
                        {
                            string[] arr = (cellValue.CellType == CellType.Numeric ? cellValue.NumberValue.ToString() : (cellValue.CellType == CellType.String ? cellValue.StringValue : "")).Split('|');
                            if (arr.Length == 1 && string.IsNullOrEmpty(arr[0]))
                            {
                                arr = new string[] { }
                            }
                            ;
                            switch (type.Substring(2))
                            {
                            case "int":
                                int[] v = new int[arr.Length];
                                for (int ii = 0; ii < arr.Length; ii++)
                                {
                                    v[ii] = string.IsNullOrEmpty(arr[ii]) ? 0 : int.Parse(arr[ii]);
                                }
                                codevalue = v;
                                break;

                            case "string":
                                codevalue = arr;
                                break;

                            case "double":
                            case "float":
                            case "float64":
                                double[] vv = new double[arr.Length];
                                for (int ii = 0; ii < arr.Length; ii++)
                                {
                                    vv[ii] = string.IsNullOrEmpty(arr[ii]) ? 0 : double.Parse(arr[ii]);
                                }
                                codevalue = vv;
                                break;
                            }
                        }
                        break;
                    }
                }
                else
                {
                    CellType ct = CellType.Blank;
                    if (cell != null)
                    {
                        if (cell.CellType == CellType.Formula)
                        {
                            ct = cell.CachedFormulaResultType;
                        }
                        else
                        {
                            ct = cell.CellType;
                        }
                    }

                    switch (type)
                    {
                    case "int":
                        codevalue = ct == CellType.Numeric ? Convert.ToInt32(cell.NumericCellValue) :
                                    (ct == CellType.String && !string.IsNullOrEmpty(cell.StringCellValue) ? int.Parse(cell.StringCellValue) : 0);
                        break;

                    case "string":
                        codevalue = ct == CellType.Numeric ? cell.NumericCellValue.ToString() :
                                    (ct == CellType.String ? cell.StringCellValue : "");
                        break;

                    case "double":
                    case "float":
                    case "float64":
                        codevalue = ct == CellType.Numeric ? cell.NumericCellValue :
                                    (ct == CellType.String && !string.IsNullOrEmpty(cell.StringCellValue) ? double.Parse(cell.StringCellValue) : 0);
                        break;

                    default:
                        if (type.StartsWith("[]"))
                        {
                            string[] arr = (ct == CellType.Numeric ? cell.NumericCellValue.ToString() : (ct == CellType.String ? cell.StringCellValue : "")).Split('|');
                            if (arr.Length == 1 && string.IsNullOrEmpty(arr[0]))
                            {
                                arr = new string[] { }
                            }
                            ;
                            switch (type.Substring(2))
                            {
                            case "int":
                                int[] v = new int[arr.Length];
                                for (int ii = 0; ii < arr.Length; ii++)
                                {
                                    v[ii] = string.IsNullOrEmpty(arr[ii]) ? 0 : int.Parse(arr[ii]);
                                }
                                codevalue = v;
                                break;

                            case "string":
                                codevalue = arr;
                                break;

                            case "double":
                            case "float":
                            case "float64":
                                double[] vv = new double[arr.Length];
                                for (int ii = 0; ii < arr.Length; ii++)
                                {
                                    vv[ii] = string.IsNullOrEmpty(arr[ii]) ? 0 : double.Parse(arr[ii]);
                                }
                                codevalue = vv;
                                break;
                            }
                        }
                        break;
                    }
                }
                return(codevalue);
            }
            catch (Exception ex)
            {
                Console.Write(ex);
                error = "数据格式有误, 第" + (cell.RowIndex + 1) + "行第" + (cell.ColumnIndex + 1) + "列, SheetName = " + sheet.SheetName + ",FileNames = " + book.fileName;
                return(null);
            }
        }
Ejemplo n.º 40
0
 public Cell(CellValue value, Point point)
 {
     Value = value;
     Point = point;
 }
Ejemplo n.º 41
0
        // 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;
        }
Ejemplo n.º 42
0
 public AIOpponent(BoardData board, int computerDifficulty, BoardController newController)
 {
     boardData  = board;
     difficulty = computerDifficulty;
     cellValue  = new CellValue(board);
 }
Ejemplo n.º 43
0
        private Cell CreateNumberCell(int columnIndex, int rowIndex, object cellValue, Type dataType)
        {
            Cell cell = new Cell();

            cell.DataType = CellValues.Number;

            CellValue cellv = new CellValue();

            if (dataType == typeof(int))
                cellv.Text = ((int)cellValue).ToString(_culture);
            else if (dataType == typeof(float))
                cellv.Text = ((float)cellValue).ToString(_culture);
            else if (dataType == typeof(decimal))
                cellv.Text = ((decimal)cellValue).ToString(_culture);
            else if (dataType == typeof(double))
                cellv.Text = ((double)cellValue).ToString(_culture);
            else if (dataType == typeof(long))
                cellv.Text = ((long)cellValue).ToString(_culture);

            cell.Append(cellv);

            return cell;
        }
Ejemplo n.º 44
0
 protected CellMetadataItem Create(string name, Src src, CellValue value)
 {
     return(new CellMetadataItem(name, src, value.Value));
 }
Ejemplo n.º 45
0
 public NumberCell(string header, string text, int index)
 {
     DataType = CellValues.Number;
     CellReference = header + index;
     CellValue = new CellValue(text);
 }
Ejemplo n.º 46
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" };

            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;
        }
        // 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;
        }
Ejemplo n.º 48
0
 public void RpcUpdateCell(CellValue cellValue, NetworkIdentity player)
 {
     MatchCells[cellValue].SetPlayer(player);
 }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet();
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

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

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

            SheetViews sheetViews1 = new SheetViews();

            SheetView sheetView1 = new SheetView() { ShowZeros = false, TabSelected = true, TopLeftCell = "B1", ZoomScale = (UInt32Value)85U, WorkbookViewId = (UInt32Value)0U };
            Pane pane1 = new Pane() { HorizontalSplit = 5D, TopLeftCell = "G1", ActivePane = PaneValues.TopRight, State = PaneStateValues.FrozenSplit };
            Selection selection1 = new Selection() { ActiveCell = "B13", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "B13 B13" } };
            Selection selection2 = new Selection() { Pane = PaneValues.TopRight, ActiveCell = "AM21", SequenceOfReferences = new ListValue<StringValue>() { InnerText = "AM21:AM26" } };

            sheetView1.Append(pane1);
            sheetView1.Append(selection1);
            sheetView1.Append(selection2);

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

            Columns columns1 = new Columns();
            Column column1 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)1U, Width = 6.140625D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column2 = new Column() { Min = (UInt32Value)2U, Max = (UInt32Value)2U, Width = 39.7109375D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true };
            Column column3 = new Column() { Min = (UInt32Value)3U, Max = (UInt32Value)3U, Width = 30D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column4 = new Column() { Min = (UInt32Value)4U, Max = (UInt32Value)4U, Width = 17.85546875D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true };
            Column column5 = new Column() { Min = (UInt32Value)5U, Max = (UInt32Value)5U, Width = 12.42578125D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column6 = new Column() { Min = (UInt32Value)6U, Max = (UInt32Value)6U, Width = 14.5703125D, Style = (UInt32Value)4U, BestFit = true, CustomWidth = true };
            Column column7 = new Column() { Min = (UInt32Value)7U, Max = (UInt32Value)20U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true };
            Column column8 = new Column() { Min = (UInt32Value)21U, Max = (UInt32Value)21U, Width = 4.140625D, Style = (UInt32Value)44U, CustomWidth = true };
            Column column9 = new Column() { Min = (UInt32Value)22U, Max = (UInt32Value)22U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true };
            Column column10 = new Column() { Min = (UInt32Value)23U, Max = (UInt32Value)23U, Width = 3.140625D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true };
            Column column11 = new Column() { Min = (UInt32Value)24U, Max = (UInt32Value)33U, Width = 3.85546875D, Style = (UInt32Value)44U, CustomWidth = true };
            Column column12 = new Column() { Min = (UInt32Value)34U, Max = (UInt32Value)37U, Width = 4D, Style = (UInt32Value)44U, CustomWidth = true };
            Column column13 = new Column() { Min = (UInt32Value)38U, Max = (UInt32Value)38U, Width = 10.42578125D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true };
            Column column14 = new Column() { Min = (UInt32Value)39U, Max = (UInt32Value)39U, Width = 14D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true };
            Column column15 = new Column() { Min = (UInt32Value)40U, Max = (UInt32Value)40U, Width = 13.7109375D, Style = (UInt32Value)44U, BestFit = true, CustomWidth = true };
            Column column16 = new Column() { Min = (UInt32Value)41U, Max = (UInt32Value)41U, Width = 10D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column17 = new Column() { Min = (UInt32Value)42U, Max = (UInt32Value)44U, Width = 13.7109375D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column18 = new Column() { Min = (UInt32Value)45U, Max = (UInt32Value)45U, Width = 11.42578125D, Style = (UInt32Value)4U, CustomWidth = true };
            Column column19 = new Column() { Min = (UInt32Value)46U, Max = (UInt32Value)16384U, Width = 11.42578125D, Style = (UInt32Value)4U };

            columns1.Append(column1);
            columns1.Append(column2);
            columns1.Append(column3);
            columns1.Append(column4);
            columns1.Append(column5);
            columns1.Append(column6);
            columns1.Append(column7);
            columns1.Append(column8);
            columns1.Append(column9);
            columns1.Append(column10);
            columns1.Append(column11);
            columns1.Append(column12);
            columns1.Append(column13);
            columns1.Append(column14);
            columns1.Append(column15);
            columns1.Append(column16);
            columns1.Append(column17);
            columns1.Append(column18);
            columns1.Append(column19);

            SheetData sheetData1 = new SheetData();

            Row row1 = new Row() { RowIndex = (UInt32Value)3U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell1 = new Cell() { CellReference = "B3", StyleIndex = (UInt32Value)5U };
            Cell cell2 = new Cell() { CellReference = "C3", StyleIndex = (UInt32Value)5U };
            Cell cell3 = new Cell() { CellReference = "D3", StyleIndex = (UInt32Value)5U };
            Cell cell4 = new Cell() { CellReference = "E3", StyleIndex = (UInt32Value)5U };
            Cell cell5 = new Cell() { CellReference = "F3", StyleIndex = (UInt32Value)6U };
            Cell cell6 = new Cell() { CellReference = "AO3", StyleIndex = (UInt32Value)6U };
            Cell cell7 = new Cell() { CellReference = "AP3", StyleIndex = (UInt32Value)6U };
            Cell cell8 = new Cell() { CellReference = "AQ3", StyleIndex = (UInt32Value)6U };
            Cell cell9 = new Cell() { CellReference = "AR3", StyleIndex = (UInt32Value)6U };

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

            Row row2 = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell10 = new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)7U };
            Cell cell11 = new Cell() { CellReference = "C5", StyleIndex = (UInt32Value)7U };
            Cell cell12 = new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)7U };

            Cell cell13 = new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue1 = new CellValue();
            cellValue1.Text = "0";

            cell13.Append(cellValue1);

            Cell cell14 = new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)9U, DataType = CellValues.SharedString };
            CellValue cellValue2 = new CellValue();
            cellValue2.Text = "30";

            cell14.Append(cellValue2);

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

            Row row3 = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell15 = new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)7U };
            Cell cell16 = new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)7U };
            Cell cell17 = new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)7U };

            Cell cell18 = new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue3 = new CellValue();
            cellValue3.Text = "1";

            cell18.Append(cellValue3);
            Cell cell19 = new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)10U };

            row3.Append(cell15);
            row3.Append(cell16);
            row3.Append(cell17);
            row3.Append(cell18);
            row3.Append(cell19);

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

            Cell cell20 = new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)4U, DataType = CellValues.SharedString };
            CellValue cellValue4 = new CellValue();
            cellValue4.Text = "2";

            cell20.Append(cellValue4);

            Cell cell21 = new Cell() { CellReference = "E7", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue5 = new CellValue();
            cellValue5.Text = "3";

            cell21.Append(cellValue5);
            Cell cell22 = new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)11U };

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

            Row row5 = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

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

            cell23.Append(cellValue6);
            Cell cell24 = new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)7U };

            row5.Append(cell23);
            row5.Append(cell24);

            Row row6 = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell25 = new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)7U };
            Cell cell26 = new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)7U };
            Cell cell27 = new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)7U };
            Cell cell28 = new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)7U };
            Cell cell29 = new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)7U };

            row6.Append(cell25);
            row6.Append(cell26);
            row6.Append(cell27);
            row6.Append(cell28);
            row6.Append(cell29);

            Row row7 = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

            Cell cell30 = new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue7 = new CellValue();
            cellValue7.Text = "5";

            cell30.Append(cellValue7);
            Cell cell31 = new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)9U };
            Cell cell32 = new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)9U };
            Cell cell33 = new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)9U };

            row7.Append(cell30);
            row7.Append(cell31);
            row7.Append(cell32);
            row7.Append(cell33);

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

            Cell cell34 = new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue8 = new CellValue();
            cellValue8.Text = "6";

            cell34.Append(cellValue8);
            Cell cell35 = new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)9U };
            Cell cell36 = new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)9U };
            Cell cell37 = new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)9U };

            row8.Append(cell34);
            row8.Append(cell35);
            row8.Append(cell36);
            row8.Append(cell37);

            Row row9 = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

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

            cell38.Append(cellValue9);
            Cell cell39 = new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)9U };
            Cell cell40 = new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)9U };
            Cell cell41 = new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)9U };
            Cell cell42 = new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)12U };

            row9.Append(cell38);
            row9.Append(cell39);
            row9.Append(cell40);
            row9.Append(cell41);
            row9.Append(cell42);

            Row row10 = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

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

            cell43.Append(cellValue10);
            Cell cell44 = new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)13U };
            Cell cell45 = new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)13U };
            Cell cell46 = new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)9U };
            Cell cell47 = new Cell() { CellReference = "N13", StyleIndex = (UInt32Value)12U };

            row10.Append(cell43);
            row10.Append(cell44);
            row10.Append(cell45);
            row10.Append(cell46);
            row10.Append(cell47);

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

            Cell cell48 = new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue11 = new CellValue();
            cellValue11.Text = "9";

            cell48.Append(cellValue11);
            Cell cell49 = new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)13U };
            Cell cell50 = new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)13U };
            Cell cell51 = new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)9U };
            Cell cell52 = new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)9U };
            Cell cell53 = new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)12U };
            Cell cell54 = new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)12U };
            Cell cell55 = new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)12U };
            Cell cell56 = new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)12U };
            Cell cell57 = new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)12U };
            Cell cell58 = new Cell() { CellReference = "L14", StyleIndex = (UInt32Value)12U };
            Cell cell59 = new Cell() { CellReference = "M14", StyleIndex = (UInt32Value)12U };
            Cell cell60 = new Cell() { CellReference = "N14", StyleIndex = (UInt32Value)12U };
            Cell cell61 = new Cell() { CellReference = "O14", StyleIndex = (UInt32Value)12U };
            Cell cell62 = new Cell() { CellReference = "P14", StyleIndex = (UInt32Value)12U };
            Cell cell63 = new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)12U };
            Cell cell64 = new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)12U };
            Cell cell65 = new Cell() { CellReference = "S14", StyleIndex = (UInt32Value)12U };
            Cell cell66 = new Cell() { CellReference = "T14", StyleIndex = (UInt32Value)12U };

            row11.Append(cell48);
            row11.Append(cell49);
            row11.Append(cell50);
            row11.Append(cell51);
            row11.Append(cell52);
            row11.Append(cell53);
            row11.Append(cell54);
            row11.Append(cell55);
            row11.Append(cell56);
            row11.Append(cell57);
            row11.Append(cell58);
            row11.Append(cell59);
            row11.Append(cell60);
            row11.Append(cell61);
            row11.Append(cell62);
            row11.Append(cell63);
            row11.Append(cell64);
            row11.Append(cell65);
            row11.Append(cell66);

            Row row12 = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

            Cell cell67 = new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue12 = new CellValue();
            cellValue12.Text = "10";

            cell67.Append(cellValue12);
            Cell cell68 = new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)13U };
            Cell cell69 = new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)13U };
            Cell cell70 = new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)14U };

            row12.Append(cell67);
            row12.Append(cell68);
            row12.Append(cell69);
            row12.Append(cell70);

            Row row13 = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };

            Cell cell71 = new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)8U, DataType = CellValues.SharedString };
            CellValue cellValue13 = new CellValue();
            cellValue13.Text = "11";

            cell71.Append(cellValue13);
            Cell cell72 = new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)15U };
            Cell cell73 = new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)16U };
            Cell cell74 = new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)9U };
            Cell cell75 = new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)9U };
            Cell cell76 = new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)2U };
            Cell cell77 = new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)2U };
            Cell cell78 = new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)2U };
            Cell cell79 = new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)2U };
            Cell cell80 = new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)2U };
            Cell cell81 = new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)2U };
            Cell cell82 = new Cell() { CellReference = "M16", StyleIndex = (UInt32Value)2U };
            Cell cell83 = new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)2U };
            Cell cell84 = new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)2U };
            Cell cell85 = new Cell() { CellReference = "P16", StyleIndex = (UInt32Value)2U };
            Cell cell86 = new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)2U };
            Cell cell87 = new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)2U };
            Cell cell88 = new Cell() { CellReference = "S16", StyleIndex = (UInt32Value)2U };
            Cell cell89 = new Cell() { CellReference = "T16", StyleIndex = (UInt32Value)2U };
            Cell cell90 = new Cell() { CellReference = "U16", StyleIndex = (UInt32Value)2U };
            Cell cell91 = new Cell() { CellReference = "V16", StyleIndex = (UInt32Value)2U };
            Cell cell92 = new Cell() { CellReference = "W16", StyleIndex = (UInt32Value)2U };
            Cell cell93 = new Cell() { CellReference = "X16", StyleIndex = (UInt32Value)2U };
            Cell cell94 = new Cell() { CellReference = "Y16", StyleIndex = (UInt32Value)2U };
            Cell cell95 = new Cell() { CellReference = "Z16", StyleIndex = (UInt32Value)2U };
            Cell cell96 = new Cell() { CellReference = "AA16", StyleIndex = (UInt32Value)2U };
            Cell cell97 = new Cell() { CellReference = "AB16", StyleIndex = (UInt32Value)2U };
            Cell cell98 = new Cell() { CellReference = "AC16", StyleIndex = (UInt32Value)2U };
            Cell cell99 = new Cell() { CellReference = "AD16", StyleIndex = (UInt32Value)2U };
            Cell cell100 = new Cell() { CellReference = "AE16", StyleIndex = (UInt32Value)2U };
            Cell cell101 = new Cell() { CellReference = "AF16", StyleIndex = (UInt32Value)2U };
            Cell cell102 = new Cell() { CellReference = "AG16", StyleIndex = (UInt32Value)2U };
            Cell cell103 = new Cell() { CellReference = "AH16", StyleIndex = (UInt32Value)2U };
            Cell cell104 = new Cell() { CellReference = "AI16", StyleIndex = (UInt32Value)2U };
            Cell cell105 = new Cell() { CellReference = "AJ16", StyleIndex = (UInt32Value)2U };
            Cell cell106 = new Cell() { CellReference = "AK16", StyleIndex = (UInt32Value)2U };
            Cell cell107 = new Cell() { CellReference = "AL16", StyleIndex = (UInt32Value)2U };
            Cell cell108 = new Cell() { CellReference = "AM16", StyleIndex = (UInt32Value)2U };
            Cell cell109 = new Cell() { CellReference = "AN16", StyleIndex = (UInt32Value)2U };
            Cell cell110 = new Cell() { CellReference = "AO16", StyleIndex = (UInt32Value)2U };
            Cell cell111 = new Cell() { CellReference = "AP16", StyleIndex = (UInt32Value)2U };
            Cell cell112 = new Cell() { CellReference = "AQ16", StyleIndex = (UInt32Value)2U };
            Cell cell113 = new Cell() { CellReference = "AR16", StyleIndex = (UInt32Value)2U };

            row13.Append(cell71);
            row13.Append(cell72);
            row13.Append(cell73);
            row13.Append(cell74);
            row13.Append(cell75);
            row13.Append(cell76);
            row13.Append(cell77);
            row13.Append(cell78);
            row13.Append(cell79);
            row13.Append(cell80);
            row13.Append(cell81);
            row13.Append(cell82);
            row13.Append(cell83);
            row13.Append(cell84);
            row13.Append(cell85);
            row13.Append(cell86);
            row13.Append(cell87);
            row13.Append(cell88);
            row13.Append(cell89);
            row13.Append(cell90);
            row13.Append(cell91);
            row13.Append(cell92);
            row13.Append(cell93);
            row13.Append(cell94);
            row13.Append(cell95);
            row13.Append(cell96);
            row13.Append(cell97);
            row13.Append(cell98);
            row13.Append(cell99);
            row13.Append(cell100);
            row13.Append(cell101);
            row13.Append(cell102);
            row13.Append(cell103);
            row13.Append(cell104);
            row13.Append(cell105);
            row13.Append(cell106);
            row13.Append(cell107);
            row13.Append(cell108);
            row13.Append(cell109);
            row13.Append(cell110);
            row13.Append(cell111);
            row13.Append(cell112);
            row13.Append(cell113);

            Row row14 = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell114 = new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)9U };
            Cell cell115 = new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)9U };
            Cell cell116 = new Cell() { CellReference = "AL17", StyleIndex = (UInt32Value)4U };
            Cell cell117 = new Cell() { CellReference = "AM17", StyleIndex = (UInt32Value)4U };
            Cell cell118 = new Cell() { CellReference = "AN17", StyleIndex = (UInt32Value)4U };
            Cell cell119 = new Cell() { CellReference = "AO17", StyleIndex = (UInt32Value)2U };
            Cell cell120 = new Cell() { CellReference = "AP17", StyleIndex = (UInt32Value)2U };
            Cell cell121 = new Cell() { CellReference = "AQ17", StyleIndex = (UInt32Value)2U };
            Cell cell122 = new Cell() { CellReference = "AR17", StyleIndex = (UInt32Value)2U };

            row14.Append(cell114);
            row14.Append(cell115);
            row14.Append(cell116);
            row14.Append(cell117);
            row14.Append(cell118);
            row14.Append(cell119);
            row14.Append(cell120);
            row14.Append(cell121);
            row14.Append(cell122);

            Row row15 = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

            Cell cell123 = new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)79U };
            CellFormula cellFormula1 = new CellFormula();
            cellFormula1.Text = "+F6";
            CellValue cellValue14 = new CellValue();
            cellValue14.Text = "0";

            cell123.Append(cellFormula1);
            cell123.Append(cellValue14);
            Cell cell124 = new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)80U };
            Cell cell125 = new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)80U };
            Cell cell126 = new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)80U };
            Cell cell127 = new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)80U };
            Cell cell128 = new Cell() { CellReference = "L18", StyleIndex = (UInt32Value)80U };
            Cell cell129 = new Cell() { CellReference = "M18", StyleIndex = (UInt32Value)80U };
            Cell cell130 = new Cell() { CellReference = "N18", StyleIndex = (UInt32Value)80U };
            Cell cell131 = new Cell() { CellReference = "O18", StyleIndex = (UInt32Value)80U };
            Cell cell132 = new Cell() { CellReference = "P18", StyleIndex = (UInt32Value)80U };
            Cell cell133 = new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)80U };
            Cell cell134 = new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)80U };
            Cell cell135 = new Cell() { CellReference = "S18", StyleIndex = (UInt32Value)80U };
            Cell cell136 = new Cell() { CellReference = "T18", StyleIndex = (UInt32Value)80U };
            Cell cell137 = new Cell() { CellReference = "U18", StyleIndex = (UInt32Value)80U };
            Cell cell138 = new Cell() { CellReference = "V18", StyleIndex = (UInt32Value)80U };
            Cell cell139 = new Cell() { CellReference = "W18", StyleIndex = (UInt32Value)80U };
            Cell cell140 = new Cell() { CellReference = "X18", StyleIndex = (UInt32Value)80U };
            Cell cell141 = new Cell() { CellReference = "Y18", StyleIndex = (UInt32Value)80U };
            Cell cell142 = new Cell() { CellReference = "Z18", StyleIndex = (UInt32Value)80U };
            Cell cell143 = new Cell() { CellReference = "AA18", StyleIndex = (UInt32Value)80U };
            Cell cell144 = new Cell() { CellReference = "AB18", StyleIndex = (UInt32Value)80U };
            Cell cell145 = new Cell() { CellReference = "AC18", StyleIndex = (UInt32Value)80U };
            Cell cell146 = new Cell() { CellReference = "AD18", StyleIndex = (UInt32Value)80U };
            Cell cell147 = new Cell() { CellReference = "AE18", StyleIndex = (UInt32Value)80U };
            Cell cell148 = new Cell() { CellReference = "AF18", StyleIndex = (UInt32Value)80U };
            Cell cell149 = new Cell() { CellReference = "AG18", StyleIndex = (UInt32Value)80U };
            Cell cell150 = new Cell() { CellReference = "AH18", StyleIndex = (UInt32Value)80U };
            Cell cell151 = new Cell() { CellReference = "AI18", StyleIndex = (UInt32Value)80U };
            Cell cell152 = new Cell() { CellReference = "AJ18", StyleIndex = (UInt32Value)80U };
            Cell cell153 = new Cell() { CellReference = "AK18", StyleIndex = (UInt32Value)80U };
            Cell cell154 = new Cell() { CellReference = "AL18", StyleIndex = (UInt32Value)80U };
            Cell cell155 = new Cell() { CellReference = "AM18", StyleIndex = (UInt32Value)80U };
            Cell cell156 = new Cell() { CellReference = "AN18", StyleIndex = (UInt32Value)81U };
            Cell cell157 = new Cell() { CellReference = "AO18", StyleIndex = (UInt32Value)2U };
            Cell cell158 = new Cell() { CellReference = "AP18", StyleIndex = (UInt32Value)2U };
            Cell cell159 = new Cell() { CellReference = "AQ18", StyleIndex = (UInt32Value)2U };
            Cell cell160 = new Cell() { CellReference = "AR18", StyleIndex = (UInt32Value)2U };

            row15.Append(cell123);
            row15.Append(cell124);
            row15.Append(cell125);
            row15.Append(cell126);
            row15.Append(cell127);
            row15.Append(cell128);
            row15.Append(cell129);
            row15.Append(cell130);
            row15.Append(cell131);
            row15.Append(cell132);
            row15.Append(cell133);
            row15.Append(cell134);
            row15.Append(cell135);
            row15.Append(cell136);
            row15.Append(cell137);
            row15.Append(cell138);
            row15.Append(cell139);
            row15.Append(cell140);
            row15.Append(cell141);
            row15.Append(cell142);
            row15.Append(cell143);
            row15.Append(cell144);
            row15.Append(cell145);
            row15.Append(cell146);
            row15.Append(cell147);
            row15.Append(cell148);
            row15.Append(cell149);
            row15.Append(cell150);
            row15.Append(cell151);
            row15.Append(cell152);
            row15.Append(cell153);
            row15.Append(cell154);
            row15.Append(cell155);
            row15.Append(cell156);
            row15.Append(cell157);
            row15.Append(cell158);
            row15.Append(cell159);
            row15.Append(cell160);

            Row row16 = new Row() { RowIndex = (UInt32Value)19U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 12.75D, CustomHeight = true };

            Cell cell161 = new Cell() { CellReference = "B19", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue15 = new CellValue();
            cellValue15.Text = "12";

            cell161.Append(cellValue15);

            Cell cell162 = new Cell() { CellReference = "C19", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue16 = new CellValue();
            cellValue16.Text = "13";

            cell162.Append(cellValue16);

            Cell cell163 = new Cell() { CellReference = "D19", StyleIndex = (UInt32Value)19U, DataType = CellValues.SharedString };
            CellValue cellValue17 = new CellValue();
            cellValue17.Text = "14";

            cell163.Append(cellValue17);

            Cell cell164 = new Cell() { CellReference = "E19", StyleIndex = (UInt32Value)18U, DataType = CellValues.SharedString };
            CellValue cellValue18 = new CellValue();
            cellValue18.Text = "15";

            cell164.Append(cellValue18);

            Cell cell165 = new Cell() { CellReference = "F19", StyleIndex = (UInt32Value)20U, DataType = CellValues.SharedString };
            CellValue cellValue19 = new CellValue();
            cellValue19.Text = "16";

            cell165.Append(cellValue19);

            Cell cell166 = new Cell() { CellReference = "G19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue20 = new CellValue();
            cellValue20.Text = "17";

            cell166.Append(cellValue20);

            Cell cell167 = new Cell() { CellReference = "H19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue21 = new CellValue();
            cellValue21.Text = "18";

            cell167.Append(cellValue21);

            Cell cell168 = new Cell() { CellReference = "I19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue22 = new CellValue();
            cellValue22.Text = "19";

            cell168.Append(cellValue22);

            Cell cell169 = new Cell() { CellReference = "J19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue23 = new CellValue();
            cellValue23.Text = "20";

            cell169.Append(cellValue23);

            Cell cell170 = new Cell() { CellReference = "K19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue24 = new CellValue();
            cellValue24.Text = "20";

            cell170.Append(cellValue24);

            Cell cell171 = new Cell() { CellReference = "L19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue25 = new CellValue();
            cellValue25.Text = "21";

            cell171.Append(cellValue25);

            Cell cell172 = new Cell() { CellReference = "M19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue26 = new CellValue();
            cellValue26.Text = "22";

            cell172.Append(cellValue26);

            Cell cell173 = new Cell() { CellReference = "N19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue27 = new CellValue();
            cellValue27.Text = "17";

            cell173.Append(cellValue27);

            Cell cell174 = new Cell() { CellReference = "O19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue28 = new CellValue();
            cellValue28.Text = "18";

            cell174.Append(cellValue28);

            Cell cell175 = new Cell() { CellReference = "P19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue29 = new CellValue();
            cellValue29.Text = "19";

            cell175.Append(cellValue29);

            Cell cell176 = new Cell() { CellReference = "Q19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue30 = new CellValue();
            cellValue30.Text = "20";

            cell176.Append(cellValue30);

            Cell cell177 = new Cell() { CellReference = "R19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue31 = new CellValue();
            cellValue31.Text = "20";

            cell177.Append(cellValue31);

            Cell cell178 = new Cell() { CellReference = "S19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue32 = new CellValue();
            cellValue32.Text = "21";

            cell178.Append(cellValue32);

            Cell cell179 = new Cell() { CellReference = "T19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue33 = new CellValue();
            cellValue33.Text = "22";

            cell179.Append(cellValue33);

            Cell cell180 = new Cell() { CellReference = "U19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue34 = new CellValue();
            cellValue34.Text = "17";

            cell180.Append(cellValue34);

            Cell cell181 = new Cell() { CellReference = "V19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue35 = new CellValue();
            cellValue35.Text = "18";

            cell181.Append(cellValue35);

            Cell cell182 = new Cell() { CellReference = "W19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue36 = new CellValue();
            cellValue36.Text = "19";

            cell182.Append(cellValue36);

            Cell cell183 = new Cell() { CellReference = "X19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue37 = new CellValue();
            cellValue37.Text = "20";

            cell183.Append(cellValue37);

            Cell cell184 = new Cell() { CellReference = "Y19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue38 = new CellValue();
            cellValue38.Text = "20";

            cell184.Append(cellValue38);

            Cell cell185 = new Cell() { CellReference = "Z19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue39 = new CellValue();
            cellValue39.Text = "21";

            cell185.Append(cellValue39);

            Cell cell186 = new Cell() { CellReference = "AA19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue40 = new CellValue();
            cellValue40.Text = "22";

            cell186.Append(cellValue40);

            Cell cell187 = new Cell() { CellReference = "AB19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue41 = new CellValue();
            cellValue41.Text = "17";

            cell187.Append(cellValue41);

            Cell cell188 = new Cell() { CellReference = "AC19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue42 = new CellValue();
            cellValue42.Text = "18";

            cell188.Append(cellValue42);

            Cell cell189 = new Cell() { CellReference = "AD19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue43 = new CellValue();
            cellValue43.Text = "19";

            cell189.Append(cellValue43);

            Cell cell190 = new Cell() { CellReference = "AE19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue44 = new CellValue();
            cellValue44.Text = "20";

            cell190.Append(cellValue44);

            Cell cell191 = new Cell() { CellReference = "AF19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue45 = new CellValue();
            cellValue45.Text = "20";

            cell191.Append(cellValue45);

            Cell cell192 = new Cell() { CellReference = "AG19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue46 = new CellValue();
            cellValue46.Text = "21";

            cell192.Append(cellValue46);

            Cell cell193 = new Cell() { CellReference = "AH19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue47 = new CellValue();
            cellValue47.Text = "22";

            cell193.Append(cellValue47);

            Cell cell194 = new Cell() { CellReference = "AI19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue48 = new CellValue();
            cellValue48.Text = "17";

            cell194.Append(cellValue48);

            Cell cell195 = new Cell() { CellReference = "AJ19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue49 = new CellValue();
            cellValue49.Text = "18";

            cell195.Append(cellValue49);

            Cell cell196 = new Cell() { CellReference = "AK19", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue50 = new CellValue();
            cellValue50.Text = "19";

            cell196.Append(cellValue50);

            Cell cell197 = new Cell() { CellReference = "AL19", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue51 = new CellValue();
            cellValue51.Text = "23";

            cell197.Append(cellValue51);

            Cell cell198 = new Cell() { CellReference = "AM19", StyleIndex = (UInt32Value)23U, DataType = CellValues.SharedString };
            CellValue cellValue52 = new CellValue();
            cellValue52.Text = "24";

            cell198.Append(cellValue52);

            Cell cell199 = new Cell() { CellReference = "AN19", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue53 = new CellValue();
            cellValue53.Text = "25";

            cell199.Append(cellValue53);
            Cell cell200 = new Cell() { CellReference = "AO19", StyleIndex = (UInt32Value)2U };
            Cell cell201 = new Cell() { CellReference = "AP19", StyleIndex = (UInt32Value)2U };
            Cell cell202 = new Cell() { CellReference = "AQ19", StyleIndex = (UInt32Value)2U };
            Cell cell203 = new Cell() { CellReference = "AR19", StyleIndex = (UInt32Value)2U };

            row16.Append(cell161);
            row16.Append(cell162);
            row16.Append(cell163);
            row16.Append(cell164);
            row16.Append(cell165);
            row16.Append(cell166);
            row16.Append(cell167);
            row16.Append(cell168);
            row16.Append(cell169);
            row16.Append(cell170);
            row16.Append(cell171);
            row16.Append(cell172);
            row16.Append(cell173);
            row16.Append(cell174);
            row16.Append(cell175);
            row16.Append(cell176);
            row16.Append(cell177);
            row16.Append(cell178);
            row16.Append(cell179);
            row16.Append(cell180);
            row16.Append(cell181);
            row16.Append(cell182);
            row16.Append(cell183);
            row16.Append(cell184);
            row16.Append(cell185);
            row16.Append(cell186);
            row16.Append(cell187);
            row16.Append(cell188);
            row16.Append(cell189);
            row16.Append(cell190);
            row16.Append(cell191);
            row16.Append(cell192);
            row16.Append(cell193);
            row16.Append(cell194);
            row16.Append(cell195);
            row16.Append(cell196);
            row16.Append(cell197);
            row16.Append(cell198);
            row16.Append(cell199);
            row16.Append(cell200);
            row16.Append(cell201);
            row16.Append(cell202);
            row16.Append(cell203);

            Row row17 = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true };
            Cell cell204 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)24U };
            Cell cell205 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)25U };
            Cell cell206 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)25U };

            Cell cell207 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)22U, DataType = CellValues.SharedString };
            CellValue cellValue54 = new CellValue();
            cellValue54.Text = "26";

            cell207.Append(cellValue54);
            Cell cell208 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)26U };

            Cell cell209 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue55 = new CellValue();
            cellValue55.Text = "1";

            cell209.Append(cellValue55);

            Cell cell210 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue56 = new CellValue();
            cellValue56.Text = "2";

            cell210.Append(cellValue56);

            Cell cell211 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue57 = new CellValue();
            cellValue57.Text = "3";

            cell211.Append(cellValue57);

            Cell cell212 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue58 = new CellValue();
            cellValue58.Text = "4";

            cell212.Append(cellValue58);

            Cell cell213 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue59 = new CellValue();
            cellValue59.Text = "5";

            cell213.Append(cellValue59);

            Cell cell214 = new Cell() { CellReference = "L20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue60 = new CellValue();
            cellValue60.Text = "6";

            cell214.Append(cellValue60);

            Cell cell215 = new Cell() { CellReference = "M20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue61 = new CellValue();
            cellValue61.Text = "7";

            cell215.Append(cellValue61);

            Cell cell216 = new Cell() { CellReference = "N20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue62 = new CellValue();
            cellValue62.Text = "8";

            cell216.Append(cellValue62);

            Cell cell217 = new Cell() { CellReference = "O20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue63 = new CellValue();
            cellValue63.Text = "9";

            cell217.Append(cellValue63);

            Cell cell218 = new Cell() { CellReference = "P20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue64 = new CellValue();
            cellValue64.Text = "10";

            cell218.Append(cellValue64);

            Cell cell219 = new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue65 = new CellValue();
            cellValue65.Text = "11";

            cell219.Append(cellValue65);

            Cell cell220 = new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue66 = new CellValue();
            cellValue66.Text = "12";

            cell220.Append(cellValue66);

            Cell cell221 = new Cell() { CellReference = "S20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue67 = new CellValue();
            cellValue67.Text = "13";

            cell221.Append(cellValue67);

            Cell cell222 = new Cell() { CellReference = "T20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue68 = new CellValue();
            cellValue68.Text = "14";

            cell222.Append(cellValue68);

            Cell cell223 = new Cell() { CellReference = "U20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue69 = new CellValue();
            cellValue69.Text = "15";

            cell223.Append(cellValue69);

            Cell cell224 = new Cell() { CellReference = "V20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue70 = new CellValue();
            cellValue70.Text = "16";

            cell224.Append(cellValue70);

            Cell cell225 = new Cell() { CellReference = "W20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue71 = new CellValue();
            cellValue71.Text = "17";

            cell225.Append(cellValue71);

            Cell cell226 = new Cell() { CellReference = "X20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue72 = new CellValue();
            cellValue72.Text = "18";

            cell226.Append(cellValue72);

            Cell cell227 = new Cell() { CellReference = "Y20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue73 = new CellValue();
            cellValue73.Text = "19";

            cell227.Append(cellValue73);

            Cell cell228 = new Cell() { CellReference = "Z20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue74 = new CellValue();
            cellValue74.Text = "20";

            cell228.Append(cellValue74);

            Cell cell229 = new Cell() { CellReference = "AA20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue75 = new CellValue();
            cellValue75.Text = "21";

            cell229.Append(cellValue75);

            Cell cell230 = new Cell() { CellReference = "AB20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue76 = new CellValue();
            cellValue76.Text = "22";

            cell230.Append(cellValue76);

            Cell cell231 = new Cell() { CellReference = "AC20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue77 = new CellValue();
            cellValue77.Text = "23";

            cell231.Append(cellValue77);

            Cell cell232 = new Cell() { CellReference = "AD20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue78 = new CellValue();
            cellValue78.Text = "24";

            cell232.Append(cellValue78);

            Cell cell233 = new Cell() { CellReference = "AE20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue79 = new CellValue();
            cellValue79.Text = "25";

            cell233.Append(cellValue79);

            Cell cell234 = new Cell() { CellReference = "AF20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue80 = new CellValue();
            cellValue80.Text = "26";

            cell234.Append(cellValue80);

            Cell cell235 = new Cell() { CellReference = "AG20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue81 = new CellValue();
            cellValue81.Text = "27";

            cell235.Append(cellValue81);

            Cell cell236 = new Cell() { CellReference = "AH20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue82 = new CellValue();
            cellValue82.Text = "28";

            cell236.Append(cellValue82);

            Cell cell237 = new Cell() { CellReference = "AI20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue83 = new CellValue();
            cellValue83.Text = "29";

            cell237.Append(cellValue83);

            Cell cell238 = new Cell() { CellReference = "AJ20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue84 = new CellValue();
            cellValue84.Text = "30";

            cell238.Append(cellValue84);

            Cell cell239 = new Cell() { CellReference = "AK20", StyleIndex = (UInt32Value)27U };
            CellValue cellValue85 = new CellValue();
            cellValue85.Text = "31";

            cell239.Append(cellValue85);

            Cell cell240 = new Cell() { CellReference = "AL20", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue86 = new CellValue();
            cellValue86.Text = "27";

            cell240.Append(cellValue86);

            Cell cell241 = new Cell() { CellReference = "AM20", StyleIndex = (UInt32Value)28U, DataType = CellValues.SharedString };
            CellValue cellValue87 = new CellValue();
            cellValue87.Text = "28";

            cell241.Append(cellValue87);

            Cell cell242 = new Cell() { CellReference = "AN20", StyleIndex = (UInt32Value)21U, DataType = CellValues.SharedString };
            CellValue cellValue88 = new CellValue();
            cellValue88.Text = "29";

            cell242.Append(cellValue88);
            Cell cell243 = new Cell() { CellReference = "AO20", StyleIndex = (UInt32Value)2U };
            Cell cell244 = new Cell() { CellReference = "AP20", StyleIndex = (UInt32Value)2U };
            Cell cell245 = new Cell() { CellReference = "AQ20", StyleIndex = (UInt32Value)2U };
            Cell cell246 = new Cell() { CellReference = "AR20", StyleIndex = (UInt32Value)2U };

            row17.Append(cell204);
            row17.Append(cell205);
            row17.Append(cell206);
            row17.Append(cell207);
            row17.Append(cell208);
            row17.Append(cell209);
            row17.Append(cell210);
            row17.Append(cell211);
            row17.Append(cell212);
            row17.Append(cell213);
            row17.Append(cell214);
            row17.Append(cell215);
            row17.Append(cell216);
            row17.Append(cell217);
            row17.Append(cell218);
            row17.Append(cell219);
            row17.Append(cell220);
            row17.Append(cell221);
            row17.Append(cell222);
            row17.Append(cell223);
            row17.Append(cell224);
            row17.Append(cell225);
            row17.Append(cell226);
            row17.Append(cell227);
            row17.Append(cell228);
            row17.Append(cell229);
            row17.Append(cell230);
            row17.Append(cell231);
            row17.Append(cell232);
            row17.Append(cell233);
            row17.Append(cell234);
            row17.Append(cell235);
            row17.Append(cell236);
            row17.Append(cell237);
            row17.Append(cell238);
            row17.Append(cell239);
            row17.Append(cell240);
            row17.Append(cell241);
            row17.Append(cell242);
            row17.Append(cell243);
            row17.Append(cell244);
            row17.Append(cell245);
            row17.Append(cell246);

            Row row18 = new Row() { RowIndex = (UInt32Value)21U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true };
            Cell cell247 = new Cell() { CellReference = "B21", StyleIndex = (UInt32Value)29U };
            Cell cell248 = new Cell() { CellReference = "C21", StyleIndex = (UInt32Value)30U };
            Cell cell249 = new Cell() { CellReference = "D21", StyleIndex = (UInt32Value)31U };

            Cell cell250 = new Cell() { CellReference = "E21", StyleIndex = (UInt32Value)31U, DataType = CellValues.SharedString };
            CellValue cellValue89 = new CellValue();
            cellValue89.Text = "31";

            cell250.Append(cellValue89);
            Cell cell251 = new Cell() { CellReference = "F21", StyleIndex = (UInt32Value)32U };
            Cell cell252 = new Cell() { CellReference = "G21", StyleIndex = (UInt32Value)33U };
            Cell cell253 = new Cell() { CellReference = "H21", StyleIndex = (UInt32Value)34U };
            Cell cell254 = new Cell() { CellReference = "I21", StyleIndex = (UInt32Value)34U };
            Cell cell255 = new Cell() { CellReference = "J21", StyleIndex = (UInt32Value)34U };
            Cell cell256 = new Cell() { CellReference = "K21", StyleIndex = (UInt32Value)34U };

            Cell cell257 = new Cell() { CellReference = "L21", StyleIndex = (UInt32Value)34U };
            CellValue cellValue90 = new CellValue();
            cellValue90.Text = "0";

            cell257.Append(cellValue90);
            Cell cell258 = new Cell() { CellReference = "M21", StyleIndex = (UInt32Value)34U };
            Cell cell259 = new Cell() { CellReference = "N21", StyleIndex = (UInt32Value)35U };
            Cell cell260 = new Cell() { CellReference = "O21", StyleIndex = (UInt32Value)34U };
            Cell cell261 = new Cell() { CellReference = "P21", StyleIndex = (UInt32Value)34U };
            Cell cell262 = new Cell() { CellReference = "Q21", StyleIndex = (UInt32Value)34U };
            Cell cell263 = new Cell() { CellReference = "R21", StyleIndex = (UInt32Value)34U };
            Cell cell264 = new Cell() { CellReference = "S21", StyleIndex = (UInt32Value)34U };
            Cell cell265 = new Cell() { CellReference = "T21", StyleIndex = (UInt32Value)34U };
            Cell cell266 = new Cell() { CellReference = "U21", StyleIndex = (UInt32Value)35U };
            Cell cell267 = new Cell() { CellReference = "V21", StyleIndex = (UInt32Value)34U };
            Cell cell268 = new Cell() { CellReference = "W21", StyleIndex = (UInt32Value)34U };
            Cell cell269 = new Cell() { CellReference = "X21", StyleIndex = (UInt32Value)34U };
            Cell cell270 = new Cell() { CellReference = "Y21", StyleIndex = (UInt32Value)34U };
            Cell cell271 = new Cell() { CellReference = "Z21", StyleIndex = (UInt32Value)34U };
            Cell cell272 = new Cell() { CellReference = "AA21", StyleIndex = (UInt32Value)34U };
            Cell cell273 = new Cell() { CellReference = "AB21", StyleIndex = (UInt32Value)35U };
            Cell cell274 = new Cell() { CellReference = "AC21", StyleIndex = (UInt32Value)35U };
            Cell cell275 = new Cell() { CellReference = "AD21", StyleIndex = (UInt32Value)35U };
            Cell cell276 = new Cell() { CellReference = "AE21", StyleIndex = (UInt32Value)34U };
            Cell cell277 = new Cell() { CellReference = "AF21", StyleIndex = (UInt32Value)34U };
            Cell cell278 = new Cell() { CellReference = "AG21", StyleIndex = (UInt32Value)34U };
            Cell cell279 = new Cell() { CellReference = "AH21", StyleIndex = (UInt32Value)34U };
            Cell cell280 = new Cell() { CellReference = "AI21", StyleIndex = (UInt32Value)34U };
            Cell cell281 = new Cell() { CellReference = "AJ21", StyleIndex = (UInt32Value)34U };
            Cell cell282 = new Cell() { CellReference = "AK21", StyleIndex = (UInt32Value)34U };

            Cell cell283 = new Cell() { CellReference = "AL21", StyleIndex = (UInt32Value)36U };
            CellFormula cellFormula2 = new CellFormula();
            cellFormula2.Text = "SUM(G21:AK21)";
            CellValue cellValue91 = new CellValue();
            cellValue91.Text = "0";

            cell283.Append(cellFormula2);
            cell283.Append(cellValue91);

            Cell cell284 = new Cell() { CellReference = "AM21", StyleIndex = (UInt32Value)92U };
            CellValue cellValue92 = new CellValue();
            cellValue92.Text = "0";

            cell284.Append(cellValue92);

            Cell cell285 = new Cell() { CellReference = "AN21", StyleIndex = (UInt32Value)89U };
            CellFormula cellFormula3 = new CellFormula();
            cellFormula3.Text = "SUM(AM21*AL21)";
            CellValue cellValue93 = new CellValue();
            cellValue93.Text = "0";

            cell285.Append(cellFormula3);
            cell285.Append(cellValue93);
            Cell cell286 = new Cell() { CellReference = "AO21", StyleIndex = (UInt32Value)2U };
            Cell cell287 = new Cell() { CellReference = "AP21", StyleIndex = (UInt32Value)2U };
            Cell cell288 = new Cell() { CellReference = "AQ21", StyleIndex = (UInt32Value)2U };
            Cell cell289 = new Cell() { CellReference = "AR21", StyleIndex = (UInt32Value)2U };

            row18.Append(cell247);
            row18.Append(cell248);
            row18.Append(cell249);
            row18.Append(cell250);
            row18.Append(cell251);
            row18.Append(cell252);
            row18.Append(cell253);
            row18.Append(cell254);
            row18.Append(cell255);
            row18.Append(cell256);
            row18.Append(cell257);
            row18.Append(cell258);
            row18.Append(cell259);
            row18.Append(cell260);
            row18.Append(cell261);
            row18.Append(cell262);
            row18.Append(cell263);
            row18.Append(cell264);
            row18.Append(cell265);
            row18.Append(cell266);
            row18.Append(cell267);
            row18.Append(cell268);
            row18.Append(cell269);
            row18.Append(cell270);
            row18.Append(cell271);
            row18.Append(cell272);
            row18.Append(cell273);
            row18.Append(cell274);
            row18.Append(cell275);
            row18.Append(cell276);
            row18.Append(cell277);
            row18.Append(cell278);
            row18.Append(cell279);
            row18.Append(cell280);
            row18.Append(cell281);
            row18.Append(cell282);
            row18.Append(cell283);
            row18.Append(cell284);
            row18.Append(cell285);
            row18.Append(cell286);
            row18.Append(cell287);
            row18.Append(cell288);
            row18.Append(cell289);

            Row row19 = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true };
            Cell cell290 = new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)37U };
            Cell cell291 = new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)64U };
            Cell cell292 = new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)61U };

            Cell cell293 = new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString };
            CellValue cellValue94 = new CellValue();
            cellValue94.Text = "31";

            cell293.Append(cellValue94);
            Cell cell294 = new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)38U };
            Cell cell295 = new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)33U };
            Cell cell296 = new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)34U };
            Cell cell297 = new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)34U };
            Cell cell298 = new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)34U };
            Cell cell299 = new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)34U };
            Cell cell300 = new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)34U };
            Cell cell301 = new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)34U };
            Cell cell302 = new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)34U };
            Cell cell303 = new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)34U };
            Cell cell304 = new Cell() { CellReference = "P22", StyleIndex = (UInt32Value)35U };
            Cell cell305 = new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)34U };
            Cell cell306 = new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)34U };
            Cell cell307 = new Cell() { CellReference = "S22", StyleIndex = (UInt32Value)34U };
            Cell cell308 = new Cell() { CellReference = "T22", StyleIndex = (UInt32Value)34U };
            Cell cell309 = new Cell() { CellReference = "U22", StyleIndex = (UInt32Value)34U };
            Cell cell310 = new Cell() { CellReference = "V22", StyleIndex = (UInt32Value)35U };
            Cell cell311 = new Cell() { CellReference = "W22", StyleIndex = (UInt32Value)34U };
            Cell cell312 = new Cell() { CellReference = "X22", StyleIndex = (UInt32Value)34U };
            Cell cell313 = new Cell() { CellReference = "Y22", StyleIndex = (UInt32Value)34U };
            Cell cell314 = new Cell() { CellReference = "Z22", StyleIndex = (UInt32Value)34U };
            Cell cell315 = new Cell() { CellReference = "AA22", StyleIndex = (UInt32Value)34U };
            Cell cell316 = new Cell() { CellReference = "AB22", StyleIndex = (UInt32Value)35U };
            Cell cell317 = new Cell() { CellReference = "AC22", StyleIndex = (UInt32Value)35U };

            Cell cell318 = new Cell() { CellReference = "AD22", StyleIndex = (UInt32Value)35U };
            CellValue cellValue95 = new CellValue();
            cellValue95.Text = "0";

            cell318.Append(cellValue95);
            Cell cell319 = new Cell() { CellReference = "AE22", StyleIndex = (UInt32Value)34U };
            Cell cell320 = new Cell() { CellReference = "AF22", StyleIndex = (UInt32Value)34U };
            Cell cell321 = new Cell() { CellReference = "AG22", StyleIndex = (UInt32Value)34U };
            Cell cell322 = new Cell() { CellReference = "AH22", StyleIndex = (UInt32Value)34U };
            Cell cell323 = new Cell() { CellReference = "AI22", StyleIndex = (UInt32Value)34U };
            Cell cell324 = new Cell() { CellReference = "AJ22", StyleIndex = (UInt32Value)34U };
            Cell cell325 = new Cell() { CellReference = "AK22", StyleIndex = (UInt32Value)34U };

            Cell cell326 = new Cell() { CellReference = "AL22", StyleIndex = (UInt32Value)36U };
            CellFormula cellFormula4 = new CellFormula();
            cellFormula4.Text = "SUM(G22:AK22)";
            CellValue cellValue96 = new CellValue();
            cellValue96.Text = "0";

            cell326.Append(cellFormula4);
            cell326.Append(cellValue96);

            Cell cell327 = new Cell() { CellReference = "AM22", StyleIndex = (UInt32Value)92U };
            CellValue cellValue97 = new CellValue();
            cellValue97.Text = "0";

            cell327.Append(cellValue97);

            Cell cell328 = new Cell() { CellReference = "AN22", StyleIndex = (UInt32Value)89U };
            CellFormula cellFormula5 = new CellFormula();
            cellFormula5.Text = "SUM(AM22*AL22)";
            CellValue cellValue98 = new CellValue();
            cellValue98.Text = "0";

            cell328.Append(cellFormula5);
            cell328.Append(cellValue98);
            Cell cell329 = new Cell() { CellReference = "AO22", StyleIndex = (UInt32Value)2U };
            Cell cell330 = new Cell() { CellReference = "AP22", StyleIndex = (UInt32Value)2U };
            Cell cell331 = new Cell() { CellReference = "AQ22", StyleIndex = (UInt32Value)2U };
            Cell cell332 = new Cell() { CellReference = "AR22", StyleIndex = (UInt32Value)2U };

            row19.Append(cell290);
            row19.Append(cell291);
            row19.Append(cell292);
            row19.Append(cell293);
            row19.Append(cell294);
            row19.Append(cell295);
            row19.Append(cell296);
            row19.Append(cell297);
            row19.Append(cell298);
            row19.Append(cell299);
            row19.Append(cell300);
            row19.Append(cell301);
            row19.Append(cell302);
            row19.Append(cell303);
            row19.Append(cell304);
            row19.Append(cell305);
            row19.Append(cell306);
            row19.Append(cell307);
            row19.Append(cell308);
            row19.Append(cell309);
            row19.Append(cell310);
            row19.Append(cell311);
            row19.Append(cell312);
            row19.Append(cell313);
            row19.Append(cell314);
            row19.Append(cell315);
            row19.Append(cell316);
            row19.Append(cell317);
            row19.Append(cell318);
            row19.Append(cell319);
            row19.Append(cell320);
            row19.Append(cell321);
            row19.Append(cell322);
            row19.Append(cell323);
            row19.Append(cell324);
            row19.Append(cell325);
            row19.Append(cell326);
            row19.Append(cell327);
            row19.Append(cell328);
            row19.Append(cell329);
            row19.Append(cell330);
            row19.Append(cell331);
            row19.Append(cell332);

            Row row20 = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true };
            Cell cell333 = new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)37U };
            Cell cell334 = new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)64U };
            Cell cell335 = new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)61U };

            Cell cell336 = new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString };
            CellValue cellValue99 = new CellValue();
            cellValue99.Text = "31";

            cell336.Append(cellValue99);
            Cell cell337 = new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)38U };
            Cell cell338 = new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)40U };
            Cell cell339 = new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)35U };
            Cell cell340 = new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)35U };
            Cell cell341 = new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)34U };
            Cell cell342 = new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)34U };
            Cell cell343 = new Cell() { CellReference = "L23", StyleIndex = (UInt32Value)35U };
            Cell cell344 = new Cell() { CellReference = "M23", StyleIndex = (UInt32Value)35U };
            Cell cell345 = new Cell() { CellReference = "N23", StyleIndex = (UInt32Value)34U };
            Cell cell346 = new Cell() { CellReference = "O23", StyleIndex = (UInt32Value)34U };
            Cell cell347 = new Cell() { CellReference = "P23", StyleIndex = (UInt32Value)34U };
            Cell cell348 = new Cell() { CellReference = "Q23", StyleIndex = (UInt32Value)34U };
            Cell cell349 = new Cell() { CellReference = "R23", StyleIndex = (UInt32Value)34U };
            Cell cell350 = new Cell() { CellReference = "S23", StyleIndex = (UInt32Value)35U };
            Cell cell351 = new Cell() { CellReference = "T23", StyleIndex = (UInt32Value)35U };
            Cell cell352 = new Cell() { CellReference = "U23", StyleIndex = (UInt32Value)34U };
            Cell cell353 = new Cell() { CellReference = "V23", StyleIndex = (UInt32Value)34U };
            Cell cell354 = new Cell() { CellReference = "W23", StyleIndex = (UInt32Value)35U };
            Cell cell355 = new Cell() { CellReference = "X23", StyleIndex = (UInt32Value)34U };
            Cell cell356 = new Cell() { CellReference = "Y23", StyleIndex = (UInt32Value)34U };
            Cell cell357 = new Cell() { CellReference = "Z23", StyleIndex = (UInt32Value)35U };
            Cell cell358 = new Cell() { CellReference = "AA23", StyleIndex = (UInt32Value)35U };
            Cell cell359 = new Cell() { CellReference = "AB23", StyleIndex = (UInt32Value)35U };

            Cell cell360 = new Cell() { CellReference = "AC23", StyleIndex = (UInt32Value)35U };
            CellValue cellValue100 = new CellValue();
            cellValue100.Text = "0";

            cell360.Append(cellValue100);
            Cell cell361 = new Cell() { CellReference = "AD23", StyleIndex = (UInt32Value)35U };
            Cell cell362 = new Cell() { CellReference = "AE23", StyleIndex = (UInt32Value)34U };
            Cell cell363 = new Cell() { CellReference = "AF23", StyleIndex = (UInt32Value)34U };
            Cell cell364 = new Cell() { CellReference = "AG23", StyleIndex = (UInt32Value)35U };
            Cell cell365 = new Cell() { CellReference = "AH23", StyleIndex = (UInt32Value)35U };
            Cell cell366 = new Cell() { CellReference = "AI23", StyleIndex = (UInt32Value)35U };
            Cell cell367 = new Cell() { CellReference = "AJ23", StyleIndex = (UInt32Value)35U };
            Cell cell368 = new Cell() { CellReference = "AK23", StyleIndex = (UInt32Value)35U };

            Cell cell369 = new Cell() { CellReference = "AL23", StyleIndex = (UInt32Value)36U };
            CellFormula cellFormula6 = new CellFormula();
            cellFormula6.Text = "SUM(G23:AK23)";
            CellValue cellValue101 = new CellValue();
            cellValue101.Text = "0";

            cell369.Append(cellFormula6);
            cell369.Append(cellValue101);

            Cell cell370 = new Cell() { CellReference = "AM23", StyleIndex = (UInt32Value)92U };
            CellValue cellValue102 = new CellValue();
            cellValue102.Text = "0";

            cell370.Append(cellValue102);

            Cell cell371 = new Cell() { CellReference = "AN23", StyleIndex = (UInt32Value)89U };
            CellFormula cellFormula7 = new CellFormula();
            cellFormula7.Text = "SUM(AM23*AL23)";
            CellValue cellValue103 = new CellValue();
            cellValue103.Text = "0";

            cell371.Append(cellFormula7);
            cell371.Append(cellValue103);
            Cell cell372 = new Cell() { CellReference = "AO23", StyleIndex = (UInt32Value)2U };
            Cell cell373 = new Cell() { CellReference = "AP23", StyleIndex = (UInt32Value)2U };
            Cell cell374 = new Cell() { CellReference = "AQ23", StyleIndex = (UInt32Value)2U };
            Cell cell375 = new Cell() { CellReference = "AR23", StyleIndex = (UInt32Value)2U };

            row20.Append(cell333);
            row20.Append(cell334);
            row20.Append(cell335);
            row20.Append(cell336);
            row20.Append(cell337);
            row20.Append(cell338);
            row20.Append(cell339);
            row20.Append(cell340);
            row20.Append(cell341);
            row20.Append(cell342);
            row20.Append(cell343);
            row20.Append(cell344);
            row20.Append(cell345);
            row20.Append(cell346);
            row20.Append(cell347);
            row20.Append(cell348);
            row20.Append(cell349);
            row20.Append(cell350);
            row20.Append(cell351);
            row20.Append(cell352);
            row20.Append(cell353);
            row20.Append(cell354);
            row20.Append(cell355);
            row20.Append(cell356);
            row20.Append(cell357);
            row20.Append(cell358);
            row20.Append(cell359);
            row20.Append(cell360);
            row20.Append(cell361);
            row20.Append(cell362);
            row20.Append(cell363);
            row20.Append(cell364);
            row20.Append(cell365);
            row20.Append(cell366);
            row20.Append(cell367);
            row20.Append(cell368);
            row20.Append(cell369);
            row20.Append(cell370);
            row20.Append(cell371);
            row20.Append(cell372);
            row20.Append(cell373);
            row20.Append(cell374);
            row20.Append(cell375);

            Row row21 = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true };
            Cell cell376 = new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)41U };
            Cell cell377 = new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)64U };
            Cell cell378 = new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)61U };

            Cell cell379 = new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)61U, DataType = CellValues.SharedString };
            CellValue cellValue104 = new CellValue();
            cellValue104.Text = "31";

            cell379.Append(cellValue104);
            Cell cell380 = new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)38U };
            Cell cell381 = new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)33U };
            Cell cell382 = new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)34U };
            Cell cell383 = new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)34U };
            Cell cell384 = new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)34U };
            Cell cell385 = new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)34U };
            Cell cell386 = new Cell() { CellReference = "L24", StyleIndex = (UInt32Value)34U };
            Cell cell387 = new Cell() { CellReference = "M24", StyleIndex = (UInt32Value)34U };
            Cell cell388 = new Cell() { CellReference = "N24", StyleIndex = (UInt32Value)34U };
            Cell cell389 = new Cell() { CellReference = "O24", StyleIndex = (UInt32Value)35U };
            Cell cell390 = new Cell() { CellReference = "P24", StyleIndex = (UInt32Value)34U };
            Cell cell391 = new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)34U };
            Cell cell392 = new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)34U };
            Cell cell393 = new Cell() { CellReference = "S24", StyleIndex = (UInt32Value)34U };
            Cell cell394 = new Cell() { CellReference = "T24", StyleIndex = (UInt32Value)34U };
            Cell cell395 = new Cell() { CellReference = "U24", StyleIndex = (UInt32Value)35U };
            Cell cell396 = new Cell() { CellReference = "V24", StyleIndex = (UInt32Value)35U };
            Cell cell397 = new Cell() { CellReference = "W24", StyleIndex = (UInt32Value)35U };
            Cell cell398 = new Cell() { CellReference = "X24", StyleIndex = (UInt32Value)34U };
            Cell cell399 = new Cell() { CellReference = "Y24", StyleIndex = (UInt32Value)34U };
            Cell cell400 = new Cell() { CellReference = "Z24", StyleIndex = (UInt32Value)34U };
            Cell cell401 = new Cell() { CellReference = "AA24", StyleIndex = (UInt32Value)35U };
            Cell cell402 = new Cell() { CellReference = "AB24", StyleIndex = (UInt32Value)35U };
            Cell cell403 = new Cell() { CellReference = "AC24", StyleIndex = (UInt32Value)35U };
            Cell cell404 = new Cell() { CellReference = "AD24", StyleIndex = (UInt32Value)35U };
            Cell cell405 = new Cell() { CellReference = "AE24", StyleIndex = (UInt32Value)34U };
            Cell cell406 = new Cell() { CellReference = "AF24", StyleIndex = (UInt32Value)34U };
            Cell cell407 = new Cell() { CellReference = "AG24", StyleIndex = (UInt32Value)34U };
            Cell cell408 = new Cell() { CellReference = "AH24", StyleIndex = (UInt32Value)34U };
            Cell cell409 = new Cell() { CellReference = "AI24", StyleIndex = (UInt32Value)34U };
            Cell cell410 = new Cell() { CellReference = "AJ24", StyleIndex = (UInt32Value)34U };
            Cell cell411 = new Cell() { CellReference = "AK24", StyleIndex = (UInt32Value)34U };

            Cell cell412 = new Cell() { CellReference = "AL24", StyleIndex = (UInt32Value)36U };
            CellFormula cellFormula8 = new CellFormula();
            cellFormula8.Text = "SUM(G24:AK24)";
            CellValue cellValue105 = new CellValue();
            cellValue105.Text = "0";

            cell412.Append(cellFormula8);
            cell412.Append(cellValue105);

            Cell cell413 = new Cell() { CellReference = "AM24", StyleIndex = (UInt32Value)92U };
            CellValue cellValue106 = new CellValue();
            cellValue106.Text = "0";

            cell413.Append(cellValue106);

            Cell cell414 = new Cell() { CellReference = "AN24", StyleIndex = (UInt32Value)89U };
            CellFormula cellFormula9 = new CellFormula();
            cellFormula9.Text = "SUM(AM24*AL24)";
            CellValue cellValue107 = new CellValue();
            cellValue107.Text = "0";

            cell414.Append(cellFormula9);
            cell414.Append(cellValue107);
            Cell cell415 = new Cell() { CellReference = "AO24", StyleIndex = (UInt32Value)2U };
            Cell cell416 = new Cell() { CellReference = "AP24", StyleIndex = (UInt32Value)2U };
            Cell cell417 = new Cell() { CellReference = "AQ24", StyleIndex = (UInt32Value)2U };
            Cell cell418 = new Cell() { CellReference = "AR24", StyleIndex = (UInt32Value)2U };

            row21.Append(cell376);
            row21.Append(cell377);
            row21.Append(cell378);
            row21.Append(cell379);
            row21.Append(cell380);
            row21.Append(cell381);
            row21.Append(cell382);
            row21.Append(cell383);
            row21.Append(cell384);
            row21.Append(cell385);
            row21.Append(cell386);
            row21.Append(cell387);
            row21.Append(cell388);
            row21.Append(cell389);
            row21.Append(cell390);
            row21.Append(cell391);
            row21.Append(cell392);
            row21.Append(cell393);
            row21.Append(cell394);
            row21.Append(cell395);
            row21.Append(cell396);
            row21.Append(cell397);
            row21.Append(cell398);
            row21.Append(cell399);
            row21.Append(cell400);
            row21.Append(cell401);
            row21.Append(cell402);
            row21.Append(cell403);
            row21.Append(cell404);
            row21.Append(cell405);
            row21.Append(cell406);
            row21.Append(cell407);
            row21.Append(cell408);
            row21.Append(cell409);
            row21.Append(cell410);
            row21.Append(cell411);
            row21.Append(cell412);
            row21.Append(cell413);
            row21.Append(cell414);
            row21.Append(cell415);
            row21.Append(cell416);
            row21.Append(cell417);
            row21.Append(cell418);

            Row row22 = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true };
            Cell cell419 = new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)41U };
            Cell cell420 = new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)65U };
            Cell cell421 = new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)66U };

            Cell cell422 = new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)66U, DataType = CellValues.SharedString };
            CellValue cellValue108 = new CellValue();
            cellValue108.Text = "31";

            cell422.Append(cellValue108);
            Cell cell423 = new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)39U };
            Cell cell424 = new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)67U };
            Cell cell425 = new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)68U };
            Cell cell426 = new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)68U };
            Cell cell427 = new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)68U };
            Cell cell428 = new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)68U };
            Cell cell429 = new Cell() { CellReference = "L25", StyleIndex = (UInt32Value)68U };
            Cell cell430 = new Cell() { CellReference = "M25", StyleIndex = (UInt32Value)68U };
            Cell cell431 = new Cell() { CellReference = "N25", StyleIndex = (UInt32Value)68U };
            Cell cell432 = new Cell() { CellReference = "O25", StyleIndex = (UInt32Value)68U };
            Cell cell433 = new Cell() { CellReference = "P25", StyleIndex = (UInt32Value)68U };
            Cell cell434 = new Cell() { CellReference = "Q25", StyleIndex = (UInt32Value)68U };
            Cell cell435 = new Cell() { CellReference = "R25", StyleIndex = (UInt32Value)68U };
            Cell cell436 = new Cell() { CellReference = "S25", StyleIndex = (UInt32Value)68U };
            Cell cell437 = new Cell() { CellReference = "T25", StyleIndex = (UInt32Value)68U };
            Cell cell438 = new Cell() { CellReference = "U25", StyleIndex = (UInt32Value)68U };
            Cell cell439 = new Cell() { CellReference = "V25", StyleIndex = (UInt32Value)68U };
            Cell cell440 = new Cell() { CellReference = "W25", StyleIndex = (UInt32Value)68U };
            Cell cell441 = new Cell() { CellReference = "X25", StyleIndex = (UInt32Value)68U };
            Cell cell442 = new Cell() { CellReference = "Y25", StyleIndex = (UInt32Value)68U };
            Cell cell443 = new Cell() { CellReference = "Z25", StyleIndex = (UInt32Value)68U };
            Cell cell444 = new Cell() { CellReference = "AA25", StyleIndex = (UInt32Value)69U };
            Cell cell445 = new Cell() { CellReference = "AB25", StyleIndex = (UInt32Value)69U };
            Cell cell446 = new Cell() { CellReference = "AC25", StyleIndex = (UInt32Value)69U };
            Cell cell447 = new Cell() { CellReference = "AD25", StyleIndex = (UInt32Value)69U };
            Cell cell448 = new Cell() { CellReference = "AE25", StyleIndex = (UInt32Value)68U };

            Cell cell449 = new Cell() { CellReference = "AF25", StyleIndex = (UInt32Value)68U };
            CellValue cellValue109 = new CellValue();
            cellValue109.Text = "0";

            cell449.Append(cellValue109);
            Cell cell450 = new Cell() { CellReference = "AG25", StyleIndex = (UInt32Value)68U };
            Cell cell451 = new Cell() { CellReference = "AH25", StyleIndex = (UInt32Value)68U };
            Cell cell452 = new Cell() { CellReference = "AI25", StyleIndex = (UInt32Value)68U };
            Cell cell453 = new Cell() { CellReference = "AJ25", StyleIndex = (UInt32Value)68U };
            Cell cell454 = new Cell() { CellReference = "AK25", StyleIndex = (UInt32Value)68U };

            Cell cell455 = new Cell() { CellReference = "AL25", StyleIndex = (UInt32Value)70U };
            CellFormula cellFormula10 = new CellFormula();
            cellFormula10.Text = "SUM(G25:AK25)";
            CellValue cellValue110 = new CellValue();
            cellValue110.Text = "0";

            cell455.Append(cellFormula10);
            cell455.Append(cellValue110);

            Cell cell456 = new Cell() { CellReference = "AM25", StyleIndex = (UInt32Value)93U };
            CellValue cellValue111 = new CellValue();
            cellValue111.Text = "0";

            cell456.Append(cellValue111);

            Cell cell457 = new Cell() { CellReference = "AN25", StyleIndex = (UInt32Value)90U };
            CellFormula cellFormula11 = new CellFormula();
            cellFormula11.Text = "SUM(AM25*AL25)";
            CellValue cellValue112 = new CellValue();
            cellValue112.Text = "0";

            cell457.Append(cellFormula11);
            cell457.Append(cellValue112);
            Cell cell458 = new Cell() { CellReference = "AO25", StyleIndex = (UInt32Value)2U };
            Cell cell459 = new Cell() { CellReference = "AP25", StyleIndex = (UInt32Value)2U };
            Cell cell460 = new Cell() { CellReference = "AQ25", StyleIndex = (UInt32Value)2U };
            Cell cell461 = new Cell() { CellReference = "AR25", StyleIndex = (UInt32Value)2U };

            row22.Append(cell419);
            row22.Append(cell420);
            row22.Append(cell421);
            row22.Append(cell422);
            row22.Append(cell423);
            row22.Append(cell424);
            row22.Append(cell425);
            row22.Append(cell426);
            row22.Append(cell427);
            row22.Append(cell428);
            row22.Append(cell429);
            row22.Append(cell430);
            row22.Append(cell431);
            row22.Append(cell432);
            row22.Append(cell433);
            row22.Append(cell434);
            row22.Append(cell435);
            row22.Append(cell436);
            row22.Append(cell437);
            row22.Append(cell438);
            row22.Append(cell439);
            row22.Append(cell440);
            row22.Append(cell441);
            row22.Append(cell442);
            row22.Append(cell443);
            row22.Append(cell444);
            row22.Append(cell445);
            row22.Append(cell446);
            row22.Append(cell447);
            row22.Append(cell448);
            row22.Append(cell449);
            row22.Append(cell450);
            row22.Append(cell451);
            row22.Append(cell452);
            row22.Append(cell453);
            row22.Append(cell454);
            row22.Append(cell455);
            row22.Append(cell456);
            row22.Append(cell457);
            row22.Append(cell458);
            row22.Append(cell459);
            row22.Append(cell460);
            row22.Append(cell461);

            Row row23 = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 13.5D, CustomHeight = true, ThickBot = true };

            Cell cell462 = new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)17U, DataType = CellValues.SharedString };
            CellValue cellValue113 = new CellValue();
            cellValue113.Text = "25";

            cell462.Append(cellValue113);
            Cell cell463 = new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)42U };
            Cell cell464 = new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)43U };
            Cell cell465 = new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)62U };
            Cell cell466 = new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)63U };

            Cell cell467 = new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)71U };
            CellFormula cellFormula12 = new CellFormula() { FormulaType = CellFormulaValues.Shared, Reference = "G26:AK26", SharedIndex = (UInt32Value)0U };
            cellFormula12.Text = "SUM(G21:G25)";
            CellValue cellValue114 = new CellValue();
            cellValue114.Text = "0";

            cell467.Append(cellFormula12);
            cell467.Append(cellValue114);

            Cell cell468 = new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula13 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula13.Text = "";
            CellValue cellValue115 = new CellValue();
            cellValue115.Text = "0";

            cell468.Append(cellFormula13);
            cell468.Append(cellValue115);

            Cell cell469 = new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula14 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula14.Text = "";
            CellValue cellValue116 = new CellValue();
            cellValue116.Text = "0";

            cell469.Append(cellFormula14);
            cell469.Append(cellValue116);

            Cell cell470 = new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula15 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula15.Text = "";
            CellValue cellValue117 = new CellValue();
            cellValue117.Text = "0";

            cell470.Append(cellFormula15);
            cell470.Append(cellValue117);

            Cell cell471 = new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula16 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula16.Text = "";
            CellValue cellValue118 = new CellValue();
            cellValue118.Text = "0";

            cell471.Append(cellFormula16);
            cell471.Append(cellValue118);

            Cell cell472 = new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula17 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula17.Text = "";
            CellValue cellValue119 = new CellValue();
            cellValue119.Text = "0";

            cell472.Append(cellFormula17);
            cell472.Append(cellValue119);

            Cell cell473 = new Cell() { CellReference = "M26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula18 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula18.Text = "";
            CellValue cellValue120 = new CellValue();
            cellValue120.Text = "0";

            cell473.Append(cellFormula18);
            cell473.Append(cellValue120);

            Cell cell474 = new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula19 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula19.Text = "";
            CellValue cellValue121 = new CellValue();
            cellValue121.Text = "0";

            cell474.Append(cellFormula19);
            cell474.Append(cellValue121);

            Cell cell475 = new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula20 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula20.Text = "";
            CellValue cellValue122 = new CellValue();
            cellValue122.Text = "0";

            cell475.Append(cellFormula20);
            cell475.Append(cellValue122);

            Cell cell476 = new Cell() { CellReference = "P26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula21 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula21.Text = "";
            CellValue cellValue123 = new CellValue();
            cellValue123.Text = "0";

            cell476.Append(cellFormula21);
            cell476.Append(cellValue123);

            Cell cell477 = new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula22 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula22.Text = "";
            CellValue cellValue124 = new CellValue();
            cellValue124.Text = "0";

            cell477.Append(cellFormula22);
            cell477.Append(cellValue124);

            Cell cell478 = new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula23 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula23.Text = "";
            CellValue cellValue125 = new CellValue();
            cellValue125.Text = "0";

            cell478.Append(cellFormula23);
            cell478.Append(cellValue125);

            Cell cell479 = new Cell() { CellReference = "S26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula24 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula24.Text = "";
            CellValue cellValue126 = new CellValue();
            cellValue126.Text = "0";

            cell479.Append(cellFormula24);
            cell479.Append(cellValue126);

            Cell cell480 = new Cell() { CellReference = "T26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula25 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula25.Text = "";
            CellValue cellValue127 = new CellValue();
            cellValue127.Text = "0";

            cell480.Append(cellFormula25);
            cell480.Append(cellValue127);

            Cell cell481 = new Cell() { CellReference = "U26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula26 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula26.Text = "";
            CellValue cellValue128 = new CellValue();
            cellValue128.Text = "0";

            cell481.Append(cellFormula26);
            cell481.Append(cellValue128);

            Cell cell482 = new Cell() { CellReference = "V26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula27 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula27.Text = "";
            CellValue cellValue129 = new CellValue();
            cellValue129.Text = "0";

            cell482.Append(cellFormula27);
            cell482.Append(cellValue129);

            Cell cell483 = new Cell() { CellReference = "W26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula28 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula28.Text = "";
            CellValue cellValue130 = new CellValue();
            cellValue130.Text = "0";

            cell483.Append(cellFormula28);
            cell483.Append(cellValue130);

            Cell cell484 = new Cell() { CellReference = "X26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula29 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula29.Text = "";
            CellValue cellValue131 = new CellValue();
            cellValue131.Text = "0";

            cell484.Append(cellFormula29);
            cell484.Append(cellValue131);

            Cell cell485 = new Cell() { CellReference = "Y26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula30 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula30.Text = "";
            CellValue cellValue132 = new CellValue();
            cellValue132.Text = "0";

            cell485.Append(cellFormula30);
            cell485.Append(cellValue132);

            Cell cell486 = new Cell() { CellReference = "Z26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula31 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula31.Text = "";
            CellValue cellValue133 = new CellValue();
            cellValue133.Text = "0";

            cell486.Append(cellFormula31);
            cell486.Append(cellValue133);

            Cell cell487 = new Cell() { CellReference = "AA26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula32 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula32.Text = "";
            CellValue cellValue134 = new CellValue();
            cellValue134.Text = "0";

            cell487.Append(cellFormula32);
            cell487.Append(cellValue134);

            Cell cell488 = new Cell() { CellReference = "AB26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula33 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula33.Text = "";
            CellValue cellValue135 = new CellValue();
            cellValue135.Text = "0";

            cell488.Append(cellFormula33);
            cell488.Append(cellValue135);

            Cell cell489 = new Cell() { CellReference = "AC26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula34 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula34.Text = "";
            CellValue cellValue136 = new CellValue();
            cellValue136.Text = "0";

            cell489.Append(cellFormula34);
            cell489.Append(cellValue136);

            Cell cell490 = new Cell() { CellReference = "AD26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula35 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula35.Text = "";
            CellValue cellValue137 = new CellValue();
            cellValue137.Text = "0";

            cell490.Append(cellFormula35);
            cell490.Append(cellValue137);

            Cell cell491 = new Cell() { CellReference = "AE26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula36 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula36.Text = "";
            CellValue cellValue138 = new CellValue();
            cellValue138.Text = "0";

            cell491.Append(cellFormula36);
            cell491.Append(cellValue138);

            Cell cell492 = new Cell() { CellReference = "AF26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula37 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula37.Text = "";
            CellValue cellValue139 = new CellValue();
            cellValue139.Text = "0";

            cell492.Append(cellFormula37);
            cell492.Append(cellValue139);

            Cell cell493 = new Cell() { CellReference = "AG26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula38 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula38.Text = "";
            CellValue cellValue140 = new CellValue();
            cellValue140.Text = "0";

            cell493.Append(cellFormula38);
            cell493.Append(cellValue140);

            Cell cell494 = new Cell() { CellReference = "AH26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula39 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula39.Text = "";
            CellValue cellValue141 = new CellValue();
            cellValue141.Text = "0";

            cell494.Append(cellFormula39);
            cell494.Append(cellValue141);

            Cell cell495 = new Cell() { CellReference = "AI26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula40 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula40.Text = "";
            CellValue cellValue142 = new CellValue();
            cellValue142.Text = "0";

            cell495.Append(cellFormula40);
            cell495.Append(cellValue142);

            Cell cell496 = new Cell() { CellReference = "AJ26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula41 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula41.Text = "";
            CellValue cellValue143 = new CellValue();
            cellValue143.Text = "0";

            cell496.Append(cellFormula41);
            cell496.Append(cellValue143);

            Cell cell497 = new Cell() { CellReference = "AK26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula42 = new CellFormula() { FormulaType = CellFormulaValues.Shared, SharedIndex = (UInt32Value)0U };
            cellFormula42.Text = "";
            CellValue cellValue144 = new CellValue();
            cellValue144.Text = "0";

            cell497.Append(cellFormula42);
            cell497.Append(cellValue144);

            Cell cell498 = new Cell() { CellReference = "AL26", StyleIndex = (UInt32Value)72U };
            CellFormula cellFormula43 = new CellFormula();
            cellFormula43.Text = "SUM(AL21:AL25)";
            CellValue cellValue145 = new CellValue();
            cellValue145.Text = "0";

            cell498.Append(cellFormula43);
            cell498.Append(cellValue145);

            Cell cell499 = new Cell() { CellReference = "AM26", StyleIndex = (UInt32Value)94U };
            CellFormula cellFormula44 = new CellFormula();
            cellFormula44.Text = "SUM(AM21:AM25)";
            CellValue cellValue146 = new CellValue();
            cellValue146.Text = "0";

            cell499.Append(cellFormula44);
            cell499.Append(cellValue146);

            Cell cell500 = new Cell() { CellReference = "AN26", StyleIndex = (UInt32Value)91U };
            CellFormula cellFormula45 = new CellFormula();
            cellFormula45.Text = "SUM(AN21:AN25)";
            CellValue cellValue147 = new CellValue();
            cellValue147.Text = "0";

            cell500.Append(cellFormula45);
            cell500.Append(cellValue147);
            Cell cell501 = new Cell() { CellReference = "AO26", StyleIndex = (UInt32Value)2U };
            Cell cell502 = new Cell() { CellReference = "AP26", StyleIndex = (UInt32Value)2U };
            Cell cell503 = new Cell() { CellReference = "AQ26", StyleIndex = (UInt32Value)2U };
            Cell cell504 = new Cell() { CellReference = "AR26", StyleIndex = (UInt32Value)2U };

            row23.Append(cell462);
            row23.Append(cell463);
            row23.Append(cell464);
            row23.Append(cell465);
            row23.Append(cell466);
            row23.Append(cell467);
            row23.Append(cell468);
            row23.Append(cell469);
            row23.Append(cell470);
            row23.Append(cell471);
            row23.Append(cell472);
            row23.Append(cell473);
            row23.Append(cell474);
            row23.Append(cell475);
            row23.Append(cell476);
            row23.Append(cell477);
            row23.Append(cell478);
            row23.Append(cell479);
            row23.Append(cell480);
            row23.Append(cell481);
            row23.Append(cell482);
            row23.Append(cell483);
            row23.Append(cell484);
            row23.Append(cell485);
            row23.Append(cell486);
            row23.Append(cell487);
            row23.Append(cell488);
            row23.Append(cell489);
            row23.Append(cell490);
            row23.Append(cell491);
            row23.Append(cell492);
            row23.Append(cell493);
            row23.Append(cell494);
            row23.Append(cell495);
            row23.Append(cell496);
            row23.Append(cell497);
            row23.Append(cell498);
            row23.Append(cell499);
            row23.Append(cell500);
            row23.Append(cell501);
            row23.Append(cell502);
            row23.Append(cell503);
            row23.Append(cell504);

            Row row24 = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell505 = new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)12U };
            Cell cell506 = new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)12U };
            Cell cell507 = new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)12U };
            Cell cell508 = new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)12U };
            Cell cell509 = new Cell() { CellReference = "AL27", StyleIndex = (UInt32Value)4U };
            Cell cell510 = new Cell() { CellReference = "AM27", StyleIndex = (UInt32Value)4U };
            Cell cell511 = new Cell() { CellReference = "AN27", StyleIndex = (UInt32Value)4U };
            Cell cell512 = new Cell() { CellReference = "AO27", StyleIndex = (UInt32Value)2U };
            Cell cell513 = new Cell() { CellReference = "AP27", StyleIndex = (UInt32Value)2U };
            Cell cell514 = new Cell() { CellReference = "AQ27", StyleIndex = (UInt32Value)2U };
            Cell cell515 = new Cell() { CellReference = "AR27", StyleIndex = (UInt32Value)2U };

            row24.Append(cell505);
            row24.Append(cell506);
            row24.Append(cell507);
            row24.Append(cell508);
            row24.Append(cell509);
            row24.Append(cell510);
            row24.Append(cell511);
            row24.Append(cell512);
            row24.Append(cell513);
            row24.Append(cell514);
            row24.Append(cell515);

            Row row25 = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell516 = new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)12U };
            Cell cell517 = new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)12U };
            Cell cell518 = new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)12U };
            Cell cell519 = new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)12U };
            Cell cell520 = new Cell() { CellReference = "AO28", StyleIndex = (UInt32Value)2U };
            Cell cell521 = new Cell() { CellReference = "AP28", StyleIndex = (UInt32Value)2U };
            Cell cell522 = new Cell() { CellReference = "AQ28", StyleIndex = (UInt32Value)2U };
            Cell cell523 = new Cell() { CellReference = "AR28", StyleIndex = (UInt32Value)2U };

            row25.Append(cell516);
            row25.Append(cell517);
            row25.Append(cell518);
            row25.Append(cell519);
            row25.Append(cell520);
            row25.Append(cell521);
            row25.Append(cell522);
            row25.Append(cell523);

            Row row26 = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true };

            Cell cell524 = new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)45U, DataType = CellValues.SharedString };
            CellValue cellValue148 = new CellValue();
            cellValue148.Text = "14";

            cell524.Append(cellValue148);

            Cell cell525 = new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)46U, DataType = CellValues.SharedString };
            CellValue cellValue149 = new CellValue();
            cellValue149.Text = "32";

            cell525.Append(cellValue149);
            Cell cell526 = new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)2U };
            Cell cell527 = new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)2U };
            Cell cell528 = new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)2U };
            Cell cell529 = new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)2U };
            Cell cell530 = new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)2U };
            Cell cell531 = new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)2U };
            Cell cell532 = new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)2U };
            Cell cell533 = new Cell() { CellReference = "L29", StyleIndex = (UInt32Value)2U };
            Cell cell534 = new Cell() { CellReference = "M29", StyleIndex = (UInt32Value)2U };
            Cell cell535 = new Cell() { CellReference = "N29", StyleIndex = (UInt32Value)2U };
            Cell cell536 = new Cell() { CellReference = "O29", StyleIndex = (UInt32Value)2U };
            Cell cell537 = new Cell() { CellReference = "P29", StyleIndex = (UInt32Value)2U };
            Cell cell538 = new Cell() { CellReference = "Q29", StyleIndex = (UInt32Value)2U };
            Cell cell539 = new Cell() { CellReference = "R29", StyleIndex = (UInt32Value)2U };
            Cell cell540 = new Cell() { CellReference = "S29", StyleIndex = (UInt32Value)2U };
            Cell cell541 = new Cell() { CellReference = "T29", StyleIndex = (UInt32Value)2U };
            Cell cell542 = new Cell() { CellReference = "U29", StyleIndex = (UInt32Value)2U };
            Cell cell543 = new Cell() { CellReference = "V29", StyleIndex = (UInt32Value)2U };
            Cell cell544 = new Cell() { CellReference = "W29", StyleIndex = (UInt32Value)2U };
            Cell cell545 = new Cell() { CellReference = "X29", StyleIndex = (UInt32Value)2U };
            Cell cell546 = new Cell() { CellReference = "Y29", StyleIndex = (UInt32Value)2U };
            Cell cell547 = new Cell() { CellReference = "Z29", StyleIndex = (UInt32Value)2U };
            Cell cell548 = new Cell() { CellReference = "AA29", StyleIndex = (UInt32Value)2U };
            Cell cell549 = new Cell() { CellReference = "AB29", StyleIndex = (UInt32Value)2U };
            Cell cell550 = new Cell() { CellReference = "AC29", StyleIndex = (UInt32Value)2U };
            Cell cell551 = new Cell() { CellReference = "AD29", StyleIndex = (UInt32Value)2U };
            Cell cell552 = new Cell() { CellReference = "AE29", StyleIndex = (UInt32Value)2U };
            Cell cell553 = new Cell() { CellReference = "AF29", StyleIndex = (UInt32Value)2U };
            Cell cell554 = new Cell() { CellReference = "AG29", StyleIndex = (UInt32Value)2U };
            Cell cell555 = new Cell() { CellReference = "AH29", StyleIndex = (UInt32Value)2U };
            Cell cell556 = new Cell() { CellReference = "AI29", StyleIndex = (UInt32Value)2U };
            Cell cell557 = new Cell() { CellReference = "AJ29", StyleIndex = (UInt32Value)2U };
            Cell cell558 = new Cell() { CellReference = "AK29", StyleIndex = (UInt32Value)2U };
            Cell cell559 = new Cell() { CellReference = "AL29", StyleIndex = (UInt32Value)47U };

            Cell cell560 = new Cell() { CellReference = "AM29", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString };
            CellValue cellValue150 = new CellValue();
            cellValue150.Text = "33";

            cell560.Append(cellValue150);

            Cell cell561 = new Cell() { CellReference = "AN29", StyleIndex = (UInt32Value)49U };
            CellFormula cellFormula46 = new CellFormula();
            cellFormula46.Text = "+AL26";
            CellValue cellValue151 = new CellValue();
            cellValue151.Text = "0";

            cell561.Append(cellFormula46);
            cell561.Append(cellValue151);
            Cell cell562 = new Cell() { CellReference = "AO29", StyleIndex = (UInt32Value)2U };
            Cell cell563 = new Cell() { CellReference = "AP29", StyleIndex = (UInt32Value)2U };
            Cell cell564 = new Cell() { CellReference = "AQ29", StyleIndex = (UInt32Value)2U };
            Cell cell565 = new Cell() { CellReference = "AR29", StyleIndex = (UInt32Value)2U };

            row26.Append(cell524);
            row26.Append(cell525);
            row26.Append(cell526);
            row26.Append(cell527);
            row26.Append(cell528);
            row26.Append(cell529);
            row26.Append(cell530);
            row26.Append(cell531);
            row26.Append(cell532);
            row26.Append(cell533);
            row26.Append(cell534);
            row26.Append(cell535);
            row26.Append(cell536);
            row26.Append(cell537);
            row26.Append(cell538);
            row26.Append(cell539);
            row26.Append(cell540);
            row26.Append(cell541);
            row26.Append(cell542);
            row26.Append(cell543);
            row26.Append(cell544);
            row26.Append(cell545);
            row26.Append(cell546);
            row26.Append(cell547);
            row26.Append(cell548);
            row26.Append(cell549);
            row26.Append(cell550);
            row26.Append(cell551);
            row26.Append(cell552);
            row26.Append(cell553);
            row26.Append(cell554);
            row26.Append(cell555);
            row26.Append(cell556);
            row26.Append(cell557);
            row26.Append(cell558);
            row26.Append(cell559);
            row26.Append(cell560);
            row26.Append(cell561);
            row26.Append(cell562);
            row26.Append(cell563);
            row26.Append(cell564);
            row26.Append(cell565);

            Row row27 = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true };
            Cell cell566 = new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)4U };

            Cell cell567 = new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString };
            CellValue cellValue152 = new CellValue();
            cellValue152.Text = "30";

            cell567.Append(cellValue152);
            Cell cell568 = new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)51U };
            Cell cell569 = new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)2U };
            Cell cell570 = new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)2U };
            Cell cell571 = new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)2U };
            Cell cell572 = new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)2U };
            Cell cell573 = new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)2U };
            Cell cell574 = new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)2U };
            Cell cell575 = new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)2U };
            Cell cell576 = new Cell() { CellReference = "L30", StyleIndex = (UInt32Value)2U };
            Cell cell577 = new Cell() { CellReference = "M30", StyleIndex = (UInt32Value)2U };
            Cell cell578 = new Cell() { CellReference = "N30", StyleIndex = (UInt32Value)2U };
            Cell cell579 = new Cell() { CellReference = "O30", StyleIndex = (UInt32Value)2U };
            Cell cell580 = new Cell() { CellReference = "P30", StyleIndex = (UInt32Value)2U };
            Cell cell581 = new Cell() { CellReference = "Q30", StyleIndex = (UInt32Value)2U };
            Cell cell582 = new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)2U };
            Cell cell583 = new Cell() { CellReference = "S30", StyleIndex = (UInt32Value)2U };
            Cell cell584 = new Cell() { CellReference = "T30", StyleIndex = (UInt32Value)2U };
            Cell cell585 = new Cell() { CellReference = "U30", StyleIndex = (UInt32Value)2U };
            Cell cell586 = new Cell() { CellReference = "V30", StyleIndex = (UInt32Value)2U };
            Cell cell587 = new Cell() { CellReference = "W30", StyleIndex = (UInt32Value)2U };
            Cell cell588 = new Cell() { CellReference = "X30", StyleIndex = (UInt32Value)2U };
            Cell cell589 = new Cell() { CellReference = "Y30", StyleIndex = (UInt32Value)2U };
            Cell cell590 = new Cell() { CellReference = "Z30", StyleIndex = (UInt32Value)2U };
            Cell cell591 = new Cell() { CellReference = "AA30", StyleIndex = (UInt32Value)2U };
            Cell cell592 = new Cell() { CellReference = "AB30", StyleIndex = (UInt32Value)2U };
            Cell cell593 = new Cell() { CellReference = "AC30", StyleIndex = (UInt32Value)2U };
            Cell cell594 = new Cell() { CellReference = "AD30", StyleIndex = (UInt32Value)2U };
            Cell cell595 = new Cell() { CellReference = "AE30", StyleIndex = (UInt32Value)2U };
            Cell cell596 = new Cell() { CellReference = "AF30", StyleIndex = (UInt32Value)2U };
            Cell cell597 = new Cell() { CellReference = "AG30", StyleIndex = (UInt32Value)2U };
            Cell cell598 = new Cell() { CellReference = "AH30", StyleIndex = (UInt32Value)2U };
            Cell cell599 = new Cell() { CellReference = "AI30", StyleIndex = (UInt32Value)2U };
            Cell cell600 = new Cell() { CellReference = "AJ30", StyleIndex = (UInt32Value)2U };
            Cell cell601 = new Cell() { CellReference = "AK30", StyleIndex = (UInt32Value)2U };
            Cell cell602 = new Cell() { CellReference = "AL30", StyleIndex = (UInt32Value)47U };

            Cell cell603 = new Cell() { CellReference = "AM30", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString };
            CellValue cellValue153 = new CellValue();
            cellValue153.Text = "34";

            cell603.Append(cellValue153);

            Cell cell604 = new Cell() { CellReference = "AN30", StyleIndex = (UInt32Value)85U, DataType = CellValues.Error };
            CellFormula cellFormula47 = new CellFormula();
            cellFormula47.Text = "+AN26/AN29";
            CellValue cellValue154 = new CellValue();
            cellValue154.Text = "#DIV/0!";

            cell604.Append(cellFormula47);
            cell604.Append(cellValue154);
            Cell cell605 = new Cell() { CellReference = "AO30", StyleIndex = (UInt32Value)2U };
            Cell cell606 = new Cell() { CellReference = "AP30", StyleIndex = (UInt32Value)2U };
            Cell cell607 = new Cell() { CellReference = "AQ30", StyleIndex = (UInt32Value)2U };
            Cell cell608 = new Cell() { CellReference = "AR30", StyleIndex = (UInt32Value)2U };

            row27.Append(cell566);
            row27.Append(cell567);
            row27.Append(cell568);
            row27.Append(cell569);
            row27.Append(cell570);
            row27.Append(cell571);
            row27.Append(cell572);
            row27.Append(cell573);
            row27.Append(cell574);
            row27.Append(cell575);
            row27.Append(cell576);
            row27.Append(cell577);
            row27.Append(cell578);
            row27.Append(cell579);
            row27.Append(cell580);
            row27.Append(cell581);
            row27.Append(cell582);
            row27.Append(cell583);
            row27.Append(cell584);
            row27.Append(cell585);
            row27.Append(cell586);
            row27.Append(cell587);
            row27.Append(cell588);
            row27.Append(cell589);
            row27.Append(cell590);
            row27.Append(cell591);
            row27.Append(cell592);
            row27.Append(cell593);
            row27.Append(cell594);
            row27.Append(cell595);
            row27.Append(cell596);
            row27.Append(cell597);
            row27.Append(cell598);
            row27.Append(cell599);
            row27.Append(cell600);
            row27.Append(cell601);
            row27.Append(cell602);
            row27.Append(cell603);
            row27.Append(cell604);
            row27.Append(cell605);
            row27.Append(cell606);
            row27.Append(cell607);
            row27.Append(cell608);

            Row row28 = new Row() { RowIndex = (UInt32Value)31U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true };
            Cell cell609 = new Cell() { CellReference = "B31", StyleIndex = (UInt32Value)4U };

            Cell cell610 = new Cell() { CellReference = "C31", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString };
            CellValue cellValue155 = new CellValue();
            cellValue155.Text = "35";

            cell610.Append(cellValue155);
            Cell cell611 = new Cell() { CellReference = "D31", StyleIndex = (UInt32Value)51U };
            Cell cell612 = new Cell() { CellReference = "E31", StyleIndex = (UInt32Value)2U };
            Cell cell613 = new Cell() { CellReference = "F31", StyleIndex = (UInt32Value)2U };
            Cell cell614 = new Cell() { CellReference = "G31", StyleIndex = (UInt32Value)2U };
            Cell cell615 = new Cell() { CellReference = "H31", StyleIndex = (UInt32Value)2U };
            Cell cell616 = new Cell() { CellReference = "I31", StyleIndex = (UInt32Value)2U };
            Cell cell617 = new Cell() { CellReference = "J31", StyleIndex = (UInt32Value)2U };
            Cell cell618 = new Cell() { CellReference = "K31", StyleIndex = (UInt32Value)2U };
            Cell cell619 = new Cell() { CellReference = "L31", StyleIndex = (UInt32Value)2U };
            Cell cell620 = new Cell() { CellReference = "M31", StyleIndex = (UInt32Value)2U };
            Cell cell621 = new Cell() { CellReference = "N31", StyleIndex = (UInt32Value)2U };
            Cell cell622 = new Cell() { CellReference = "O31", StyleIndex = (UInt32Value)2U };
            Cell cell623 = new Cell() { CellReference = "P31", StyleIndex = (UInt32Value)2U };
            Cell cell624 = new Cell() { CellReference = "Q31", StyleIndex = (UInt32Value)2U };
            Cell cell625 = new Cell() { CellReference = "R31", StyleIndex = (UInt32Value)2U };
            Cell cell626 = new Cell() { CellReference = "S31", StyleIndex = (UInt32Value)2U };
            Cell cell627 = new Cell() { CellReference = "T31", StyleIndex = (UInt32Value)2U };
            Cell cell628 = new Cell() { CellReference = "U31", StyleIndex = (UInt32Value)2U };
            Cell cell629 = new Cell() { CellReference = "V31", StyleIndex = (UInt32Value)2U };
            Cell cell630 = new Cell() { CellReference = "W31", StyleIndex = (UInt32Value)2U };
            Cell cell631 = new Cell() { CellReference = "X31", StyleIndex = (UInt32Value)2U };
            Cell cell632 = new Cell() { CellReference = "Y31", StyleIndex = (UInt32Value)2U };
            Cell cell633 = new Cell() { CellReference = "Z31", StyleIndex = (UInt32Value)2U };
            Cell cell634 = new Cell() { CellReference = "AA31", StyleIndex = (UInt32Value)2U };
            Cell cell635 = new Cell() { CellReference = "AB31", StyleIndex = (UInt32Value)2U };
            Cell cell636 = new Cell() { CellReference = "AC31", StyleIndex = (UInt32Value)2U };
            Cell cell637 = new Cell() { CellReference = "AD31", StyleIndex = (UInt32Value)2U };
            Cell cell638 = new Cell() { CellReference = "AE31", StyleIndex = (UInt32Value)2U };
            Cell cell639 = new Cell() { CellReference = "AF31", StyleIndex = (UInt32Value)2U };
            Cell cell640 = new Cell() { CellReference = "AG31", StyleIndex = (UInt32Value)2U };
            Cell cell641 = new Cell() { CellReference = "AH31", StyleIndex = (UInt32Value)2U };
            Cell cell642 = new Cell() { CellReference = "AI31", StyleIndex = (UInt32Value)2U };
            Cell cell643 = new Cell() { CellReference = "AJ31", StyleIndex = (UInt32Value)2U };
            Cell cell644 = new Cell() { CellReference = "AK31", StyleIndex = (UInt32Value)2U };
            Cell cell645 = new Cell() { CellReference = "AL31", StyleIndex = (UInt32Value)47U };

            Cell cell646 = new Cell() { CellReference = "AM31", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString };
            CellValue cellValue156 = new CellValue();
            cellValue156.Text = "36";

            cell646.Append(cellValue156);

            Cell cell647 = new Cell() { CellReference = "AN31", StyleIndex = (UInt32Value)86U, DataType = CellValues.Error };
            CellFormula cellFormula48 = new CellFormula();
            cellFormula48.Text = "+AN30*AN29";
            CellValue cellValue157 = new CellValue();
            cellValue157.Text = "#DIV/0!";

            cell647.Append(cellFormula48);
            cell647.Append(cellValue157);
            Cell cell648 = new Cell() { CellReference = "AO31", StyleIndex = (UInt32Value)2U };
            Cell cell649 = new Cell() { CellReference = "AP31", StyleIndex = (UInt32Value)2U };
            Cell cell650 = new Cell() { CellReference = "AQ31", StyleIndex = (UInt32Value)2U };
            Cell cell651 = new Cell() { CellReference = "AR31", StyleIndex = (UInt32Value)2U };

            row28.Append(cell609);
            row28.Append(cell610);
            row28.Append(cell611);
            row28.Append(cell612);
            row28.Append(cell613);
            row28.Append(cell614);
            row28.Append(cell615);
            row28.Append(cell616);
            row28.Append(cell617);
            row28.Append(cell618);
            row28.Append(cell619);
            row28.Append(cell620);
            row28.Append(cell621);
            row28.Append(cell622);
            row28.Append(cell623);
            row28.Append(cell624);
            row28.Append(cell625);
            row28.Append(cell626);
            row28.Append(cell627);
            row28.Append(cell628);
            row28.Append(cell629);
            row28.Append(cell630);
            row28.Append(cell631);
            row28.Append(cell632);
            row28.Append(cell633);
            row28.Append(cell634);
            row28.Append(cell635);
            row28.Append(cell636);
            row28.Append(cell637);
            row28.Append(cell638);
            row28.Append(cell639);
            row28.Append(cell640);
            row28.Append(cell641);
            row28.Append(cell642);
            row28.Append(cell643);
            row28.Append(cell644);
            row28.Append(cell645);
            row28.Append(cell646);
            row28.Append(cell647);
            row28.Append(cell648);
            row28.Append(cell649);
            row28.Append(cell650);
            row28.Append(cell651);

            Row row29 = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15.75D, CustomHeight = true };

            Cell cell652 = new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)50U, DataType = CellValues.SharedString };
            CellValue cellValue158 = new CellValue();
            cellValue158.Text = "37";

            cell652.Append(cellValue158);
            Cell cell653 = new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)51U };
            Cell cell654 = new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)2U };
            Cell cell655 = new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)2U };
            Cell cell656 = new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)2U };
            Cell cell657 = new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)2U };
            Cell cell658 = new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)2U };
            Cell cell659 = new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)2U };
            Cell cell660 = new Cell() { CellReference = "K32", StyleIndex = (UInt32Value)2U };
            Cell cell661 = new Cell() { CellReference = "L32", StyleIndex = (UInt32Value)2U };
            Cell cell662 = new Cell() { CellReference = "M32", StyleIndex = (UInt32Value)2U };
            Cell cell663 = new Cell() { CellReference = "N32", StyleIndex = (UInt32Value)2U };
            Cell cell664 = new Cell() { CellReference = "O32", StyleIndex = (UInt32Value)2U };
            Cell cell665 = new Cell() { CellReference = "P32", StyleIndex = (UInt32Value)2U };
            Cell cell666 = new Cell() { CellReference = "Q32", StyleIndex = (UInt32Value)2U };
            Cell cell667 = new Cell() { CellReference = "R32", StyleIndex = (UInt32Value)2U };
            Cell cell668 = new Cell() { CellReference = "S32", StyleIndex = (UInt32Value)2U };
            Cell cell669 = new Cell() { CellReference = "T32", StyleIndex = (UInt32Value)2U };
            Cell cell670 = new Cell() { CellReference = "U32", StyleIndex = (UInt32Value)2U };
            Cell cell671 = new Cell() { CellReference = "V32", StyleIndex = (UInt32Value)2U };
            Cell cell672 = new Cell() { CellReference = "W32", StyleIndex = (UInt32Value)2U };
            Cell cell673 = new Cell() { CellReference = "X32", StyleIndex = (UInt32Value)2U };
            Cell cell674 = new Cell() { CellReference = "Y32", StyleIndex = (UInt32Value)2U };
            Cell cell675 = new Cell() { CellReference = "Z32", StyleIndex = (UInt32Value)2U };
            Cell cell676 = new Cell() { CellReference = "AA32", StyleIndex = (UInt32Value)2U };
            Cell cell677 = new Cell() { CellReference = "AB32", StyleIndex = (UInt32Value)2U };
            Cell cell678 = new Cell() { CellReference = "AC32", StyleIndex = (UInt32Value)2U };
            Cell cell679 = new Cell() { CellReference = "AD32", StyleIndex = (UInt32Value)2U };
            Cell cell680 = new Cell() { CellReference = "AE32", StyleIndex = (UInt32Value)2U };
            Cell cell681 = new Cell() { CellReference = "AF32", StyleIndex = (UInt32Value)2U };
            Cell cell682 = new Cell() { CellReference = "AG32", StyleIndex = (UInt32Value)2U };
            Cell cell683 = new Cell() { CellReference = "AH32", StyleIndex = (UInt32Value)2U };
            Cell cell684 = new Cell() { CellReference = "AI32", StyleIndex = (UInt32Value)2U };
            Cell cell685 = new Cell() { CellReference = "AJ32", StyleIndex = (UInt32Value)2U };
            Cell cell686 = new Cell() { CellReference = "AK32", StyleIndex = (UInt32Value)2U };
            Cell cell687 = new Cell() { CellReference = "AL32", StyleIndex = (UInt32Value)47U };

            Cell cell688 = new Cell() { CellReference = "AM32", StyleIndex = (UInt32Value)48U, DataType = CellValues.SharedString };
            CellValue cellValue159 = new CellValue();
            cellValue159.Text = "38";

            cell688.Append(cellValue159);

            Cell cell689 = new Cell() { CellReference = "AN32", StyleIndex = (UInt32Value)87U, DataType = CellValues.Error };
            CellFormula cellFormula49 = new CellFormula();
            cellFormula49.Text = "+AN31*0.21";
            CellValue cellValue160 = new CellValue();
            cellValue160.Text = "#DIV/0!";

            cell689.Append(cellFormula49);
            cell689.Append(cellValue160);
            Cell cell690 = new Cell() { CellReference = "AO32", StyleIndex = (UInt32Value)2U };
            Cell cell691 = new Cell() { CellReference = "AP32", StyleIndex = (UInt32Value)2U };
            Cell cell692 = new Cell() { CellReference = "AQ32", StyleIndex = (UInt32Value)2U };
            Cell cell693 = new Cell() { CellReference = "AR32", StyleIndex = (UInt32Value)2U };

            row29.Append(cell652);
            row29.Append(cell653);
            row29.Append(cell654);
            row29.Append(cell655);
            row29.Append(cell656);
            row29.Append(cell657);
            row29.Append(cell658);
            row29.Append(cell659);
            row29.Append(cell660);
            row29.Append(cell661);
            row29.Append(cell662);
            row29.Append(cell663);
            row29.Append(cell664);
            row29.Append(cell665);
            row29.Append(cell666);
            row29.Append(cell667);
            row29.Append(cell668);
            row29.Append(cell669);
            row29.Append(cell670);
            row29.Append(cell671);
            row29.Append(cell672);
            row29.Append(cell673);
            row29.Append(cell674);
            row29.Append(cell675);
            row29.Append(cell676);
            row29.Append(cell677);
            row29.Append(cell678);
            row29.Append(cell679);
            row29.Append(cell680);
            row29.Append(cell681);
            row29.Append(cell682);
            row29.Append(cell683);
            row29.Append(cell684);
            row29.Append(cell685);
            row29.Append(cell686);
            row29.Append(cell687);
            row29.Append(cell688);
            row29.Append(cell689);
            row29.Append(cell690);
            row29.Append(cell691);
            row29.Append(cell692);
            row29.Append(cell693);

            Row row30 = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell694 = new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)1U };
            Cell cell695 = new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)1U };
            Cell cell696 = new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)1U };
            Cell cell697 = new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)1U };
            Cell cell698 = new Cell() { CellReference = "K33", StyleIndex = (UInt32Value)1U };
            Cell cell699 = new Cell() { CellReference = "L33", StyleIndex = (UInt32Value)1U };
            Cell cell700 = new Cell() { CellReference = "M33", StyleIndex = (UInt32Value)1U };
            Cell cell701 = new Cell() { CellReference = "N33", StyleIndex = (UInt32Value)1U };
            Cell cell702 = new Cell() { CellReference = "O33", StyleIndex = (UInt32Value)1U };
            Cell cell703 = new Cell() { CellReference = "P33", StyleIndex = (UInt32Value)1U };
            Cell cell704 = new Cell() { CellReference = "Q33", StyleIndex = (UInt32Value)1U };
            Cell cell705 = new Cell() { CellReference = "R33", StyleIndex = (UInt32Value)1U };
            Cell cell706 = new Cell() { CellReference = "S33", StyleIndex = (UInt32Value)1U };
            Cell cell707 = new Cell() { CellReference = "T33", StyleIndex = (UInt32Value)1U };
            Cell cell708 = new Cell() { CellReference = "U33", StyleIndex = (UInt32Value)1U };
            Cell cell709 = new Cell() { CellReference = "V33", StyleIndex = (UInt32Value)1U };
            Cell cell710 = new Cell() { CellReference = "W33", StyleIndex = (UInt32Value)1U };
            Cell cell711 = new Cell() { CellReference = "X33", StyleIndex = (UInt32Value)1U };
            Cell cell712 = new Cell() { CellReference = "Y33", StyleIndex = (UInt32Value)1U };
            Cell cell713 = new Cell() { CellReference = "Z33", StyleIndex = (UInt32Value)1U };
            Cell cell714 = new Cell() { CellReference = "AA33", StyleIndex = (UInt32Value)1U };
            Cell cell715 = new Cell() { CellReference = "AB33", StyleIndex = (UInt32Value)1U };
            Cell cell716 = new Cell() { CellReference = "AC33", StyleIndex = (UInt32Value)1U };
            Cell cell717 = new Cell() { CellReference = "AD33", StyleIndex = (UInt32Value)1U };
            Cell cell718 = new Cell() { CellReference = "AE33", StyleIndex = (UInt32Value)1U };
            Cell cell719 = new Cell() { CellReference = "AF33", StyleIndex = (UInt32Value)1U };
            Cell cell720 = new Cell() { CellReference = "AG33", StyleIndex = (UInt32Value)1U };
            Cell cell721 = new Cell() { CellReference = "AH33", StyleIndex = (UInt32Value)1U };
            Cell cell722 = new Cell() { CellReference = "AI33", StyleIndex = (UInt32Value)1U };
            Cell cell723 = new Cell() { CellReference = "AJ33", StyleIndex = (UInt32Value)1U };
            Cell cell724 = new Cell() { CellReference = "AK33", StyleIndex = (UInt32Value)1U };
            Cell cell725 = new Cell() { CellReference = "AL33", StyleIndex = (UInt32Value)52U };

            Cell cell726 = new Cell() { CellReference = "AM33", StyleIndex = (UInt32Value)53U, DataType = CellValues.SharedString };
            CellValue cellValue161 = new CellValue();
            cellValue161.Text = "39";

            cell726.Append(cellValue161);

            Cell cell727 = new Cell() { CellReference = "AN33", StyleIndex = (UInt32Value)88U, DataType = CellValues.Error };
            CellFormula cellFormula50 = new CellFormula();
            cellFormula50.Text = "SUM(AN31:AN32)";
            CellValue cellValue162 = new CellValue();
            cellValue162.Text = "#DIV/0!";

            cell727.Append(cellFormula50);
            cell727.Append(cellValue162);

            row30.Append(cell694);
            row30.Append(cell695);
            row30.Append(cell696);
            row30.Append(cell697);
            row30.Append(cell698);
            row30.Append(cell699);
            row30.Append(cell700);
            row30.Append(cell701);
            row30.Append(cell702);
            row30.Append(cell703);
            row30.Append(cell704);
            row30.Append(cell705);
            row30.Append(cell706);
            row30.Append(cell707);
            row30.Append(cell708);
            row30.Append(cell709);
            row30.Append(cell710);
            row30.Append(cell711);
            row30.Append(cell712);
            row30.Append(cell713);
            row30.Append(cell714);
            row30.Append(cell715);
            row30.Append(cell716);
            row30.Append(cell717);
            row30.Append(cell718);
            row30.Append(cell719);
            row30.Append(cell720);
            row30.Append(cell721);
            row30.Append(cell722);
            row30.Append(cell723);
            row30.Append(cell724);
            row30.Append(cell725);
            row30.Append(cell726);
            row30.Append(cell727);

            Row row31 = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 51D, CustomHeight = true };

            Cell cell728 = new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString };
            CellValue cellValue163 = new CellValue();
            cellValue163.Text = "40";

            cell728.Append(cellValue163);

            Cell cell729 = new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString };
            CellValue cellValue164 = new CellValue();
            cellValue164.Text = "14";

            cell729.Append(cellValue164);

            Cell cell730 = new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString };
            CellValue cellValue165 = new CellValue();
            cellValue165.Text = "41";

            cell730.Append(cellValue165);

            Cell cell731 = new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)54U, DataType = CellValues.SharedString };
            CellValue cellValue166 = new CellValue();
            cellValue166.Text = "42";

            cell731.Append(cellValue166);

            Cell cell732 = new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)82U, DataType = CellValues.SharedString };
            CellValue cellValue167 = new CellValue();
            cellValue167.Text = "43";

            cell732.Append(cellValue167);
            Cell cell733 = new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)83U };
            Cell cell734 = new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)84U };
            Cell cell735 = new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)2U };
            Cell cell736 = new Cell() { CellReference = "K34", StyleIndex = (UInt32Value)2U };
            Cell cell737 = new Cell() { CellReference = "L34", StyleIndex = (UInt32Value)2U };
            Cell cell738 = new Cell() { CellReference = "M34", StyleIndex = (UInt32Value)2U };
            Cell cell739 = new Cell() { CellReference = "N34", StyleIndex = (UInt32Value)2U };
            Cell cell740 = new Cell() { CellReference = "O34", StyleIndex = (UInt32Value)2U };
            Cell cell741 = new Cell() { CellReference = "P34", StyleIndex = (UInt32Value)2U };
            Cell cell742 = new Cell() { CellReference = "Q34", StyleIndex = (UInt32Value)2U };
            Cell cell743 = new Cell() { CellReference = "R34", StyleIndex = (UInt32Value)2U };
            Cell cell744 = new Cell() { CellReference = "S34", StyleIndex = (UInt32Value)2U };
            Cell cell745 = new Cell() { CellReference = "T34", StyleIndex = (UInt32Value)2U };
            Cell cell746 = new Cell() { CellReference = "U34", StyleIndex = (UInt32Value)2U };
            Cell cell747 = new Cell() { CellReference = "V34", StyleIndex = (UInt32Value)2U };
            Cell cell748 = new Cell() { CellReference = "W34", StyleIndex = (UInt32Value)2U };
            Cell cell749 = new Cell() { CellReference = "X34", StyleIndex = (UInt32Value)2U };
            Cell cell750 = new Cell() { CellReference = "Y34", StyleIndex = (UInt32Value)2U };
            Cell cell751 = new Cell() { CellReference = "Z34", StyleIndex = (UInt32Value)2U };
            Cell cell752 = new Cell() { CellReference = "AA34", StyleIndex = (UInt32Value)2U };
            Cell cell753 = new Cell() { CellReference = "AB34", StyleIndex = (UInt32Value)2U };
            Cell cell754 = new Cell() { CellReference = "AC34", StyleIndex = (UInt32Value)2U };
            Cell cell755 = new Cell() { CellReference = "AD34", StyleIndex = (UInt32Value)2U };
            Cell cell756 = new Cell() { CellReference = "AE34", StyleIndex = (UInt32Value)2U };
            Cell cell757 = new Cell() { CellReference = "AF34", StyleIndex = (UInt32Value)2U };
            Cell cell758 = new Cell() { CellReference = "AG34", StyleIndex = (UInt32Value)2U };
            Cell cell759 = new Cell() { CellReference = "AH34", StyleIndex = (UInt32Value)2U };
            Cell cell760 = new Cell() { CellReference = "AI34", StyleIndex = (UInt32Value)2U };
            Cell cell761 = new Cell() { CellReference = "AJ34", StyleIndex = (UInt32Value)2U };
            Cell cell762 = new Cell() { CellReference = "AK34", StyleIndex = (UInt32Value)2U };
            Cell cell763 = new Cell() { CellReference = "AL34", StyleIndex = (UInt32Value)2U };
            Cell cell764 = new Cell() { CellReference = "AM34", StyleIndex = (UInt32Value)2U };
            Cell cell765 = new Cell() { CellReference = "AN34", StyleIndex = (UInt32Value)2U };
            Cell cell766 = new Cell() { CellReference = "AO34", StyleIndex = (UInt32Value)2U };
            Cell cell767 = new Cell() { CellReference = "AP34", StyleIndex = (UInt32Value)2U };
            Cell cell768 = new Cell() { CellReference = "AQ34", StyleIndex = (UInt32Value)2U };
            Cell cell769 = new Cell() { CellReference = "AR34", StyleIndex = (UInt32Value)2U };

            row31.Append(cell728);
            row31.Append(cell729);
            row31.Append(cell730);
            row31.Append(cell731);
            row31.Append(cell732);
            row31.Append(cell733);
            row31.Append(cell734);
            row31.Append(cell735);
            row31.Append(cell736);
            row31.Append(cell737);
            row31.Append(cell738);
            row31.Append(cell739);
            row31.Append(cell740);
            row31.Append(cell741);
            row31.Append(cell742);
            row31.Append(cell743);
            row31.Append(cell744);
            row31.Append(cell745);
            row31.Append(cell746);
            row31.Append(cell747);
            row31.Append(cell748);
            row31.Append(cell749);
            row31.Append(cell750);
            row31.Append(cell751);
            row31.Append(cell752);
            row31.Append(cell753);
            row31.Append(cell754);
            row31.Append(cell755);
            row31.Append(cell756);
            row31.Append(cell757);
            row31.Append(cell758);
            row31.Append(cell759);
            row31.Append(cell760);
            row31.Append(cell761);
            row31.Append(cell762);
            row31.Append(cell763);
            row31.Append(cell764);
            row31.Append(cell765);
            row31.Append(cell766);
            row31.Append(cell767);
            row31.Append(cell768);
            row31.Append(cell769);

            Row row32 = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };
            Cell cell770 = new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)4U };
            Cell cell771 = new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)55U };
            Cell cell772 = new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)56U };
            Cell cell773 = new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)56U };
            Cell cell774 = new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)56U };

            Cell cell775 = new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)73U };
            CellFormula cellFormula51 = new CellFormula();
            cellFormula51.Text = "+AL21";
            CellValue cellValue168 = new CellValue();
            cellValue168.Text = "0";

            cell775.Append(cellFormula51);
            cell775.Append(cellValue168);
            Cell cell776 = new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)74U };
            Cell cell777 = new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)75U };
            Cell cell778 = new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)2U };
            Cell cell779 = new Cell() { CellReference = "K35", StyleIndex = (UInt32Value)2U };
            Cell cell780 = new Cell() { CellReference = "L35", StyleIndex = (UInt32Value)2U };
            Cell cell781 = new Cell() { CellReference = "M35", StyleIndex = (UInt32Value)2U };
            Cell cell782 = new Cell() { CellReference = "N35", StyleIndex = (UInt32Value)2U };
            Cell cell783 = new Cell() { CellReference = "O35", StyleIndex = (UInt32Value)2U };
            Cell cell784 = new Cell() { CellReference = "P35", StyleIndex = (UInt32Value)2U };
            Cell cell785 = new Cell() { CellReference = "Q35", StyleIndex = (UInt32Value)2U };
            Cell cell786 = new Cell() { CellReference = "R35", StyleIndex = (UInt32Value)2U };
            Cell cell787 = new Cell() { CellReference = "S35", StyleIndex = (UInt32Value)2U };
            Cell cell788 = new Cell() { CellReference = "T35", StyleIndex = (UInt32Value)2U };
            Cell cell789 = new Cell() { CellReference = "U35", StyleIndex = (UInt32Value)2U };
            Cell cell790 = new Cell() { CellReference = "V35", StyleIndex = (UInt32Value)2U };
            Cell cell791 = new Cell() { CellReference = "W35", StyleIndex = (UInt32Value)2U };
            Cell cell792 = new Cell() { CellReference = "X35", StyleIndex = (UInt32Value)2U };
            Cell cell793 = new Cell() { CellReference = "Y35", StyleIndex = (UInt32Value)2U };
            Cell cell794 = new Cell() { CellReference = "Z35", StyleIndex = (UInt32Value)2U };
            Cell cell795 = new Cell() { CellReference = "AA35", StyleIndex = (UInt32Value)2U };
            Cell cell796 = new Cell() { CellReference = "AB35", StyleIndex = (UInt32Value)2U };
            Cell cell797 = new Cell() { CellReference = "AC35", StyleIndex = (UInt32Value)2U };
            Cell cell798 = new Cell() { CellReference = "AD35", StyleIndex = (UInt32Value)2U };
            Cell cell799 = new Cell() { CellReference = "AE35", StyleIndex = (UInt32Value)2U };
            Cell cell800 = new Cell() { CellReference = "AF35", StyleIndex = (UInt32Value)2U };
            Cell cell801 = new Cell() { CellReference = "AG35", StyleIndex = (UInt32Value)2U };
            Cell cell802 = new Cell() { CellReference = "AH35", StyleIndex = (UInt32Value)2U };
            Cell cell803 = new Cell() { CellReference = "AI35", StyleIndex = (UInt32Value)2U };
            Cell cell804 = new Cell() { CellReference = "AJ35", StyleIndex = (UInt32Value)2U };
            Cell cell805 = new Cell() { CellReference = "AK35", StyleIndex = (UInt32Value)2U };
            Cell cell806 = new Cell() { CellReference = "AL35", StyleIndex = (UInt32Value)2U };
            Cell cell807 = new Cell() { CellReference = "AM35", StyleIndex = (UInt32Value)2U };
            Cell cell808 = new Cell() { CellReference = "AN35", StyleIndex = (UInt32Value)2U };
            Cell cell809 = new Cell() { CellReference = "AO35", StyleIndex = (UInt32Value)2U };
            Cell cell810 = new Cell() { CellReference = "AP35", StyleIndex = (UInt32Value)2U };
            Cell cell811 = new Cell() { CellReference = "AQ35", StyleIndex = (UInt32Value)2U };
            Cell cell812 = new Cell() { CellReference = "AR35", StyleIndex = (UInt32Value)2U };

            row32.Append(cell770);
            row32.Append(cell771);
            row32.Append(cell772);
            row32.Append(cell773);
            row32.Append(cell774);
            row32.Append(cell775);
            row32.Append(cell776);
            row32.Append(cell777);
            row32.Append(cell778);
            row32.Append(cell779);
            row32.Append(cell780);
            row32.Append(cell781);
            row32.Append(cell782);
            row32.Append(cell783);
            row32.Append(cell784);
            row32.Append(cell785);
            row32.Append(cell786);
            row32.Append(cell787);
            row32.Append(cell788);
            row32.Append(cell789);
            row32.Append(cell790);
            row32.Append(cell791);
            row32.Append(cell792);
            row32.Append(cell793);
            row32.Append(cell794);
            row32.Append(cell795);
            row32.Append(cell796);
            row32.Append(cell797);
            row32.Append(cell798);
            row32.Append(cell799);
            row32.Append(cell800);
            row32.Append(cell801);
            row32.Append(cell802);
            row32.Append(cell803);
            row32.Append(cell804);
            row32.Append(cell805);
            row32.Append(cell806);
            row32.Append(cell807);
            row32.Append(cell808);
            row32.Append(cell809);
            row32.Append(cell810);
            row32.Append(cell811);
            row32.Append(cell812);

            Row row33 = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };
            Cell cell813 = new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)4U };
            Cell cell814 = new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)55U };
            Cell cell815 = new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)56U };
            Cell cell816 = new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)56U };
            Cell cell817 = new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)56U };

            Cell cell818 = new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)73U };
            CellFormula cellFormula52 = new CellFormula();
            cellFormula52.Text = "+AL22";
            CellValue cellValue169 = new CellValue();
            cellValue169.Text = "0";

            cell818.Append(cellFormula52);
            cell818.Append(cellValue169);
            Cell cell819 = new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)74U };
            Cell cell820 = new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)75U };
            Cell cell821 = new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)2U };
            Cell cell822 = new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)2U };
            Cell cell823 = new Cell() { CellReference = "L36", StyleIndex = (UInt32Value)2U };
            Cell cell824 = new Cell() { CellReference = "M36", StyleIndex = (UInt32Value)2U };
            Cell cell825 = new Cell() { CellReference = "N36", StyleIndex = (UInt32Value)2U };
            Cell cell826 = new Cell() { CellReference = "O36", StyleIndex = (UInt32Value)2U };
            Cell cell827 = new Cell() { CellReference = "P36", StyleIndex = (UInt32Value)2U };
            Cell cell828 = new Cell() { CellReference = "Q36", StyleIndex = (UInt32Value)2U };
            Cell cell829 = new Cell() { CellReference = "R36", StyleIndex = (UInt32Value)2U };
            Cell cell830 = new Cell() { CellReference = "S36", StyleIndex = (UInt32Value)2U };
            Cell cell831 = new Cell() { CellReference = "T36", StyleIndex = (UInt32Value)2U };
            Cell cell832 = new Cell() { CellReference = "U36", StyleIndex = (UInt32Value)2U };
            Cell cell833 = new Cell() { CellReference = "V36", StyleIndex = (UInt32Value)2U };
            Cell cell834 = new Cell() { CellReference = "W36", StyleIndex = (UInt32Value)2U };
            Cell cell835 = new Cell() { CellReference = "X36", StyleIndex = (UInt32Value)2U };
            Cell cell836 = new Cell() { CellReference = "Y36", StyleIndex = (UInt32Value)2U };
            Cell cell837 = new Cell() { CellReference = "Z36", StyleIndex = (UInt32Value)2U };
            Cell cell838 = new Cell() { CellReference = "AA36", StyleIndex = (UInt32Value)2U };
            Cell cell839 = new Cell() { CellReference = "AB36", StyleIndex = (UInt32Value)2U };
            Cell cell840 = new Cell() { CellReference = "AC36", StyleIndex = (UInt32Value)2U };
            Cell cell841 = new Cell() { CellReference = "AD36", StyleIndex = (UInt32Value)2U };
            Cell cell842 = new Cell() { CellReference = "AE36", StyleIndex = (UInt32Value)2U };
            Cell cell843 = new Cell() { CellReference = "AF36", StyleIndex = (UInt32Value)2U };
            Cell cell844 = new Cell() { CellReference = "AG36", StyleIndex = (UInt32Value)2U };
            Cell cell845 = new Cell() { CellReference = "AH36", StyleIndex = (UInt32Value)2U };
            Cell cell846 = new Cell() { CellReference = "AI36", StyleIndex = (UInt32Value)2U };
            Cell cell847 = new Cell() { CellReference = "AJ36", StyleIndex = (UInt32Value)2U };
            Cell cell848 = new Cell() { CellReference = "AK36", StyleIndex = (UInt32Value)2U };
            Cell cell849 = new Cell() { CellReference = "AL36", StyleIndex = (UInt32Value)2U };
            Cell cell850 = new Cell() { CellReference = "AM36", StyleIndex = (UInt32Value)2U };
            Cell cell851 = new Cell() { CellReference = "AN36", StyleIndex = (UInt32Value)2U };
            Cell cell852 = new Cell() { CellReference = "AO36", StyleIndex = (UInt32Value)2U };
            Cell cell853 = new Cell() { CellReference = "AP36", StyleIndex = (UInt32Value)2U };
            Cell cell854 = new Cell() { CellReference = "AQ36", StyleIndex = (UInt32Value)2U };
            Cell cell855 = new Cell() { CellReference = "AR36", StyleIndex = (UInt32Value)2U };

            row33.Append(cell813);
            row33.Append(cell814);
            row33.Append(cell815);
            row33.Append(cell816);
            row33.Append(cell817);
            row33.Append(cell818);
            row33.Append(cell819);
            row33.Append(cell820);
            row33.Append(cell821);
            row33.Append(cell822);
            row33.Append(cell823);
            row33.Append(cell824);
            row33.Append(cell825);
            row33.Append(cell826);
            row33.Append(cell827);
            row33.Append(cell828);
            row33.Append(cell829);
            row33.Append(cell830);
            row33.Append(cell831);
            row33.Append(cell832);
            row33.Append(cell833);
            row33.Append(cell834);
            row33.Append(cell835);
            row33.Append(cell836);
            row33.Append(cell837);
            row33.Append(cell838);
            row33.Append(cell839);
            row33.Append(cell840);
            row33.Append(cell841);
            row33.Append(cell842);
            row33.Append(cell843);
            row33.Append(cell844);
            row33.Append(cell845);
            row33.Append(cell846);
            row33.Append(cell847);
            row33.Append(cell848);
            row33.Append(cell849);
            row33.Append(cell850);
            row33.Append(cell851);
            row33.Append(cell852);
            row33.Append(cell853);
            row33.Append(cell854);
            row33.Append(cell855);

            Row row34 = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };
            Cell cell856 = new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)4U };
            Cell cell857 = new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)55U };
            Cell cell858 = new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)56U };
            Cell cell859 = new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)56U };
            Cell cell860 = new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)56U };

            Cell cell861 = new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)73U };
            CellFormula cellFormula53 = new CellFormula();
            cellFormula53.Text = "+AL23";
            CellValue cellValue170 = new CellValue();
            cellValue170.Text = "0";

            cell861.Append(cellFormula53);
            cell861.Append(cellValue170);
            Cell cell862 = new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)74U };
            Cell cell863 = new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)75U };
            Cell cell864 = new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)2U };
            Cell cell865 = new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)2U };
            Cell cell866 = new Cell() { CellReference = "L37", StyleIndex = (UInt32Value)2U };
            Cell cell867 = new Cell() { CellReference = "M37", StyleIndex = (UInt32Value)2U };
            Cell cell868 = new Cell() { CellReference = "N37", StyleIndex = (UInt32Value)2U };
            Cell cell869 = new Cell() { CellReference = "O37", StyleIndex = (UInt32Value)2U };
            Cell cell870 = new Cell() { CellReference = "P37", StyleIndex = (UInt32Value)2U };
            Cell cell871 = new Cell() { CellReference = "Q37", StyleIndex = (UInt32Value)2U };
            Cell cell872 = new Cell() { CellReference = "R37", StyleIndex = (UInt32Value)2U };
            Cell cell873 = new Cell() { CellReference = "S37", StyleIndex = (UInt32Value)2U };
            Cell cell874 = new Cell() { CellReference = "T37", StyleIndex = (UInt32Value)2U };
            Cell cell875 = new Cell() { CellReference = "U37", StyleIndex = (UInt32Value)2U };
            Cell cell876 = new Cell() { CellReference = "V37", StyleIndex = (UInt32Value)2U };
            Cell cell877 = new Cell() { CellReference = "W37", StyleIndex = (UInt32Value)2U };
            Cell cell878 = new Cell() { CellReference = "X37", StyleIndex = (UInt32Value)2U };
            Cell cell879 = new Cell() { CellReference = "Y37", StyleIndex = (UInt32Value)2U };
            Cell cell880 = new Cell() { CellReference = "Z37", StyleIndex = (UInt32Value)2U };
            Cell cell881 = new Cell() { CellReference = "AA37", StyleIndex = (UInt32Value)2U };
            Cell cell882 = new Cell() { CellReference = "AB37", StyleIndex = (UInt32Value)2U };
            Cell cell883 = new Cell() { CellReference = "AC37", StyleIndex = (UInt32Value)2U };
            Cell cell884 = new Cell() { CellReference = "AD37", StyleIndex = (UInt32Value)2U };
            Cell cell885 = new Cell() { CellReference = "AE37", StyleIndex = (UInt32Value)2U };
            Cell cell886 = new Cell() { CellReference = "AF37", StyleIndex = (UInt32Value)2U };
            Cell cell887 = new Cell() { CellReference = "AG37", StyleIndex = (UInt32Value)2U };
            Cell cell888 = new Cell() { CellReference = "AH37", StyleIndex = (UInt32Value)2U };
            Cell cell889 = new Cell() { CellReference = "AI37", StyleIndex = (UInt32Value)2U };
            Cell cell890 = new Cell() { CellReference = "AJ37", StyleIndex = (UInt32Value)2U };
            Cell cell891 = new Cell() { CellReference = "AK37", StyleIndex = (UInt32Value)2U };
            Cell cell892 = new Cell() { CellReference = "AL37", StyleIndex = (UInt32Value)2U };
            Cell cell893 = new Cell() { CellReference = "AM37", StyleIndex = (UInt32Value)2U };
            Cell cell894 = new Cell() { CellReference = "AN37", StyleIndex = (UInt32Value)2U };
            Cell cell895 = new Cell() { CellReference = "AO37", StyleIndex = (UInt32Value)2U };
            Cell cell896 = new Cell() { CellReference = "AP37", StyleIndex = (UInt32Value)2U };
            Cell cell897 = new Cell() { CellReference = "AQ37", StyleIndex = (UInt32Value)2U };
            Cell cell898 = new Cell() { CellReference = "AR37", StyleIndex = (UInt32Value)2U };

            row34.Append(cell856);
            row34.Append(cell857);
            row34.Append(cell858);
            row34.Append(cell859);
            row34.Append(cell860);
            row34.Append(cell861);
            row34.Append(cell862);
            row34.Append(cell863);
            row34.Append(cell864);
            row34.Append(cell865);
            row34.Append(cell866);
            row34.Append(cell867);
            row34.Append(cell868);
            row34.Append(cell869);
            row34.Append(cell870);
            row34.Append(cell871);
            row34.Append(cell872);
            row34.Append(cell873);
            row34.Append(cell874);
            row34.Append(cell875);
            row34.Append(cell876);
            row34.Append(cell877);
            row34.Append(cell878);
            row34.Append(cell879);
            row34.Append(cell880);
            row34.Append(cell881);
            row34.Append(cell882);
            row34.Append(cell883);
            row34.Append(cell884);
            row34.Append(cell885);
            row34.Append(cell886);
            row34.Append(cell887);
            row34.Append(cell888);
            row34.Append(cell889);
            row34.Append(cell890);
            row34.Append(cell891);
            row34.Append(cell892);
            row34.Append(cell893);
            row34.Append(cell894);
            row34.Append(cell895);
            row34.Append(cell896);
            row34.Append(cell897);
            row34.Append(cell898);

            Row row35 = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };
            Cell cell899 = new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)4U };
            Cell cell900 = new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)57U };
            Cell cell901 = new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)58U };
            Cell cell902 = new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)58U };
            Cell cell903 = new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)58U };

            Cell cell904 = new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)73U };
            CellFormula cellFormula54 = new CellFormula();
            cellFormula54.Text = "+AL24";
            CellValue cellValue171 = new CellValue();
            cellValue171.Text = "0";

            cell904.Append(cellFormula54);
            cell904.Append(cellValue171);
            Cell cell905 = new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)74U };
            Cell cell906 = new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)75U };
            Cell cell907 = new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)2U };
            Cell cell908 = new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)2U };
            Cell cell909 = new Cell() { CellReference = "L38", StyleIndex = (UInt32Value)2U };
            Cell cell910 = new Cell() { CellReference = "M38", StyleIndex = (UInt32Value)2U };
            Cell cell911 = new Cell() { CellReference = "N38", StyleIndex = (UInt32Value)2U };
            Cell cell912 = new Cell() { CellReference = "O38", StyleIndex = (UInt32Value)2U };
            Cell cell913 = new Cell() { CellReference = "P38", StyleIndex = (UInt32Value)2U };
            Cell cell914 = new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)2U };
            Cell cell915 = new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)2U };
            Cell cell916 = new Cell() { CellReference = "S38", StyleIndex = (UInt32Value)2U };
            Cell cell917 = new Cell() { CellReference = "T38", StyleIndex = (UInt32Value)2U };
            Cell cell918 = new Cell() { CellReference = "U38", StyleIndex = (UInt32Value)2U };
            Cell cell919 = new Cell() { CellReference = "V38", StyleIndex = (UInt32Value)2U };
            Cell cell920 = new Cell() { CellReference = "W38", StyleIndex = (UInt32Value)2U };
            Cell cell921 = new Cell() { CellReference = "X38", StyleIndex = (UInt32Value)2U };
            Cell cell922 = new Cell() { CellReference = "Y38", StyleIndex = (UInt32Value)2U };
            Cell cell923 = new Cell() { CellReference = "Z38", StyleIndex = (UInt32Value)2U };
            Cell cell924 = new Cell() { CellReference = "AA38", StyleIndex = (UInt32Value)2U };
            Cell cell925 = new Cell() { CellReference = "AB38", StyleIndex = (UInt32Value)2U };
            Cell cell926 = new Cell() { CellReference = "AC38", StyleIndex = (UInt32Value)2U };
            Cell cell927 = new Cell() { CellReference = "AD38", StyleIndex = (UInt32Value)2U };
            Cell cell928 = new Cell() { CellReference = "AE38", StyleIndex = (UInt32Value)2U };
            Cell cell929 = new Cell() { CellReference = "AF38", StyleIndex = (UInt32Value)2U };
            Cell cell930 = new Cell() { CellReference = "AG38", StyleIndex = (UInt32Value)2U };
            Cell cell931 = new Cell() { CellReference = "AH38", StyleIndex = (UInt32Value)2U };
            Cell cell932 = new Cell() { CellReference = "AI38", StyleIndex = (UInt32Value)2U };
            Cell cell933 = new Cell() { CellReference = "AJ38", StyleIndex = (UInt32Value)2U };
            Cell cell934 = new Cell() { CellReference = "AK38", StyleIndex = (UInt32Value)2U };
            Cell cell935 = new Cell() { CellReference = "AL38", StyleIndex = (UInt32Value)2U };
            Cell cell936 = new Cell() { CellReference = "AM38", StyleIndex = (UInt32Value)2U };
            Cell cell937 = new Cell() { CellReference = "AN38", StyleIndex = (UInt32Value)2U };
            Cell cell938 = new Cell() { CellReference = "AO38", StyleIndex = (UInt32Value)2U };
            Cell cell939 = new Cell() { CellReference = "AP38", StyleIndex = (UInt32Value)2U };
            Cell cell940 = new Cell() { CellReference = "AQ38", StyleIndex = (UInt32Value)2U };
            Cell cell941 = new Cell() { CellReference = "AR38", StyleIndex = (UInt32Value)2U };

            row35.Append(cell899);
            row35.Append(cell900);
            row35.Append(cell901);
            row35.Append(cell902);
            row35.Append(cell903);
            row35.Append(cell904);
            row35.Append(cell905);
            row35.Append(cell906);
            row35.Append(cell907);
            row35.Append(cell908);
            row35.Append(cell909);
            row35.Append(cell910);
            row35.Append(cell911);
            row35.Append(cell912);
            row35.Append(cell913);
            row35.Append(cell914);
            row35.Append(cell915);
            row35.Append(cell916);
            row35.Append(cell917);
            row35.Append(cell918);
            row35.Append(cell919);
            row35.Append(cell920);
            row35.Append(cell921);
            row35.Append(cell922);
            row35.Append(cell923);
            row35.Append(cell924);
            row35.Append(cell925);
            row35.Append(cell926);
            row35.Append(cell927);
            row35.Append(cell928);
            row35.Append(cell929);
            row35.Append(cell930);
            row35.Append(cell931);
            row35.Append(cell932);
            row35.Append(cell933);
            row35.Append(cell934);
            row35.Append(cell935);
            row35.Append(cell936);
            row35.Append(cell937);
            row35.Append(cell938);
            row35.Append(cell939);
            row35.Append(cell940);
            row35.Append(cell941);

            Row row36 = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue<StringValue>() { InnerText = "2:44" }, StyleIndex = (UInt32Value)3U, CustomFormat = true, Height = 15D, CustomHeight = true };
            Cell cell942 = new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)4U };
            Cell cell943 = new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)57U };
            Cell cell944 = new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)58U };
            Cell cell945 = new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)58U };
            Cell cell946 = new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)58U };

            Cell cell947 = new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)73U };
            CellFormula cellFormula55 = new CellFormula();
            cellFormula55.Text = "+AL25";
            CellValue cellValue172 = new CellValue();
            cellValue172.Text = "0";

            cell947.Append(cellFormula55);
            cell947.Append(cellValue172);
            Cell cell948 = new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)74U };
            Cell cell949 = new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)75U };
            Cell cell950 = new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)2U };
            Cell cell951 = new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)2U };
            Cell cell952 = new Cell() { CellReference = "L39", StyleIndex = (UInt32Value)2U };
            Cell cell953 = new Cell() { CellReference = "M39", StyleIndex = (UInt32Value)2U };
            Cell cell954 = new Cell() { CellReference = "N39", StyleIndex = (UInt32Value)2U };
            Cell cell955 = new Cell() { CellReference = "O39", StyleIndex = (UInt32Value)2U };
            Cell cell956 = new Cell() { CellReference = "P39", StyleIndex = (UInt32Value)2U };
            Cell cell957 = new Cell() { CellReference = "Q39", StyleIndex = (UInt32Value)2U };
            Cell cell958 = new Cell() { CellReference = "R39", StyleIndex = (UInt32Value)2U };
            Cell cell959 = new Cell() { CellReference = "S39", StyleIndex = (UInt32Value)2U };
            Cell cell960 = new Cell() { CellReference = "T39", StyleIndex = (UInt32Value)2U };
            Cell cell961 = new Cell() { CellReference = "U39", StyleIndex = (UInt32Value)2U };
            Cell cell962 = new Cell() { CellReference = "V39", StyleIndex = (UInt32Value)2U };
            Cell cell963 = new Cell() { CellReference = "W39", StyleIndex = (UInt32Value)2U };
            Cell cell964 = new Cell() { CellReference = "X39", StyleIndex = (UInt32Value)2U };
            Cell cell965 = new Cell() { CellReference = "Y39", StyleIndex = (UInt32Value)2U };
            Cell cell966 = new Cell() { CellReference = "Z39", StyleIndex = (UInt32Value)2U };
            Cell cell967 = new Cell() { CellReference = "AA39", StyleIndex = (UInt32Value)2U };
            Cell cell968 = new Cell() { CellReference = "AB39", StyleIndex = (UInt32Value)2U };
            Cell cell969 = new Cell() { CellReference = "AC39", StyleIndex = (UInt32Value)2U };
            Cell cell970 = new Cell() { CellReference = "AD39", StyleIndex = (UInt32Value)2U };
            Cell cell971 = new Cell() { CellReference = "AE39", StyleIndex = (UInt32Value)2U };
            Cell cell972 = new Cell() { CellReference = "AF39", StyleIndex = (UInt32Value)2U };
            Cell cell973 = new Cell() { CellReference = "AG39", StyleIndex = (UInt32Value)2U };
            Cell cell974 = new Cell() { CellReference = "AH39", StyleIndex = (UInt32Value)2U };
            Cell cell975 = new Cell() { CellReference = "AI39", StyleIndex = (UInt32Value)2U };
            Cell cell976 = new Cell() { CellReference = "AJ39", StyleIndex = (UInt32Value)2U };
            Cell cell977 = new Cell() { CellReference = "AK39", StyleIndex = (UInt32Value)2U };
            Cell cell978 = new Cell() { CellReference = "AL39", StyleIndex = (UInt32Value)2U };
            Cell cell979 = new Cell() { CellReference = "AM39", StyleIndex = (UInt32Value)2U };
            Cell cell980 = new Cell() { CellReference = "AN39", StyleIndex = (UInt32Value)2U };
            Cell cell981 = new Cell() { CellReference = "AO39", StyleIndex = (UInt32Value)2U };
            Cell cell982 = new Cell() { CellReference = "AP39", StyleIndex = (UInt32Value)2U };
            Cell cell983 = new Cell() { CellReference = "AQ39", StyleIndex = (UInt32Value)2U };
            Cell cell984 = new Cell() { CellReference = "AR39", StyleIndex = (UInt32Value)2U };

            row36.Append(cell942);
            row36.Append(cell943);
            row36.Append(cell944);
            row36.Append(cell945);
            row36.Append(cell946);
            row36.Append(cell947);
            row36.Append(cell948);
            row36.Append(cell949);
            row36.Append(cell950);
            row36.Append(cell951);
            row36.Append(cell952);
            row36.Append(cell953);
            row36.Append(cell954);
            row36.Append(cell955);
            row36.Append(cell956);
            row36.Append(cell957);
            row36.Append(cell958);
            row36.Append(cell959);
            row36.Append(cell960);
            row36.Append(cell961);
            row36.Append(cell962);
            row36.Append(cell963);
            row36.Append(cell964);
            row36.Append(cell965);
            row36.Append(cell966);
            row36.Append(cell967);
            row36.Append(cell968);
            row36.Append(cell969);
            row36.Append(cell970);
            row36.Append(cell971);
            row36.Append(cell972);
            row36.Append(cell973);
            row36.Append(cell974);
            row36.Append(cell975);
            row36.Append(cell976);
            row36.Append(cell977);
            row36.Append(cell978);
            row36.Append(cell979);
            row36.Append(cell980);
            row36.Append(cell981);
            row36.Append(cell982);
            row36.Append(cell983);
            row36.Append(cell984);

            Row row37 = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };

            Cell cell985 = new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)59U, DataType = CellValues.SharedString };
            CellValue cellValue173 = new CellValue();
            cellValue173.Text = "39";

            cell985.Append(cellValue173);
            Cell cell986 = new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)60U };
            Cell cell987 = new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)60U };
            Cell cell988 = new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)60U };

            Cell cell989 = new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)76U };
            CellFormula cellFormula56 = new CellFormula();
            cellFormula56.Text = "SUM(G35:I39)";
            CellValue cellValue174 = new CellValue();
            cellValue174.Text = "0";

            cell989.Append(cellFormula56);
            cell989.Append(cellValue174);
            Cell cell990 = new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)77U };
            Cell cell991 = new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)78U };
            Cell cell992 = new Cell() { CellReference = "AN40", StyleIndex = (UInt32Value)4U };

            row37.Append(cell985);
            row37.Append(cell986);
            row37.Append(cell987);
            row37.Append(cell988);
            row37.Append(cell989);
            row37.Append(cell990);
            row37.Append(cell991);
            row37.Append(cell992);

            Row row38 = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell993 = new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)44U };
            Cell cell994 = new Cell() { CellReference = "AN41", StyleIndex = (UInt32Value)4U };

            row38.Append(cell993);
            row38.Append(cell994);

            Row row39 = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue<StringValue>() { InnerText = "2:44" } };
            Cell cell995 = new Cell() { CellReference = "AN42", StyleIndex = (UInt32Value)4U };

            row39.Append(cell995);

            sheetData1.Append(row1);
            sheetData1.Append(row2);
            sheetData1.Append(row3);
            sheetData1.Append(row4);
            sheetData1.Append(row5);
            sheetData1.Append(row6);
            sheetData1.Append(row7);
            sheetData1.Append(row8);
            sheetData1.Append(row9);
            sheetData1.Append(row10);
            sheetData1.Append(row11);
            sheetData1.Append(row12);
            sheetData1.Append(row13);
            sheetData1.Append(row14);
            sheetData1.Append(row15);
            sheetData1.Append(row16);
            sheetData1.Append(row17);
            sheetData1.Append(row18);
            sheetData1.Append(row19);
            sheetData1.Append(row20);
            sheetData1.Append(row21);
            sheetData1.Append(row22);
            sheetData1.Append(row23);
            sheetData1.Append(row24);
            sheetData1.Append(row25);
            sheetData1.Append(row26);
            sheetData1.Append(row27);
            sheetData1.Append(row28);
            sheetData1.Append(row29);
            sheetData1.Append(row30);
            sheetData1.Append(row31);
            sheetData1.Append(row32);
            sheetData1.Append(row33);
            sheetData1.Append(row34);
            sheetData1.Append(row35);
            sheetData1.Append(row36);
            sheetData1.Append(row37);
            sheetData1.Append(row38);
            sheetData1.Append(row39);

            MergeCells mergeCells1 = new MergeCells() { Count = (UInt32Value)8U };
            MergeCell mergeCell1 = new MergeCell() { Reference = "G38:I38" };
            MergeCell mergeCell2 = new MergeCell() { Reference = "G39:I39" };
            MergeCell mergeCell3 = new MergeCell() { Reference = "G40:I40" };
            MergeCell mergeCell4 = new MergeCell() { Reference = "G18:AN18" };
            MergeCell mergeCell5 = new MergeCell() { Reference = "G34:I34" };
            MergeCell mergeCell6 = new MergeCell() { Reference = "G35:I35" };
            MergeCell mergeCell7 = new MergeCell() { Reference = "G36:I36" };
            MergeCell mergeCell8 = new MergeCell() { Reference = "G37:I37" };

            mergeCells1.Append(mergeCell1);
            mergeCells1.Append(mergeCell2);
            mergeCells1.Append(mergeCell3);
            mergeCells1.Append(mergeCell4);
            mergeCells1.Append(mergeCell5);
            mergeCells1.Append(mergeCell6);
            mergeCells1.Append(mergeCell7);
            mergeCells1.Append(mergeCell8);
            PhoneticProperties phoneticProperties1 = new PhoneticProperties() { FontId = (UInt32Value)0U, Type = PhoneticValues.NoConversion };

            ConditionalFormatting conditionalFormatting1 = new ConditionalFormatting() { SequenceOfReferences = new ListValue<StringValue>() { InnerText = "G21:AK25" } };

            ConditionalFormattingRule conditionalFormattingRule1 = new ConditionalFormattingRule() { Type = ConditionalFormatValues.CellIs, FormatId = (UInt32Value)0U, Priority = 1, Operator = ConditionalFormattingOperatorValues.GreaterThanOrEqual };
            Formula formula1 = new Formula();
            formula1.Text = "1";

            conditionalFormattingRule1.Append(formula1);

            conditionalFormatting1.Append(conditionalFormattingRule1);
            PageMargins pageMargins1 = new PageMargins() { Left = 0.75D, Right = 0.75D, Top = 0.91D, Bottom = 1D, Header = 0D, Footer = 0D };
            PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Scale = (UInt32Value)52U, Orientation = OrientationValues.Landscape, HorizontalDpi = (UInt32Value)300U, VerticalDpi = (UInt32Value)300U, Id = "rId1" };
            HeaderFooter headerFooter1 = new HeaderFooter() { AlignWithMargins = false };
            Drawing drawing1 = new Drawing() { Id = "rId2" };

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

            worksheetPart1.Worksheet = worksheet1;
        }
        /// <summary>
        ///  Generates content of worksheetPart
        /// </summary>
        /// <param name="worksheetPart">WorksheetPart Object</param>
        /// <param name="table">DataTable Object</param>
        private void CreateWorkSheetPart(WorksheetPart worksheetPart, DataTable table)
        {
            // Initialize worksheet and set the properties
            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");

            SheetViews sheetViews1 = new SheetViews();

            // Initialize an instance of the sheetview class
            SheetView sheetView1 = new SheetView()
            {
                WorkbookViewId = (UInt32Value)0U
            };

            Selection selection = new Selection()
            {
                ActiveCell = "A1"
            };

            sheetView1.Append(selection);

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

            SheetData   sheetData1   = new SheetData();
            UInt32Value rowIndex     = 1U;
            PageMargins pageMargins1 = new PageMargins()
            {
                Left   = 0.7D,
                Right  = 0.7D,
                Top    = 0.75D,
                Bottom = 0.75D,
                Header = 0.3D,
                Footer = 0.3D
            };

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

            // Add columns in DataTable to columns collection of SpreadSheet Document
            for (int columnindex = 0; columnindex < table.Columns.Count; columnindex++)
            {
                Cell cell = new Cell()
                {
                    CellReference = new CreateSpreadSheetProvider().Get(columnindex, (Convert.ToInt32((UInt32)rowIndex) - 2)), DataType = CellValues.String
                };

                // Get Value of DataTable and append the value to cell of spreadsheet document
                CellValue cellValue = new CellValue();
                cellValue.Text = table.Columns[columnindex].ColumnName.ToString();
                cell.Append(cellValue);

                row1.Append(cell);
            }

            // Add row to sheet
            sheetData1.Append(row1);

            // Add rows in DataTable to rows collection of SpreadSheet Document
            for (int rIndex = 0; rIndex < table.Rows.Count; rIndex++)
            {
                Row row = new Row()
                {
                    RowIndex = rowIndex++,
                    Spans    = new ListValue <StringValue>()
                    {
                        InnerText = "1:3"
                    },
                    DyDescent = 0.25D
                };

                for (int cIndex = 0; cIndex < table.Columns.Count; cIndex++)
                {
                    Cell cell = new Cell()
                    {
                        CellReference = new CreateSpreadSheetProvider().Get(cIndex, (Convert.ToInt32((UInt32)rowIndex) - 2)), DataType = CellValues.String
                    };

                    CellValue cellValue = new CellValue();
                    cellValue.Text = table.Rows[rIndex][cIndex].ToString();
                    cell.Append(cellValue);
                    row.Append(cell);
                }

                // Add row to Sheet Data
                sheetData1.Append(row);
            }

            // Add elements to worksheet
            worksheet1.Append(sheetViews1);
            worksheet1.Append(sheetFormatProperties1);
            worksheet1.Append(sheetData1);
            worksheet1.Append(pageMargins1);

            worksheetPart.Worksheet = worksheet1;
        }
Ejemplo n.º 51
0
        bool FindUniqueInSubgrid()
        {
            int subgridWidth = _subgridWidth;
            List<CellValue> uniqueNumbers = new List<CellValue>(PossibleNumbers);
            foreach (Cell cell in RelatedCells.FindAll(c => c.Row / subgridWidth == Row / subgridWidth &&
                c.Column / subgridWidth == Column / subgridWidth))
                foreach (CellValue value in cell.PossibleNumbers)
                    uniqueNumbers.Remove(value);

            if (uniqueNumbers.Count == 1)
            {
                Value = uniqueNumbers[0];
                Solved = true;
                return true;
            }
            if (uniqueNumbers.Count > 1)
                throw new Exception("Row:" + Row + ",Column:" + Column + " more than 1 unique number.");
            return false;
        }
Ejemplo n.º 52
0
        public static CellMatrix GetHistoricDataFromYahoo(
            [Parameter("Yahoo Symbol")] string symbol,
            [Parameter("Begin Date")]   double beginDate,
            [Parameter("End Date")]     double endDate
            )
        {
            DateTime begin = DateTime.FromOADate(beginDate);
            DateTime end = DateTime.FromOADate(endDate);

            string yahooURL =
               @"http://ichart.finance.yahoo.com/table.csv?s=" +
               symbol +
               @"&a=" +
               (begin.Month-1).ToString() +
               @"&b=" +
               begin.Day.ToString() +
               @"&c=" +
               begin.Year.ToString() +
               @"&d=" +
               (end.Month-1).ToString() +
               @"&e=" +
               end.Day.ToString() +
               @"&f=" +
               end.Year.ToString() +
               @"&g=d&ignore=.csv";

            string historicData = "";
            WebClient webConnection = new WebClient();
            try
            {
                historicData = webConnection.DownloadString(yahooURL);

            }
            catch (WebException someWebException)
            {
                throw someWebException;
            }
            finally
            {
                webConnection.Dispose();
            }

            historicData = historicData.Replace("\r", "");
            string[] rows = historicData.Split('\n');
            string[] headings = rows[0].Split(',');

            CellMatrix excelData = new CellMatrix(1,headings.Length);
            for (int i = 0; i < headings.Length; ++i)
            {
                excelData[0, i] = new CellValue(headings[i]);
            }
            for (int i = 1; i < rows.Length; ++i)
            {
                string[] thisRow = rows[i].Split(',');
                if (thisRow.Length == headings.Length)
                {
                    CellMatrix row = new CellMatrix(1, headings.Length);
                    row[0, 0] = new CellValue(DateTime.Parse(thisRow[0]).ToOADate());
                    for (int j = 1; j < headings.Length; ++j)
                    {
                        row[0, j] = new CellValue(double.Parse(thisRow[j]));
                    }
                    excelData.PushBottom(row);
                }
            }

            return excelData;
        }
Ejemplo n.º 53
0
        private void GetCellValue(ICell cell, PropertyInfo property, object obj)
        {
            Type ptype = property.PropertyType;

            switch (cell.CellType)
            {
            case CellType.Numeric:
                if (ptype == typeof(int) || ptype == typeof(int?))
                {
                    property.SetValue(obj, cell.NumericCellValue.ToInt());
                }
                else if (ptype == typeof(string))
                {
                    property.SetValue(obj, cell.NumericCellValue.ToString());
                }
                else if (ptype == typeof(decimal) || ptype == typeof(decimal?))
                {
                    property.SetValue(obj, cell.NumericCellValue.ToDecimal());
                }
                else if (ptype == typeof(bool) || ptype == typeof(bool?))
                {
                    property.SetValue(obj, cell.NumericCellValue > 0);
                }
                else if ((ptype == typeof(DateTime) || ptype == typeof(DateTime?)) && DateUtil.IsCellDateFormatted(cell))
                {
                    property.SetValue(obj, cell.DateCellValue);
                }
                break;

            case CellType.String:
                if (ptype == typeof(int) || ptype == typeof(int?))
                {
                    property.SetValue(obj, cell.StringCellValue.ToInt());
                }
                else if (ptype == typeof(string))
                {
                    property.SetValue(obj, cell.StringCellValue);
                }
                else if (ptype == typeof(decimal) || ptype == typeof(decimal?))
                {
                    property.SetValue(obj, cell.StringCellValue.ToDecimal());
                }
                else if (ptype == typeof(bool) || ptype == typeof(bool?))
                {
                    property.SetValue(obj, cell.StringCellValue.ToBoolean());
                }
                else if (ptype == typeof(DateTime) || ptype == typeof(DateTime?))
                {
                    property.SetValue(obj, cell.StringCellValue.ToDateTime());
                }
                break;

            case CellType.Boolean:
                if (ptype == typeof(int) || ptype == typeof(int?) || ptype == typeof(decimal) || ptype == typeof(decimal?))
                {
                    property.SetValue(obj, cell.BooleanCellValue? 1:0);
                }
                else if (ptype == typeof(string))
                {
                    property.SetValue(obj, cell.BooleanCellValue.ToString());
                }
                else if (ptype == typeof(bool) || ptype == typeof(bool?))
                {
                    property.SetValue(obj, cell.BooleanCellValue);
                }
                break;

            case CellType.Formula:
                CellValue value = null;
                try
                {
                    value = FormulaEvaluator.Evaluate(cell);
                }
                catch
                {
                    try
                    {
                        if (ptype == typeof(int) || ptype == typeof(int?))
                        {
                            property.SetValue(obj, cell.NumericCellValue.ToInt());
                        }
                        else if (ptype == typeof(string))
                        {
                            property.SetValue(obj, cell.StringCellValue);
                        }
                        else if (ptype == typeof(decimal) || ptype == typeof(decimal?))
                        {
                            property.SetValue(obj, cell.NumericCellValue.ToDecimal());
                        }
                        else if (ptype == typeof(bool) || ptype == typeof(bool?))
                        {
                            property.SetValue(obj, cell.BooleanCellValue);
                        }
                    }
                    catch { }
                }
                if (value == null)
                {
                    return;
                }
                if (ptype == typeof(int) || ptype == typeof(int?))
                {
                    switch (value.CellType)
                    {
                    case CellType.Numeric:
                        property.SetValue(obj, value.NumberValue.ToInt());
                        break;

                    case CellType.String:
                        property.SetValue(obj, value.StringValue.ToInt());
                        break;

                    case CellType.Boolean:
                        property.SetValue(obj, value.BooleanValue ? 1 : 0);
                        break;
                    }
                }
                else if (ptype == typeof(string))
                {
                    switch (value.CellType)
                    {
                    case CellType.Numeric:
                        property.SetValue(obj, value.NumberValue.ToString());
                        break;

                    case CellType.String:
                        property.SetValue(obj, value.StringValue);
                        break;

                    case CellType.Boolean:
                        property.SetValue(obj, value.BooleanValue.ToString());
                        break;
                    }
                }
                else if (ptype == typeof(decimal) || ptype == typeof(decimal?))
                {
                    switch (value.CellType)
                    {
                    case CellType.Numeric:
                        property.SetValue(obj, value.NumberValue.ToDecimal());
                        break;

                    case CellType.String:
                        property.SetValue(obj, value.StringValue.ToDecimal());
                        break;

                    case CellType.Boolean:
                        property.SetValue(obj, value.BooleanValue ? 1 : 0);
                        break;
                    }
                }
                else if (ptype == typeof(bool) || ptype == typeof(bool?))
                {
                    switch (value.CellType)
                    {
                    case CellType.Numeric:
                        property.SetValue(obj, value.NumberValue > 0);
                        break;

                    case CellType.String:
                        property.SetValue(obj, value.StringValue.ToBoolean());
                        break;

                    case CellType.Boolean:
                        property.SetValue(obj, value.BooleanValue);
                        break;
                    }
                }
                else if (ptype == typeof(DateTime) || ptype == typeof(DateTime?))
                {
                    if (value.CellType == CellType.Numeric)
                    {
                        property.SetValue(obj, new DateTime(value.NumberValue.ToLong()));
                    }
                }

                break;
            }
            //if (ptype == typeof(int?) && cell.CellType == CellType.Numeric)
            //    property.SetValue(obj, (int?)cell.NumericCellValue);
            //else if (ptype == typeof(int?) && cell.CellType == CellType.Boolean)
            //    property.SetValue(obj, cell.BooleanCellValue ? 1 : 0);
            //else if (ptype == typeof(int?) && cell.CellType == CellType.String)
            //    property.SetValue(obj, cell.StringCellValue.ToInt());
            //else if (ptype == typeof(int) && cell.CellType == CellType.Numeric)
            //    property.SetValue(obj, (int)cell.NumericCellValue);
            //else if (ptype == typeof(int) && cell.CellType == CellType.Boolean)
            //    property.SetValue(obj, cell.BooleanCellValue ? 1 : 0);
            //else if (ptype == typeof(int) && cell.CellType == CellType.String)
            //    property.SetValue(obj, cell.StringCellValue.ToInt());
            //else if (ptype == typeof(decimal?) && cell.CellType == CellType.Numeric)
            //    property.SetValue(obj, (decimal?)cell.NumericCellValue);
            //else if (ptype == typeof(decimal?) && cell.CellType == CellType.String)
            //    property.SetValue(obj, cell.StringCellValue.ToDecimal());
            //else if (ptype == typeof(decimal) && cell.CellType == CellType.Numeric)
            //    property.SetValue(obj, (decimal)cell.NumericCellValue);
            //else if (ptype == typeof(decimal) && cell.CellType == CellType.String)
            //    property.SetValue(obj, cell.ToDecimal());
            //else if (ptype == typeof(DateTime?) && DateUtil.IsCellDateFormatted(cell))
            //    property.SetValue(obj, cell.DateCellValue == default(DateTime) ? null : (DateTime?)cell.DateCellValue);
            //else if (ptype == typeof(DateTime) && DateUtil.IsCellDateFormatted(cell))
            //    property.SetValue(obj, cell.DateCellValue);
            //else if (ptype == typeof(bool?) && cell.CellType == CellType.Boolean)
            //    property.SetValue(obj, cell.BooleanCellValue);
            //else if (ptype == typeof(bool) && cell.CellType == CellType.Boolean)
            //    property.SetValue(obj, cell.BooleanCellValue);
            //else if (ptype == typeof(string) && cell.CellType == CellType.String)
            //    property.SetValue(obj, cell.StringCellValue);
            //else if (ptype == typeof(string) && cell.CellType == CellType.Formula)
            //    property.SetValue(obj, cell.StringCellValue);
            //else if (ptype == typeof(string) && cell.CellType == CellType.Numeric)
            //    property.SetValue(obj, cell.NumericCellValue.ToString());
            //else if (ptype == typeof(string) && cell.CellType == CellType.Boolean)
            //    property.SetValue(obj, cell.BooleanCellValue ? "1" : "0");
            //else if (ptype == typeof(int?) && cell.CellType == CellType.Formula)
            //    // 临时方案,  下拉框公式暂时无法计算
            //    property.SetValue(obj, cell.NumericCellValue.ToInt());
        }
Ejemplo n.º 54
0
        /// <summary>
        /// Creates the worksheet part.
        /// </summary>
        /// <param name="worksheetPart">The worksheet part.</param>
        /// <param name="data">The data.</param>
        public static void CreateWorksheetPart(WorksheetPart worksheetPart, DataTable data)
        {
            Worksheet worksheet = new Worksheet()
            {
                MCAttributes = new MarkupCompatibilityAttributes()
                {
                    Ignorable = "x14ac"
                }
            };

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


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

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

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

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

            SheetData sheetData = new SheetData();

            UInt32Value rowIndex = 1U;

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

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

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

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

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

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

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

            worksheet.Append(sheetViews);
            worksheet.Append(sheetFormatPr);
            worksheet.Append(sheetData);
            worksheet.Append(pageMargins);
            worksheetPart.Worksheet = worksheet;
        }
Ejemplo n.º 55
0
 public CellValue Cell(CellValue o)
 {
     return new CellValue(o);
 }
Ejemplo n.º 56
0
    public void ChangeSprite(CellValue cellValue, Player player, bool faceUp)
    {
        if (faceUp == false)
        {
            pieceSprite.sprite = faceDown;
        }

        else
        {
            if (cellValue != CellValue.Empty)
            {
                pieceSprite.enabled = true;
            }
            else if (cellValue == CellValue.Empty)
            {
                pieceSprite.enabled = false;
            }

            if (player == Player.Red)
            {
                switch (cellValue)
                {
                case CellValue.One:
                    pieceSprite.sprite = redOne; break;

                case CellValue.Two:
                    pieceSprite.sprite = redTwo; break;

                case CellValue.Three:
                    pieceSprite.sprite = redThree; break;

                case CellValue.Four:
                    pieceSprite.sprite = redFour; break;

                case CellValue.King:
                    pieceSprite.sprite = redKing; break;

                default:
                    Debug.Log("piece sprite out of bounds"); break;
                }
            }
            else if (player == Player.Blue)
            {
                switch (cellValue)
                {
                case CellValue.One:
                    pieceSprite.sprite = blueOne; break;

                case CellValue.Two:
                    pieceSprite.sprite = blueTwo; break;

                case CellValue.Three:
                    pieceSprite.sprite = blueThree; break;

                case CellValue.Four:
                    pieceSprite.sprite = blueFour; break;

                case CellValue.King:
                    pieceSprite.sprite = blueKing; break;

                default:
                    Debug.Log("piece sprite out of bounds"); break;
                }
            }
        }
    }
        private static void GenerateWorksheetPartContent(WorksheetPart worksheetPart, XLWorksheet xlWorksheet,
            SaveContext context)
        {
            #region Worksheet

            if (worksheetPart.Worksheet == null)
                worksheetPart.Worksheet = new Worksheet();

            GenerateTables(xlWorksheet, worksheetPart, context);

            if (
                !worksheetPart.Worksheet.NamespaceDeclarations.Contains(new KeyValuePair<String, String>("r",
                    "http://schemas.openxmlformats.org/officeDocument/2006/relationships")))
            {
                worksheetPart.Worksheet.AddNamespaceDeclaration("r",
                    "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            }

            #endregion

            var cm = new XLWSContentManager(worksheetPart.Worksheet);

            #region SheetProperties

            if (worksheetPart.Worksheet.SheetProperties == null)
                worksheetPart.Worksheet.SheetProperties = new SheetProperties();

            worksheetPart.Worksheet.SheetProperties.TabColor = xlWorksheet.TabColor.HasValue
                ? GetTabColor(xlWorksheet.TabColor)
                : null;

            cm.SetElement(XLWSContentManager.XLWSContents.SheetProperties, worksheetPart.Worksheet.SheetProperties);

            if (worksheetPart.Worksheet.SheetProperties.OutlineProperties == null)
                worksheetPart.Worksheet.SheetProperties.OutlineProperties = new OutlineProperties();

            worksheetPart.Worksheet.SheetProperties.OutlineProperties.SummaryBelow =
                (xlWorksheet.Outline.SummaryVLocation ==
                 XLOutlineSummaryVLocation.Bottom);
            worksheetPart.Worksheet.SheetProperties.OutlineProperties.SummaryRight =
                (xlWorksheet.Outline.SummaryHLocation ==
                 XLOutlineSummaryHLocation.Right);

            if (worksheetPart.Worksheet.SheetProperties.PageSetupProperties == null
                && (xlWorksheet.PageSetup.PagesTall > 0 || xlWorksheet.PageSetup.PagesWide > 0))
                worksheetPart.Worksheet.SheetProperties.PageSetupProperties = new PageSetupProperties {FitToPage = true};

            #endregion

            var maxColumn = 0;

            var sheetDimensionReference = "A1";
            if (xlWorksheet.Internals.CellsCollection.Count > 0)
            {
                maxColumn = xlWorksheet.Internals.CellsCollection.MaxColumnUsed;
                var maxRow = xlWorksheet.Internals.CellsCollection.MaxRowUsed;
                sheetDimensionReference = "A1:" + XLHelper.GetColumnLetterFromNumber(maxColumn) +
                                          maxRow.ToStringLookup();
            }

            if (xlWorksheet.Internals.ColumnsCollection.Count > 0)
            {
                var maxColCollection = xlWorksheet.Internals.ColumnsCollection.Keys.Max();
                if (maxColCollection > maxColumn)
                    maxColumn = maxColCollection;
            }

            #region SheetViews

            if (worksheetPart.Worksheet.SheetDimension == null)
                worksheetPart.Worksheet.SheetDimension = new SheetDimension {Reference = sheetDimensionReference};

            cm.SetElement(XLWSContentManager.XLWSContents.SheetDimension, worksheetPart.Worksheet.SheetDimension);

            if (worksheetPart.Worksheet.SheetViews == null)
                worksheetPart.Worksheet.SheetViews = new SheetViews();

            cm.SetElement(XLWSContentManager.XLWSContents.SheetViews, worksheetPart.Worksheet.SheetViews);

            var sheetView = (SheetView)worksheetPart.Worksheet.SheetViews.FirstOrDefault();
            if (sheetView == null)
            {
                sheetView = new SheetView {WorkbookViewId = 0U};
                worksheetPart.Worksheet.SheetViews.AppendChild(sheetView);
            }

            if (xlWorksheet.TabSelected)
                sheetView.TabSelected = true;
            else
                sheetView.TabSelected = null;


            if (xlWorksheet.ShowFormulas)
                sheetView.ShowFormulas = true;
            else
                sheetView.ShowFormulas = null;

            if (xlWorksheet.ShowGridLines)
                sheetView.ShowGridLines = null;
            else
                sheetView.ShowGridLines = false;

            if (xlWorksheet.ShowOutlineSymbols)
                sheetView.ShowOutlineSymbols = null;
            else
                sheetView.ShowOutlineSymbols = false;

            if (xlWorksheet.ShowRowColHeaders)
                sheetView.ShowRowColHeaders = null;
            else
                sheetView.ShowRowColHeaders = false;

            if (xlWorksheet.ShowRuler)
                sheetView.ShowRuler = null;
            else
                sheetView.ShowRuler = false;

            if (xlWorksheet.ShowWhiteSpace)
                sheetView.ShowWhiteSpace = null;
            else
                sheetView.ShowWhiteSpace = false;

            if (xlWorksheet.ShowZeros)
                sheetView.ShowZeros = null;
            else
                sheetView.ShowZeros = false;

            if (xlWorksheet.RightToLeft)
                sheetView.RightToLeft = true;
            else
                sheetView.RightToLeft = null;

            if (xlWorksheet.SheetView.View == XLSheetViewOptions.Normal)
                sheetView.View = null;
            else
                sheetView.View = xlWorksheet.SheetView.View.ToOpenXml();

            var pane = sheetView.Elements<Pane>().FirstOrDefault();
            if (pane == null)
            {
                pane = new Pane();
                sheetView.AppendChild(pane);
            }


            pane.State = PaneStateValues.FrozenSplit;
            Double hSplit = xlWorksheet.SheetView.SplitColumn;
            Double ySplit = xlWorksheet.SheetView.SplitRow;


            pane.HorizontalSplit = hSplit;
            pane.VerticalSplit = ySplit;

            pane.TopLeftCell = XLHelper.GetColumnLetterFromNumber(xlWorksheet.SheetView.SplitColumn + 1)
                               + (xlWorksheet.SheetView.SplitRow + 1);

            if (hSplit == 0 && ySplit == 0)
                sheetView.RemoveAllChildren<Pane>();

            if (xlWorksheet.SelectedRanges.Any() || xlWorksheet.ActiveCell != null)
            {
                sheetView.RemoveAllChildren<Selection>();

                var firstSelection = xlWorksheet.SelectedRanges.FirstOrDefault();
                var selection = new Selection();
                if (xlWorksheet.ActiveCell != null)
                    selection.ActiveCell = xlWorksheet.ActiveCell.Address.ToStringRelative(false);
                else if (firstSelection != null)
                    selection.ActiveCell = firstSelection.RangeAddress.FirstAddress.ToStringRelative(false);


                var seqRef = new List<String> {selection.ActiveCell.Value};
                seqRef.AddRange(xlWorksheet.SelectedRanges
                    .Select(range => range.RangeAddress.ToStringRelative(false)));


                selection.SequenceOfReferences = new ListValue<StringValue> {InnerText = String.Join(" ", seqRef.Distinct().ToArray())};

                sheetView.Append(selection);
            }

            #endregion

            var maxOutlineColumn = 0;
            if (xlWorksheet.ColumnCount() > 0)
                maxOutlineColumn = xlWorksheet.GetMaxColumnOutline();

            var maxOutlineRow = 0;
            if (xlWorksheet.RowCount() > 0)
                maxOutlineRow = xlWorksheet.GetMaxRowOutline();

            #region SheetFormatProperties

            if (worksheetPart.Worksheet.SheetFormatProperties == null)
                worksheetPart.Worksheet.SheetFormatProperties = new SheetFormatProperties();

            cm.SetElement(XLWSContentManager.XLWSContents.SheetFormatProperties,
                worksheetPart.Worksheet.SheetFormatProperties);

            worksheetPart.Worksheet.SheetFormatProperties.DefaultRowHeight = xlWorksheet.RowHeight;

            if (xlWorksheet.RowHeightChanged)
                worksheetPart.Worksheet.SheetFormatProperties.CustomHeight = true;
            else
                worksheetPart.Worksheet.SheetFormatProperties.CustomHeight = null;


            var worksheetColumnWidth = GetColumnWidth(xlWorksheet.ColumnWidth);
            if (xlWorksheet.ColumnWidthChanged)
                worksheetPart.Worksheet.SheetFormatProperties.DefaultColumnWidth = worksheetColumnWidth;
            else
                worksheetPart.Worksheet.SheetFormatProperties.DefaultColumnWidth = null;


            if (maxOutlineColumn > 0)
                worksheetPart.Worksheet.SheetFormatProperties.OutlineLevelColumn = (byte)maxOutlineColumn;
            else
                worksheetPart.Worksheet.SheetFormatProperties.OutlineLevelColumn = null;

            if (maxOutlineRow > 0)
                worksheetPart.Worksheet.SheetFormatProperties.OutlineLevelRow = (byte)maxOutlineRow;
            else
                worksheetPart.Worksheet.SheetFormatProperties.OutlineLevelRow = null;

            #endregion

            #region Columns

            if (xlWorksheet.Internals.CellsCollection.Count == 0 &&
                xlWorksheet.Internals.ColumnsCollection.Count == 0
                && xlWorksheet.Style.Equals(DefaultStyle))
                worksheetPart.Worksheet.RemoveAllChildren<Columns>();
            else
            {
                if (!worksheetPart.Worksheet.Elements<Columns>().Any())
                {
                    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.Columns);
                    worksheetPart.Worksheet.InsertAfter(new Columns(), previousElement);
                }

                var columns = worksheetPart.Worksheet.Elements<Columns>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.Columns, columns);

                var sheetColumnsByMin = columns.Elements<Column>().ToDictionary(c => c.Min.Value, c => c);
                //Dictionary<UInt32, Column> sheetColumnsByMax = columns.Elements<Column>().ToDictionary(c => c.Max.Value, c => c);

                Int32 minInColumnsCollection;
                Int32 maxInColumnsCollection;
                if (xlWorksheet.Internals.ColumnsCollection.Count > 0)
                {
                    minInColumnsCollection = xlWorksheet.Internals.ColumnsCollection.Keys.Min();
                    maxInColumnsCollection = xlWorksheet.Internals.ColumnsCollection.Keys.Max();
                }
                else
                {
                    minInColumnsCollection = 1;
                    maxInColumnsCollection = 0;
                }

                var worksheetStyleId = context.SharedStyles[xlWorksheet.GetStyleId()].StyleId;
                if (minInColumnsCollection > 1)
                {
                    UInt32Value min = 1;
                    UInt32Value max = (UInt32)(minInColumnsCollection - 1);


                    for (var co = min; co <= max; co++)
                    {
                        var column = new Column
                        {
                            Min = co,
                            Max = co,
                            Style = worksheetStyleId,
                            Width = worksheetColumnWidth,
                            CustomWidth = true
                        };

                        UpdateColumn(column, columns, sheetColumnsByMin); //, sheetColumnsByMax);
                    }
                }

                for (var co = minInColumnsCollection; co <= maxInColumnsCollection; co++)
                {
                    UInt32 styleId;
                    Double columnWidth;
                    var isHidden = false;
                    var collapsed = false;
                    var outlineLevel = 0;
                    if (xlWorksheet.Internals.ColumnsCollection.ContainsKey(co))
                    {
                        styleId = context.SharedStyles[xlWorksheet.Internals.ColumnsCollection[co].GetStyleId()].StyleId;
                        columnWidth = GetColumnWidth(xlWorksheet.Internals.ColumnsCollection[co].Width);
                        isHidden = xlWorksheet.Internals.ColumnsCollection[co].IsHidden;
                        collapsed = xlWorksheet.Internals.ColumnsCollection[co].Collapsed;
                        outlineLevel = xlWorksheet.Internals.ColumnsCollection[co].OutlineLevel;
                    }
                    else
                    {
                        styleId = context.SharedStyles[xlWorksheet.GetStyleId()].StyleId;
                        columnWidth = worksheetColumnWidth;
                    }

                    var column = new Column
                    {
                        Min = (UInt32)co,
                        Max = (UInt32)co,
                        Style = styleId,
                        Width = columnWidth,
                        CustomWidth = true
                    };

                    if (isHidden)
                        column.Hidden = true;
                    if (collapsed)
                        column.Collapsed = true;
                    if (outlineLevel > 0)
                        column.OutlineLevel = (byte)outlineLevel;

                    UpdateColumn(column, columns, sheetColumnsByMin); //, sheetColumnsByMax);
                }

                var collection = maxInColumnsCollection;
                foreach (
                    var col in
                        columns.Elements<Column>().Where(c => c.Min > (UInt32)(collection)).OrderBy(
                            c => c.Min.Value))
                {
                    col.Style = worksheetStyleId;
                    col.Width = worksheetColumnWidth;
                    col.CustomWidth = true;

                    if ((Int32)col.Max.Value > maxInColumnsCollection)
                        maxInColumnsCollection = (Int32)col.Max.Value;
                }

                if (maxInColumnsCollection < XLHelper.MaxColumnNumber && !xlWorksheet.Style.Equals(DefaultStyle))
                {
                    var column = new Column
                    {
                        Min = (UInt32)(maxInColumnsCollection + 1),
                        Max = (UInt32)(XLHelper.MaxColumnNumber),
                        Style = worksheetStyleId,
                        Width = worksheetColumnWidth,
                        CustomWidth = true
                    };
                    columns.AppendChild(column);
                }

                CollapseColumns(columns, sheetColumnsByMin);

                if (!columns.Any())
                {
                    worksheetPart.Worksheet.RemoveAllChildren<Columns>();
                    cm.SetElement(XLWSContentManager.XLWSContents.Columns, null);
                }
            }

            #endregion

            #region SheetData

            if (!worksheetPart.Worksheet.Elements<SheetData>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.SheetData);
                worksheetPart.Worksheet.InsertAfter(new SheetData(), previousElement);
            }

            var sheetData = worksheetPart.Worksheet.Elements<SheetData>().First();
            cm.SetElement(XLWSContentManager.XLWSContents.SheetData, sheetData);

            var cellsByRow = new Dictionary<Int32, List<IXLCell>>();
            foreach (var c in xlWorksheet.Internals.CellsCollection.GetCells())
            {
                var rowNum = c.Address.RowNumber;
                if (!cellsByRow.ContainsKey(rowNum))
                    cellsByRow.Add(rowNum, new List<IXLCell>());

                cellsByRow[rowNum].Add(c);
            }

            var lastRow = 0;
            var sheetDataRows =
                sheetData.Elements<Row>().ToDictionary(r => r.RowIndex == null ? ++lastRow : (Int32)r.RowIndex.Value,
                    r => r);
            foreach (
                var r in
                    xlWorksheet.Internals.RowsCollection.Deleted.Where(r => sheetDataRows.ContainsKey(r.Key)))
            {
                sheetData.RemoveChild(sheetDataRows[r.Key]);
                sheetDataRows.Remove(r.Key);
                xlWorksheet.Internals.CellsCollection.Deleted.RemoveWhere(d => d.Row == r.Key);
            }

            var distinctRows = cellsByRow.Keys.Union(xlWorksheet.Internals.RowsCollection.Keys);
            var noRows = (sheetData.Elements<Row>().FirstOrDefault() == null);
            foreach (var distinctRow in distinctRows.OrderBy(r => r))
            {
                Row row; // = sheetData.Elements<Row>().FirstOrDefault(r => r.RowIndex.Value == (UInt32)distinctRow);
                if (sheetDataRows.ContainsKey(distinctRow))
                    row = sheetDataRows[distinctRow];
                else
                {
                    row = new Row {RowIndex = (UInt32)distinctRow};
                    if (noRows)
                    {
                        sheetData.AppendChild(row);
                        noRows = false;
                    }
                    else
                    {
                        if (sheetDataRows.Any(r => r.Key > row.RowIndex.Value))
                        {
                            var minRow = sheetDataRows.Where(r => r.Key > (Int32)row.RowIndex.Value).Min(r => r.Key);
                            var rowBeforeInsert = sheetDataRows[minRow];
                            sheetData.InsertBefore(row, rowBeforeInsert);
                        }
                        else
                            sheetData.AppendChild(row);
                    }
                }

                if (maxColumn > 0)
                    row.Spans = new ListValue<StringValue> {InnerText = "1:" + maxColumn.ToStringLookup()};

                row.Height = null;
                row.CustomHeight = null;
                row.Hidden = null;
                row.StyleIndex = null;
                row.CustomFormat = null;
                row.Collapsed = null;
                if (xlWorksheet.Internals.RowsCollection.ContainsKey(distinctRow))
                {
                    var thisRow = xlWorksheet.Internals.RowsCollection[distinctRow];
                    if (thisRow.HeightChanged)
                    {
                        row.Height = thisRow.Height;
                        row.CustomHeight = true;
                        row.CustomFormat = true;
                    }

                    if (thisRow.GetStyleId() != xlWorksheet.GetStyleId())
                    {
                        row.StyleIndex = context.SharedStyles[thisRow.GetStyleId()].StyleId;
                        row.CustomFormat = true;
                    }

                    if (thisRow.IsHidden)
                        row.Hidden = true;
                    if (thisRow.Collapsed)
                        row.Collapsed = true;
                    if (thisRow.OutlineLevel > 0)
                        row.OutlineLevel = (byte)thisRow.OutlineLevel;
                }

                var lastCell = 0;
                var cellsByReference = row.Elements<Cell>().ToDictionary(c => c.CellReference == null
                    ? XLHelper.GetColumnLetterFromNumber(
                        ++lastCell) + distinctRow
                    : c.CellReference.Value, c => c);

                foreach (var c in xlWorksheet.Internals.CellsCollection.Deleted.ToList())
                {
                    var key = XLHelper.GetColumnLetterFromNumber(c.Column) + c.Row.ToStringLookup();
                    if (!cellsByReference.ContainsKey(key)) continue;
                    row.RemoveChild(cellsByReference[key]);
                    xlWorksheet.Internals.CellsCollection.Deleted.Remove(c);
                }

                if (!cellsByRow.ContainsKey(distinctRow)) continue;

                var isNewRow = !row.Elements<Cell>().Any();
                var mRows = row.Elements<Cell>().ToDictionary(c => XLHelper.GetColumnNumberFromAddress(c.CellReference.Value), c => c);
                foreach (var opCell in cellsByRow[distinctRow]
                    .OrderBy(c => c.Address.ColumnNumber)
                    .Select(c => (XLCell)c))
                {
                    var styleId = context.SharedStyles[opCell.GetStyleId()].StyleId;

                    var dataType = opCell.DataType;
                    var cellReference = (opCell.Address).GetTrimmedAddress();

                    Cell cell;
                    if (cellsByReference.ContainsKey(cellReference))
                        cell = cellsByReference[cellReference];
                    else
                    {
                        cell = new Cell {CellReference = new StringValue(cellReference)};
                        if (isNewRow)
                            row.AppendChild(cell);
                        else
                        {
                            var newColumn = XLHelper.GetColumnNumberFromAddress(cellReference);

                            Cell cellBeforeInsert = null;
                            int[] lastCo = {Int32.MaxValue};
                            foreach (var c in mRows.Where(kp => kp.Key > newColumn).Where(c => lastCo[0] > c.Key))
                            {
                                cellBeforeInsert = c.Value;
                                lastCo[0] = c.Key;
                            }
                            if (cellBeforeInsert == null)
                                row.AppendChild(cell);
                            else
                                row.InsertBefore(cell, cellBeforeInsert);
                        }
                    }

                    cell.StyleIndex = styleId;
                    var formula = opCell.FormulaA1;
                    if (opCell.HasFormula)
                    {
                        if (formula.StartsWith("{"))
                        {
                            formula = formula.Substring(1, formula.Length - 2);
                            var f = new CellFormula {FormulaType = CellFormulaValues.Array};
                            
                            if (opCell.FormulaReference.FirstAddress.Equals(opCell.Address))
                            {
                                f.Text = formula;
                                f.Reference = opCell.FormulaReference.ToStringRelative();
                            }

                            cell.CellFormula = f;
                        }
                        else
                            cell.CellFormula = new CellFormula(formula);

                        cell.CellValue = null;
                    }
                    else
                    {
                        cell.CellFormula = null;

                        cell.DataType = opCell.DataType == XLCellValues.DateTime ? null : GetCellValue(opCell);

                        var cellValue = new CellValue();
                        if (dataType == XLCellValues.Text)
                        {
                            if (opCell.InnerText.Length == 0)
                                cell.CellValue = null;
                            else
                            {
                                if (opCell.ShareString)
                                {
                                    cellValue.Text = opCell.SharedStringId.ToString();
                                    cell.CellValue = cellValue;
                                }
                                else
                                {
                                    var text = opCell.GetString();
                                    var t = new Text(text);
                                    if (text.PreserveSpaces())
                                        t.Space = SpaceProcessingModeValues.Preserve;

                                    cell.InlineString = new InlineString {Text = t};
                                }
                            }
                        }
                        else if (dataType == XLCellValues.TimeSpan)
                        {
                            var timeSpan = opCell.GetTimeSpan();
                            cellValue.Text =
                                XLCell.BaseDate.Add(timeSpan).ToOADate().ToString(CultureInfo.InvariantCulture);
                            cell.CellValue = cellValue;
                        }
                        else if (dataType == XLCellValues.DateTime || dataType == XLCellValues.Number)
                        {
                            if (!XLHelper.IsNullOrWhiteSpace(opCell.InnerText))
                                cellValue.Text = Double.Parse(opCell.InnerText).ToString(CultureInfo.InvariantCulture);
                            cell.CellValue = cellValue;
                        }
                        else
                        {
                            cellValue.Text = opCell.InnerText;
                            cell.CellValue = cellValue;
                        }
                    }
                }
                xlWorksheet.Internals.CellsCollection.Deleted.RemoveWhere(d => d.Row == distinctRow);
            }
            foreach (
                var r in
                    xlWorksheet.Internals.CellsCollection.Deleted.Select(c => c.Row).Distinct().Where(
                        sheetDataRows.ContainsKey))
            {
                sheetData.RemoveChild(sheetDataRows[r]);
                sheetDataRows.Remove(r);
            }

            #endregion

            #region SheetProtection

            if (xlWorksheet.Protection.Protected)
            {
                if (!worksheetPart.Worksheet.Elements<SheetProtection>().Any())
                {
                    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.SheetProtection);
                    worksheetPart.Worksheet.InsertAfter(new SheetProtection(), previousElement);
                }

                var sheetProtection = worksheetPart.Worksheet.Elements<SheetProtection>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.SheetProtection, sheetProtection);

                var protection = xlWorksheet.Protection;
                sheetProtection.Sheet = protection.Protected;
                if (!XLHelper.IsNullOrWhiteSpace(protection.PasswordHash))
                    sheetProtection.Password = protection.PasswordHash;
                sheetProtection.FormatCells = GetBooleanValue(!protection.FormatCells, true);
                sheetProtection.FormatColumns = GetBooleanValue(!protection.FormatColumns, true);
                sheetProtection.FormatRows = GetBooleanValue(!protection.FormatRows, true);
                sheetProtection.InsertColumns = GetBooleanValue(!protection.InsertColumns, true);
                sheetProtection.InsertHyperlinks = GetBooleanValue(!protection.InsertHyperlinks, true);
                sheetProtection.InsertRows = GetBooleanValue(!protection.InsertRows, true);
                sheetProtection.DeleteColumns = GetBooleanValue(!protection.DeleteColumns, true);
                sheetProtection.DeleteRows = GetBooleanValue(!protection.DeleteRows, true);
                sheetProtection.AutoFilter = GetBooleanValue(!protection.AutoFilter, true);
                sheetProtection.PivotTables = GetBooleanValue(!protection.PivotTables, true);
                sheetProtection.Sort = GetBooleanValue(!protection.Sort, true);
                sheetProtection.SelectLockedCells = GetBooleanValue(!protection.SelectLockedCells, false);
                sheetProtection.SelectUnlockedCells = GetBooleanValue(!protection.SelectUnlockedCells, false);
            }
            else
            {
                worksheetPart.Worksheet.RemoveAllChildren<SheetProtection>();
                cm.SetElement(XLWSContentManager.XLWSContents.SheetProtection, null);
            }

            #endregion

            #region AutoFilter

            worksheetPart.Worksheet.RemoveAllChildren<AutoFilter>();
            if (xlWorksheet.AutoFilter.Enabled)
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.AutoFilter);
                worksheetPart.Worksheet.InsertAfter(new AutoFilter(), previousElement);


                var autoFilter = worksheetPart.Worksheet.Elements<AutoFilter>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.AutoFilter, autoFilter);

                PopulateAutoFilter(xlWorksheet.AutoFilter, autoFilter);
            }
            else
            {
                cm.SetElement(XLWSContentManager.XLWSContents.AutoFilter, null);
            }

            #endregion

            #region MergeCells

            if ((xlWorksheet).Internals.MergedRanges.Any())
            {
                if (!worksheetPart.Worksheet.Elements<MergeCells>().Any())
                {
                    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.MergeCells);
                    worksheetPart.Worksheet.InsertAfter(new MergeCells(), previousElement);
                }

                var mergeCells = worksheetPart.Worksheet.Elements<MergeCells>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.MergeCells, mergeCells);
                mergeCells.RemoveAllChildren<MergeCell>();

                foreach (var mergeCell in (xlWorksheet).Internals.MergedRanges.Select(
                    m => m.RangeAddress.FirstAddress.ToString() + ":" + m.RangeAddress.LastAddress.ToString()).Select(
                        merged => new MergeCell {Reference = merged}))
                    mergeCells.AppendChild(mergeCell);

                mergeCells.Count = (UInt32)mergeCells.Count();
            }
            else
            {
                worksheetPart.Worksheet.RemoveAllChildren<MergeCells>();
                cm.SetElement(XLWSContentManager.XLWSContents.MergeCells, null);
            }

            #endregion

            #region Conditional Formatting

            if (!xlWorksheet.ConditionalFormats.Any())
            {
                worksheetPart.Worksheet.RemoveAllChildren<ConditionalFormatting>();
                cm.SetElement(XLWSContentManager.XLWSContents.ConditionalFormatting, null);
            }
            else
            {
                worksheetPart.Worksheet.RemoveAllChildren<ConditionalFormatting>();
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.ConditionalFormatting);


                //if (!worksheetPart.Worksheet.Elements<ConditionalFormatting>().Any())
                //{
                //    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.ConditionalFormatting);
                //    worksheetPart.Worksheet.InsertAfter(new ConditionalFormatting(), previousElement);
                //}

                //var conditionalFormats = worksheetPart.Worksheet.Elements<ConditionalFormatting>().First();
                //cm.SetElement(XLWSContentManager.XLWSContents.ConditionalFormatting, conditionalFormats);
                ////conditionalFormats.RemoveAllChildren<ConditionalFormat>();
                var priority = 0;
                foreach (var cf in xlWorksheet.ConditionalFormats)
                {
                    priority++;
                    var conditionalFormatting = new ConditionalFormatting
                    {
                        SequenceOfReferences =
                            new ListValue<StringValue> {InnerText = cf.Range.RangeAddress.ToStringRelative(false)}
                    };
                    conditionalFormatting.Append(XLCFConverters.Convert(cf, priority, context));

                    worksheetPart.Worksheet.InsertAfter(conditionalFormatting, previousElement);
                    previousElement = conditionalFormatting;
                    cm.SetElement(XLWSContentManager.XLWSContents.ConditionalFormatting, conditionalFormatting);
                }
            }

            #endregion

            #region DataValidations

            if (!xlWorksheet.DataValidations.Any(d => d.IsDirty()))
            {
                worksheetPart.Worksheet.RemoveAllChildren<DataValidations>();
                cm.SetElement(XLWSContentManager.XLWSContents.DataValidations, null);
            }
            else
            {
                if (!worksheetPart.Worksheet.Elements<DataValidations>().Any())
                {
                    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.DataValidations);
                    worksheetPart.Worksheet.InsertAfter(new DataValidations(), previousElement);
                }

                var dataValidations = worksheetPart.Worksheet.Elements<DataValidations>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.DataValidations, dataValidations);
                dataValidations.RemoveAllChildren<DataValidation>();
                foreach (var dv in xlWorksheet.DataValidations)
                {
                    var sequence = dv.Ranges.Aggregate(String.Empty, (current, r) => current + (r.RangeAddress + " "));

                    if (sequence.Length > 0)
                        sequence = sequence.Substring(0, sequence.Length - 1);

                    var dataValidation = new DataValidation
                    {
                        AllowBlank = dv.IgnoreBlanks,
                        Formula1 = new Formula1(dv.MinValue),
                        Formula2 = new Formula2(dv.MaxValue),
                        Type = dv.AllowedValues.ToOpenXml(),
                        ShowErrorMessage = dv.ShowErrorMessage,
                        Prompt = dv.InputMessage,
                        PromptTitle = dv.InputTitle,
                        ErrorTitle = dv.ErrorTitle,
                        Error = dv.ErrorMessage,
                        ShowDropDown = !dv.InCellDropdown,
                        ShowInputMessage = dv.ShowInputMessage,
                        ErrorStyle = dv.ErrorStyle.ToOpenXml(),
                        Operator = dv.Operator.ToOpenXml(),
                        SequenceOfReferences =
                            new ListValue<StringValue> {InnerText = sequence}
                    };

                    dataValidations.AppendChild(dataValidation);
                }
                dataValidations.Count = (UInt32)xlWorksheet.DataValidations.Count();
            }

            #endregion

            #region Hyperlinks

            var relToRemove = worksheetPart.HyperlinkRelationships.ToList();
            relToRemove.ForEach(worksheetPart.DeleteReferenceRelationship);
            if (!xlWorksheet.Hyperlinks.Any())
            {
                worksheetPart.Worksheet.RemoveAllChildren<Hyperlinks>();
                cm.SetElement(XLWSContentManager.XLWSContents.Hyperlinks, null);
            }
            else
            {
                if (!worksheetPart.Worksheet.Elements<Hyperlinks>().Any())
                {
                    var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.Hyperlinks);
                    worksheetPart.Worksheet.InsertAfter(new Hyperlinks(), previousElement);
                }

                var hyperlinks = worksheetPart.Worksheet.Elements<Hyperlinks>().First();
                cm.SetElement(XLWSContentManager.XLWSContents.Hyperlinks, hyperlinks);
                hyperlinks.RemoveAllChildren<Hyperlink>();
                foreach (var hl in xlWorksheet.Hyperlinks)
                {
                    Hyperlink hyperlink;
                    if (hl.IsExternal)
                    {
                        var rId = context.RelIdGenerator.GetNext(RelType.Workbook);
                        hyperlink = new Hyperlink {Reference = hl.Cell.Address.ToString(), Id = rId};
                        worksheetPart.AddHyperlinkRelationship(hl.ExternalAddress, true, rId);
                    }
                    else
                    {
                        hyperlink = new Hyperlink
                        {
                            Reference = hl.Cell.Address.ToString(),
                            Location = hl.InternalAddress,
                            Display = hl.Cell.GetFormattedString()
                        };
                    }
                    if (!XLHelper.IsNullOrWhiteSpace(hl.Tooltip))
                        hyperlink.Tooltip = hl.Tooltip;
                    hyperlinks.AppendChild(hyperlink);
                }
            }

            #endregion

            #region PrintOptions

            if (!worksheetPart.Worksheet.Elements<PrintOptions>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.PrintOptions);
                worksheetPart.Worksheet.InsertAfter(new PrintOptions(), previousElement);
            }

            var printOptions = worksheetPart.Worksheet.Elements<PrintOptions>().First();
            cm.SetElement(XLWSContentManager.XLWSContents.PrintOptions, printOptions);

            printOptions.HorizontalCentered = xlWorksheet.PageSetup.CenterHorizontally;
            printOptions.VerticalCentered = xlWorksheet.PageSetup.CenterVertically;
            printOptions.Headings = xlWorksheet.PageSetup.ShowRowAndColumnHeadings;
            printOptions.GridLines = xlWorksheet.PageSetup.ShowGridlines;

            #endregion

            #region PageMargins

            if (!worksheetPart.Worksheet.Elements<PageMargins>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.PageMargins);
                worksheetPart.Worksheet.InsertAfter(new PageMargins(), previousElement);
            }

            var pageMargins = worksheetPart.Worksheet.Elements<PageMargins>().First();
            cm.SetElement(XLWSContentManager.XLWSContents.PageMargins, pageMargins);
            pageMargins.Left = xlWorksheet.PageSetup.Margins.Left;
            pageMargins.Right = xlWorksheet.PageSetup.Margins.Right;
            pageMargins.Top = xlWorksheet.PageSetup.Margins.Top;
            pageMargins.Bottom = xlWorksheet.PageSetup.Margins.Bottom;
            pageMargins.Header = xlWorksheet.PageSetup.Margins.Header;
            pageMargins.Footer = xlWorksheet.PageSetup.Margins.Footer;

            #endregion

            #region PageSetup

            if (!worksheetPart.Worksheet.Elements<PageSetup>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.PageSetup);
                worksheetPart.Worksheet.InsertAfter(new PageSetup(), previousElement);
            }

            var pageSetup = worksheetPart.Worksheet.Elements<PageSetup>().First();
            cm.SetElement(XLWSContentManager.XLWSContents.PageSetup, pageSetup);

            pageSetup.Orientation = xlWorksheet.PageSetup.PageOrientation.ToOpenXml();
            pageSetup.PaperSize = (UInt32)xlWorksheet.PageSetup.PaperSize;
            pageSetup.BlackAndWhite = xlWorksheet.PageSetup.BlackAndWhite;
            pageSetup.Draft = xlWorksheet.PageSetup.DraftQuality;
            pageSetup.PageOrder = xlWorksheet.PageSetup.PageOrder.ToOpenXml();
            pageSetup.CellComments = xlWorksheet.PageSetup.ShowComments.ToOpenXml();
            pageSetup.Errors = xlWorksheet.PageSetup.PrintErrorValue.ToOpenXml();

            if (xlWorksheet.PageSetup.FirstPageNumber > 0)
            {
                pageSetup.FirstPageNumber = (UInt32)xlWorksheet.PageSetup.FirstPageNumber;
                pageSetup.UseFirstPageNumber = true;
            }
            else
            {
                pageSetup.FirstPageNumber = null;
                pageSetup.UseFirstPageNumber = null;
            }

            if (xlWorksheet.PageSetup.HorizontalDpi > 0)
                pageSetup.HorizontalDpi = (UInt32)xlWorksheet.PageSetup.HorizontalDpi;
            else
                pageSetup.HorizontalDpi = null;

            if (xlWorksheet.PageSetup.VerticalDpi > 0)
                pageSetup.VerticalDpi = (UInt32)xlWorksheet.PageSetup.VerticalDpi;
            else
                pageSetup.VerticalDpi = null;

            if (xlWorksheet.PageSetup.Scale > 0)
            {
                pageSetup.Scale = (UInt32)xlWorksheet.PageSetup.Scale;
                pageSetup.FitToWidth = null;
                pageSetup.FitToHeight = null;
            }
            else
            {
                pageSetup.Scale = null;

                if (xlWorksheet.PageSetup.PagesWide > 0)
                    pageSetup.FitToWidth = (UInt32)xlWorksheet.PageSetup.PagesWide;
                else
                    pageSetup.FitToWidth = 0;

                if (xlWorksheet.PageSetup.PagesTall > 0)
                    pageSetup.FitToHeight = (UInt32)xlWorksheet.PageSetup.PagesTall;
                else
                    pageSetup.FitToHeight = 0;
            }

            #endregion

            #region HeaderFooter

            var headerFooter = worksheetPart.Worksheet.Elements<HeaderFooter>().FirstOrDefault();
            if (headerFooter == null)
                headerFooter = new HeaderFooter();
            else
                worksheetPart.Worksheet.RemoveAllChildren<HeaderFooter>();

            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.HeaderFooter);
                worksheetPart.Worksheet.InsertAfter(headerFooter, previousElement);
                cm.SetElement(XLWSContentManager.XLWSContents.HeaderFooter, headerFooter);
            }
            if (((XLHeaderFooter)xlWorksheet.PageSetup.Header).Changed
                || ((XLHeaderFooter)xlWorksheet.PageSetup.Footer).Changed)
            {
                //var headerFooter = worksheetPart.Worksheet.Elements<HeaderFooter>().First();

                headerFooter.RemoveAllChildren();

                headerFooter.ScaleWithDoc = xlWorksheet.PageSetup.ScaleHFWithDocument;
                headerFooter.AlignWithMargins = xlWorksheet.PageSetup.AlignHFWithMargins;
                headerFooter.DifferentFirst = xlWorksheet.PageSetup.DifferentFirstPageOnHF;
                headerFooter.DifferentOddEven = xlWorksheet.PageSetup.DifferentOddEvenPagesOnHF;

                var oddHeader = new OddHeader(xlWorksheet.PageSetup.Header.GetText(XLHFOccurrence.OddPages));
                headerFooter.AppendChild(oddHeader);
                var oddFooter = new OddFooter(xlWorksheet.PageSetup.Footer.GetText(XLHFOccurrence.OddPages));
                headerFooter.AppendChild(oddFooter);

                var evenHeader = new EvenHeader(xlWorksheet.PageSetup.Header.GetText(XLHFOccurrence.EvenPages));
                headerFooter.AppendChild(evenHeader);
                var evenFooter = new EvenFooter(xlWorksheet.PageSetup.Footer.GetText(XLHFOccurrence.EvenPages));
                headerFooter.AppendChild(evenFooter);

                var firstHeader = new FirstHeader(xlWorksheet.PageSetup.Header.GetText(XLHFOccurrence.FirstPage));
                headerFooter.AppendChild(firstHeader);
                var firstFooter = new FirstFooter(xlWorksheet.PageSetup.Footer.GetText(XLHFOccurrence.FirstPage));
                headerFooter.AppendChild(firstFooter);
            }

            #endregion

            #region RowBreaks

            if (!worksheetPart.Worksheet.Elements<RowBreaks>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.RowBreaks);
                worksheetPart.Worksheet.InsertAfter(new RowBreaks(), previousElement);
            }

            var rowBreaks = worksheetPart.Worksheet.Elements<RowBreaks>().First();

            var rowBreakCount = xlWorksheet.PageSetup.RowBreaks.Count;
            if (rowBreakCount > 0)
            {
                rowBreaks.Count = (UInt32)rowBreakCount;
                rowBreaks.ManualBreakCount = (UInt32)rowBreakCount;
                var lastRowNum = (UInt32)xlWorksheet.RangeAddress.LastAddress.RowNumber;
                foreach (var break1 in xlWorksheet.PageSetup.RowBreaks.Select(rb => new Break
                {
                    Id = (UInt32)rb,
                    Max = lastRowNum,
                    ManualPageBreak = true
                }))
                    rowBreaks.AppendChild(break1);
                cm.SetElement(XLWSContentManager.XLWSContents.RowBreaks, rowBreaks);
            }
            else
            {
                worksheetPart.Worksheet.RemoveAllChildren<RowBreaks>();
                cm.SetElement(XLWSContentManager.XLWSContents.RowBreaks, null);
            }

            #endregion

            #region ColumnBreaks

            if (!worksheetPart.Worksheet.Elements<ColumnBreaks>().Any())
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.ColumnBreaks);
                worksheetPart.Worksheet.InsertAfter(new ColumnBreaks(), previousElement);
            }

            var columnBreaks = worksheetPart.Worksheet.Elements<ColumnBreaks>().First();

            var columnBreakCount = xlWorksheet.PageSetup.ColumnBreaks.Count;
            if (columnBreakCount > 0)
            {
                columnBreaks.Count = (UInt32)columnBreakCount;
                columnBreaks.ManualBreakCount = (UInt32)columnBreakCount;
                var maxColumnNumber = (UInt32)xlWorksheet.RangeAddress.LastAddress.ColumnNumber;
                foreach (var break1 in xlWorksheet.PageSetup.ColumnBreaks.Select(cb => new Break
                {
                    Id = (UInt32)cb,
                    Max = maxColumnNumber,
                    ManualPageBreak = true
                }))
                    columnBreaks.AppendChild(break1);
                cm.SetElement(XLWSContentManager.XLWSContents.ColumnBreaks, columnBreaks);
            }
            else
            {
                worksheetPart.Worksheet.RemoveAllChildren<ColumnBreaks>();
                cm.SetElement(XLWSContentManager.XLWSContents.ColumnBreaks, null);
            }

            #endregion

            #region Drawings

            //worksheetPart.Worksheet.RemoveAllChildren<Drawing>();
            //{
            //    OpenXmlElement previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.Drawing);
            //    worksheetPart.Worksheet.InsertAfter(new Drawing() { Id = String.Format("rId{0}", 1) }, previousElement);
            //}

            //Drawing drawing = worksheetPart.Worksheet.Elements<Drawing>().First();
            //cm.SetElement(XLWSContentManager.XLWSContents.Drawing, drawing);

            #endregion

            #region Tables

            worksheetPart.Worksheet.RemoveAllChildren<TableParts>();
            {
                var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.TableParts);
                worksheetPart.Worksheet.InsertAfter(new TableParts(), previousElement);
            }

            var tableParts = worksheetPart.Worksheet.Elements<TableParts>().First();
            cm.SetElement(XLWSContentManager.XLWSContents.TableParts, tableParts);

            tableParts.Count = (UInt32)xlWorksheet.Tables.Count();
            foreach (
                var tablePart in
                    from XLTable xlTable in xlWorksheet.Tables select new TablePart {Id = xlTable.RelId})
                tableParts.AppendChild(tablePart);

            #endregion

            #region LegacyDrawing

            if (xlWorksheet.LegacyDrawingIsNew)
            {
                worksheetPart.Worksheet.RemoveAllChildren<LegacyDrawing>();
                {
                    if (!XLHelper.IsNullOrWhiteSpace(xlWorksheet.LegacyDrawingId))
                    {
                        var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.LegacyDrawing);
                        worksheetPart.Worksheet.InsertAfter(new LegacyDrawing {Id = xlWorksheet.LegacyDrawingId},
                            previousElement);
                    }
                }
            }

            #endregion

            #region LegacyDrawingHeaderFooter

            //LegacyDrawingHeaderFooter legacyHeaderFooter = worksheetPart.Worksheet.Elements<LegacyDrawingHeaderFooter>().FirstOrDefault();
            //if (legacyHeaderFooter != null)
            //{
            //    worksheetPart.Worksheet.RemoveAllChildren<LegacyDrawingHeaderFooter>();
            //    {
            //            var previousElement = cm.GetPreviousElementFor(XLWSContentManager.XLWSContents.LegacyDrawingHeaderFooter);
            //            worksheetPart.Worksheet.InsertAfter(new LegacyDrawingHeaderFooter { Id = xlWorksheet.LegacyDrawingId },
            //                                                previousElement);
            //    }
            //}

            #endregion
        }
Ejemplo n.º 58
0
        /// <summary>
        /// Insert tung cell vao worksheet
        /// </summary>
        /// <param name="columnName"></param>
        /// <param name="rowIndex"></param>
        /// <param name="cellDataType">1:SharedString, 2:Number, 3: Date</param>
        /// <param name="index">neu cellDataType != 1 thi lay gia tri tu index</param>
        /// <param name="cellValue">neu cellDataType != 1 thi lay gia tri tu cellValue</param>
        /// <returns></returns>
        public Cell InsertCellInWorksheet(
            string columnName,
            uint rowIndex,
            int cellDataType,
            int index,
            string cellValue)
        {
            Worksheet worksheet     = _worksheetPart.Worksheet;
            string    cellReference = columnName + rowIndex;

            // If the worksheet does not contain a row with the specified row index, insert one.
            Row row;

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

            // If there is not a cell with the specified column name, insert one.
            if (row.Elements <Cell>().Where(c => c.CellReference.Value == columnName + rowIndex).Count() > 0)
            {
                return(row.Elements <Cell>().Where(c => c.CellReference.Value == cellReference).First());
            }
            else
            {
                Cell newCell = new Cell()
                {
                    CellReference = cellReference
                };
                if (cellDataType == 1)
                {
                    newCell.DataType = CellValues.SharedString;
                    //newCell.CellValue = new CellValue(index.ToString());
                    CellValue cellVal = new CellValue();
                    cellVal.Text = index.ToString();
                    newCell.Append(cellVal);
                }
                else if (cellDataType == 2)
                {
                    newCell.DataType  = CellValues.Number;
                    newCell.CellValue = new CellValue(cellValue);
                }
                else if (cellDataType == 3)
                {
                    newCell.DataType  = CellValues.Date;
                    newCell.CellValue = new CellValue(cellValue);
                }
                //row.InsertBefore(newCell, refCell);
                row.Append(newCell);
                //worksheet.Save();
                return(newCell);
            }
        }
Ejemplo n.º 59
0
 /// <summary>
 /// 将值重置为空
 /// </summary>
 public void Clear()
 {
     isNewValue         = false;
     isAllowChangeState = true;
     CellValue.Clear();
 }
        public ParameterValue Evaluate(IList <ParameterValue> parameters, EvaluationContext context)
        {
            if (parameters.Count < 2)
            {
                return(ParameterValue.ErrorInvalidValueInFunction);
            }

            foreach (var parameter in parameters)
            {
                if (parameter.IsError)
                {
                    return(ParameterValue.ErrorInvalidValueInFunction);
                }
            }

            try
            {
                var input   = parameters[0].ToString();
                var pattern = parameters[1].ToString();

                if (input == null || pattern == null)
                {
                    return new CellValue[, ] {
                    }
                }
                ;

#pragma warning disable IDE0075 // Simplify conditional expression
                bool horizontal = parameters.Count > 2 ? parameters[2].BooleanValue : false;
#pragma warning restore IDE0075 // Simplify conditional expression

                var split = RE.Regex.Split(input, pattern);

                if (split == null || split.Length <= 0)
                {
                    return new CellValue[, ] {
                    }
                }
                ;

                if (!horizontal)
                {
                    var result = new CellValue[split.Length, 1];

                    for (int i = 0; i < split.Length; i++)
                    {
                        result[i, 0] = split[i] ?? string.Empty;
                    }

                    return(result);
                }
                else
                {
                    var result = new CellValue[1, split.Length];
                    for (int i = 0; i < split.Length; i++)
                    {
                        result[0, i] = split[i] ?? string.Empty;
                    }

                    return(result);
                }
            }
            catch (Exception)
            {
                return(ParameterValue.ErrorInvalidValueInFunction);
            }
        }