Example #1
1
        public MemoryStream CreatePDF(DataTable database, string customerName, DateTime date, string code)
        {
            Font Helvetica12B = FontFactory.GetFont(BaseFont.HELVETICA, 12, Font.BOLD);
            Font Helvetica10 = FontFactory.GetFont(BaseFont.HELVETICA, 10, Font.NORMAL);
            Font Courier12 = FontFactory.GetFont(BaseFont.COURIER, 12, Font.NORMAL);

            MemoryStream PDFData = new MemoryStream();
            Document document = new Document(PageSize.LETTER, 50, 50, 80, 60);
            PdfWriter PDFWriter = PdfWriter.GetInstance(document, PDFData);
            PDFWriter.ViewerPreferences = PdfWriter.PageModeUseOutlines;

            // Our custom Header and Footer is done using Event Handler
            HeaderFooter PageEventHandler = new HeaderFooter();
            PDFWriter.PageEvent = PageEventHandler;

            // Define the page header
            PageEventHandler.HeaderFont = FontFactory.GetFont(BaseFont.TIMES_ROMAN, 8, Font.ITALIC);
            PageEventHandler.HeaderLeft = "Ticketing system";
            PageEventHandler.HeaderRight = date.ToString("MMMM dd, yyyy HH:mm:ss");

            document.Open();

            document.Add(new Paragraph("Ticketing system", Helvetica12B));
            document.Add(new Paragraph("Orderer name: " + customerName, Helvetica10));
            document.Add(new Paragraph("Orders code: " + code, Helvetica10));
            document.Add(new Paragraph("Date: " + date.ToString("MMMM dd, yyyy HH:mm:ss"), Helvetica10));
            document.Add(new Paragraph(" ", Helvetica10));

            PdfPTable Orders = new PdfPTable(5);
            Orders.TotalWidth = document.PageSize.Width - 100;
            Orders.LockedWidth = true;
            float[] widthsTAS = { 15f, 30f, 35f, 10f, 10f };
            Orders.SetWidthPercentage(widthsTAS, document.PageSize);

            Orders.AddCell(new Paragraph("Organizer", Helvetica10));
            Orders.AddCell(new Paragraph("Date", Helvetica10));
            Orders.AddCell(new Paragraph("Title", Helvetica10));
            Orders.AddCell(new Paragraph("Row", Helvetica10));
            Orders.AddCell(new Paragraph("Number", Helvetica10));

            for (int i = 0; i < database.Rows.Count; i++)
            {
                Orders.AddCell(new Paragraph(database.Rows[i][0].ToString(), Helvetica10));
                Orders.AddCell(new Paragraph(Convert.ToDateTime(database.Rows[i][1].ToString()).ToString("MMMM dd, yyyy HH:mm"), Helvetica10));
                Orders.AddCell(new Paragraph(database.Rows[i][2].ToString(), Helvetica10));
                Orders.AddCell(new Paragraph(database.Rows[i][3].ToString(), Helvetica10));
                Orders.AddCell(new Paragraph(database.Rows[i][4].ToString(), Helvetica10));
            }

            document.Add(Orders);

            document.Close();

            return PDFData;
        }
Example #2
0
        /**
         * Constructs a RtfHeaderFooter for a HeaderFooter.
         *
         * @param doc The RtfDocument this RtfHeaderFooter belongs to
         * @param headerFooter The HeaderFooter to base this RtfHeaderFooter on
         */
        protected internal RtfHeaderFooter(RtfDocument doc, HeaderFooter headerFooter) : base(new Phrase(""), false)
        {
            this.document = doc;
            Paragraph par = new Paragraph();

            par.Alignment = headerFooter.Alignment;
            if (headerFooter.Before != null)
            {
                par.Add(headerFooter.Before);
            }
            if (headerFooter.IsNumbered())
            {
                par.Add(new FD.RtfPageNumber(this.document));
            }
            if (headerFooter.After != null)
            {
                par.Add(headerFooter.After);
            }
            try {
                this.content    = new Object[1];
                this.content[0] = doc.GetMapper().MapElement(par)[0];
                ((IRtfBasicElement)this.content[0]).SetInHeader(true);
            } catch (DocumentException) {
            }
        }
        /// <summary>
        /// Sets the header and footer for a section
        /// </summary>
        /// <param name="section">Pdf section for which to set header and footer</param>
        /// <returns>Pdf section object</returns>
        protected Section SetHeaderFooter(Request request, Section section)
        {
            Text text;

            //adding header
            HeaderFooter header = new HeaderFooter();

            header.Margin.Top         = 36;
            header.TextInfo.Alignment = AlignmentType.Center;
            header.TextInfo.Color     = new Color("Red");
            header.TextInfo.FontSize  = 10;
            section.OddHeader         = header;
            section.EvenHeader        = header;
            header.Paragraphs.Add(new Text(header, "MONUSCO CONFIDENTIAL"));
            header.Paragraphs.Add(new Text(header, "SHARING WITH THIRD PARTIES SHOULD BE AUTHORISED BY MONUSCO"));

            //adding footer
            HeaderFooter footer = new HeaderFooter();

            footer.Margin.Top    = 0;
            footer.Margin.Bottom = 0;
            section.OddFooter    = footer;
            section.EvenFooter   = footer;
            text = new Text(footer, "Request for Screening #" + request.ReferenceNumber + " exported on " + DateTime.Now.ToString("dd MMMM yyyy h:mm:ss tt"));

            text.TextInfo.Alignment = AlignmentType.Center;
            text.TextInfo.FontSize  = 10;
            footer.Paragraphs.Add(text);
            text = new Text(footer, "$p of $P");
            text.TextInfo.Alignment = AlignmentType.Right;
            text.TextInfo.FontSize  = 8;
            footer.Paragraphs.Add(text);
            return(section);
        }
Example #4
0
        public void FooterSection()
        {
            HeaderFooter footer = Pdf.LastSection.Footers.Primary;

            Table table = footer.AddTable();

            table.AddColumn(footer.Section.PageWidth() / 2);
            table.AddColumn(footer.Section.PageWidth() / 2);
            Row row = table.AddRow();

            if (!string.IsNullOrEmpty(Invoice.Footer))
            {
                Paragraph paragraph = row.Cells[0].AddParagraph(Invoice.Footer, ParagraphAlignment.Left, "H2-8-Blue");
                Hyperlink link      = paragraph.AddHyperlink(Invoice.Footer, HyperlinkType.Web);
            }

            Paragraph info = row.Cells[1].AddParagraph();

            info.Format.Alignment = ParagraphAlignment.Right;
            info.Style            = "H2-8";
            info.AddText("Page ");
            info.AddPageField();
            info.AddText(" of ");
            info.AddNumPagesField();
        }
        public void GenerateTreeStructure()
        {
            myDocument = new iTextSharp.text.Document(PageSize.A4, 50, 50, 50, 60);

            string filePath = Path.GetTempFileName() + ".pdf";

            try
            {
                PdfWriter writer = PdfWriter.GetInstance(myDocument, new FileStream(filePath, FileMode.Create));
                HeaderFooter pdfPage = new HeaderFooter();
                writer.PageEvent = pdfPage;
                //writer.ViewerPreferences = PdfWriter.PageModeUseOutlines;
                ////Paragraph para;

                myDocument.Open();

                this.PrintTree(ClasificacionSingleton.Clasificacion, 0);
            }
            catch (Exception ex)
            {
                string methodName = System.Reflection.MethodBase.GetCurrentMethod().Name;
                ErrorUtilities.SetNewErrorMessage(ex, methodName + " Exception,PdfTreeStructure", "MateriasSGA");
            }
            finally
            {
                myDocument.Close();
                System.Diagnostics.Process.Start(filePath);
            }
        }
        public void ReplaceText()
        {
            //ExStart
            //ExFor:Document.FirstSection
            //ExFor:Section.HeadersFooters
            //ExFor:HeaderFooterCollection.Item(HeaderFooterType)
            //ExFor:HeaderFooter
            //ExFor:Range.Replace(String, String, FindReplaceOptions)
            //ExSummary:Shows how to replace text in a document's footer.
            Document doc = new Document(MyDir + "Footer.docx");

            HeaderFooterCollection headersFooters = doc.FirstSection.HeadersFooters;
            HeaderFooter           footer         = headersFooters[HeaderFooterType.FooterPrimary];

            FindReplaceOptions options = new FindReplaceOptions
            {
                MatchCase          = false,
                FindWholeWordsOnly = false
            };

            int currentYear = DateTime.Now.Year;

            footer.Range.Replace("(C) 2006 Aspose Pty Ltd.", $"Copyright (C) {currentYear} by Aspose Pty Ltd.", options);

            doc.Save(ArtifactsDir + "HeaderFooter.ReplaceText.docx");
            //ExEnd

            doc = new Document(ArtifactsDir + "HeaderFooter.ReplaceText.docx");

            Assert.IsTrue(doc.Range.Text.Contains($"Copyright (C) {currentYear} by Aspose Pty Ltd."));
        }
Example #7
0
        public static void AddPrimaryFooter(ref Section sec, bool includedVirginBanner)
        {
            sec.PageSetup.DifferentFirstPageHeaderFooter = true;
            sec.PageSetup.StartingNumber = 1;

            HeaderFooter MainFooter  = sec.Footers.Primary;
            Table        FooterTable = MainFooter.AddTable();

            FooterTable.TopPadding = "1mm";
            Column c = FooterTable.AddColumn("90mm");

            c = FooterTable.AddColumn("90mm");
            c = FooterTable.AddColumn("10mm");

            Row       r   = null;
            Image     img = null;
            Hyperlink h   = null;
            Paragraph p   = null;

            r            = FooterTable.AddRow();
            r.TopPadding = "0.2mm";



            img                 = r.Cells[0].AddImage("C:\\images\\footer.jfif");
            img.Width           = "190mm";
            img.LockAspectRatio = true;

            HeaderFooter MainFooterPmy = sec.Footers.Primary;

            MainFooterPmy.AddImage("C:\\images\\footer.jfif");
        }
        /// <summary>
        /// Defines page setup, headers, and footers.
        /// </summary>
        static void DefineContentSection(Document document)
        {
            Section section = document.AddSection();

            section.PageSetup.OddAndEvenPagesHeaderFooter = true;
            section.PageSetup.StartingNumber = 1;

            HeaderFooter header = section.Headers.Primary;

            header.AddParagraph("\tOdd Page Header");

            header = section.Headers.EvenPage;
            header.AddParagraph("Even Page Header");

            // Create a paragraph with centered page number. See definition of style "Footer".
            Paragraph paragraph = new Paragraph();

            paragraph.AddTab();
            paragraph.AddPageField();

            // Add paragraph to footer for odd pages.
            section.Footers.Primary.Add(paragraph);
            // Add clone of paragraph to footer for odd pages. Cloning is necessary because an object must
            // not belong to more than one other object. If you forget cloning an exception is thrown.
            section.Footers.EvenPage.Add(paragraph.Clone());
        }
Example #9
0
        private static void CreateHeaderFooter(string Classification, WorksheetPart[] wsp, SheetData[] sd, int i)
        {
            HeaderFooter hf = sd[i].Descendants <HeaderFooter>().FirstOrDefault();

            if (hf != null)
            {
                foreach (var element in new List <OpenXmlLeafTextElement> {
                    hf.EvenFooter, hf.EvenHeader, hf.OddFooter, hf.FirstFooter, hf.FirstHeader
                })
                {
                    if (element != null)
                    {
                        element.Text = Classification;
                    }
                }
            }
            else
            {
                hf = new HeaderFooter();
                hf.DifferentOddEven = false;
                hf.OddHeader        = new OddHeader();
                hf.OddHeader.Text   = Classification;
                hf.OddFooter        = new OddFooter();
                hf.OddFooter.Text   = Classification;
                wsp[i].Worksheet.AppendChild <HeaderFooter>(hf);
            }
        }
Example #10
0
    public static bool ExportPDF(string path)
    {
        try
        {
        //            string path = "D:\\RebateForm" + confirmDetailsRow.ConfirmationID + ".pdf"; //Server.MapPath(ConfigurationManager.AppSettings["ExportPDF"] + misc.RandomString(6, true) + ".pdf");
            Document document = new Document(PageSize.A4, 3, 3, 10, 10);
            PdfWriter.GetInstance(document, new FileStream(path, FileMode.Create));

            Phrase ph = new Phrase("All Information Deemed Accurate but not Warranted\n EQUAL HOUSING OPPERTUNITY", FontFactory.GetFont(FontFactory.HELVETICA, 10, new Color(51, 51, 51)));
            HeaderFooter footer = new HeaderFooter(ph, false);
            footer.Border = 0;
            footer.Alignment = Element.ALIGN_CENTER;
            document.Footer = footer;

            document.Open();
            iTextSharp.text.Table tblMain = new iTextSharp.text.Table(2);
            tblMain.Border = 0;
            tblMain.DefaultCellBorder = 0;
            tblMain.Cellpadding = 2;
            SetTitle(confirmDetailsRow, tblMain);
            SetContactInfo(confirmDetailsRow, tblMain);

            document.Add(tblMain);
            document.Close();
            return true;
        }
        catch (Exception)
        {
            //return false;
            throw;
        }
    }
        public void ReplaceText()
        {
            //ExStart
            //ExFor:Document.FirstSection
            //ExFor:Section.HeadersFooters
            //ExFor:HeaderFooterCollection.Item(HeaderFooterType)
            //ExFor:HeaderFooter
            //ExFor:Range.Replace(String, String, FindReplaceOptions)
            //ExSummary:Shows how to replace text in the document footer.
            // Open the template document, containing obsolete copyright information in the footer.
            Document doc = new Document(MyDir + "HeaderFooter.ReplaceText.doc");

            HeaderFooterCollection headersFooters = doc.FirstSection.HeadersFooters;
            HeaderFooter           footer         = headersFooters[HeaderFooterType.FooterPrimary];

            FindReplaceOptions options = new FindReplaceOptions
            {
                MatchCase          = false,
                FindWholeWordsOnly = false
            };

            footer.Range.Replace("(C) 2006 Aspose Pty Ltd.", "Copyright (C) 2011 by Aspose Pty Ltd.", options);

            doc.Save(ArtifactsDir + "HeaderFooter.ReplaceText.doc");
            //ExEnd

            // Verify that the appropriate changes were made to the output document.
            doc = new Document(ArtifactsDir + "HeaderFooter.ReplaceText.doc");
            Assert.IsTrue(doc.Range.Text.Contains("Copyright (C) 2011 by Aspose Pty Ltd."));
        }
        public void RemoveFooters()
        {
            //ExStart
            //ExFor:Section.HeadersFooters
            //ExFor:HeaderFooterCollection
            //ExFor:HeaderFooterCollection.Item(HeaderFooterType)
            //ExFor:HeaderFooter
            //ExFor:HeaderFooterType
            //ExSummary:Deletes all footers from all sections, but leaves headers intact.
            Document doc = new Document(MyDir + "HeaderFooter.RemoveFooters.doc");

            foreach (Section section in doc.OfType <Section>())
            {
                // Up to three different footers are possible in a section (for first, even and odd pages).
                // We check and delete all of them.
                HeaderFooter footer = section.HeadersFooters[HeaderFooterType.FooterFirst];
                footer?.Remove();

                // Primary footer is the footer used for odd pages.
                footer = section.HeadersFooters[HeaderFooterType.FooterPrimary];
                footer?.Remove();

                footer = section.HeadersFooters[HeaderFooterType.FooterEven];
                footer?.Remove();
            }

            doc.Save(ArtifactsDir + "HeaderFooter.RemoveFooters.doc");
            //ExEnd
        }
Example #13
0
    private void imethod_18(ShapeBase A_0)
    {
        int num = 1;

        if (!A_0.IsGroup && A_0.IsPictureBullet)
        {
            DocPicture imageData = ((ShapeObject)A_0).ImageData;
            dictionary_0.Add(dictionary_0.Keys.Count.ToString(), imageData);
            foreach (ListStyle style in this.document_0.ListStyles)
            {
                int num3  = 0;
                int count = style.Levels.Count;
                while (num3 < count)
                {
                    ListLevel level = style.Levels[num3];
                    if (level.PicBulletId == (dictionary_0.Count - 1))
                    {
                        int num4 = dictionary_0.Count - 1;
                        level.PicBullet = dictionary_0[num4.ToString()];
                    }
                    num3++;
                }
            }
        }
        else
        {
            HeaderFooter footer = this.documentObject_0.method_1();
            if ((((A_0.ShapeType == ShapeType.Image) || (A_0.ShapeType == ShapeType.NonPrimitive)) || (A_0.ShapeType == ShapeType.CustomShape)) && (A_0 as ShapeObject).HasImage)
            {
                if (((footer != null) && (((footer.Type == HeaderFooterType.HeaderEven) || (footer.Type == HeaderFooterType.HeaderFirstPage)) || (footer.Type == HeaderFooterType.HeaderOdd))) && A_0.Name.StartsWith(BookmarkStart.b("瀦䘨太䤬缮堰倲䄴䈶䬸帺樼帾㕀♂㝄⩆⡈㥊♌", num)))
                {
                    if (this.document_0.Watermark.Type == WatermarkType.NoWatermark)
                    {
                        footer.WriteWatermark = true;
                    }
                    footer.Watermark = (A_0 as ShapeObject).method_62();
                    return;
                }
                A_0.method_0(this.documentObject_0);
                DocPicture picture = (A_0 as ShapeObject).ImageData;
                picture.CharacterFormat.method_73(A_0.CharacterFormat);
                picture.IsShape = true;
                this.documentObject_0.method_13(picture);
            }
            else
            {
                if (((footer != null) && (((footer.Type == HeaderFooterType.HeaderEven) || (footer.Type == HeaderFooterType.HeaderFirstPage)) || (footer.Type == HeaderFooterType.HeaderOdd))) && (((A_0.ShapeType == ShapeType.TextPlainText) && A_0.ShapePr.method_6(0xc0)) && A_0.Name.StartsWith(BookmarkStart.b("眦䘨尪䠬崮愰弲䀴䐶游娺䤼娾㍀โ⑄㕆≈ъ⽌╎㑐げ⅔", num))))
                {
                    if (this.document_0.Watermark.Type == WatermarkType.NoWatermark)
                    {
                        footer.WriteWatermark = true;
                    }
                    footer.Watermark = (A_0 as ShapeObject).method_61();
                    return;
                }
                this.documentObject_0.method_13(A_0);
            }
            this.stack_2.Push(A_0 as ShapeObject);
        }
    }
Example #14
0
        /// <summary>
        /// How to edit Header and Footer in PDF file
        /// </summary>
        /// <remarks>
        /// Details: https://www.sautinsoft.com/products/document/help/net/developer-guide/edit-header-and-footer-in-pdf-net-csharp-vb.php
        /// </remarks>
        static void ChangeHeader()
        {
            string       inpFile = @"..\..\somebody.pdf";
            string       outFile = "With changed header.pdf";
            DocumentCore dc      = DocumentCore.Load(inpFile);

            // Create new header with formatted text.
            HeaderFooter header = new HeaderFooter(dc, HeaderFooterType.HeaderDefault);

            header.Content.Start.Insert("Modified : 1 April 2020", new CharacterFormat()
            {
                Size = 14.0, FontColor = Color.DarkGreen
            });
            foreach (Section s in dc.Sections)
            {
                if (s.Blocks.Count > 0)
                {
                    s.Blocks.RemoveAt(1);
                }
                s.HeadersFooters.Add(header.Clone(true));
            }
            dc.Save(outFile);

            // Open the results for demonstration purposes.
            System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(inpFile)
            {
                UseShellExecute = true
            });
            System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile)
            {
                UseShellExecute = true
            });
        }
Example #15
0
        public override VisitorAction VisitSectionStart(Section section)
        {
            Section previousSection = (Section)section.PreviousSibling;

            // If there is a previous section attempt to copy any linked header footers otherwise they will not appear in an
            // extracted document if the previous section is missing.
            if (previousSection != null)
            {
                HeaderFooterCollection previousHeaderFooters = previousSection.HeadersFooters;
                if (!section.PageSetup.RestartPageNumbering)
                {
                    section.PageSetup.RestartPageNumbering = true;
                    section.PageSetup.PageStartingNumber   = previousSection.PageSetup.PageStartingNumber + this.pageNumberFinder.PageSpan(previousSection);
                }

                foreach (HeaderFooter previousHeaderFooter in previousHeaderFooters)
                {
                    if (section.HeadersFooters[previousHeaderFooter.HeaderFooterType] == null)
                    {
                        HeaderFooter newHeaderFooter = (HeaderFooter)previousHeaderFooters[previousHeaderFooter.HeaderFooterType].Clone(true);
                        section.HeadersFooters.Add(newHeaderFooter);
                    }
                }
            }

            return(this.ContinueIfCompositeAcrossPageElseSkip(section));
        }
Example #16
0
    private IBody method_20(Section A_0, int A_1)
    {
        HeaderFooterType type = A_0.PageSetup.DifferentFirstPageHeaderFooter ? HeaderFooterType.HeaderFirstPage : HeaderFooterType.HeaderOdd;

        if (A_0.HeadersFooters[type].LinkToPrevious && (A_1 > 0))
        {
            int num = A_1 - 1;
            while (num >= 0)
            {
                Section      section = this.document_0.Sections[num];
                HeaderFooter footer  = section.HeadersFooters[type];
                if ((type == footer.Type) && footer.LinkToPrevious)
                {
                    num--;
                }
                else if ((type == footer.Type) && !footer.LinkToPrevious)
                {
                    A_0.HeadersFooters[type] = section.HeadersFooters[type];
                    break;
                }
            }
        }
        if (A_0.PageSetup.DifferentFirstPageHeaderFooter)
        {
            return(A_0.HeadersFooters.FirstPageHeader);
        }
        return(A_0.HeadersFooters.Header);
    }
        private void button1_Click(object sender, EventArgs e)
        {
            //Load the source file
            string   input = @"..\..\..\..\..\..\Data\HeaderAndFooter.docx";
            Document doc1  = new Document();

            doc1.LoadFromFile(input);

            //Get the header section from the source document
            HeaderFooter header = doc1.Sections[0].HeadersFooters.Header;

            //Load the destination file
            input = @"..\..\..\..\..\..\Data\Template.docx";
            Document doc2 = new Document();

            doc2.LoadFromFile(input);

            //Copy each object in the header of source file to destination file
            foreach (Section section in doc2.Sections)
            {
                foreach (DocumentObject obj in header.ChildObjects)
                {
                    section.HeadersFooters.Header.ChildObjects.Add(obj.Clone());
                }
            }

            //Save and launch document
            string output = "CopyHeaderAndFooter.docx";

            doc2.SaveToFile(output, FileFormat.Docx);
            Viewer(output);
        }
Example #18
0
        /// <summary>
        /// 图片,DataTable 导出到pdf
        /// </summary>
        /// <param name="datatable">数据集</param>
        /// <param name="filename">文件名称</param>
        /// <param name="imgurl">图片地址</param>
        public static void ExportPdfChart(System.Data.DataTable datatable, string filename, string imgurl)
        {
            try
            {
                Document   document = new Document(PageSize.A3, 20f, 20f, 20f, 20f);
                StyleSheet style    = new StyleSheet();
                style.LoadTagStyle("body", "face", "SIMHEI");
                style.LoadTagStyle("body", "encoding", "Identity-H");
                style.LoadTagStyle("body", "leading", "12,0");
                PdfPTable    table  = new PdfPTable(datatable.Columns.Count);
                HeaderFooter footer = new HeaderFooter(new Phrase("page "), true);
                footer.Alignment = Element.ALIGN_RIGHT;
                footer.Border    = Rectangle.NO_BORDER;
                document.Footer  = footer;
                PdfWriter.GetInstance(document, new FileStream(filename, FileMode.Create));
                document.Open();
                //导出图片注释
                //string url = imgurl;
                //iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(url);
                ////图片自适应大小 经验证PDF宽度大致为800以上像素 小于此宽不论 大于则自动缩放图片到宽度800
                //if (img.PlainWidth > 800)
                //{
                //    img.ScalePercent(100 * 800 / img.PlainWidth);
                //}
                ////img.ScalePercent(100);
                //document.Add(img);
                BaseFont baseFont =
                    BaseFont.CreateFont(
                        "C:\\WINDOWS\\FONTS\\SIMSUN.TTC,1",
                        BaseFont.IDENTITY_H,
                        BaseFont.NOT_EMBEDDED);
                Font font = new Font(baseFont, 10);
                for (int i = 0; i < datatable.Rows.Count; i++)
                {
                    for (int j = 0; j < datatable.Columns.Count; j++)
                    {
                        table.AddCell(new Phrase(datatable.Rows[i][j].ToString(), font));
                    }
                }
                document.Add(table);   //添加table
                document.Close();

                HttpContext.Current.Response.Clear();
                HttpContext.Current.Response.ContentType = "application/octet-stream";
                HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=\"" + HttpUtility.UrlEncode(Path.GetFileName(filename).Trim()) + "\"");
                HttpContext.Current.Response.Flush();
                HttpContext.Current.Response.WriteFile(filename);
                HttpContext.Current.Response.Flush();
                HttpContext.Current.Response.Close();
            }
            catch (DocumentException de)
            {
                System.Web.HttpContext.Current.Response.Write(de.ToString());
            }
            if (File.Exists(filename))
            {
                File.Delete(filename);
            }
            HttpContext.Current.Response.End();
        }
Example #19
0
        /// <summary>
        /// Defines page setup, headers, and footers
        /// </summary>
        /// <param name="document">MigraDoc document created via Documents.CreateDocument()</param>
        public static void DefineContentSection(Document document)
        {
            Section section = document.AddSection();

            section.PageSetup.TopMargin      = "5cm";
            section.PageSetup.StartingNumber = 1;
            section.PageSetup.Orientation    = Orientation.Landscape;

            // Create header
            HeaderFooter header = section.Headers.Primary;

            // Add logo
            Image image = header.AddImage(Report.logoPath);

            image.Width            = "8cm";
            image.WrapFormat.Style = WrapStyle.Through;

            // Add company name
            Paragraph h1 = new Paragraph();

            h1.AddText(Report.companyName);
            h1.Format.Font.Color = Colors.SlateGray;
            h1.Format.Font.Size  = 24;
            h1.Format.Font.Bold  = true;
            header.Add(h1);

            // Add report name
            Paragraph h2 = new Paragraph();

            h2.Format.Font.Color = Colors.SlateGray;
            h2.AddText("Welfare Check Breach Report");
            h2.Format.Font.Size            = 18;
            h2.Format.Borders.Width        = 0;
            h2.Format.Borders.Bottom.Width = 1;
            h2.Format.Borders.Color        = Colors.LightSlateGray;
            h2.Format.Borders.Distance     = 4;
            header.Add(h2);

            // Add current date
            Paragraph h3 = new Paragraph();

            h3.Format.Font.Size        = 12;
            h3.Format.Font.Italic      = true;
            h3.Format.Borders.Distance = 6;
            h3.AddDateField();
            header.Add(h3);

            // Create a paragraph with centered page number. See definition of style "Footer".
            Paragraph footer = new Paragraph();

            footer.Format.Borders.Width     = 0;
            footer.Format.Borders.Top.Width = 1;
            footer.Format.Borders.Color     = Colors.LightSlateGray;
            footer.Format.Borders.Distance  = 10;
            footer.AddPageField();

            // Add paragraph to footer
            section.Footers.Primary.Add(footer);
        }
        public void BodyNodeType()
        {
            //ExStart
            //ExFor:Body.NodeType
            //ExFor:HeaderFooter.NodeType
            //ExFor:Document.FirstSection
            //ExSummary:Shows how you can enumerate through children of a composite node and detect types of the children nodes.
            // Open a document
            Document        doc     = new Document();
            DocumentBuilder builder = new DocumentBuilder(doc);

            builder.Write("Section 1");
            builder.MoveToHeaderFooter(HeaderFooterType.HeaderPrimary);
            builder.Write("Primary header");
            builder.MoveToHeaderFooter(HeaderFooterType.FooterPrimary);
            builder.Write("Primary footer");

            // Get the first section in the document
            Section section = doc.FirstSection;

            // A Section is a composite node and therefore can contain child nodes
            // Section can contain only Body and HeaderFooter nodes
            foreach (Node node in section)
            {
                // Every node has the NodeType property
                switch (node.NodeType)
                {
                case NodeType.Body:
                {
                    // If the node type is Body, we can cast the node to the Body class
                    Body body = (Body)node;

                    // Write the content of the main story of the section to the console
                    Console.WriteLine("*** Body ***");
                    Console.WriteLine(body.GetText());
                    break;
                }

                case NodeType.HeaderFooter:
                {
                    // If the node type is HeaderFooter, we can cast the node to the HeaderFooter class
                    HeaderFooter headerFooter = (HeaderFooter)node;

                    // Write the content of the header footer to the console
                    Console.WriteLine("*** HeaderFooter ***");
                    Console.WriteLine(headerFooter.HeaderFooterType);
                    Console.WriteLine(headerFooter.GetText());
                    break;
                }

                default:
                {
                    // Other types of nodes never occur inside a Section node
                    throw new Exception("Unexpected node type in a section.");
                }
                }
            }
            //ExEnd
        }
Example #21
0
        private byte[] ReportPDF()
        {
            var memoryStream = new MemoryStream();

            // Marge in centimeter, then I convert with .ToDpi()
            float margeLeft   = 1.5f;
            float margeRight  = 1.5f;
            float margeTop    = 1.0f;
            float margeBottom = 1.0f;

            Document pdf = new Document(
                PageSize.A4,
                margeLeft.ToDpi(),
                margeRight.ToDpi(),
                margeTop.ToDpi(),
                margeBottom.ToDpi()
                );

            pdf.AddTitle("Blazor-PDF");
            pdf.AddAuthor("Ozzvy");
            pdf.AddCreationDate();
            pdf.AddKeywords("blazor");
            pdf.AddSubject("Create a pdf file with iText");

            PdfWriter writer = PdfWriter.GetInstance(pdf, memoryStream);

            //HEADER and FOOTER
            var          fontStyle   = FontFactory.GetFont("Arial", 16, BaseColor.White);
            var          labelHeader = new Chunk("User Info", fontStyle);
            HeaderFooter header      = new HeaderFooter(new Phrase(labelHeader), false)
            {
                BackgroundColor = new BaseColor(48, 79, 254),
                Alignment       = Element.ALIGN_CENTER,
                Border          = Rectangle.NO_BORDER
            };

            //header.Border = Rectangle.NO_BORDER;
            pdf.Header = header;

            var          labelFooter = new Chunk("Page", fontStyle);
            HeaderFooter footer      = new HeaderFooter(new Phrase(labelFooter), true)
            {
                Border    = Rectangle.NO_BORDER,
                Alignment = Element.ALIGN_RIGHT
            };

            pdf.Footer = footer;

            pdf.Open();

            if (_pagenumber == 1)
            {
                UserPrint.PageText(pdf, _user);
            }

            pdf.Close();

            return(memoryStream.ToArray());
        }
 /**
  * Constructs a RtfHeaderGroup for a certain HeaderFooter
  *
  * @param doc The RtfDocument this RtfHeaderFooter belongs to
  * @param headerFooter The HeaderFooter to display
  * @param type The typ of RtfHeaderFooterGroup to create
  */
 public RtfHeaderFooterGroup(RtfDocument doc, HeaderFooter headerFooter, int type) : base(new Phrase(""), false)
 {
     this.document = doc;
     this.type     = type;
     this.mode     = MODE_SINGLE;
     headerAll     = new RtfHeaderFooter(doc, headerFooter, type, RtfHeaderFooter.DISPLAY_ALL_PAGES);
     headerAll.SetType(this.type);
 }
 /// <summary>
 /// Constructs a RtfHeaderGroup for a certain HeaderFooter
 /// </summary>
 /// <param name="doc">The RtfDocument this RtfHeaderFooter belongs to</param>
 /// <param name="headerFooter">The HeaderFooter to display</param>
 /// <param name="type">The typ of RtfHeaderFooterGroup to create</param>
 public RtfHeaderFooterGroup(RtfDocument doc, HeaderFooter headerFooter, int type) : base(new Phrase(""), false)
 {
     _document  = doc;
     _type      = type;
     _mode      = ModeSingle;
     _headerAll = new RtfHeaderFooter(doc, headerFooter, type, RtfHeaderFooter.DISPLAY_ALL_PAGES);
     _headerAll.SetType(_type);
 }
Example #24
0
        /// <summary>
        /// Renders a single header footer.
        /// </summary>
        private void RenderHeaderFooter(HeaderFooter hdrFtr, HeaderFooterIndex renderAs)
        {
            HeaderFooterRenderer hfr = new HeaderFooterRenderer(hdrFtr, _docRenderer);

            hfr.PageSetup = _pageSetup;
            hfr.RenderAs  = renderAs;
            hfr.Render();
        }
Example #25
0
 internal VisitorAction method_1(HeaderFooter A_0)
 {
     if (this.class422_0.method_23() == OpenDocumentWritingStage.StylesMasterPage)
     {
         this.class422_0.method_18().method_6(smethod_0(A_0));
     }
     return(VisitorAction.Continue);
 }
Example #26
0
        /// <summary>
        /// Renders content into section header
        /// </summary>
        public void RenderInto(MigraDoc.DocumentObjectModel.Section section)
        {
            HeaderFooter header = section.Headers.Primary;

            header.Format.SpaceBefore = Unit.FromMillimeter(50);

            this.childs.ForEach(child => child.RenderInto(header));
        }
Example #27
0
 /// <summary>
 /// Called when a HeaderFooter node is encountered in the document.
 /// </summary>
 public override VisitorAction VisitHeaderFooterStart(HeaderFooter headerFooter)
 {
     // Returning this value from a visitor method causes visiting of this
     // Node to stop and move on to visiting the next sibling node
     // The net effect in this example is that the text of headers and footers
     // Is not included in the resulting output
     return(VisitorAction.SkipThisNode);
 }
Example #28
0
            /// <summary>
            /// Called when a HeaderFooter node is encountered in the document.
            /// </summary>
            public override VisitorAction VisitHeaderFooterStart(HeaderFooter headerFooter)
            {
                IndentAndAppendLine("[HeaderFooter start] HeaderFooterType: " + headerFooter.HeaderFooterType);
                mDocTraversalDepth++;
                mVisitorIsInsideHeaderFooter = true;

                return(VisitorAction.Continue);
            }
Example #29
0
            /// <summary>
            /// Called when the visiting of a HeaderFooter node is ended.
            /// </summary>
            public override VisitorAction VisitHeaderFooterEnd(HeaderFooter headerFooter)
            {
                mDocTraversalDepth--;
                IndentAndAppendLine("[HeaderFooter end]");
                mVisitorIsInsideHeaderFooter = false;

                return(VisitorAction.Continue);
            }
Example #30
0
        public ReportPdf(Stream Output, Layout Layout, Template Template, Dictionary <string, string> ConfigParams)
            : base(Output, Layout, Template, ConfigParams)
        {
            Rectangle pageSize = new Rectangle(mm2pt(Template.PageSize.Width), mm2pt(Template.PageSize.Height));

            // Initialization
            m_Document = new Document(pageSize, mm2pt(Template.Margin.Left), mm2pt(Template.Margin.Right), mm2pt(Template.Margin.Top), mm2pt(Template.Margin.Bottom));
            m_Writer   = PdfWriter.GetInstance(m_Document, Output);

            m_Document.AddCreationDate();
            m_Document.AddCreator("StrengthReport http://dev.progterv.info/strengthreport) and KeePass (http://keepass.info)");
            m_Document.AddKeywords("report");
            m_Document.AddTitle(Layout.Title + " (report)");

            // Header
            HeaderFooter header = new HeaderFooter(new Phrase(Layout.Title + ", " + DateTime.Now.ToString(), m_Template.ReportFooter.getFont()), false);

            header.Alignment  = Template.ReportFooter.getAlignment();
            m_Document.Header = header;

            // Footer
            HeaderFooter footer = new HeaderFooter(new Phrase(new Chunk("Page ", m_Template.ReportFooter.getFont())), new Phrase(new Chunk(".", m_Template.ReportFooter.getFont())));

            footer.Alignment  = Template.ReportFooter.getAlignment();
            m_Document.Footer = footer;

            // TODO: Metadata
            // Open document
            m_Document.Open();

            // Report Heading
            {
                PdfPTable reportTitle = new PdfPTable(1);
                PdfPCell  titleCell   = new PdfPCell(new Phrase(Layout.Title, m_Template.ReportHeader.getFont()));
                titleCell.Border              = 0;
                titleCell.FixedHeight         = mm2pt(m_Template.ReportHeader.Height);
                titleCell.VerticalAlignment   = Element.ALIGN_MIDDLE;
                titleCell.HorizontalAlignment = m_Template.ReportHeader.getAlignment();
                reportTitle.AddCell(titleCell);
                reportTitle.WidthPercentage = 100;
                m_Document.Add(reportTitle);
            }

            // Create main table
            m_Table = new PdfPTable(Layout.GetColumnWidths());
            m_Table.WidthPercentage = 100;
            m_Table.HeaderRows      = 1;
            foreach (LayoutElement element in Layout)
            {
                PdfPCell cell = new PdfPCell(new Phrase(element.Title, m_Template.Header.getFont()));
                cell.BackgroundColor   = m_Template.Header.Background.ToColor();
                cell.MinimumHeight     = mm2pt(m_Template.Header.Height);
                cell.VerticalAlignment = Element.ALIGN_MIDDLE;
                m_Table.AddCell(cell);
            }

            m_colorRow = new CMYKColor[] { m_Template.Row.BackgroundA.ToColor(), m_Template.Row.BackgroundB.ToColor() };
        }
        private void InsertHeaderAndFooter(Section section)
        {
            HeaderFooter header = section.HeadersFooters.Header;
            HeaderFooter footer = section.HeadersFooters.Footer;

            //Insert picture and text to header.
            Paragraph  headerParagraph = header.AddParagraph();
            DocPicture headerPicture
                = headerParagraph.AppendPicture(Image.FromFile(@"..\..\..\..\..\..\Data\Header.png"));

            //Header text.
            TextRange text = headerParagraph.AppendText("Demo of Spire.Doc");

            text.CharacterFormat.FontName = "Arial";
            text.CharacterFormat.FontSize = 10;
            text.CharacterFormat.Italic   = true;
            headerParagraph.Format.HorizontalAlignment
                = Spire.Doc.Documents.HorizontalAlignment.Right;

            //Border.
            headerParagraph.Format.Borders.Bottom.BorderType
                = Spire.Doc.Documents.BorderStyle.Single;
            headerParagraph.Format.Borders.Bottom.Space = 0.05F;


            //Header picture layout - text wrapping.
            headerPicture.TextWrappingStyle = TextWrappingStyle.Behind;

            //Header picture layout - position.
            headerPicture.HorizontalOrigin    = HorizontalOrigin.Page;
            headerPicture.HorizontalAlignment = ShapeHorizontalAlignment.Left;
            headerPicture.VerticalOrigin      = VerticalOrigin.Page;
            headerPicture.VerticalAlignment   = ShapeVerticalAlignment.Top;

            //Insert picture to footer.
            Paragraph  footerParagraph = footer.AddParagraph();
            DocPicture footerPicture
                = footerParagraph.AppendPicture(Image.FromFile(@"..\..\..\..\..\..\Data\Footer.png"));

            //Footer picture layout.
            footerPicture.TextWrappingStyle   = TextWrappingStyle.Behind;
            footerPicture.HorizontalOrigin    = HorizontalOrigin.Page;
            footerPicture.HorizontalAlignment = ShapeHorizontalAlignment.Left;
            footerPicture.VerticalOrigin      = VerticalOrigin.Page;
            footerPicture.VerticalAlignment   = ShapeVerticalAlignment.Bottom;

            //Insert page number.
            footerParagraph.AppendField("page number", FieldType.FieldPage);
            footerParagraph.AppendText(" of ");
            footerParagraph.AppendField("number of pages", FieldType.FieldNumPages);
            footerParagraph.Format.HorizontalAlignment
                = Spire.Doc.Documents.HorizontalAlignment.Right;

            //Border.
            footerParagraph.Format.Borders.Top.BorderType
                = Spire.Doc.Documents.BorderStyle.Single;
            footerParagraph.Format.Borders.Top.Space = 0.05F;
        }
Example #32
0
        private void button1_Click(object sender, EventArgs e)
        {
            Document doc = new Document();

            doc.AddSection();
            Section   sec  = doc.Sections[0];
            Paragraph Para = sec.AddParagraph();

            Para.AppendText("Welcome to the Document created by Ram!");
            doc.SaveToFile("SampleDoc.docx", FileFormat.Docx);


            doc.AddSection();
            //Add Header
            Section      section         = doc.Sections[1];
            HeaderFooter header          = section.HeadersFooters.Header;
            Paragraph    HeaderParagraph = header.AddParagraph();
            TextRange    HeaderText      = HeaderParagraph.AppendText("Restaurant for everyone \n");


            //Set Header Text Format
            HeaderText.CharacterFormat.FontName  = "Cambria";
            HeaderText.CharacterFormat.FontSize  = 11;
            HeaderText.CharacterFormat.TextColor = Color.OrangeRed;

            //Set Header Paragraph Format
            HeaderParagraph.Format.HorizontalAlignment       = Spire.Doc.Documents.HorizontalAlignment.Left;
            HeaderParagraph.Format.Borders.Bottom.BorderType = Spire.Doc.Documents.BorderStyle.ThickThinMediumGap;
            HeaderParagraph.Format.Borders.Bottom.Space      = 0.05f;
            HeaderParagraph.Format.Borders.Bottom.Color      = Color.DarkGray;

            DocPicture headerimage = HeaderParagraph.AppendPicture(Image.FromFile(@"G:\RameshKartik\Tech\C# Samples\SpireDoc\WorkingWithMsWord\WorkingWithMsWord\bin\Debug\test.png"));

            headerimage.VerticalAlignment = ShapeVerticalAlignment.Bottom;

            doc.SaveToFile("SampleDoc.docx", FileFormat.Docx);

            //Add Footer
            HeaderFooter footer          = section.HeadersFooters.Footer;
            Paragraph    FooterParagraph = footer.AddParagraph();
            TextRange    FooterText      = FooterParagraph.AppendText("My Company.,Footer Information");

            //Set Footer Text Format
            FooterText.CharacterFormat.FontName  = "Calibri";
            FooterText.CharacterFormat.FontSize  = 12;
            FooterText.CharacterFormat.TextColor = Color.Brown;

            //Set Footer Paragrah Format
            FooterParagraph.Format.HorizontalAlignment    = Spire.Doc.Documents.HorizontalAlignment.Right;
            FooterParagraph.Format.Borders.Top.BorderType = Spire.Doc.Documents.BorderStyle.ThinThinSmallGap;
            FooterParagraph.Format.Borders.Top.Space      = 0.15f;
            FooterParagraph.Format.Borders.Color          = Color.DarkGray;

            doc.SaveToFile("SampleDoc.docx", FileFormat.Docx);

            MessageBox.Show("Document Created!");
        }
Example #33
0
        /// <summary>
        /// Render a title into a header or footer
        /// </summary>
        public override void RenderInto(HeaderFooter headerFooter)
        {
            MigraDoc.DocumentObjectModel.Paragraph title = new MigraDoc.DocumentObjectModel.Paragraph();

            title.Style = "Heading1";
            this.RenderTextInto(title);

            headerFooter.Add(title);
        }
Example #34
0
        private static void InsertWatermarkIntoHeader(Paragraph watermarkPara, Section sect, HeaderFooterType headerType)
        {
            HeaderFooter header = sect.HeadersFooters[headerType];

            if (header == null)
            {
                // There is no header of the specified type in the current section, create it.
                header = new HeaderFooter(sect.Document, headerType);
                sect.HeadersFooters.Add(header);
            }

            // Insert a clone of the watermark into the header.
            header.AppendChild(watermarkPara.Clone(true));
        }
Example #35
0
		protected void Generate(Document doc, GISADataset.RelacaoHierarquicaRow[] rhRows) {
			string queryN = "";
			string queryRH = "";

			foreach (GISADataset.RelacaoHierarquicaRow r in rhRows) {
				if (queryN.Length > 0)
					queryN += ", ";
				queryN += string.Format("{0}", r.NivelRowByNivelRelacaoHierarquica.ID);
				if (queryRH.Length > 0)
					queryRH += " OR ";
				queryRH += string.Format("(ID={0} AND IDUpper={1})", r.ID, r.IDUpper);
			}

			GisaDataSetHelper.GetNivelDataAdapter(string.Format("WHERE ID IN ({0})", queryN), null, null).Fill(dataSet.Nivel);
			GisaDataSetHelper.GetRelacaoHierarquicaDataAdapter(string.Format("WHERE {0}", queryRH), null, null).Fill(dataSet.RelacaoHierarquica);
			//PersistencyHelper.cleanDeletedRows()
			rhRows = (GISADataset.RelacaoHierarquicaRow[])dataSet.RelacaoHierarquica.Select("");
			
			java.awt.Color hfcolor = new java.awt.Color(128, 128, 128);
			
			Font hffont = new Font(Font.HELVETICA, 6, Font.ITALIC, hfcolor);
			
			HeaderFooter header = new HeaderFooter(new Phrase("Gestão Integrada de Sistemas de Arquivo", hffont), false);
			header.setAlignment(ElementConst.ALIGN_CENTER);
			header.setBorder(2);
			// iTextSharp.text.Rectangle.BOTTOM
			header.setBorderColor(hfcolor);
			doc.setHeader(header);
			
			HeaderFooter footer = new HeaderFooter(new Phrase("Câmara Municipal do Porto - Departamento de Arquivos - ", hffont), true);
			footer.setAlignment(ElementConst.ALIGN_CENTER);
			footer.setBorder(1);
			// iTextSharp.text.Rectangle.TOP
			footer.setBorderColor(hfcolor);
			doc.setFooter(footer);
			// Headers and footers apply to next page...
			doc.open();
			GenerateTitle(doc);
			
			float CurrentIndentCm = 0;
			DoAddedEntries(rhRows.Length);
			Array.Sort(rhRows, new NivelSorter());
			foreach (GISADataset.RelacaoHierarquicaRow rhRow in rhRows) {
				GenerateInventarioEntry(doc, rhRow, CurrentIndentCm);
			}
		}
        public void CreateFooter()
        {
            //ExStart
            //ExFor:HeaderFooter
            //ExFor:HeaderFooter.#ctor(DocumentBase, HeaderFooterType)
            //ExFor:HeaderFooterCollection
            //ExFor:Story.AppendParagraph
            //ExSummary:Creates a footer using the document object model and inserts it into a section.
            Document doc = new Document();

            HeaderFooter footer = new HeaderFooter(doc, HeaderFooterType.FooterPrimary);
            doc.FirstSection.HeadersFooters.Add(footer);

            // Add a paragraph with text to the footer.
            footer.AppendParagraph("TEST FOOTER");

            doc.Save(MyDir + @"\Artifacts\HeaderFooter.CreateFooter.doc");
            //ExEnd

            doc = new Document(MyDir + @"\Artifacts\HeaderFooter.CreateFooter.doc");
            Assert.True(doc.FirstSection.HeadersFooters[HeaderFooterType.FooterPrimary].Range.Text.Contains("TEST FOOTER"));
        }
        // 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;
        }
Example #38
0
 internal void ImportHeaderFooter(HeaderFooter hf)
 {
     if (hf.OddHeader != null) this.OddHeaderText = hf.OddHeader.Text;
     if (hf.OddFooter != null) this.OddFooterText = hf.OddFooter.Text;
     if (hf.EvenHeader != null) this.EvenHeaderText = hf.EvenHeader.Text;
     if (hf.EvenFooter != null) this.EvenFooterText = hf.EvenFooter.Text;
     if (hf.FirstHeader != null) this.FirstHeaderText = hf.FirstHeader.Text;
     if (hf.FirstFooter != null) this.FirstFooterText = hf.FirstFooter.Text;
     if (hf.DifferentOddEven != null) this.DifferentOddEvenPages = hf.DifferentOddEven.Value;
     if (hf.DifferentFirst != null) this.DifferentFirstPage = hf.DifferentFirst.Value;
     if (hf.ScaleWithDoc != null) this.ScaleWithDocument = hf.ScaleWithDoc.Value;
     if (hf.AlignWithMargins != null) this.AlignWithMargins = hf.AlignWithMargins.Value;
 }
Example #39
0
        internal HeaderFooter ExportHeaderFooter()
        {
            HeaderFooter hf = new HeaderFooter();
            if (this.OddHeaderText.Length > 0) hf.OddHeader = new OddHeader(this.OddHeaderText);
            if (this.OddFooterText.Length > 0) hf.OddFooter = new OddFooter(this.OddFooterText);
            if (this.EvenHeaderText.Length > 0) hf.EvenHeader = new EvenHeader(this.EvenHeaderText);
            if (this.EvenFooterText.Length > 0) hf.EvenFooter = new EvenFooter(this.EvenFooterText);
            if (this.FirstHeaderText.Length > 0) hf.FirstHeader = new FirstHeader(this.FirstHeaderText);
            if (this.FirstFooterText.Length > 0) hf.FirstFooter = new FirstFooter(this.FirstFooterText);
            if (this.DifferentOddEvenPages) hf.DifferentOddEven = this.DifferentOddEvenPages;
            if (this.DifferentFirstPage) hf.DifferentFirst = this.DifferentFirstPage;
            if (!this.ScaleWithDocument) hf.ScaleWithDoc = this.ScaleWithDocument;
            if (!this.AlignWithMargins) hf.AlignWithMargins = this.AlignWithMargins;

            return hf;
        }
 private static string GetXmlTagForHeaderFooter(HeaderFooter headerFooter)
 {
     return headerFooter.IsHeader ? "Header" : "Footer";
 }
Example #41
0
 // Section
 internal virtual void VisitHeaderFooter(HeaderFooter headerFooter) { }
 /// <summary>
 /// Called when a HeaderFooter node is encountered in the document.
 /// </summary>
 public override VisitorAction VisitHeaderFooterStart(HeaderFooter headerFooter)
 {
     // Returning this value from a visitor method causes visiting of this
     // Node to stop and move on to visiting the next sibling node.
     // The net effect in this example is that the text of headers and footers
     // Is not included in the resulting output.
     return VisitorAction.SkipThisNode;
 }
        /**
         * Copy constructor.  Called when copying sheets
         * @param copy the settings to copy
         */
        public SheetSettings(SheetSettings copy,Sheet s)
        {
            Assert.verify(copy != null);

            sheet = s;  // for internal use when accessing ranges
            orientation = copy.orientation;
            pageOrder = copy.pageOrder;
            paperSize = copy.paperSize;
            sheetProtected = copy.sheetProtected;
            hidden = copy.hidden;
            selected = false; // don't copy the selected flag
            headerMargin = copy.headerMargin;
            footerMargin = copy.footerMargin;
            scaleFactor = copy.scaleFactor;
            pageStart = copy.pageStart;
            fitWidth = copy.fitWidth;
            fitHeight = copy.fitHeight;
            horizontalPrintResolution = copy.horizontalPrintResolution;
            verticalPrintResolution = copy.verticalPrintResolution;
            leftMargin = copy.leftMargin;
            rightMargin = copy.rightMargin;
            topMargin = copy.topMargin;
            bottomMargin = copy.bottomMargin;
            fitToPages = copy.fitToPages;
            password = copy.password;
            passwordHash = copy.passwordHash;
            defaultColumnWidth = copy.defaultColumnWidth;
            defaultRowHeight = copy.defaultRowHeight;
            zoomFactor = copy.zoomFactor;
            pageBreakPreviewMagnification = copy.pageBreakPreviewMagnification;
            normalMagnification = copy.normalMagnification;
            showGridLines = copy.showGridLines;
            displayZeroValues = copy.displayZeroValues;
            pageBreakPreviewMode = copy.pageBreakPreviewMode;
            horizontalFreeze = copy.horizontalFreeze;
            verticalFreeze = copy.verticalFreeze;
            horizontalCentre = copy.horizontalCentre;
            verticalCentre = copy.verticalCentre;
            copies = copy.copies;
            header = new HeaderFooter(copy.header);
            footer = new HeaderFooter(copy.footer);
            automaticFormulaCalculation = copy.automaticFormulaCalculation;
            recalculateFormulasBeforeSave = copy.recalculateFormulasBeforeSave;

            if (copy.printArea != null)
                {
                printArea = new SheetRangeImpl
                  (sheet,
                   copy.getPrintArea().getTopLeft().getColumn(),
                   copy.getPrintArea().getTopLeft().getRow(),
                   copy.getPrintArea().getBottomRight().getColumn(),
                   copy.getPrintArea().getBottomRight().getRow());
                }

            if (copy.printTitlesRow != null)
                {
                printTitlesRow = new SheetRangeImpl
                  (sheet,
                   copy.getPrintTitlesRow().getTopLeft().getColumn(),
                   copy.getPrintTitlesRow().getTopLeft().getRow(),
                   copy.getPrintTitlesRow().getBottomRight().getColumn(),
                   copy.getPrintTitlesRow().getBottomRight().getRow());
                }

            if (copy.printTitlesCol != null)
                {
                printTitlesCol = new SheetRangeImpl
                  (sheet,
                   copy.getPrintTitlesCol().getTopLeft().getColumn(),
                   copy.getPrintTitlesCol().getTopLeft().getRow(),
                   copy.getPrintTitlesCol().getBottomRight().getColumn(),
                   copy.getPrintTitlesCol().getBottomRight().getRow());
                }
        }
 /**
  * Copy constructor
  *
  * @param hf the item to copy
  */
 public HeaderFooter(HeaderFooter hf)
     : base(hf)
 {
 }
        public override VisitorAction VisitHeaderFooterStart(HeaderFooter headerFooter)
        {
            if (headerFooter.IsHeader)
            {
                this.structureBuilder.AppendLine("<Header>");
            }
            else
            {
                this.structureBuilder.AppendLine("<Footer>");
            }

            return VisitorAction.Continue;
        }
    public void GeneratePDF(DataSet _ms)
    {
        String rpt_date = "";
        String Daily_notes = "";
        String Daily_comments = "";
        String Change_order_notes = "";

        DataTable dtPDFData = _ms.Tables[0];
        foreach (DataRow dRow in dtPDFData.Rows)
        {
            rpt_date            = dRow["rpt_date"] == DBNull.Value ? "" : dRow["rpt_date"].ToString();
            Daily_notes         = dRow["Daily_notes"] == DBNull.Value ? "" : dRow["Daily_notes"].ToString();
            Daily_comments      = dRow["Daily_comments"] == DBNull.Value ? "" : dRow["Daily_comments"].ToString();
            Change_order_notes  = dRow["Change_order_notes"] == DBNull.Value ? "" : dRow["Change_order_notes"].ToString();
        }

        MemoryStream m = new MemoryStream();
        //Document document = new Document();
        Document document = new Document(PageSize.A4.Rotate(), 50, 50, 50, 50);
        try
        {
            Response.ContentType = "application/pdf";
            Response.AddHeader("content-disposition","attachment;filename=DailyProjectReport.pdf");

            //PdfWriter.GetInstance(document, new FileStream("HarishTesting.pdf", FileMode.Create));
            PdfWriter writer = PdfWriter.GetInstance(document, m);
            writer.CloseStream = false;

            document.AddAuthor("Whitfield Corporation");
            document.AddSubject("Daily Production REPORT");
            Phrase  phrase4 = new  Phrase();
            phrase4.Add(BuildNewCellSpanRows("Whitfield Corporation Daily Production Report for ", rpt_date));
            HeaderFooter headerFooter2 = new HeaderFooter(phrase4, false);
            headerFooter2.Border = 0;
            HeaderFooter headerFooter1 = new HeaderFooter(new Phrase("Page: ", FontFactory.GetFont("Times-Roman", 8.0F, 0, new iTextSharp.text.Color(0, 0, 0))), true);
            headerFooter1.Border = 0;
            document.Footer = headerFooter1;
            document.Header = headerFooter2;
            document.Open();
            iTextSharp.text.Table table1 = new iTextSharp.text.Table(2);
            table1.Padding = 4.0F;
            table1.Spacing = 0.0F;
            float[] fArr2 = new float[] { 24.0F, 24.0F };
            float[] fArr1 = fArr2;
            table1.WidthPercentage = 100.0F;
            Cell cell = new Cell(new Phrase("General Information", FontFactory.GetFont(FontFactory.HELVETICA, 18, iTextSharp.text.Font.BOLD)));
            cell.HorizontalAlignment =  1;
            cell.VerticalAlignment = 1;
            cell.Leading = 8.0F;
            cell.Colspan = 2;
            cell.Border = 0;
            cell.BackgroundColor = new iTextSharp.text.Color(190, 190, 190);
            table1.AddCell(cell);
            table1.DefaultCellBorderWidth = 1.0F;
            table1.DefaultRowspan = 1;
            table1.DefaultHorizontalAlignment = 0;

            //table1.AddCell(BuildNewCell("Report Date:", rpt_date.Trim()));

            //cell = new Cell(BuildNewCell("Daily Notes:", Daily_notes));
            //cell.Colspan = 2;
            //table1.AddCell(cell);

            cell = new Cell(BuildNewCell("Daily Comments:", Daily_comments));
            cell.Colspan = 2;
            table1.AddCell(cell);

            //cell = new Cell(BuildNewCell("Change Order Notes:", Change_order_notes));
            //cell.Colspan = 2;
            //table1.AddCell(cell);

            //table1.AddCell("");
            document.Add(table1);

            document.Add(GenerateCoreReport(rpt_date));

        }
        catch (DocumentException)
        {
            throw;
        }
        document.Close();
        Response.Buffer = true;
        Response.Clear();
        //Write pdf byes to outputstream
        Response.OutputStream.Write(m.GetBuffer(), 0, m.GetBuffer().Length);
        Response.OutputStream.Flush();
        Response.End();
    }
 /**
  * Sets the header
  *
  * @param h the header
  */
 public void setHeader(HeaderFooter h)
 {
     header = h;
 }
 /**
  * Sets the footer
  *
  * @param f the footer
  */
 public void setFooter(HeaderFooter f)
 {
     footer = f;
 }
Example #49
0
    //public void GeneratePDF(DataSet _ms)
    public void GeneratePDF(String EstNum, String IsFinancial)
    {
        Whitfieldcore _wc = new Whitfieldcore();
        // MemoryStream m = new MemoryStream();
        // Document document = new Document();
        FileStream MyStream = null;
        Document document = new Document(PageSize.A4, 50, 50, 50, 50);
        try
        {
            iTextSharp.text.Font[] fonts = new iTextSharp.text.Font[16];
            fonts[0] = FontFactory.GetFont(FontFactory.COURIER, 8, iTextSharp.text.Font.NORMAL);
            fonts[1] = FontFactory.GetFont(FontFactory.COURIER, 8, iTextSharp.text.Font.BOLD);
            fonts[2] = FontFactory.GetFont(FontFactory.COURIER, 8, iTextSharp.text.Font.ITALIC);
            fonts[3] = FontFactory.GetFont(FontFactory.COURIER, 8, iTextSharp.text.Font.BOLD | iTextSharp.text.Font.ITALIC);
            fonts[4] = FontFactory.GetFont(FontFactory.HELVETICA, 8, iTextSharp.text.Font.NORMAL);
            fonts[5] = FontFactory.GetFont(FontFactory.HELVETICA, 8, iTextSharp.text.Font.BOLD);
            fonts[6] = FontFactory.GetFont(FontFactory.HELVETICA, 8, iTextSharp.text.Font.ITALIC);
            fonts[7] = FontFactory.GetFont(FontFactory.HELVETICA, 8, iTextSharp.text.Font.BOLD | iTextSharp.text.Font.ITALIC);
            fonts[8] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.NORMAL);
            fonts[9] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.BOLD);
            fonts[10] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.ITALIC);
            fonts[11] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.BOLD | iTextSharp.text.Font.ITALIC);
            fonts[12] = FontFactory.GetFont(FontFactory.SYMBOL, 10, iTextSharp.text.Font.NORMAL);
            fonts[13] = FontFactory.GetFont(FontFactory.ZAPFDINGBATS, 10, iTextSharp.text.Font.NORMAL);
            fonts[14] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.BOLD | iTextSharp.text.Font.UNDERLINE, iTextSharp.text.Color.GRAY);
            fonts[15] = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.NORMAL, iTextSharp.text.Color.GRAY);

            // Response.ContentType = "application/pdf";
            // Response.AddHeader("content-disposition", "attachment;filename=Proposal_Document.pdf");
            //<Current Date> - <Project Name>, Architectural Millwork - WhitfieldCo
            //String _filename = DateTime.Now.ToString("MM-dd-yyyy") + "-"  + txtprjname  + ", Architectural Millwork - WhitfieldCo.pdf"
            //PdfWriter.GetInstance(document, new FileStream(_filename, FileMode.Create));
            //PdfWriter writer = PdfWriter.GetInstance(document, m);
            //writer.CloseStream = false;

            IDataReader iReader = _wc.GetProjectInfo(Convert.ToInt32(EstNum));
            while (iReader.Read())
            {
                txtprjname = iReader["ProjName"] == DBNull.Value ? "" : iReader["ProjName"].ToString();
                lblPrjHeader = iReader["ProjName"] == DBNull.Value ? "" : iReader["ProjName"].ToString();
                txtbasebid = iReader["BaseBid"] == DBNull.Value ? "" : iReader["BaseBid"].ToString();
                txtfinalbid = iReader["FinalPrice"] == DBNull.Value ? "" : iReader["FinalPrice"].ToString();
                txtdesc = iReader["ProjDescr"] == DBNull.Value ? "" : iReader["ProjDescr"].ToString();
                txtNotes = iReader["Notes"] == DBNull.Value ? "" : iReader["Notes"].ToString();
                txtBidDate = iReader["BidDate"] == DBNull.Value ? "" : iReader["BidDate"].ToString();
                txtEditStartTime = iReader["BidTime"] == DBNull.Value ? "" : iReader["BidTime"].ToString();
                txtARDt = iReader["AwardDur"] == DBNull.Value ? "" : iReader["AwardDur"].ToString();
                txtawardDate = iReader["AwardDate"] == DBNull.Value ? "" : iReader["AwardDate"].ToString();
                txtConstStdate = iReader["ConstrStart"] == DBNull.Value ? "" : iReader["ConstrStart"].ToString();
                txtConstDuration = iReader["ConstrDur"] == DBNull.Value ? "" : iReader["ConstrDur"].ToString();
                txtConstEndDate = iReader["ConstrCompl"] == DBNull.Value ? DateTime.Now.ToString() : iReader["ConstrCompl"].ToString();
                //Adding New Fields
                txtfabEndDate = iReader["fab_end"] == DBNull.Value ? "" : iReader["fab_end"].ToString();
                txtfabStartdate = iReader["fab_start"] == DBNull.Value ? "" : iReader["fab_start"].ToString();
                txtfabdurationt = iReader["fab_duration"] == DBNull.Value ? "" : iReader["fab_duration"].ToString();
                txtStreet = iReader["prj_street"] == DBNull.Value ? "" : iReader["prj_street"].ToString();
                txtCity = iReader["prj_city"] == DBNull.Value ? "" : iReader["prj_city"].ToString();
                txtState = iReader["prj_state"] == DBNull.Value ? "" : iReader["prj_state"].ToString();
                txtzip = iReader["prj_zip"] == DBNull.Value ? "" : iReader["prj_zip"].ToString();
                //New Fields Ends
                txtrealprjNumbert = iReader["Real_proj_Number"] == DBNull.Value ? "" : iReader["Real_proj_Number"].ToString();
                prjArch = iReader["Architect"] == DBNull.Value ? "" : iReader["Architect"].ToString();
                prjEsti = iReader["loginid"] == DBNull.Value ? "" : iReader["loginid"].ToString();
                txtTotCotCost = iReader["Contengency"] == DBNull.Value ? "0" : iReader["Contengency"].ToString();
                txtEngRate = iReader["enghourrate"] == DBNull.Value ? "45.00" : iReader["enghourrate"].ToString();
                txtFabRate = iReader["fabhourrate"] == DBNull.Value ? "32.00" : iReader["fabhourrate"].ToString();
                txtInstRate = iReader["insthourrate"] == DBNull.Value ? "45.00" : iReader["insthourrate"].ToString();
                txtMiscRate = iReader["mischourrate"] == DBNull.Value ? "25.00" : iReader["mischourrate"].ToString();
                txtOverHeadRate = iReader["overheadrate"] == DBNull.Value ? "24.11" : iReader["overheadrate"].ToString();
                txtMarkUpPercent = iReader["profit_markup"] == DBNull.Value ? "15.00" : iReader["profit_markup"].ToString();
                txtDrawingDate = iReader["drawingdate"] == DBNull.Value ? "" : iReader["drawingdate"].ToString();
                txtTypeOfWork = iReader["typeofwork"] == DBNull.Value ? "" : iReader["typeofwork"].ToString();
            }

            Chunk chunkHeading;
            if (txtprjname.Length >= 30)
            {
                chunkHeading = new Chunk(txtprjname + "                                                                                                      ", fonts[15]);
            }
            else
            {
                chunkHeading = new Chunk(txtprjname + "                                                                                                                                      ", fonts[15]);
            }

            String _modetype = IsFinancial == "Y" ? "Proposal" : "Scope";

            Int32 _document_rev_number = GenerateseqNumberforDocs(Convert.ToInt32(EstNum), _modetype);

            _filename = DateTime.Now.ToString("MM-dd-yyyy") + "-" + txtprjname.Replace("."," ").Trim() + " Architectural Millwork - WhitfieldCo " + _modetype + "-REV 0" + _document_rev_number + ".pdf";

                //if (File.Exists(HttpContext.Current.Server.MapPath("~/attachments/") + _filename))  //If the file exists, create new one.
                //{
                //    //File.Delete(HttpContext.Current.Server.MapPath("~/attachments/") + _filename);
                //    char[] splitchar = { '.' };
                //    string[] strArr = null;
                //    strArr = _filename.Split(splitchar);
                //    String _filenmTest = strArr[0];
                //    int intIndexSubstring = 0;
                //    intIndexSubstring = _filenmTest.IndexOf("-REV#");
                //    _filename = DateTime.Now.ToString("MM-dd-yyyy") + "-" + txtprjname.Replace(".", " ").Trim() + " Architectural Millwork - WhitfieldCo " + _modetype  +"-REV#0" + (Convert.ToInt32(_filenmTest.Substring(intIndexSubstring).Substring(5)) + 1).ToString() + ".pdf";

                //}
                //FileStream MyStream;
                //MyStream = new FileStream(HttpContext.Current.Server.MapPath("~/attachments/") + _filename, FileMode.Create);
                //PdfWriter.GetInstance(document, new FileStream(HttpContext.Current.Server.MapPath("~/attachments/") + _filename, FileMode.Create));
                //using (StreamWriter sw = File.CreateText(mappath + "patientquery.txt"))

            using ( MyStream = new FileStream(HttpContext.Current.Server.MapPath("~/attachments/") + _filename, FileMode.Create))
            //using (FileStream MyStream = File.Create(HttpContext.Current.Server.MapPath("~/attachments/") + _filename))
            //new FileStream(HttpContext.Current.Server.MapPath("~/attachments/") + _filename, FileMode.Create)
            {
                PdfWriter.GetInstance(document, MyStream);
                //attachments
                document.AddAuthor("Whitfield Corporation");
                document.AddSubject("Proposal Generator");

                iTextSharp.text.Image img = this.DoGetImageFile(HttpContext.Current.Server.MapPath("~/assets/img/TWC Primary Logo1.JPG"));
                img.ScalePercent(50);
                Chunk ck = new Chunk(img, 0, -5);

                HeaderFooter headerRight = new HeaderFooter(new Phrase(chunkHeading), new Phrase(ck));
                document.Header = headerRight;
                headerRight.Alignment = iTextSharp.text.Rectangle.ALIGN_RIGHT;
                headerRight.Border = iTextSharp.text.Rectangle.NO_BORDER;

                // we Add a Footer that will show up on PAGE 1
                Phrase phFooter = new Phrase("The Whitfield Corporation, Incorporated  ", fonts[15]);
                phFooter.Add(new Phrase("P.O. Box 0385, Fulton, MD 20759  ", fonts[8]));
                phFooter.Add(new Phrase("Main: 301 483 0791 Fax: 301 483 0792  ", fonts[8]));
                phFooter.Add(new Phrase("\nDelivering on Promises", fonts[11]));
                //
                HeaderFooter footer = new HeaderFooter(phFooter, false);
                footer.Border = iTextSharp.text.Rectangle.NO_BORDER;
                footer.Alignment = iTextSharp.text.Rectangle.ALIGN_CENTER;
                document.Footer = footer;
                // step 3: we open the document
                document.Open();

                // we Add a Header that will show up on PAGE 2

                DateTime dt = DateTime.Now;
                //Chapters and Sections
                int ChapterSequence = 1;
                document.NewPage();
                iTextSharp.text.Font chapterFont = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 16, iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK);
                iTextSharp.text.Font sectionFont = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 12, iTextSharp.text.Font.NORMAL, iTextSharp.text.Color.BLACK);
                iTextSharp.text.Font subsectionFont = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 14, iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK);

                //Chapter 1 Overview
                Paragraph cTitle = new Paragraph(_modetype, chapterFont);
                Chapter chapter = new Chapter(cTitle, ChapterSequence);

                Paragraph ChapterDate = new Paragraph(dt.ToString("\nMMMM dd, yyyy \n\n"), fonts[8]);
                Paragraph ChapterRef = new Paragraph("RE:   " + txtprjname + "\n\n", fonts[8]);

                Paragraph ChapterText1;

                if (txtTypeOfWork.Trim() == "Time & Material")
                {

                    ChapterText1 = new Paragraph("Whitfield proposes to complete the scope of work on a Time & Material basis per the rates included in the Item Breakdown section of this proposal.\n\n", fonts[8]);
                }
                else
                {
                    ChapterText1 = new Paragraph("Whitfield proposes to furnish all materials and perform all labor necessary, including " + txtTypeOfWork + ", to complete the following scope of work as per the Scope of Work breakdown.\n\n", fonts[8]);
                }

                String _fnlAmt = "";
                String amtWithnoDecimal = "";

                if (txtbasebid != "")
                {
                    string[] txtBaseBidStr = txtbasebid.Split('.');
                    custom.util.NumberToEnglish num = new custom.util.NumberToEnglish();
                    _fnlAmt = num.changeCurrencyToWords(txtBaseBidStr[0].Replace("$", "").Trim());
                    amtWithnoDecimal = txtBaseBidStr[0] + ".00";
                }

                contingency _cont = new contingency();
                if (IsFinancial == "Y")
                {

                    Paragraph ChapterText2;
                    if (txtTypeOfWork.Trim() == "Time & Material")
                    {
                        ChapterText2 = new Paragraph("The Material cost in the amount of " + _fnlAmt + " Dollars and No Cents (" + Convert.ToDecimal(amtWithnoDecimal).ToString("C") + ") includes all profit markup and assumes a construction start on approximately " + Convert.ToDateTime(txtConstStdate).ToString("MMMM dd, yyyy") + " with a completion on or around " + Convert.ToDateTime(txtConstEndDate).ToString("MMMM dd, yyyy") + " .\n\n", fonts[8]);
                        //ChapterText2.Add(new Phrase(new Chunk("This cost is in addition to any Time & Material cost and will be calculated on a unit price basis as included in the Item Breakdown section of this proposal for any time extension beyond the agreed upon construction schedule as included in this proposal.\n\n", FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.ITALIC | iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK))));
                    }
                    else
                    {
                        ChapterText2 = new Paragraph("This proposal assumes all of the above work completed by " + Convert.ToDateTime(txtConstEndDate).ToString("MMMM dd, yyyy") + " for the sum of ", FontFactory.GetFont(FontFactory.TIMES_ROMAN, 8, iTextSharp.text.Font.ITALIC | iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK));
                        ChapterText2.Add(new Phrase(new Chunk(" " + _fnlAmt + "Dollars and No Cents (" + Convert.ToDecimal(amtWithnoDecimal).ToString("C") + ").\n\n", FontFactory.GetFont(FontFactory.TIMES_ROMAN, 8, iTextSharp.text.Font.ITALIC | iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK))));
                    }

                    chapter.Add(ChapterDate);
                    chapter.Add(ChapterRef);
                    chapter.Add(ChapterText1);
                    chapter.Add(ChapterText2);

                    // Chapter Item Breakdown
                    DataSet dsCont = _cont.FetchProjectItemBreakdown(Convert.ToInt32(EstNum));
                    if (dsCont.Tables[0].Rows.Count > 0)
                    {
                        Paragraph cBreakDown = new Paragraph("Item Breakdown", chapterFont);
                        chapter.Add(cBreakDown);
                        DataTable myValues;
                        myValues = dsCont.Tables[0];
                        int icntBreakDown = 1;
                        foreach (DataRow dRow in myValues.Rows)
                        {
                            String _cntlDesc = dRow["Description"] == DBNull.Value ? "" : dRow["Description"].ToString();
                            String _cntlAmt = dRow["Amount"] == DBNull.Value ? "" : dRow["Amount"].ToString();
                            Paragraph itemAlternatives = new Paragraph(icntBreakDown.ToString() + ". " + _cntlDesc + "...." + _cntlAmt, fonts[8]);
                            icntBreakDown++;
                            chapter.Add(itemAlternatives);
                        }

                    }

                    // Chapter Alternatives
                    DataSet dsAlternatives = _cont.FetchAlternatives(Convert.ToInt32(EstNum));
                    if (dsAlternatives.Tables[0].Rows.Count > 0)
                    {
                        Paragraph c = new Paragraph("\nAlternates", fonts[14]);
                        chapter.Add(c);
                        DataTable myValues;
                        myValues = dsAlternatives.Tables[0];
                        int icntAlternatives = 1;
                        foreach (DataRow dRow in myValues.Rows)
                        {
                            String _altType = dRow["Type"] == DBNull.Value ? "" : dRow["Type"].ToString();
                            String _cntlDesc = dRow["Description"] == DBNull.Value ? "" : dRow["Description"].ToString();
                            String _cntlAmt = dRow["Amount"] == DBNull.Value ? "" : dRow["Amount"].ToString();
                            Paragraph itemAlternatives = new Paragraph(icntAlternatives.ToString() + ". " + _altType + ":" + _cntlDesc + "...." + _cntlAmt, fonts[8]);
                            icntAlternatives++;
                            chapter.Add(itemAlternatives);
                        }
                    }
                    //document.Add(chapter);
                    //Chapters and Sections Declarations End.
                }

                //**********************Chapter for Itemized Scope of Work Begins
                //ChapterSequence++;
                Paragraph cAssumptions = new Paragraph("\nItemized Scope of Work", chapterFont);
                chapter.Add(cAssumptions);
                //Chapter chapterAssumptions = new Chapter(cAssumptions, ChapterSequence);

                //Paragraph AssumptionsHeading = new Paragraph("Scope of Work\n\n", sectionFont);
                Paragraph AssumptionsText1 = new Paragraph("Provided hereto is an itemized clarification of the proposed scope. It has been developed and derived from the pricing documents to clarify various assumptions that were considered while compiling this estimate. The General Conditions (listed last) occur throughout the scope of work and apply to “typical applications”, which are subsequently itemized in the corresponding breakdown. " + ".\n\n", fonts[8]);
                //AssumptionsText1.Add(new Phrase(new Chunk("Proposed price includes " + txtTypeOfWork + ".\n\n", FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10, iTextSharp.text.Font.BOLD, iTextSharp.text.Color.BLACK))));
                //chapterAssumptions.Add(AssumptionsHeading);
                chapter.Add(AssumptionsText1);

                DataSet dsScope = _wc.GetWorkOrders(EstNum);
                if (dsScope.Tables[0].Rows.Count > 0)
                {
                    LoadScopeOfWork(chapter, dsScope, fonts[14]);
                }

                Paragraph DrawingsPara1 = new Paragraph("Drawings:", fonts[14]);
                chapter.Add(DrawingsPara1);

                Paragraph itemDrawing = new Paragraph(txtprjname + " drawings prepared by " + _wc.GetArchitectName(Convert.ToInt32(prjArch)) + " dated " + txtDrawingDate + ".", fonts[8]);
                chapter.Add(itemDrawing);

                DataSet dsSpecs = _cont.FetchAmendmenList(Convert.ToInt32(EstNum));
                if (dsSpecs.Tables[0].Rows.Count > 0)
                {
                    Paragraph DrawingsPara = new Paragraph("\nAdditional Documents:", fonts[14]);
                    chapter.Add(DrawingsPara);
                    DataTable MyTerms;
                    MyTerms = dsSpecs.Tables[0];
                    int icntamendments = 1;
                    foreach (DataRow dRow in MyTerms.Rows)
                    {
                        String _AmedmentsType = dRow["type"] == DBNull.Value ? "" : dRow["type"].ToString();
                        String _AmedmentNumber = dRow["amendment_number"] == DBNull.Value ? "" : dRow["amendment_number"].ToString();
                        String _AmedmentDate = dRow["amendment_date"] == DBNull.Value ? "" : dRow["amendment_date"].ToString();
                        String amendment_impact = dRow["amendment_impact"] == DBNull.Value ? "" : dRow["amendment_impact"].ToString();
                        //if (_AmedmentsType == "Amendment")
                        //{
                        if (amendment_impact.ToLower() == "yes")
                        {
                            Paragraph itemAmendment = new Paragraph(icntamendments.ToString() + ". " + _AmedmentsType + " " + _AmedmentNumber + " dated " + _AmedmentDate + " impacts this scope of work.", fonts[8]);
                            chapter.Add(itemAmendment);
                            //Amendment 001 dated 11/19/2010; This Amendment has no impact to this scope of work.
                        }
                        else
                        {
                            Paragraph itemAmendment = new Paragraph(icntamendments.ToString() + ". " + _AmedmentsType + " " + _AmedmentNumber + " dated " + _AmedmentDate + " does not impact this scope of work.", fonts[8]);
                            chapter.Add(itemAmendment);
                        }

                        //}
                        //else
                        //{
                        //    Paragraph itemAmendment = new Paragraph(icntamendments.ToString() + ". " + _AmedmentsType + " " + _AmedmentNumber + " " + _AmedmentDate, fonts[8]);
                        //    chapter.Add(itemAmendment);
                        //}

                        icntamendments++;
                    }
                }
                //Qualifications
                DataSet dsConditions = _wc.GetSpecExcl(Convert.ToInt32(EstNum));
                if (dsConditions.Tables[0].Rows.Count > 0)
                {
                    Paragraph DrawingsPara = new Paragraph("\nQualifications:", fonts[14]);
                    chapter.Add(DrawingsPara);
                    int icnt = 1;
                    DataTable MyConditions;
                    MyConditions = dsConditions.Tables[0];
                    int tQualid = 0;
                    foreach (DataRow dRow in MyConditions.Rows)
                    {
                        if (Convert.ToInt32(dRow["qual_id"].ToString()) != tQualid)
                        {
                            Paragraph itemheading = new Paragraph(dRow["gName1"].ToString(), fonts[9]);
                            chapter.Add(itemheading);
                        }
                        String _cntlDesc = dRow["description"] == DBNull.Value ? "" : dRow["description"].ToString();
                        Paragraph itemTerms = new Paragraph(icnt.ToString() + ".  " + _cntlDesc, fonts[8]);
                        chapter.Add(itemTerms);
                        tQualid = Convert.ToInt32(dRow["qual_id"].ToString());
                        icnt++;
                    }
                }

                // document.Add(chapter);
                //************************Chapter for Itemized Scope of Work Ends

                //*******Chapter Terms Begins********************
                //ChapterSequence++;
                Paragraph cTerms = new Paragraph("\nTerms", fonts[14]);
                //Chapter chapterTerms = new Chapter(cTerms, ChapterSequence);
                chapter.Add(cTerms);
                //Chapter chapterTerms = new Chapter(cTerms, ChapterSequence);
                DataSet dsTerms = _wc.GetTerms(Convert.ToInt32(EstNum));

                if (dsTerms.Tables[0].Rows.Count > 0)
                {
                    DataTable MyTerms;
                    MyTerms = dsTerms.Tables[0];
                    int icntTerms = 1;
                    foreach (DataRow dRow in MyTerms.Rows)
                    {
                        String _cntlDesc = dRow["description"] == DBNull.Value ? "" : dRow["description"].ToString();
                        Paragraph itemTerms = new Paragraph(icntTerms.ToString() + ". " + _cntlDesc, fonts[8]);
                        chapter.Add(itemTerms);
                        icntTerms++;
                    }
                }

                Paragraph ChapterFooterText1 = new Paragraph("\nAll or part of the contract amount may be subject to change pending completion delay beyond agreed completion date and/or if changes to quantities are made. All agreements must be in writing prior to execution of any work.\n\n", fonts[8]);
                ChapterFooterText1.Add(Chunk.NEWLINE);
                ChapterFooterText1.Add(new Chunk("Respectfully submitted, ", fonts[8]));
                ChapterFooterText1.Add(new Chunk("                                                                  "));
                ChapterFooterText1.Add(new Chunk("Accepted By:, ", fonts[8]));
                ChapterFooterText1.Add(Chunk.NEWLINE);
                ChapterFooterText1.Add(new Chunk("The Whitfield Co., Inc., ", fonts[8]));
                ChapterFooterText1.Add(new Chunk("                                                                      "));
                ChapterFooterText1.Add(new Chunk("________________________ Date_________", fonts[8]));
                ChapterFooterText1.Add(Chunk.NEWLINE);
                ChapterFooterText1.Add(new Chunk("Jammie Whitfield, ", fonts[8]));
                ChapterFooterText1.Add(new Chunk("                                                                              "));
                ChapterFooterText1.Add(new Chunk("Name, Title", fonts[8]));
                //Paragraph ChapterFooterText2 = new Paragraph("Respectfully submitted,", fonts[8]);
                //Paragraph ChapterFooterText3 = new Paragraph("The Whitfield Co., Inc.\n\n", fonts[8]);
                //Paragraph ChapterFooterText4 = new Paragraph("Jammie Whitfield,", fonts[8]);
                //Paragraph ChapterFooterText5 = new Paragraph("Estimator", fonts[8]);

                chapter.Add(ChapterFooterText1);
                // Paragraph ChapterFooterText2 = new Paragraph("Respectfully submitted,", fonts[8]);
               // Paragraph ChapterFooterText3 = new Paragraph("The Whitfield Co., Inc.\n\n", fonts[8]);
                //Paragraph ChapterFooterText4 = new Paragraph("Jammie Whitfield,\n\n", fonts[8]);
                //Paragraph ChapterFooterText5 = new Paragraph("Accepted By:\n\n", fonts[8]);
               // Paragraph ChapterFooterText6 = new Paragraph("________________________ Date__________", fonts[8]);
               // Paragraph ChapterFooterText7 = new Paragraph("Name, Title", fonts[8]);

                chapter.Add(ChapterFooterText1);
               // chapter.Add(ChapterFooterText2);
               // chapter.Add(ChapterFooterText3);
               // chapter.Add(ChapterFooterText4);
               // chapter.Add(ChapterFooterText5);
                document.Add(chapter);

                //document.Add(new Chunk("Respectfully submitted, ", fonts[8]));
                //document.Add(new Chunk("                                                               "));
                //document.Add(new Chunk("Accepted By:, ", fonts[8]));
                //document.Add(Chunk.NEWLINE);
                //document.Add(new Chunk("The Whitfield Co., Inc., ", fonts[8]));
                //document.Add(new Chunk("                                                            "));
                //document.Add(new Chunk("________________________ Date_________", fonts[8]));
                //document.Add(Chunk.NEWLINE);
                //document.Add(new Chunk("Jammie Whitfield, ", fonts[8]));
                //document.Add(new Chunk("                                                                     "));
                //document.Add(new Chunk("Name, Title", fonts[8]));
                //*******Chapter Terms Ends********************
                document.Close();
                //MyStream.Flush();
                //MyStream.Close();
                //MyStream.Dispose();
                //}
                SetupEmailDocs(Convert.ToInt32(EstNum), _document_rev_number, _filename, _modetype);
                sendEmail(EstNum, _filename, IsFinancial);
            }
        }
        catch (DocumentException ex)
        {
            HttpResponse objResponse = HttpContext.Current.Response;
            objResponse.Write(ex.Message);
        }
        finally
        {
            if (MyStream != null)
            {
                MyStream.Close();
                MyStream.Dispose();
            }
        }

        //Response.Buffer = true;
        //Response.Clear();
        //Write pdf byes to outputstream
        //Response.OutputStream.Write(m.GetBuffer(), 0, m.GetBuffer().Length);
        //Response.OutputStream.Flush();
        //Response.End();
    }
        // 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;
        }
        private void BuildPDF(Dictionary<string, ISPage> pageMap, string baseRoom, Dictionary<string, int> chapterPageMap, bool fakeRun)
        {
            if (fakeRun)
            {
                ISPageHtmlParser.BuildAllISPages(pageMap, baseRoom, filePath).Wait();
            }
            //now that we have all the pages, we'll have to clean them up and decide on pages

            Dictionary<string, int> ISPageToPhysicalPageMap = new Dictionary<string, int>();

            int currentPage = 1;
            int currentChapter = 1;
            Random r = new Random(123456);
            List<string> pagesLeft = new List<string>(pageMap.Count);
            foreach (string x in pageMap.Keys)
            {
                pagesLeft.Add(x);
            }

            using (MemoryStream memStream = new MemoryStream())
            {
                Document pdfDoc = new Document();
                iTextSharp.text.pdf.PdfWriter writer = iTextSharp.text.pdf.PdfWriter.GetInstance(pdfDoc, memStream);
                HeaderFooter evnt = new HeaderFooter();
                if (fakeRun)
                {
                    evnt.pageByTitle = chapterPageMap;
                }
                else
                {
                    evnt.pageByTitle = new Dictionary<string, int>();
                }
                if (!fakeRun)
                {
                    writer.PageEvent = evnt;
                }

                pdfDoc.Open();
                pdfDoc.AddAuthor("test");
                pdfDoc.AddTitle("testTitle");

                while (pagesLeft.Any())
                {

                    string pageToAdd = pagesLeft.First();
                    if (currentPage > 1)
                    {
                        pagesLeft.Skip(r.Next(pagesLeft.Count)).First();
                    }
                    pagesLeft.Remove(pageToAdd);

                    if (fakeRun)
                    {
                        chapterPageMap.Add(pageToAdd, writer.PageNumber + 1);
                    }

                    ISPageToPhysicalPageMap.Add(pageToAdd, currentPage);

                    var chapter = GetPDFPage(pageMap[pageToAdd], int.Parse(pageToAdd), chapterPageMap);
                    pdfDoc.Add(chapter);

                    int actualPageLength = fakeRun ? 1 : chapterPageMap[pageToAdd];

                    currentPage += actualPageLength;
                    currentChapter++;
                }

                pdfDoc.Close();
                writer.Close();

                if (!fakeRun)
                {
                    File.WriteAllBytes(Path.Combine(filePath, fileName), memStream.GetBuffer());
                }
            }
        }
 /**
  * Default constructor
  */
 public SheetSettings(Sheet s)
 {
     sheet = s; // for internal use, when accessing ranges
     orientation = DEFAULT_ORIENTATION;
     pageOrder = DEFAULT_ORDER;
     paperSize = DEFAULT_PAPER_SIZE;
     sheetProtected = false;
     hidden = false;
     selected = false;
     headerMargin = DEFAULT_HEADER_MARGIN;
     footerMargin = DEFAULT_FOOTER_MARGIN;
     horizontalPrintResolution = DEFAULT_PRINT_RESOLUTION;
     verticalPrintResolution = DEFAULT_PRINT_RESOLUTION;
     leftMargin = DEFAULT_WIDTH_MARGIN;
     rightMargin = DEFAULT_WIDTH_MARGIN;
     topMargin = DEFAULT_HEIGHT_MARGIN;
     bottomMargin = DEFAULT_HEIGHT_MARGIN;
     fitToPages = false;
     showGridLines = true;
     printGridLines = false;
     printHeaders = false;
     pageBreakPreviewMode = false;
     displayZeroValues = true;
     defaultColumnWidth = DEFAULT_DEFAULT_COLUMN_WIDTH;
     defaultRowHeight = DEFAULT_DEFAULT_ROW_HEIGHT;
     zoomFactor = DEFAULT_ZOOM_FACTOR;
     pageBreakPreviewMagnification = DEFAULT_PAGE_BREAK_PREVIEW_MAGNIFICATION;
     normalMagnification = DEFAULT_NORMAL_MAGNIFICATION;
     horizontalFreeze = 0;
     verticalFreeze = 0;
     copies = 1;
     header = new HeaderFooter();
     footer = new HeaderFooter();
     automaticFormulaCalculation = true;
     recalculateFormulasBeforeSave = true;
 }
    protected void ExportToPDF(Recordset Recordset, bool LandScape, string StationID)
    {
        try { 

        DataTable MasterCouponTable = new DataTable("MasterCoupon");
        MasterCouponTable.Columns.Add("日期 / 時間", typeof(String));
        MasterCouponTable.Columns.Add("更期", typeof(String));
        MasterCouponTable.Columns.Add("禮券編號", typeof(String));
        MasterCouponTable.Columns.Add("類型", typeof(String));
        MasterCouponTable.Columns.Add("產品", typeof(String));
        MasterCouponTable.Columns.Add("升數", typeof(String));
        MasterCouponTable.Columns.Add("銀碼", typeof(String));
        MasterCouponTable.Columns.Add("車牌", typeof(String));
        while (!(Recordset.Eof))
        {

            //MasterCouponTable.Rows.Add(Recordset.Fields["Present_Date"].Value);
            //MasterCouponTable.Rows.Add(Recordset.Fields["Period"].Value);
            DataRow trow = MasterCouponTable.NewRow();
            trow[0] = Recordset.Fields["Present_Date"].Value;
          //  trow[1] = Recordset.Fields["Period"].Value;
            if (Convert.ToInt32(Recordset.Fields["Period"].Value) == 11)
            {
               // Response.Write("早");
                trow[1] = "早";
            }
            else if (Convert.ToInt32(Recordset.Fields["Period"].Value) == 12)
            {
               // Response.Write("中");
                trow[1] = "中";
            }
            else if (Convert.ToInt32(Recordset.Fields["Period"].Value) == 13)
            {
                //Response.Write("晚");
                trow[1] = "晚";
            }

            trow[2] = Recordset.Fields["Coupon_Number"].Value;
            trow[3] = Recordset.Fields["Coupon_type"].Value;
            trow[4] = Recordset.Fields["Product_Type"].Value;
            trow[5] = String.Format("{0:0.00}", Recordset.Fields["SaleLitre"].Value);
            trow[6] = Recordset.Fields["SaleAmount"].Value;
            trow[7] = Recordset.Fields["Car_ID"].Value;
           

            MasterCouponTable.Rows.Add(trow);
            Recordset.MoveNext();
        }

        GridView gvReport = new GridView();

        gvReport.DataSource = MasterCouponTable;
        gvReport.DataBind();
      

        int noOfColumns = 0, noOfRows = 0;
        DataTable tbl = new DataTable();



        
        tbl = gvReport.DataSource as DataTable;
        noOfColumns = tbl.Columns.Count;
        noOfRows = gvReport.Rows.Count;
        

        float HeaderTextSize = 8;
        float ReportNameSize = 10;
        float ReportTextSize = 8;
        float ApplicationNameSize = 7;

        // Creates a PDF document
        Document document = null;
        FontSelector selector = new FontSelector();
        selector.AddFont(FontFactory.GetFont(FontFactory.TIMES_ROMAN, 12));
        selector.AddFont(FontFactory.GetFont("MSung-Light", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED));

        string fontpath =
        System.Web.HttpContext.Current.Request.PhysicalApplicationPath +
        "include\\fonts\\SimSun.ttf";
        //"simsun.ttf" file was downloaded from web and placed in the folder
        BaseFont bf = BaseFont.CreateFont(fontpath,
                         BaseFont.IDENTITY_H, BaseFont.EMBEDDED);

        //create new font based on BaseFont
        Font fontContent = new Font(bf, 11);
        Font fontHeader = new Font(bf, 12);


        Font simsunBold = new Font(bf, 14, Font.BOLD, Color.BLACK);
        Font simsunNormal = new Font(bf, 11, Font.NORMAL, Color.BLACK);
      
        if (LandScape == true)
        {
            // Sets the document to A4 size and rotates it so that the orientation of the page is Landscape.
            document = new Document(PageSize.A4.Rotate(), 0, 0, 15, 5);
        }
        else
        {
            document = new Document(PageSize.A4, 0, 0, 15, 5);
        }

        // Creates a PdfPTable with column count of the table equal to no of columns of the gridview or gridview datasource.
        iTextSharp.text.pdf.PdfPTable mainTable = new iTextSharp.text.pdf.PdfPTable(noOfColumns);

        // Sets the first 4 rows of the table as the header rows which will be repeated in all the pages.
        mainTable.HeaderRows = 4;

        // Creates a PdfPTable with 2 columns to hold the header in the exported PDF.
        iTextSharp.text.pdf.PdfPTable headerTable = new iTextSharp.text.pdf.PdfPTable(2);

        // Creates a phrase to hold the application name at the left hand side of the header.
        Phrase phApplicationName =  new Phrase(DateTime.Now.Date.ToString("dd/MM/yyyy"), FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL)); 

        // Creates a PdfPCell which accepts a phrase as a parameter.
        PdfPCell clApplicationName = new PdfPCell(phApplicationName);
        // Sets the border of the cell to zero.
        clApplicationName.Border = PdfPCell.NO_BORDER;
        // Sets the Horizontal Alignment of the PdfPCell to left.
        clApplicationName.HorizontalAlignment = Element.ALIGN_LEFT;

        // Creates a phrase to show the current date at the right hand side of the header.
        Phrase phDate = new Phrase("油站 : " + StationID, simsunNormal);

        // Creates a PdfPCell which accepts the date phrase as a parameter.
        PdfPCell clDate = new PdfPCell(phDate);
        // Sets the Horizontal Alignment of the PdfPCell to right.
        clDate.HorizontalAlignment = Element.ALIGN_RIGHT;
        // Sets the border of the cell to zero.
        clDate.Border = PdfPCell.NO_BORDER;

        // Adds the cell which holds the application name to the headerTable.
        headerTable.AddCell(clApplicationName);
        // Adds the cell which holds the date to the headerTable.
        headerTable.AddCell(clDate);
        // Sets the border of the headerTable to zero.
        headerTable.DefaultCell.Border = PdfPCell.NO_BORDER;

        // Creates a PdfPCell that accepts the headerTable as a parameter and then adds that cell to the main PdfPTable.
        PdfPCell cellHeader = new PdfPCell(headerTable);
        cellHeader.Border = PdfPCell.NO_BORDER;
        // Sets the column span of the header cell to noOfColumns.
        cellHeader.Colspan = noOfColumns;
        // Adds the above header cell to the table.
        mainTable.AddCell(cellHeader);

        // Creates a phrase which holds the file name.
        Phrase phHeader = new Phrase("禮券驗證系統",simsunNormal);
        PdfPCell clHeader = new PdfPCell(phHeader);
        clHeader.Colspan = noOfColumns;
        clHeader.Border = PdfPCell.NO_BORDER;
        clHeader.HorizontalAlignment = Element.ALIGN_CENTER;
        mainTable.AddCell(clHeader);

        // Creates a phrase for a new line.
        Phrase phSpace = new Phrase("\n");
        PdfPCell clSpace = new PdfPCell(phSpace);
        clSpace.Border = PdfPCell.NO_BORDER;
        clSpace.Colspan = noOfColumns;
        mainTable.AddCell(clSpace);
        PdfPCell hc;
        PdfPCell fc;

        // Sets the gridview column names as table headers.
        for (int i = 0; i < noOfColumns; i++)
        {
            Phrase ph = null;
            

            if (gvReport.AutoGenerateColumns)
            {
                ph = new Phrase(tbl.Columns[i].ColumnName, simsunNormal);
            }
            else
            {
                ph = new Phrase(gvReport.Columns[i].HeaderText, simsunNormal);
                  
            }

            hc = new PdfPCell(new Phrase(ph));
            hc.Top = 5f;
          
            hc.FixedHeight = 20f;
            hc.HorizontalAlignment =1 ;
            hc.BackgroundColor = iTextSharp.text.Color.LIGHT_GRAY;// new BaseColor(221,221,221,1);  

           // BaseColor objBaseColor = new BaseColor(System.Drawing.ColorTranslator.FromHtml("#008000"));
            
            


            mainTable.AddCell(hc);
        }

        // Reads the gridview rows and adds them to the mainTable
        for (int rowNo = 0; rowNo < noOfRows; rowNo++)
        {
            for (int columnNo = 0; columnNo < noOfColumns; columnNo++)
            {
                if (gvReport.AutoGenerateColumns)
                {
                    string s = gvReport.Rows[rowNo].Cells[columnNo].Text.Trim();
                    Phrase ph = new Phrase(s, simsunNormal);
                    hc = new PdfPCell(new Phrase(ph));
                    hc.Left =2f;
                    mainTable.AddCell(hc);
                }
                else
                {
                    if (gvReport.Columns[columnNo] is TemplateField)
                    {
                        DataBoundLiteralControl lc = gvReport.Rows[rowNo].Cells[columnNo].Controls[0] as DataBoundLiteralControl;
                        string s = lc.Text.Trim();
                        Phrase ph = new Phrase(s, simsunNormal);
                        hc = new PdfPCell(new Phrase(ph));
                        hc.Top = 0f;
                        hc.FixedHeight = 7f;
                        hc.HorizontalAlignment = 1;
                        hc.BackgroundColor = iTextSharp.text.Color.LIGHT_GRAY;
                        ((Chunk)(hc.Phrase[0])).Font = new iTextSharp.text.Font(((Chunk)(hc.Phrase[0])).Font.Family, 5f);
                        mainTable.AddCell(hc); 
                       
                    }
                    else
                    {
                        string s = gvReport.Rows[rowNo].Cells[columnNo].Text.Trim();
                        Phrase ph = new Phrase(s, simsunNormal);
                        hc = new PdfPCell(new Phrase(ph));
                        hc.Left = 2f;
                        mainTable.AddCell(hc);
                    }
                }
            }

            // Tells the mainTable to complete the row even if any cell is left incomplete.
            mainTable.CompleteRow();
        }

        // Gets the instance of the document created and writes it to the output stream of the Response object.
        PdfWriter.GetInstance(document, Response.OutputStream);

        // Creates a footer for the PDF document.
        HeaderFooter pdfFooter = new HeaderFooter(new Phrase(), true);
        pdfFooter.Alignment = Element.ALIGN_CENTER;
        pdfFooter.Border = iTextSharp.text.Rectangle.NO_BORDER;

        // Sets the document footer to pdfFooter.
        document.Footer = pdfFooter;
        // Opens the document.
        document.Open();
        // Adds the mainTable to the document.
        document.Add(mainTable);
        // Closes the document.
        document.Close();

         
       
            }
        catch(Exception ex)
        { 
            
        }

    }
Example #54
0
 protected void FlattenHeaderFooter(HeaderFooter headerFooter, bool isHeader)
 { }
        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
        }
Example #56
0
        internal override void VisitHeaderFooter(HeaderFooter headerFooter)
        {
            Document document = headerFooter.Document;
            string styleString;
            if (headerFooter.IsHeader)
                styleString = StyleNames.Header;
            else
                styleString = StyleNames.Footer;

            ParagraphFormat format;
            Style style = document._styles[headerFooter._style.Value];
            if (style != null)
                format = ParagraphFormatFromStyle(style);
            else
            {
                format = document._styles[styleString]._paragraphFormat;
                headerFooter.Style = styleString;
            }

            if (headerFooter._format == null)
            {
                headerFooter._format = format.Clone();
                headerFooter._format._parent = headerFooter;
            }
            else
                FlattenParagraphFormat(headerFooter._format, format);
        }
        // Generates content of worksheetPart1.
        private void GenerateWorksheetPart1Content(WorksheetPart worksheetPart1)
        {
            Worksheet worksheet1 = new Worksheet();
            worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

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

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

            SheetViews sheetViews1 = new SheetViews();

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

            sheetView1.Append(selection1);

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

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

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

            SheetData sheetData1 = new SheetData();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            cell122.Append(cellValue10);

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

            cell123.Append(cellValue11);

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

            cell124.Append(cellValue12);

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

            cell125.Append(cellValue13);

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

            cell126.Append(cellValue14);

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

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

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

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

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

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

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

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

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

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

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

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

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

            cell159.Append(cellValue17);

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

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

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

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

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

            cell166.Append(cellValue19);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            worksheetPart1.Worksheet = worksheet1;
        }
        private void exportToPDF(DataTable dt)
        {
            Document document = new Document(PageSize.LEDGER, 10, 10, 42, 35);
            
                string title = "System Report (Visitor)_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + ".pdf";
                PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(title, FileMode.Create));
                
                    HeaderFooter hf = new HeaderFooter();
                    writer.SetBoxSize("art", new Rectangle(36, 54, 220, 760));
                    writer.PageEvent = hf;

                    document.Open();

                    var logo = CondorProject.Properties.Resources.textCondor;
                    var logoCondor = iTextSharp.text.Image.GetInstance(logo, BaseColor.WHITE);
                    logoCondor.Alignment = Image.ALIGN_CENTER;
                    document.Add(logoCondor);

                    Font font5 = FontFactory.GetFont(FontFactory.HELVETICA, 12);
                    Font font6 = FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 12);
                    Font headerFont = FontFactory.GetFont(FontFactory.COURIER_BOLD, 18);

                    Paragraph labelHeader = new Paragraph("VISITOR LIST", headerFont);
                    labelHeader.Alignment = Element.ALIGN_CENTER;
                    labelHeader.SpacingAfter = 20;
                    document.Add(labelHeader);


                    PdfPTable table = new PdfPTable(dt.Columns.Count);
                    float[] widths = new float[] { 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f, 4f };
                    table.SetWidths(widths);
                    table.WidthPercentage = 100;

                    PdfPCell cell = new PdfPCell(new Phrase("Visitors"));

                    cell.Colspan = dt.Columns.Count;

                    foreach (DataColumn c in dt.Columns)
                    {

                        String NewName = c.ColumnName;
                        String revisedName = "";
                        switch (NewName)
                        {
                            case "idVisitor":
                                revisedName = "Visitor's ID";
                                break;
                            case "firstName":
                                revisedName = "First Name";
                                break;
                            case "lastName":
                                revisedName = "Last Name";
                                break;
                            case "gender":
                                revisedName = "Gender";
                                break;
                            case "unitNumber":
                                revisedName = "Unit Number";
                                break;
                            case "idDetails":
                                revisedName = "ID Detail";
                                break;
                            case "visitorRelation":
                                revisedName = "Relation to Owner";
                                break;
                            case "purposeOfVisit":
                                revisedName = "Purpose Of Visit";
                                break;
                            case "timeIn":
                                revisedName = "Time In";
                                break;
                            case "timeOut":
                                revisedName = "Time Out";
                                break;
                            case "idOwner":
                                revisedName = "Owner's ID";
                                break;
                            case "idFacilitator":
                                revisedName = "Facilitator's ID";
                                break;
                            case "ownerLastName":
                                revisedName = "Unit Owner(Last Name)";
                                break;
                            case "ownerFirstName":
                                revisedName = "Unit Owner(First Name)";
                                break;
                            case "facilitatorLastName":
                                revisedName = "Facilitator(Last Name)";
                                break;
                            default:
                                break;

                        }
                        PdfPCell labeledCell = new PdfPCell(new Phrase(revisedName, font6));
                        labeledCell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                        labeledCell.BackgroundColor = new BaseColor(35, 197, 227);
                        labeledCell.Padding = 4;

                        table.AddCell(labeledCell);

                        //table.AddCell(new Phrase(c.ColumnName, font5));
                    }

                    foreach (DataRow r in dt.Rows)
                    {
                        if (dt.Rows.Count > 0)
                        {
                            table.AddCell(new Phrase(r[0].ToString(), font5));
                            table.AddCell(new Phrase(r[1].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[2].ToString(), font5));
                            table.AddCell(new Phrase(r[3].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[4].ToString(), font5));
                            table.AddCell(new Phrase(r[5].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[6].ToString(), font5));
                            table.AddCell(new Phrase(r[7].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[8].ToString(), font5));
                            table.AddCell(new Phrase(r[9].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[10].ToString(), font5));
                            table.AddCell(new Phrase(r[11].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[12].ToString(), font5));
                            table.AddCell(new Phrase(r[13].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                            table.AddCell(new Phrase(r[14].ToString(), font5));
                            cell.BackgroundColor = BaseColor.LIGHT_GRAY;
                        }
                    }
                    document.Add(table);
                    document.Close();
                
            }
Example #59
0
        /// <summary>
        /// Parses the keywords «\header».
        /// </summary>
        private void ParseHeaderFooter(Section section)
        {
            if (section == null)
                throw new ArgumentNullException("section");

            try
            {
                Symbol hdrFtrSym = Symbol;
                bool isHeader = hdrFtrSym == Symbol.Header ||
                  hdrFtrSym == Symbol.PrimaryHeader ||
                  hdrFtrSym == Symbol.FirstPageHeader ||
                  hdrFtrSym == Symbol.EvenPageHeader;

                // Recall that the styles "Header" resp. "Footer" are used as default if
                // no other style was given. But this belongs to the rendering process,
                // not to the DDL parser. Therefore no code here belongs to that.
                HeaderFooter headerFooter = new HeaderFooter();
                ReadCode(); // read '[' or '{'
                if (Symbol == Symbol.BracketLeft)
                    ParseAttributes(headerFooter);

                AssertSymbol(Symbol.BraceLeft);
                if (IsParagraphContent())
                {
                    Paragraph paragraph = headerFooter.Elements.AddParagraph();
                    ParseParagraphContent(headerFooter.Elements, paragraph);
                }
                else
                {
                    ReadCode(); // parse '{'
                    ParseDocumentElements(headerFooter.Elements, Symbol.HeaderOrFooter);
                }
                AssertSymbol(Symbol.BraceRight);
                ReadCode(); // parse beyond '{'

                HeadersFooters headersFooters = isHeader ? section.Headers : section.Footers;
                if (hdrFtrSym == Symbol.Header || hdrFtrSym == Symbol.Footer)
                {
                    headersFooters.Primary = headerFooter.Clone();
                    headersFooters.EvenPage = headerFooter.Clone();
                    headersFooters.FirstPage = headerFooter.Clone();
                }
                else
                {
                    switch (hdrFtrSym)
                    {
                        case Symbol.PrimaryHeader:
                        case Symbol.PrimaryFooter:
                            headersFooters.Primary = headerFooter;
                            break;

                        case Symbol.EvenPageHeader:
                        case Symbol.EvenPageFooter:
                            headersFooters.EvenPage = headerFooter;
                            break;

                        case Symbol.FirstPageHeader:
                        case Symbol.FirstPageFooter:
                            headersFooters.FirstPage = headerFooter;
                            break;
                    }
                }
            }
            catch (DdlParserException ex)
            {
                ReportParserException(ex);
                AdjustToNextBlock();
            }
        }
 internal WordHeaderFooter(HeaderFooter headerFooter)
 {
     this._headerFooter = headerFooter;
 }