Ejemplo n.º 1
0
        public void CreateWord(WordprocessingDocument package, ModelMemoReport template, object obj = null)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingPage    = new PageSetting();
            DocumentsFull documentInvoke = new DocumentsFull();

            if (template.SelectParameterDocument.NumberDocument != 4)
            {
                Fotters footers = new Fotters();
                footers.FottersAddDocument(mainDocumentPart, template.Executor.NameUser, template.Executor.Phone);
                document.Append(settingPage.AddSetting(mainDocumentPart));
                document.Append(documentInvoke.CreateDocMemoReport(template));
            }
            else
            {
                document.Append(settingPage.ParametrPageHorizontEditMargin(new PageMargin()
                {
                    Top = 300, Right = 794, Bottom = 200, Left = 794, Header = 300, Footer = 700U, Gutter = 0U
                }));
                document.Append(documentInvoke.CreateDocMemoApplication(template));
            }
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 2
0
        public WordDocument()
        {
            _document = new Document {
                Body = new Body()
            };

            _styles = new List <WordStyle>();
        }
Ejemplo n.º 3
0
        private void RemoveSdtElements(DocumentFormat.OpenXml.Wordprocessing.Document doc)
        {
            var sdtList = doc.Body.Descendants <SdtElement>().ToList();

            foreach (var element in sdtList)
            {
                element.Remove();
            }
        }
Ejemplo n.º 4
0
        private void RemoveRubbish(DocumentFormat.OpenXml.Wordprocessing.Document doc)
        {
            var body     = doc.Body;
            var textList = body.Descendants <Text>();

            foreach (var text in textList)
            {
                text.Text = Regex.Replace(text.Text, @"((^\s*\(\))|(^\s*\()|(^\s*\)))", "", RegexOptions.None);
            }
        }
Ejemplo n.º 5
0
        private void ExportStockUnitData(DocumentFormat.OpenXml.Wordprocessing.Document doc, StockUnit stockUnit)
        {
            string tag;

            tag = "StockUnit:StockNumber";
            FillRepeatingData(doc, tag, stockUnit.StockNumber, false);
            tag = "StockUnit:StockName";
            FillRepeatingData(doc, tag, stockUnit.StockName, false);
            tag = "StockUnit:CreationDate";
            FillRepeatingData(doc, tag, stockUnit.CreationDate.ToShortDateString(), false);
        }
Ejemplo n.º 6
0
        /// <summary>
        /// Создание xml Word
        /// </summary>
        /// <param name="package"></param>
        /// <param name="template"></param>
        /// <param name="obj"></param>
        public void CreateWord(WordprocessingDocument package, EfDatabaseTelephoneHelp.TelephoneHelp template, object obj)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingpage    = new PageSetting();
            DocumentsFull documentInvoce = new DocumentsFull();

            document.Append(settingpage.DocumentSettingVertical());
            document.Append(documentInvoce.DocumentsTelephoneHelp(template));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 7
0
        public void CreateWord(WordprocessingDocument package, CardFaceUl template, object obj)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting      settingPage     = new PageSetting();
            DocumentsPreChek documentInvoice = new DocumentsPreChek();

            document.Append(settingPage.DocumentSettingVertical(new PageMargin()
            {
                Top = 1135, Right = 567, Bottom = 567, Left = 1135
            }));
            document.Append(documentInvoice.GenerateReportNote(template));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 8
0
        public void CreateWord(WordprocessingDocument package, CardFaceUl template, object obj)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting      settingPage     = new PageSetting();
            DocumentsPreChek documentInvoice = new DocumentsPreChek();

            document.Append(settingPage.ParametrPageHorizontEditMargin(new PageMargin()
            {
                Top = 567, Right = 200, Bottom = 567, Left = 200
            }));
            document.Append(documentInvoice.GenerateSalesBookReportNote(template, (int)obj));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 9
0
        /// <summary>
        /// Создание выписки выгрузки данных
        /// </summary>
        /// <param name="package">Пакет</param>
        /// <param name="template">Шаблон</param>
        /// <param name="obj">Объект</param>
        public void CreateWord(WordprocessingDocument package, Statement template, object obj = null)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting settingPage = new PageSetting();
            GenerateStatementPreCheck documentStatement = new GenerateStatementPreCheck();

            document.Append(settingPage.DocumentSettingVertical(new PageMargin()
            {
                Top = 1135, Right = 567, Bottom = 567, Left = 1135
            }));
            document.Append(documentStatement.GenerateStatementNote(template));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 10
0
        public void CreateWord(WordprocessingDocument package, Otdel templateotdel, SenderUsers senders, object obj)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingpage    = new PageSetting();
            DocumentsFull documentInvoce = new DocumentsFull();

            document.Append(settingpage.ParametrPageHorizontEditMargin(new PageMargin()
            {
                Top = 300, Right = 794, Bottom = 100, Left = 794, Header = 300, Footer = 700U, Gutter = 0U
            }));
            document.Append(documentInvoce.GenerateRuleUserTemplate(templateotdel, senders));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 11
0
        public void CreateWord(WordprocessingDocument package, Act[] template, object obj = null)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingPage     = new PageSetting();
            DocumentsFull documentInvoice = new DocumentsFull();

            document.Append(settingPage.DocumentSettingVertical(new PageMargin()
            {
                Top = 567, Right = 963, Bottom = 567, Left = 1020
            }));
            document.Append(documentInvoice.Act(template));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 12
0
        public void CreateWord(WordprocessingDocument package, List <AllTechnic> template, object obj = null)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingPage    = new PageSetting();
            DocumentsFull documentInvoce = new DocumentsFull();

            document.Append(settingPage.ParametrPageHorizontEditMargin(new PageMargin()
            {
                Left = 500, Right = 500, Bottom = 500, Top = 500
            }));
            document.Append(documentInvoce.Sticker(template, mainDocumentPart));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 13
0
        public void CreateWord(WordprocessingDocument package, EfDatabase.Journal.AllJournal template, object obj)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            PageSetting   settingPage     = new PageSetting();
            DocumentsFull documentInvoice = new DocumentsFull();

            document.Append(settingPage.ParametrPageHorizontEditMargin(new PageMargin()
            {
                Top = 1701, Right = 1134, Bottom = 850, Left = 1134
            }));
            document.Append(documentInvoice.CreateJournal(template));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 14
0
        /// <summary>
        /// Create a blank document and insert text into it
        /// </summary>
        /// <param name="filePath">Path and filename to create</param>
        /// <param name="covertText">Text to be inserted</param>
        /// <param name="hipsNamespace">Optional parameter to specify namespace for covert text</param>
        public static void createFileInsertText(string filePath, string covertText, string hipsNamespace = "")
        {
            var blankDoc = new wp.Document(
                new wp.Body(
                    new wp.Paragraph(
                        new wp.Run())));

            hipsNamespace = string.IsNullOrEmpty(hipsNamespace) ? hipsDOCX.hipsNamespace : hipsNamespace;
            var xdoc = generateDocBodyXML(hipsNamespace, new StringReader(blankDoc.OuterXml), covertText);

            using (WordprocessingDocument wordDocument = WordprocessingDocument.Create(filePath, WordprocessingDocumentType.Document))
            {
                MainDocumentPart mainPart = wordDocument.AddMainDocumentPart();
                mainPart.Document = new wp.Document(xdoc.OuterXml);
            }
        }
Ejemplo n.º 15
0
        private void ExportNoteData(DocumentFormat.OpenXml.Wordprocessing.Document doc, IList <StockUnitNote> notes)
        {
            string tag;

            for (int i = 0; i < notes.Count; i++)
            {
                var addRow = i != notes.Count - 1;
                tag = "tbl:Notes:AutoNumber";
                FillRepeatingData(doc, tag, (i + 1).ToString(), addRow);
                tag = "tbl:Notes:Title";
                FillRepeatingData(doc, tag, notes[i].Title, false);
                tag = "tbl:Notes:Text";
                FillRepeatingData(doc, tag, notes[i].Text, false);
                tag = "tbl:Notes:Comments";
                FillRepeatingData(doc, tag, notes[i].Comments, false);
            }
        }
Ejemplo n.º 16
0
        public void CreateWord(WordprocessingDocument package, Report template, object obj = null)
        {
            MainDocumentPart mainDocumentPart = package.AddMainDocumentPart();

            DocumentFormat.OpenXml.Wordprocessing.Document document = new DocumentFormat.OpenXml.Wordprocessing.Document();
            ImagePart image = mainDocumentPart.AddImagePart(ImagePartType.Jpeg);

            using (FileStream file = new FileStream(template.Main.Barcode.PathBarcode, FileMode.Open))
            {
                image.FeedData(file);
            }
            PageSetting   settingpage    = new PageSetting();
            DocumentsFull documentInvoce = new DocumentsFull();

            document.Append(settingpage.ParametrPageHorizont());
            document.Append(documentInvoce.DocumentsBook(template, mainDocumentPart.GetIdOfPart(image)));
            mainDocumentPart.Document = document;
        }
Ejemplo n.º 17
0
        private void FillRepeatingData(DocumentFormat.OpenXml.Wordprocessing.Document doc, string tag, string text, bool addRow)
        {
            var element = doc.Body.Descendants <SdtElement>()
                          .FirstOrDefault(sdt => sdt.SdtProperties.GetFirstChild <Tag>().Val == tag);

            if (element == null)
            {
                return;
            }

            var tableRow = element.Parent as TableRow;

            if (tableRow == null)
            {
                tableRow = element.Parent.Parent as TableRow;
                if (tableRow == null)
                {
                    tableRow = element.Parent.Parent.Parent as TableRow;
                    if (tableRow == null)
                    {
                        return;
                    }
                }
            }

            var table = tableRow.Parent as Table;

            if (table == null)
            {
                return;
            }

            var newTableRow = tableRow.Clone() as OpenXmlElement;

            if (addRow)
            {
                table.InsertAfter(newTableRow, tableRow);
            }

            ReplaceSdtWithText(element, text);
        }
Ejemplo n.º 18
0
        private void ExportUnitData(DocumentFormat.OpenXml.Wordprocessing.Document doc, IList <Unit> unitList)
        {
            string tag;

            for (int i = 0; i < unitList.Count; i++)
            {
                var addRow = i != unitList.Count - 1;
                tag = "tbl:Unit:AutoNumber";
                FillRepeatingData(doc, tag, (i + 1).ToString(), addRow);
                tag = "tbl:Unit:UnitType";
                FillRepeatingData(doc, tag, unitList[i].UnitType.TypeName, false);
                tag = "tbl:Unit:Manufacture";
                FillRepeatingData(doc, tag, unitList[i].Manufacture, false);
                tag = "tbl:Unit:ModelName";
                FillRepeatingData(doc, tag, unitList[i].ModelName, false);
                tag = "tbl:Unit:Serial";
                FillRepeatingData(doc, tag, unitList[i].Serial, false);
                tag = "tbl:Unit:Comments";
                FillRepeatingData(doc, tag, unitList[i].Comments, false);
            }
        }
Ejemplo n.º 19
0
        private void ExportRepairData(DocumentFormat.OpenXml.Wordprocessing.Document doc, IList <Repair> repairList)
        {
            string tag;

            for (int i = 0; i < repairList.Count; i++)
            {
                var addRow = i != repairList.Count - 1;
                tag = "tbl:Repair:AutoNumber";
                FillRepeatingData(doc, tag, (i + 1).ToString(), addRow);
                tag = "tbl:Repair:Defect";
                FillRepeatingData(doc, tag, repairList[i].Defect, false);
                tag = "tbl:Repair:Result";
                FillRepeatingData(doc, tag, repairList[i].Result, false);
                tag = "tbl:Repair:UserAcc";
                FillRepeatingData(doc, tag, repairList[i].User.Name.DisplayName, false);
                tag = "tbl:Repair:CompletedDate";
                FillRepeatingData(doc, tag, repairList[i].CompletedDate.ToShortDateString(), false);
                tag = "tbl:Repair:Comments";
                FillRepeatingData(doc, tag, repairList[i].Comments, false);
            }
        }
Ejemplo n.º 20
0
        public async Task <FileContentResult> GenerateDemoWord()
        {
            //https://stackoverflow.com/questions/49685641/create-docx-word-document-web-api-net-core-2-0
            //https://www.nuget.org/packages/DocumentFormat.OpenXml/%20
            //https://github.com/OfficeDev/Open-XML-SDK
            //https://docs.microsoft.com/en-us/office/open-xml/open-xml-sdk
            // open xml sdk - docx
            using (MemoryStream mem = new MemoryStream())
            {
                await Task.Run(() =>
                {
                    using (WordprocessingDocument wordDoc = WordprocessingDocument.Create(mem, DocumentFormat.OpenXml.WordprocessingDocumentType.Document, true))
                    {
                        wordDoc.AddMainDocumentPart();
                        // siga a ordem
                        Document doc = new Document();
                        Body body    = new Body();

                        // 1 paragrafo
                        Paragraph para = new Paragraph();

                        ParagraphProperties paragraphProperties1 = new ParagraphProperties();
                        ParagraphStyleId paragraphStyleId1       = new ParagraphStyleId()
                        {
                            Val = "Normal"
                        };
                        Justification justification1 = new Justification()
                        {
                            Val = JustificationValues.Center
                        };
                        ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();

                        paragraphProperties1.Append(paragraphStyleId1);
                        paragraphProperties1.Append(justification1);
                        paragraphProperties1.Append(paragraphMarkRunProperties1);

                        Run run = new Run();
                        RunProperties runProperties1 = new RunProperties();

                        Text text = new Text()
                        {
                            Text = "The OpenXML SDK rocks!"
                        };

                        // siga a ordem
                        run.Append(runProperties1);
                        run.Append(text);
                        para.Append(paragraphProperties1);
                        para.Append(run);

                        // 2 paragrafo
                        Paragraph para2 = new Paragraph();

                        ParagraphProperties paragraphProperties2 = new ParagraphProperties();
                        ParagraphStyleId paragraphStyleId2       = new ParagraphStyleId()
                        {
                            Val = "Normal"
                        };
                        Justification justification2 = new Justification()
                        {
                            Val = JustificationValues.Start
                        };
                        ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();

                        paragraphProperties2.Append(paragraphStyleId2);
                        paragraphProperties2.Append(justification2);
                        paragraphProperties2.Append(paragraphMarkRunProperties2);

                        Run run2 = new Run();
                        RunProperties runProperties3 = new RunProperties();
                        Text text2 = new Text();
                        text2.Text = "Teste aqui";

                        run2.AppendChild(new Break());
                        run2.AppendChild(new Text("Hello"));
                        run2.AppendChild(new Break());
                        run2.AppendChild(new Text("world"));

                        para2.Append(paragraphProperties2);
                        para2.Append(run2);

                        // todos os 2 paragrafos no main body
                        body.Append(para);
                        body.Append(para2);

                        doc.Append(body);

                        wordDoc.MainDocumentPart.Document = doc;

                        wordDoc.Close();
                    }
                });

                var mimeType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
                return(new FileContentResult(mem.ToArray(), mimeType)
                {
                    FileDownloadName = "ABC.docx"
                });

                //  return File(mem.ToArray(), "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "ABC.docx");
            }



            // throw new NotImplementedException();
        }
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            DocumentFormat.OpenXml.Wordprocessing.Document document1 = new DocumentFormat.OpenXml.Wordprocessing.Document();

            Body body1 = new Body();

            CustomXmlBlock customXmlBlock1 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "reportdoc" };

            CustomXmlBlock customXmlBlock2 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "body" };

            CustomXmlBlock customXmlBlock3 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "opinion" };

            CustomXmlBlock customXmlBlock4 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "product" };

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "006A0B1E", RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00397A9E", RsidRunAdditionDefault = "005546F4" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "StyleProductNameBefore0ptAfter8pt" };

            paragraphProperties1.Append(paragraphStyleId1);

            Run run1 = new Run();
            Text text1 = new Text();
            text1.Text = "PRODUCT: ASIA EX JAPAN EQUITIES";

            run1.Append(text1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "Grilledutableau" };
            TablePositionProperties tablePositionProperties1 = new TablePositionProperties() { LeftFromText = 141, RightFromText = 141, VerticalAnchor = VerticalAnchorValues.Text, TablePositionY = 74 };
            TableWidth tableWidth1 = new TableWidth() { Width = "10485", Type = TableWidthUnitValues.Dxa };

            TableBorders tableBorders1 = new TableBorders();
            TopBorder topBorder1 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            LeftBorder leftBorder1 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            BottomBorder bottomBorder1 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder1 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideHorizontalBorder insideHorizontalBorder1 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);
            TableLayout tableLayout1 = new TableLayout() { Type = TableLayoutValues.Fixed };

            TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault();
            TableCellLeftMargin tableCellLeftMargin1 = new TableCellLeftMargin() { Width = 45, Type = TableWidthValues.Dxa };
            TableCellRightMargin tableCellRightMargin1 = new TableCellRightMargin() { Width = 45, Type = TableWidthValues.Dxa };

            tableCellMarginDefault1.Append(tableCellLeftMargin1);
            tableCellMarginDefault1.Append(tableCellRightMargin1);
            TableLook tableLook1 = new TableLook() { Val = "01E0" };

            tableProperties1.Append(tableStyle1);
            tableProperties1.Append(tablePositionProperties1);
            tableProperties1.Append(tableWidth1);
            tableProperties1.Append(tableBorders1);
            tableProperties1.Append(tableLayout1);
            tableProperties1.Append(tableCellMarginDefault1);
            tableProperties1.Append(tableLook1);

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "2124" };
            GridColumn gridColumn2 = new GridColumn() { Width = "2892" };
            GridColumn gridColumn3 = new GridColumn() { Width = "2576" };
            GridColumn gridColumn4 = new GridColumn() { Width = "2893" };

            tableGrid1.Append(gridColumn1);
            tableGrid1.Append(gridColumn2);
            tableGrid1.Append(gridColumn3);
            tableGrid1.Append(gridColumn4);

            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "004427CC", RsidTableRowProperties = "00443CD0" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            TableRowHeight tableRowHeight1 = new TableRowHeight() { Val = (UInt32Value)182U };

            tableRowProperties1.Append(tableRowHeight1);

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "2124", Type = TableWidthUnitValues.Dxa };

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "000C4F36", RsidRunAdditionDefault = "004427CC" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId2 = new ParagraphStyleId() { Val = "TableHeading" };
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            paragraphProperties2.Append(paragraphStyleId2);
            paragraphProperties2.Append(spacingBetweenLines1);

            Run run2 = new Run();
            Text text2 = new Text();
            text2.Text = "ASSET CLASS";

            run2.Append(text2);

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run2);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph2);

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "2892", Type = TableWidthUnitValues.Dxa };

            tableCellProperties2.Append(tableCellWidth2);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "000C4F36", RsidRunAdditionDefault = "004427CC" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId3 = new ParagraphStyleId() { Val = "TableHeading" };
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            paragraphProperties3.Append(paragraphStyleId3);
            paragraphProperties3.Append(spacingBetweenLines2);

            Run run3 = new Run();
            Text text3 = new Text();
            text3.Text = "GEOGRAPHIC EMPHASIS";

            run3.Append(text3);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run3);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph3);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "2576", Type = TableWidthUnitValues.Dxa };

            tableCellProperties3.Append(tableCellWidth3);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "000C4F36", RsidRunAdditionDefault = "004427CC" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId4 = new ParagraphStyleId() { Val = "TableHeading" };
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            paragraphProperties4.Append(paragraphStyleId4);
            paragraphProperties4.Append(spacingBetweenLines3);

            Run run4 = new Run();
            Text text4 = new Text();
            text4.Text = "STYLE";

            run4.Append(text4);

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(run4);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph4);

            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "2893", Type = TableWidthUnitValues.Dxa };

            tableCellProperties4.Append(tableCellWidth4);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "000C4F36", RsidRunAdditionDefault = "004427CC" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId5 = new ParagraphStyleId() { Val = "TableHeading" };
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            paragraphProperties5.Append(paragraphStyleId5);
            paragraphProperties5.Append(spacingBetweenLines4);

            Run run5 = new Run();
            Text text5 = new Text();
            text5.Text = "SUBSTYLE";

            run5.Append(text5);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run5);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph5);

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);
            tableRow1.Append(tableCell3);
            tableRow1.Append(tableCell4);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "004427CC", RsidTableRowProperties = "00443CD0" };

            CustomXmlCell customXmlCell1 = new CustomXmlCell() { Uri = "http://hubblereports.com/namespace", Element = "AssetClass" };

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "2124", Type = TableWidthUnitValues.Dxa };

            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "005546F4", RsidRunAdditionDefault = "005546F4" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId6 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties1.Append(fontSizeComplexScript1);

            paragraphProperties6.Append(paragraphStyleId6);
            paragraphProperties6.Append(spacingBetweenLines5);
            paragraphProperties6.Append(paragraphMarkRunProperties1);

            Run run6 = new Run();

            RunProperties runProperties1 = new RunProperties();
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "18" };

            runProperties1.Append(fontSizeComplexScript2);
            Text text6 = new Text();
            text6.Text = "Equity";

            run6.Append(runProperties1);
            run6.Append(text6);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run6);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph6);

            customXmlCell1.Append(tableCell5);

            CustomXmlCell customXmlCell2 = new CustomXmlCell() { Uri = "http://hubblereports.com/namespace", Element = "GeoEmphasis" };

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "2892", Type = TableWidthUnitValues.Dxa };

            tableCellProperties6.Append(tableCellWidth6);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "005546F4", RsidRunAdditionDefault = "005546F4" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId7 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties2.Append(fontSizeComplexScript3);

            paragraphProperties7.Append(paragraphStyleId7);
            paragraphProperties7.Append(spacingBetweenLines6);
            paragraphProperties7.Append(paragraphMarkRunProperties2);

            Run run7 = new Run();

            RunProperties runProperties2 = new RunProperties();
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "18" };

            runProperties2.Append(fontSizeComplexScript4);
            Text text7 = new Text();
            text7.Text = "Asia ex Japan";

            run7.Append(runProperties2);
            run7.Append(text7);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run7);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph7);

            customXmlCell2.Append(tableCell6);

            CustomXmlCell customXmlCell3 = new CustomXmlCell() { Uri = "http://hubblereports.com/namespace", Element = "Style" };

            TableCell tableCell7 = new TableCell();

            TableCellProperties tableCellProperties7 = new TableCellProperties();
            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "2576", Type = TableWidthUnitValues.Dxa };

            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "005546F4", RsidRunAdditionDefault = "005546F4" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId8 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties3.Append(fontSizeComplexScript5);

            paragraphProperties8.Append(paragraphStyleId8);
            paragraphProperties8.Append(spacingBetweenLines7);
            paragraphProperties8.Append(paragraphMarkRunProperties3);

            Run run8 = new Run();

            RunProperties runProperties3 = new RunProperties();
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "18" };

            runProperties3.Append(fontSizeComplexScript6);
            Text text8 = new Text();
            text8.Text = "-";

            run8.Append(runProperties3);
            run8.Append(text8);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run8);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph8);

            customXmlCell3.Append(tableCell7);

            CustomXmlCell customXmlCell4 = new CustomXmlCell() { Uri = "http://hubblereports.com/namespace", Element = "Substyle" };

            TableCell tableCell8 = new TableCell();

            TableCellProperties tableCellProperties8 = new TableCellProperties();
            TableCellWidth tableCellWidth8 = new TableCellWidth() { Width = "2893", Type = TableWidthUnitValues.Dxa };

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "004427CC", RsidParagraphProperties = "005546F4", RsidRunAdditionDefault = "005546F4" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId9 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties4.Append(fontSizeComplexScript7);

            paragraphProperties9.Append(paragraphStyleId9);
            paragraphProperties9.Append(spacingBetweenLines8);
            paragraphProperties9.Append(paragraphMarkRunProperties4);

            Run run9 = new Run();
            Text text9 = new Text();
            text9.Text = "-";

            run9.Append(text9);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run9);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph9);

            customXmlCell4.Append(tableCell8);

            tableRow2.Append(customXmlCell1);
            tableRow2.Append(customXmlCell2);
            tableRow2.Append(customXmlCell3);
            tableRow2.Append(customXmlCell4);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            table1.Append(tableRow2);

            customXmlBlock4.Append(paragraph1);
            customXmlBlock4.Append(table1);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphMarkRevision = "00E12034", RsidParagraphAddition = "009F7E7F", RsidParagraphProperties = "00397A9E", RsidRunAdditionDefault = "009F7E7F" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId10 = new ParagraphStyleId() { Val = "StyleProductsReviewedHeading6ptBefore15ptAfter0pt" };

            paragraphProperties10.Append(paragraphStyleId10);

            paragraph10.Append(paragraphProperties10);

            CustomXmlBlock customXmlBlock5 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "opiniondata" };

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "009F7E7F", RsidParagraphAddition = "00EE7B69", RsidParagraphProperties = "009F7E7F", RsidRunAdditionDefault = "00FC0F0D" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId11 = new ParagraphStyleId() { Val = "RankHeading" };
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            paragraphProperties11.Append(paragraphStyleId11);
            paragraphProperties11.Append(spacingBetweenLines9);

            Run run10 = new Run() { RsidRunProperties = "009F7E7F" };
            Text text10 = new Text();
            text10.Text = "OVERALL EVaLUATION";

            run10.Append(text10);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run10);

            Table table2 = new Table();

            TableProperties tableProperties2 = new TableProperties();
            TableStyle tableStyle2 = new TableStyle() { Val = "Grilledutableau" };
            TableWidth tableWidth2 = new TableWidth() { Width = "10485", Type = TableWidthUnitValues.Dxa };

            TableBorders tableBorders2 = new TableBorders();
            TopBorder topBorder2 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            LeftBorder leftBorder2 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            BottomBorder bottomBorder2 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder2 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideHorizontalBorder insideHorizontalBorder2 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder2 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders2.Append(topBorder2);
            tableBorders2.Append(leftBorder2);
            tableBorders2.Append(bottomBorder2);
            tableBorders2.Append(rightBorder2);
            tableBorders2.Append(insideHorizontalBorder2);
            tableBorders2.Append(insideVerticalBorder2);
            TableLayout tableLayout2 = new TableLayout() { Type = TableLayoutValues.Fixed };

            TableCellMarginDefault tableCellMarginDefault2 = new TableCellMarginDefault();
            TableCellLeftMargin tableCellLeftMargin2 = new TableCellLeftMargin() { Width = 45, Type = TableWidthValues.Dxa };
            TableCellRightMargin tableCellRightMargin2 = new TableCellRightMargin() { Width = 45, Type = TableWidthValues.Dxa };

            tableCellMarginDefault2.Append(tableCellLeftMargin2);
            tableCellMarginDefault2.Append(tableCellRightMargin2);
            TableLook tableLook2 = new TableLook() { Val = "01E0" };

            tableProperties2.Append(tableStyle2);
            tableProperties2.Append(tableWidth2);
            tableProperties2.Append(tableBorders2);
            tableProperties2.Append(tableLayout2);
            tableProperties2.Append(tableCellMarginDefault2);
            tableProperties2.Append(tableLook2);

            TableGrid tableGrid2 = new TableGrid();
            GridColumn gridColumn5 = new GridColumn() { Width = "3175" };
            GridColumn gridColumn6 = new GridColumn() { Width = "4070" };
            GridColumn gridColumn7 = new GridColumn() { Width = "3240" };

            tableGrid2.Append(gridColumn5);
            tableGrid2.Append(gridColumn6);
            tableGrid2.Append(gridColumn7);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "002E7D22", RsidTableRowProperties = "00837232" };

            TableCell tableCell9 = new TableCell();

            TableCellProperties tableCellProperties9 = new TableCellProperties();
            TableCellWidth tableCellWidth9 = new TableCellWidth() { Width = "3175", Type = TableWidthUnitValues.Dxa };

            tableCellProperties9.Append(tableCellWidth9);

            CustomXmlBlock customXmlBlock6 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "RankValueImage" };

            Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00BA7E3F", RsidRunAdditionDefault = "00740A1C" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId12 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties5.Append(fontSizeComplexScript8);

            paragraphProperties12.Append(paragraphStyleId12);
            paragraphProperties12.Append(spacingBetweenLines10);
            paragraphProperties12.Append(paragraphMarkRunProperties5);

            Run run11 = new Run();

            RunProperties runProperties4 = new RunProperties();
            NoProof noProof1 = new NoProof();
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "18" };
            Languages languages1 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties4.Append(noProof1);
            runProperties4.Append(fontSizeComplexScript9);
            runProperties4.Append(languages1);

            Drawing drawing1 = new Drawing();

            Wp.Inline inline1 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent1 = new Wp.Extent() { Cx = 1485900L, Cy = 428625L };
            Wp.EffectExtent effectExtent1 = new Wp.EffectExtent() { LeftEdge = 19050L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties1 = new Wp.DocProperties() { Id = (UInt32Value)3U, Name = "Image 3", Description = "rank_1" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks1 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties1.Append(graphicFrameLocks1);

            A.Graphic graphic1 = new A.Graphic();

            A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture1 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties1 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 3", Description = "rank_1" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Pic.BlipFill blipFill1 = new Pic.BlipFill();
            A.Blip blip1 = new A.Blip() { Embed = "rIdImgPartOverallEval" + OverallEvaluationRank.ToString(), CompressionState = A.BlipCompressionValues.Print };
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

            Pic.ShapeProperties shapeProperties1 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents() { Cx = 1485900L, Cy = 428625L };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline1 = new A.Outline() { Width = 9525 };
            A.NoFill noFill2 = new A.NoFill();
            A.Miter miter1 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd1 = new A.HeadEnd();
            A.TailEnd tailEnd1 = new A.TailEnd();

            outline1.Append(noFill2);
            outline1.Append(miter1);
            outline1.Append(headEnd1);
            outline1.Append(tailEnd1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);
            shapeProperties1.Append(noFill1);
            shapeProperties1.Append(outline1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);

            graphicData1.Append(picture1);

            graphic1.Append(graphicData1);

            inline1.Append(extent1);
            inline1.Append(effectExtent1);
            inline1.Append(docProperties1);
            inline1.Append(nonVisualGraphicFrameDrawingProperties1);
            inline1.Append(graphic1);

            drawing1.Append(inline1);

            run11.Append(runProperties4);
            run11.Append(drawing1);

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run11);

            customXmlBlock6.Append(paragraph12);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(customXmlBlock6);

            TableCell tableCell10 = new TableCell();

            TableCellProperties tableCellProperties10 = new TableCellProperties();
            TableCellWidth tableCellWidth10 = new TableCellWidth() { Width = "4070", Type = TableWidthUnitValues.Dxa };

            tableCellProperties10.Append(tableCellWidth10);

            CustomXmlBlock customXmlBlock7 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "StatementForOverall" };

            Paragraph paragraph13 = new Paragraph() { RsidParagraphMarkRevision = "00E340CC", RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "003F1967", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId13 = new ParagraphStyleId() { Val = "RankStatement" };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { EastAsia = "Arial Unicode MS" };
            FontSize fontSize1 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties6.Append(runFonts1);
            paragraphMarkRunProperties6.Append(fontSize1);
            paragraphMarkRunProperties6.Append(fontSizeComplexScript10);

            paragraphProperties13.Append(paragraphStyleId13);
            paragraphProperties13.Append(paragraphMarkRunProperties6);

            Run run12 = new Run() { RsidRunProperties = "003F1967" };

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { EastAsia = "Arial Unicode MS" };

            runProperties5.Append(runFonts2);
            Text text11 = new Text();
            text11.Text = OverallEvaluationContent;

            run12.Append(runProperties5);
            run12.Append(text11);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run12);

            customXmlBlock7.Append(paragraph13);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(customXmlBlock7);

            TableCell tableCell11 = new TableCell();

            TableCellProperties tableCellProperties11 = new TableCellProperties();
            TableCellWidth tableCellWidth11 = new TableCellWidth() { Width = "3240", Type = TableWidthUnitValues.Dxa };
            NoWrap noWrap1 = new NoWrap();

            tableCellProperties11.Append(tableCellWidth11);
            tableCellProperties11.Append(noWrap1);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00256073", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId14 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            FontSize fontSize2 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties7.Append(fontSize2);
            paragraphMarkRunProperties7.Append(fontSizeComplexScript11);

            paragraphProperties14.Append(paragraphStyleId14);
            paragraphProperties14.Append(spacingBetweenLines11);
            paragraphProperties14.Append(paragraphMarkRunProperties7);

            Run run13 = new Run() { RsidRunProperties = "00DC3ED5" };

            RunProperties runProperties6 = new RunProperties();
            Bold bold1 = new Bold();

            runProperties6.Append(bold1);
            Text text12 = new Text();
            text12.Text = "Updated By:";

            run13.Append(runProperties6);
            run13.Append(text12);

            Run run14 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties7 = new RunProperties();
            Bold bold2 = new Bold();
            NoProof noProof2 = new NoProof();
            Languages languages2 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties7.Append(bold2);
            runProperties7.Append(noProof2);
            runProperties7.Append(languages2);

            Drawing drawing2 = new Drawing();

            Wp.Inline inline2 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent2 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent2 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties2 = new Wp.DocProperties() { Id = (UInt32Value)4U, Name = "Image 4", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks2 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties2.Append(graphicFrameLocks2);

            A.Graphic graphic2 = new A.Graphic();

            A.GraphicData graphicData2 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture2 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties2 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 4", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties2 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks2 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties2.Append(pictureLocks2);

            nonVisualPictureProperties2.Append(nonVisualDrawingProperties2);
            nonVisualPictureProperties2.Append(nonVisualPictureDrawingProperties2);

            Pic.BlipFill blipFill2 = new Pic.BlipFill();
            A.Blip blip2 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle2 = new A.SourceRectangle();

            A.Stretch stretch2 = new A.Stretch();
            A.FillRectangle fillRectangle2 = new A.FillRectangle();

            stretch2.Append(fillRectangle2);

            blipFill2.Append(blip2);
            blipFill2.Append(sourceRectangle2);
            blipFill2.Append(stretch2);

            Pic.ShapeProperties shapeProperties2 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset2 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents2 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D2.Append(offset2);
            transform2D2.Append(extents2);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);
            A.NoFill noFill3 = new A.NoFill();

            A.Outline outline2 = new A.Outline() { Width = 9525 };
            A.NoFill noFill4 = new A.NoFill();
            A.Miter miter2 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd2 = new A.HeadEnd();
            A.TailEnd tailEnd2 = new A.TailEnd();

            outline2.Append(noFill4);
            outline2.Append(miter2);
            outline2.Append(headEnd2);
            outline2.Append(tailEnd2);

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(presetGeometry2);
            shapeProperties2.Append(noFill3);
            shapeProperties2.Append(outline2);

            picture2.Append(nonVisualPictureProperties2);
            picture2.Append(blipFill2);
            picture2.Append(shapeProperties2);

            graphicData2.Append(picture2);

            graphic2.Append(graphicData2);

            inline2.Append(extent2);
            inline2.Append(effectExtent2);
            inline2.Append(docProperties2);
            inline2.Append(nonVisualGraphicFrameDrawingProperties2);
            inline2.Append(graphic2);

            drawing2.Append(inline2);

            run14.Append(runProperties7);
            run14.Append(drawing2);

            Run run15 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties8 = new RunProperties();
            Bold bold3 = new Bold();
            NoProof noProof3 = new NoProof();
            Languages languages3 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties8.Append(bold3);
            runProperties8.Append(noProof3);
            runProperties8.Append(languages3);

            Drawing drawing3 = new Drawing();

            Wp.Inline inline3 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent3 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent3 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties3 = new Wp.DocProperties() { Id = (UInt32Value)5U, Name = "Image 5", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties3 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks3 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties3.Append(graphicFrameLocks3);

            A.Graphic graphic3 = new A.Graphic();

            A.GraphicData graphicData3 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture3 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties3 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 5", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties3 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks3 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties3.Append(pictureLocks3);

            nonVisualPictureProperties3.Append(nonVisualDrawingProperties3);
            nonVisualPictureProperties3.Append(nonVisualPictureDrawingProperties3);

            Pic.BlipFill blipFill3 = new Pic.BlipFill();
            A.Blip blip3 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle3 = new A.SourceRectangle();

            A.Stretch stretch3 = new A.Stretch();
            A.FillRectangle fillRectangle3 = new A.FillRectangle();

            stretch3.Append(fillRectangle3);

            blipFill3.Append(blip3);
            blipFill3.Append(sourceRectangle3);
            blipFill3.Append(stretch3);

            Pic.ShapeProperties shapeProperties3 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset3 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents3 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D3.Append(offset3);
            transform2D3.Append(extents3);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);
            A.NoFill noFill5 = new A.NoFill();

            A.Outline outline3 = new A.Outline() { Width = 9525 };
            A.NoFill noFill6 = new A.NoFill();
            A.Miter miter3 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd3 = new A.HeadEnd();
            A.TailEnd tailEnd3 = new A.TailEnd();

            outline3.Append(noFill6);
            outline3.Append(miter3);
            outline3.Append(headEnd3);
            outline3.Append(tailEnd3);

            shapeProperties3.Append(transform2D3);
            shapeProperties3.Append(presetGeometry3);
            shapeProperties3.Append(noFill5);
            shapeProperties3.Append(outline3);

            picture3.Append(nonVisualPictureProperties3);
            picture3.Append(blipFill3);
            picture3.Append(shapeProperties3);

            graphicData3.Append(picture3);

            graphic3.Append(graphicData3);

            inline3.Append(extent3);
            inline3.Append(effectExtent3);
            inline3.Append(docProperties3);
            inline3.Append(nonVisualGraphicFrameDrawingProperties3);
            inline3.Append(graphic3);

            drawing3.Append(inline3);

            run15.Append(runProperties8);
            run15.Append(drawing3);

            CustomXmlRun customXmlRun1 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "UpdatedBy" };

            Run run16 = new Run() { RsidRunAddition = "005546F4" };
            Text text13 = new Text();
            text13.Text = "Julien Blin";

            run16.Append(text13);

            customXmlRun1.Append(run16);

            paragraph14.Append(paragraphProperties14);
            paragraph14.Append(run13);
            paragraph14.Append(run14);
            paragraph14.Append(run15);
            paragraph14.Append(customXmlRun1);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00256073", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId15 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            FontSize fontSize3 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties8.Append(fontSize3);
            paragraphMarkRunProperties8.Append(fontSizeComplexScript12);

            paragraphProperties15.Append(paragraphStyleId15);
            paragraphProperties15.Append(spacingBetweenLines12);
            paragraphProperties15.Append(paragraphMarkRunProperties8);

            Run run17 = new Run() { RsidRunProperties = "00DC3ED5" };

            RunProperties runProperties9 = new RunProperties();
            Bold bold4 = new Bold();

            runProperties9.Append(bold4);
            Text text14 = new Text();
            text14.Text = "Target Excess Return:";

            run17.Append(runProperties9);
            run17.Append(text14);

            Run run18 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties10 = new RunProperties();
            Bold bold5 = new Bold();
            NoProof noProof4 = new NoProof();
            Languages languages4 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties10.Append(bold5);
            runProperties10.Append(noProof4);
            runProperties10.Append(languages4);

            Drawing drawing4 = new Drawing();

            Wp.Inline inline4 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent4 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent4 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties4 = new Wp.DocProperties() { Id = (UInt32Value)6U, Name = "Image 6", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties4 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks4 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties4.Append(graphicFrameLocks4);

            A.Graphic graphic4 = new A.Graphic();

            A.GraphicData graphicData4 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture4 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties4 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 6", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties4 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks4 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties4.Append(pictureLocks4);

            nonVisualPictureProperties4.Append(nonVisualDrawingProperties4);
            nonVisualPictureProperties4.Append(nonVisualPictureDrawingProperties4);

            Pic.BlipFill blipFill4 = new Pic.BlipFill();
            A.Blip blip4 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle4 = new A.SourceRectangle();

            A.Stretch stretch4 = new A.Stretch();
            A.FillRectangle fillRectangle4 = new A.FillRectangle();

            stretch4.Append(fillRectangle4);

            blipFill4.Append(blip4);
            blipFill4.Append(sourceRectangle4);
            blipFill4.Append(stretch4);

            Pic.ShapeProperties shapeProperties4 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset4 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents4 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D4.Append(offset4);
            transform2D4.Append(extents4);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList4);
            A.NoFill noFill7 = new A.NoFill();

            A.Outline outline4 = new A.Outline() { Width = 9525 };
            A.NoFill noFill8 = new A.NoFill();
            A.Miter miter4 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd4 = new A.HeadEnd();
            A.TailEnd tailEnd4 = new A.TailEnd();

            outline4.Append(noFill8);
            outline4.Append(miter4);
            outline4.Append(headEnd4);
            outline4.Append(tailEnd4);

            shapeProperties4.Append(transform2D4);
            shapeProperties4.Append(presetGeometry4);
            shapeProperties4.Append(noFill7);
            shapeProperties4.Append(outline4);

            picture4.Append(nonVisualPictureProperties4);
            picture4.Append(blipFill4);
            picture4.Append(shapeProperties4);

            graphicData4.Append(picture4);

            graphic4.Append(graphicData4);

            inline4.Append(extent4);
            inline4.Append(effectExtent4);
            inline4.Append(docProperties4);
            inline4.Append(nonVisualGraphicFrameDrawingProperties4);
            inline4.Append(graphic4);

            drawing4.Append(inline4);

            run18.Append(runProperties10);
            run18.Append(drawing4);

            Run run19 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties11 = new RunProperties();
            Bold bold6 = new Bold();
            NoProof noProof5 = new NoProof();
            FontSize fontSize4 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "20" };
            Languages languages5 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties11.Append(bold6);
            runProperties11.Append(noProof5);
            runProperties11.Append(fontSize4);
            runProperties11.Append(fontSizeComplexScript13);
            runProperties11.Append(languages5);

            Drawing drawing5 = new Drawing();

            Wp.Inline inline5 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent5 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent5 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties5 = new Wp.DocProperties() { Id = (UInt32Value)7U, Name = "Image 7", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties5 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks5 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties5.Append(graphicFrameLocks5);

            A.Graphic graphic5 = new A.Graphic();

            A.GraphicData graphicData5 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture5 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties5 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 7", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties5 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks5 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties5.Append(pictureLocks5);

            nonVisualPictureProperties5.Append(nonVisualDrawingProperties5);
            nonVisualPictureProperties5.Append(nonVisualPictureDrawingProperties5);

            Pic.BlipFill blipFill5 = new Pic.BlipFill();
            A.Blip blip5 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle5 = new A.SourceRectangle();

            A.Stretch stretch5 = new A.Stretch();
            A.FillRectangle fillRectangle5 = new A.FillRectangle();

            stretch5.Append(fillRectangle5);

            blipFill5.Append(blip5);
            blipFill5.Append(sourceRectangle5);
            blipFill5.Append(stretch5);

            Pic.ShapeProperties shapeProperties5 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset5 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents5 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D5.Append(offset5);
            transform2D5.Append(extents5);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);
            A.NoFill noFill9 = new A.NoFill();

            A.Outline outline5 = new A.Outline() { Width = 9525 };
            A.NoFill noFill10 = new A.NoFill();
            A.Miter miter5 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd5 = new A.HeadEnd();
            A.TailEnd tailEnd5 = new A.TailEnd();

            outline5.Append(noFill10);
            outline5.Append(miter5);
            outline5.Append(headEnd5);
            outline5.Append(tailEnd5);

            shapeProperties5.Append(transform2D5);
            shapeProperties5.Append(presetGeometry5);
            shapeProperties5.Append(noFill9);
            shapeProperties5.Append(outline5);

            picture5.Append(nonVisualPictureProperties5);
            picture5.Append(blipFill5);
            picture5.Append(shapeProperties5);

            graphicData5.Append(picture5);

            graphic5.Append(graphicData5);

            inline5.Append(extent5);
            inline5.Append(effectExtent5);
            inline5.Append(docProperties5);
            inline5.Append(nonVisualGraphicFrameDrawingProperties5);
            inline5.Append(graphic5);

            drawing5.Append(inline5);

            run19.Append(runProperties11);
            run19.Append(drawing5);

            Run run20 = new Run() { RsidRunAddition = "005546F4" };
            Text text15 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text15.Text = "0 to 0 bp ";

            run20.Append(text15);
            CustomXmlRun customXmlRun2 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "TargetExcessReturnMaxCurrent" };

            paragraph15.Append(paragraphProperties15);
            paragraph15.Append(run17);
            paragraph15.Append(run18);
            paragraph15.Append(run19);
            paragraph15.Append(run20);
            paragraph15.Append(customXmlRun2);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00256073", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId16 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines13 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            FontSize fontSize5 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties9.Append(fontSize5);
            paragraphMarkRunProperties9.Append(fontSizeComplexScript14);

            paragraphProperties16.Append(paragraphStyleId16);
            paragraphProperties16.Append(spacingBetweenLines13);
            paragraphProperties16.Append(paragraphMarkRunProperties9);

            Run run21 = new Run() { RsidRunProperties = "00DC3ED5" };

            RunProperties runProperties12 = new RunProperties();
            Bold bold7 = new Bold();

            runProperties12.Append(bold7);
            Text text16 = new Text();
            text16.Text = "Target Tracking Error:";

            run21.Append(runProperties12);
            run21.Append(text16);

            Run run22 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties13 = new RunProperties();
            Bold bold8 = new Bold();
            NoProof noProof6 = new NoProof();
            FontSize fontSize6 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "20" };
            Languages languages6 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties13.Append(bold8);
            runProperties13.Append(noProof6);
            runProperties13.Append(fontSize6);
            runProperties13.Append(fontSizeComplexScript15);
            runProperties13.Append(languages6);

            Drawing drawing6 = new Drawing();

            Wp.Inline inline6 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent6 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent6 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties6 = new Wp.DocProperties() { Id = (UInt32Value)8U, Name = "Image 8", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties6 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks6 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties6.Append(graphicFrameLocks6);

            A.Graphic graphic6 = new A.Graphic();

            A.GraphicData graphicData6 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture6 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties6 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 8", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties6 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks6 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties6.Append(pictureLocks6);

            nonVisualPictureProperties6.Append(nonVisualDrawingProperties6);
            nonVisualPictureProperties6.Append(nonVisualPictureDrawingProperties6);

            Pic.BlipFill blipFill6 = new Pic.BlipFill();
            A.Blip blip6 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle6 = new A.SourceRectangle();

            A.Stretch stretch6 = new A.Stretch();
            A.FillRectangle fillRectangle6 = new A.FillRectangle();

            stretch6.Append(fillRectangle6);

            blipFill6.Append(blip6);
            blipFill6.Append(sourceRectangle6);
            blipFill6.Append(stretch6);

            Pic.ShapeProperties shapeProperties6 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset6 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents6 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D6.Append(offset6);
            transform2D6.Append(extents6);

            A.PresetGeometry presetGeometry6 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList6 = new A.AdjustValueList();

            presetGeometry6.Append(adjustValueList6);
            A.NoFill noFill11 = new A.NoFill();

            A.Outline outline6 = new A.Outline() { Width = 9525 };
            A.NoFill noFill12 = new A.NoFill();
            A.Miter miter6 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd6 = new A.HeadEnd();
            A.TailEnd tailEnd6 = new A.TailEnd();

            outline6.Append(noFill12);
            outline6.Append(miter6);
            outline6.Append(headEnd6);
            outline6.Append(tailEnd6);

            shapeProperties6.Append(transform2D6);
            shapeProperties6.Append(presetGeometry6);
            shapeProperties6.Append(noFill11);
            shapeProperties6.Append(outline6);

            picture6.Append(nonVisualPictureProperties6);
            picture6.Append(blipFill6);
            picture6.Append(shapeProperties6);

            graphicData6.Append(picture6);

            graphic6.Append(graphicData6);

            inline6.Append(extent6);
            inline6.Append(effectExtent6);
            inline6.Append(docProperties6);
            inline6.Append(nonVisualGraphicFrameDrawingProperties6);
            inline6.Append(graphic6);

            drawing6.Append(inline6);

            run22.Append(runProperties13);
            run22.Append(drawing6);

            Run run23 = new Run() { RsidRunAddition = "005546F4" };
            Text text17 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text17.Text = " 0 to 0 bp";

            run23.Append(text17);
            CustomXmlRun customXmlRun3 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "TargetTrackingErrorMaxCurrent" };

            paragraph16.Append(paragraphProperties16);
            paragraph16.Append(run21);
            paragraph16.Append(run22);
            paragraph16.Append(run23);
            paragraph16.Append(customXmlRun3);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "00256073", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId17 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines14 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            FontSize fontSize7 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties10.Append(fontSize7);
            paragraphMarkRunProperties10.Append(fontSizeComplexScript16);

            paragraphProperties17.Append(paragraphStyleId17);
            paragraphProperties17.Append(spacingBetweenLines14);
            paragraphProperties17.Append(paragraphMarkRunProperties10);

            Run run24 = new Run() { RsidRunProperties = "00DC3ED5" };

            RunProperties runProperties14 = new RunProperties();
            Bold bold9 = new Bold();

            runProperties14.Append(bold9);
            Text text18 = new Text();
            text18.Text = "Time Period:";

            run24.Append(runProperties14);
            run24.Append(text18);

            Run run25 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties15 = new RunProperties();
            Bold bold10 = new Bold();
            NoProof noProof7 = new NoProof();
            FontSize fontSize8 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "20" };
            Languages languages7 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties15.Append(bold10);
            runProperties15.Append(noProof7);
            runProperties15.Append(fontSize8);
            runProperties15.Append(fontSizeComplexScript17);
            runProperties15.Append(languages7);

            Drawing drawing7 = new Drawing();

            Wp.Inline inline7 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent7 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent7 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties7 = new Wp.DocProperties() { Id = (UInt32Value)9U, Name = "Image 9", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties7 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks7 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties7.Append(graphicFrameLocks7);

            A.Graphic graphic7 = new A.Graphic();

            A.GraphicData graphicData7 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture7 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties7 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties7 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 9", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties7 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks7 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties7.Append(pictureLocks7);

            nonVisualPictureProperties7.Append(nonVisualDrawingProperties7);
            nonVisualPictureProperties7.Append(nonVisualPictureDrawingProperties7);

            Pic.BlipFill blipFill7 = new Pic.BlipFill();
            A.Blip blip7 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle7 = new A.SourceRectangle();

            A.Stretch stretch7 = new A.Stretch();
            A.FillRectangle fillRectangle7 = new A.FillRectangle();

            stretch7.Append(fillRectangle7);

            blipFill7.Append(blip7);
            blipFill7.Append(sourceRectangle7);
            blipFill7.Append(stretch7);

            Pic.ShapeProperties shapeProperties7 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset7 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents7 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D7.Append(offset7);
            transform2D7.Append(extents7);

            A.PresetGeometry presetGeometry7 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList7 = new A.AdjustValueList();

            presetGeometry7.Append(adjustValueList7);
            A.NoFill noFill13 = new A.NoFill();

            A.Outline outline7 = new A.Outline() { Width = 9525 };
            A.NoFill noFill14 = new A.NoFill();
            A.Miter miter7 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd7 = new A.HeadEnd();
            A.TailEnd tailEnd7 = new A.TailEnd();

            outline7.Append(noFill14);
            outline7.Append(miter7);
            outline7.Append(headEnd7);
            outline7.Append(tailEnd7);

            shapeProperties7.Append(transform2D7);
            shapeProperties7.Append(presetGeometry7);
            shapeProperties7.Append(noFill13);
            shapeProperties7.Append(outline7);

            picture7.Append(nonVisualPictureProperties7);
            picture7.Append(blipFill7);
            picture7.Append(shapeProperties7);

            graphicData7.Append(picture7);

            graphic7.Append(graphicData7);

            inline7.Append(extent7);
            inline7.Append(effectExtent7);
            inline7.Append(docProperties7);
            inline7.Append(nonVisualGraphicFrameDrawingProperties7);
            inline7.Append(graphic7);

            drawing7.Append(inline7);

            run25.Append(runProperties15);
            run25.Append(drawing7);

            CustomXmlRun customXmlRun4 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "TimePeriodCurrent" };

            Run run26 = new Run() { RsidRunAddition = "005546F4" };
            Text text19 = new Text();
            text19.Text = "-";

            run26.Append(text19);

            customXmlRun4.Append(run26);

            paragraph17.Append(paragraphProperties17);
            paragraph17.Append(run24);
            paragraph17.Append(run25);
            paragraph17.Append(customXmlRun4);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphAddition = "002E7D22", RsidParagraphProperties = "005546F4", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties18 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId18 = new ParagraphStyleId() { Val = "TableText" };
            SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties11.Append(fontSizeComplexScript18);

            paragraphProperties18.Append(paragraphStyleId18);
            paragraphProperties18.Append(spacingBetweenLines15);
            paragraphProperties18.Append(paragraphMarkRunProperties11);

            Run run27 = new Run() { RsidRunProperties = "00DC3ED5" };

            RunProperties runProperties16 = new RunProperties();
            Bold bold11 = new Bold();

            runProperties16.Append(bold11);
            Text text20 = new Text();
            text20.Text = "Russell-Assigned Benchmark:";

            run27.Append(runProperties16);
            run27.Append(text20);

            Run run28 = new Run() { RsidRunAddition = "00740A1C" };

            RunProperties runProperties17 = new RunProperties();
            NoProof noProof8 = new NoProof();
            Languages languages8 = new Languages() { Val = "fr-CA", EastAsia = "fr-CA" };

            runProperties17.Append(noProof8);
            runProperties17.Append(languages8);

            Drawing drawing8 = new Drawing();

            Wp.Inline inline8 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent8 = new Wp.Extent() { Cx = 9525L, Cy = 9525L };
            Wp.EffectExtent effectExtent8 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties8 = new Wp.DocProperties() { Id = (UInt32Value)10U, Name = "Image 10", Description = "spacer" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties8 = new Wp.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks8 = new A.GraphicFrameLocks() { NoChangeAspect = true };

            nonVisualGraphicFrameDrawingProperties8.Append(graphicFrameLocks8);

            A.Graphic graphic8 = new A.Graphic();

            A.GraphicData graphicData8 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture8 = new Pic.Picture();

            Pic.NonVisualPictureProperties nonVisualPictureProperties8 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties8 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "Picture 10", Description = "spacer" };

            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties8 = new Pic.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks8 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties8.Append(pictureLocks8);

            nonVisualPictureProperties8.Append(nonVisualDrawingProperties8);
            nonVisualPictureProperties8.Append(nonVisualPictureDrawingProperties8);

            Pic.BlipFill blipFill8 = new Pic.BlipFill();
            A.Blip blip8 = new A.Blip() { Embed = "rId8" };
            A.SourceRectangle sourceRectangle8 = new A.SourceRectangle();

            A.Stretch stretch8 = new A.Stretch();
            A.FillRectangle fillRectangle8 = new A.FillRectangle();

            stretch8.Append(fillRectangle8);

            blipFill8.Append(blip8);
            blipFill8.Append(sourceRectangle8);
            blipFill8.Append(stretch8);

            Pic.ShapeProperties shapeProperties8 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D8 = new A.Transform2D();
            A.Offset offset8 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents8 = new A.Extents() { Cx = 9525L, Cy = 9525L };

            transform2D8.Append(offset8);
            transform2D8.Append(extents8);

            A.PresetGeometry presetGeometry8 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList8 = new A.AdjustValueList();

            presetGeometry8.Append(adjustValueList8);
            A.NoFill noFill15 = new A.NoFill();

            A.Outline outline8 = new A.Outline() { Width = 9525 };
            A.NoFill noFill16 = new A.NoFill();
            A.Miter miter8 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd8 = new A.HeadEnd();
            A.TailEnd tailEnd8 = new A.TailEnd();

            outline8.Append(noFill16);
            outline8.Append(miter8);
            outline8.Append(headEnd8);
            outline8.Append(tailEnd8);

            shapeProperties8.Append(transform2D8);
            shapeProperties8.Append(presetGeometry8);
            shapeProperties8.Append(noFill15);
            shapeProperties8.Append(outline8);

            picture8.Append(nonVisualPictureProperties8);
            picture8.Append(blipFill8);
            picture8.Append(shapeProperties8);

            graphicData8.Append(picture8);

            graphic8.Append(graphicData8);

            inline8.Append(extent8);
            inline8.Append(effectExtent8);
            inline8.Append(docProperties8);
            inline8.Append(nonVisualGraphicFrameDrawingProperties8);
            inline8.Append(graphic8);

            drawing8.Append(inline8);

            run28.Append(runProperties17);
            run28.Append(drawing8);

            CustomXmlRun customXmlRun5 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "RussellBenchmark" };

            Run run29 = new Run() { RsidRunAddition = "005546F4" };
            Text text21 = new Text();
            text21.Text = "-";

            run29.Append(text21);

            customXmlRun5.Append(run29);

            paragraph18.Append(paragraphProperties18);
            paragraph18.Append(run27);
            paragraph18.Append(run28);
            paragraph18.Append(customXmlRun5);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph14);
            tableCell11.Append(paragraph15);
            tableCell11.Append(paragraph16);
            tableCell11.Append(paragraph17);
            tableCell11.Append(paragraph18);

            tableRow3.Append(tableCell9);
            tableRow3.Append(tableCell10);
            tableRow3.Append(tableCell11);

            table2.Append(tableProperties2);
            table2.Append(tableGrid2);
            table2.Append(tableRow3);

            customXmlBlock5.Append(paragraph11);
            customXmlBlock5.Append(table2);

            Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "00A6171D", RsidParagraphAddition = "00F342A0", RsidParagraphProperties = "00397A9E", RsidRunAdditionDefault = "00F342A0" };

            ParagraphProperties paragraphProperties19 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId19 = new ParagraphStyleId() { Val = "StyleProductsReviewedHeading4ptBefore15ptAfter0pt" };

            paragraphProperties19.Append(paragraphStyleId19);

            paragraph19.Append(paragraphProperties19);

            Paragraph paragraphDiscussionTitle = CreateTopicTitle("DISCUSSION", null);
            var paragraphsDiscussionContent = CreateTopicText(mainDocumentPart1, Discussion);

            CustomXmlBlock customXmlBlock8 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "category" };

            Paragraph paragraphInvestmentStaffTitle = CreateTopicTitle("INVESTMENT STAFF", InvestmentStaff.Rank.ToString());
            var paragraphsInvestmentStaffContent = CreateTopicText(mainDocumentPart1, InvestmentStaff.Content);

            Paragraph paragraphOrganizationalStabilityTitle = CreateTopicTitle("ORGANIZATIONAL STABILITY", OrganizationalStability.Rank.ToString());
            var paragraphsOrganizationalStabilityContent = CreateTopicText(mainDocumentPart1, OrganizationalStability.Content);

            Paragraph paragraphAssetAllocationTitle = CreateTopicTitle("ASSET ALLOCATION", AssetAllocation.Rank.ToString());
            var paragraphsAssetAllocationContent = CreateTopicText(mainDocumentPart1, AssetAllocation.Content);

            Paragraph paragraph23 = new Paragraph() { RsidParagraphAddition = "00EE7B69", RsidParagraphProperties = "00C32704", RsidRunAdditionDefault = "00957E57" };

            customXmlBlock3.Append(customXmlBlock4);
            customXmlBlock3.Append(paragraph10);
            customXmlBlock3.Append(customXmlBlock5);
            customXmlBlock3.Append(paragraph19);
            customXmlBlock3.Append(paragraphDiscussionTitle);
            customXmlBlock3.Append(paragraphsDiscussionContent.ToArray());
            customXmlBlock3.Append(paragraphInvestmentStaffTitle);
            customXmlBlock3.Append(paragraphsInvestmentStaffContent.ToArray());
            customXmlBlock3.Append(paragraphOrganizationalStabilityTitle);
            customXmlBlock3.Append(paragraphsOrganizationalStabilityContent.ToArray());
            customXmlBlock3.Append(paragraphAssetAllocationTitle);
            customXmlBlock3.Append(paragraphsAssetAllocationContent.ToArray());
            customXmlBlock3.Append(paragraph23);

            customXmlBlock2.Append(customXmlBlock3);

            CustomXmlBlock customXmlBlock10 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "footer" };

            CustomXmlBlock customXmlBlock11 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "Headline" };

            Paragraph paragraph24 = new Paragraph() { RsidParagraphAddition = "000A24FF", RsidParagraphProperties = "00E560D4", RsidRunAdditionDefault = "00707FFA" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId23 = new ParagraphStyleId() { Val = "DislaimerHeading" };
            WidowControl widowControl1 = new WidowControl() { Val = false };

            paragraphProperties23.Append(paragraphStyleId23);
            paragraphProperties23.Append(widowControl1);

            Run run37 = new Run() { RsidRunProperties = "00C62467" };
            Text text27 = new Text();
            text27.Text = "Healine";

            run37.Append(text27);

            paragraph24.Append(paragraphProperties23);
            paragraph24.Append(run37);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphAddition = "00E70E3A", RsidParagraphProperties = "00E560D4", RsidRunAdditionDefault = "00957E57" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId24 = new ParagraphStyleId() { Val = "Disclaimer" };
            KeepNext keepNext1 = new KeepNext();
            WidowControl widowControl2 = new WidowControl() { Val = false };
            SpacingBetweenLines spacingBetweenLines17 = new SpacingBetweenLines() { Before = "80" };

            paragraphProperties24.Append(paragraphStyleId24);
            paragraphProperties24.Append(keepNext1);
            paragraphProperties24.Append(widowControl2);
            paragraphProperties24.Append(spacingBetweenLines17);

            CustomXmlRun customXmlRun8 = new CustomXmlRun() { Uri = "http://hubblereports.com/namespace", Element = "LongDisclaimer" };

            Run run38 = new Run() { RsidRunProperties = "00C62467", RsidRunAddition = "00707FFA" };
            Text text28 = new Text();
            text28.Text = "Long Disclaimer";

            run38.Append(text28);

            customXmlRun8.Append(run38);

            paragraph25.Append(paragraphProperties24);
            paragraph25.Append(customXmlRun8);

            customXmlBlock11.Append(paragraph24);
            customXmlBlock11.Append(paragraph25);

            customXmlBlock10.Append(customXmlBlock11);

            CustomXmlBlock customXmlBlock12 = new CustomXmlBlock() { Uri = "http://hubblereports.com/namespace", Element = "PageBreak" };

            Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "00233025", RsidParagraphAddition = "00E70E3A", RsidParagraphProperties = "00090FFC", RsidRunAdditionDefault = "00957E57" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();
            KeepNext keepNext2 = new KeepNext();
            KeepLines keepLines1 = new KeepLines();

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunStyle runStyle6 = new RunStyle() { Val = "StyleBodoniMT" };

            paragraphMarkRunProperties14.Append(runStyle6);

            paragraphProperties25.Append(keepNext2);
            paragraphProperties25.Append(keepLines1);
            paragraphProperties25.Append(paragraphMarkRunProperties14);

            paragraph26.Append(paragraphProperties25);

            customXmlBlock12.Append(paragraph26);

            customXmlBlock1.Append(customXmlBlock2);
            customXmlBlock1.Append(customXmlBlock10);
            customXmlBlock1.Append(customXmlBlock12);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "00233025", RsidR = "00E70E3A", RsidSect = "00C913B8" };
            HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rId10" };
            FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rId11" };
            HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.First, Id = "rId12" };
            FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.First, Id = "rId13" };
            SectionType sectionType1 = new SectionType() { Val = SectionMarkValues.Continuous };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12242U, Height = (UInt32Value)15842U, Code = (UInt16Value)1U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)720U, Bottom = 1440, Left = (UInt32Value)720U, Header = (UInt32Value)187U, Footer = (UInt32Value)115U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            TitlePage titlePage1 = new TitlePage();
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

            sectionProperties1.Append(headerReference1);
            sectionProperties1.Append(footerReference1);
            sectionProperties1.Append(headerReference2);
            sectionProperties1.Append(footerReference2);
            sectionProperties1.Append(sectionType1);
            sectionProperties1.Append(pageSize1);
            sectionProperties1.Append(pageMargin1);
            sectionProperties1.Append(columns1);
            sectionProperties1.Append(titlePage1);
            sectionProperties1.Append(docGrid1);

            body1.Append(customXmlBlock1);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }