public bool UpdateCurrDoc(string newDoc, int newPage = -1) { bool isDiff = false; if (CurrDocStr != newDoc) { if (DictPrintedDocObjects.ContainsKey(newDoc)) { CurrDocObj = DictPrintedDocObjects[newDoc]; } else { Debug.LogError("Error: Current document object not found:" + newDoc); return(true); } if (DictDocuments.ContainsKey(newDoc)) { CurrARDoc = DictDocuments[newDoc]; } else { Debug.LogError("Error: Current ARDocument instance doesn't exist:" + newDoc); } CurrDocStr = newDoc; isDiff = true; TitlePage.PreloadTags(newDoc); } return(isDiff); }
public MainWindowViewModel(Frame CurrentFrame, Dispatcher mainWindowDispatcher) { this.currentFrame = CurrentFrame; this.mainWindowDispatcher = mainWindowDispatcher; // Initialize Agle as soon as possible MyAgle = Agle.Agle.GetAgleInstance; MyAgle.InitializeAgle(this.mainWindowDispatcher); // Creating ViewModel for all related pages aglePageVM = new AglePageViewModel(); selfCheckingPageVM = new SelfCheckingPageViewModel(); titlePageVM = new TitlePageViewModel(); titlePageVM.VideoFinishedEvent += this.OnTitlePageFinished; selfCheckingPageVM.AgleSystemStart += this.OnAgleSystemStart; // Ready navigating to title page, show starting movie TitlePage titlePage = new TitlePage(); titlePage.InitializeTitlePage(this.titlePageVM); this.currentFrame.NavigationService.Navigate(titlePage); }
/// <summary> /// Настройка страницы и колонтитул на 1 странице /// </summary> /// <param name="body"></param> /// <param name="mainDocument"></param> public void SettingPage(ref Body body, MainDocumentPart mainDocument) { SectionProperties sectionProperties = new SectionProperties(); PageSize pageSize = new PageSize() { Width = 11900U, Height = 16840U }; PageMargin pageMargin = new PageMargin() { Top = 1440, Right = 700U, Bottom = -1400, Left = 1470U, Header = 710U, Footer = 700U, Gutter = 0U }; TitlePage titlePage = new TitlePage(); sectionProperties.Append(pageSize); sectionProperties.Append(pageMargin); sectionProperties.Append(titlePage); sectionProperties.Append(new FooterReference() { Type = HeaderFooterValues.Default, Id = mainDocument.GetIdOfPart(mainDocument.FooterParts.FirstOrDefault()) }); sectionProperties.Append(new FooterReference() { Type = HeaderFooterValues.First, Id = mainDocument.GetIdOfPart(mainDocument.FooterParts.FirstOrDefault()) }); body.Append(sectionProperties); }
private void TitlePage() { Document.NewPage(); var title = new TitlePage(Year); Document.Add(title); }
public void GoToPage(PageType pageType) { if(_currentPageType == pageType) return; //we're already on the same page, so don't bother doing anything BasePage pageToCreate = null; if(pageType == PageType.TitlePage) { pageToCreate = new TitlePage(); } if(pageType == PageType.InGamePage) { pageToCreate = new InGamePage(); } else if (pageType == PageType.ScorePage) { pageToCreate = new ScorePage(); } if(pageToCreate != null) //destroy the old page and create a new one { _currentPageType = pageType; if(_currentPage != null) { _currentPage.Destroy(); _stage.RemoveChild(_currentPage); } _currentPage = pageToCreate; _stage.AddChild(_currentPage); _currentPage.Start(); } }
// Update is called once per frame void Update() { // Load the markers if not done yet and the controller is ready if (LoadedMarkers == false && _controller.status == ARUWP.ARUWP_STATUS_RUNNING) { Debug.Log("Size of markers from controller:" + ARUWPController.markers.Count); foreach (var key in ARUWPController.markers.Keys) { ARUWPMarker marker = ARUWPController.markers[key]; if (marker.type == ARUWPMarker.MarkerType.single_barcode && marker.target != null) { // Get the barcode ID, target GameObject if (DictBarcodeFileNames.ContainsKey(marker.singleBarcodeID)) { string fName = DictBarcodeFileNames[marker.singleBarcodeID]; GameObject gObj = marker.target; //gObj.SetActive(false); // Load the material for reference (they share the common material) if (marker.singleBarcodeID == 0) { MeshRenderer meshRenderer = gObj.GetComponentInChildren <MeshRenderer>(); RefPage.SetPrintedMaterial(meshRenderer.sharedMaterial); Debug.Log("Found printed item material"); // Debugging //gObj.SetActive(true); //_refPrintedMaterial.color = new Color(_refPrintedMaterial.color.r, _refPrintedMaterial.color.g, _refPrintedMaterial.color.b, 0.1f); } if (marker.singleBarcodeID >= 52) { // Sticker gObj.SetActive(true); } else if (marker.singleBarcodeID >= 41) { // Board gObj.SetActive(true); DictBarcodeToARUWPMarker.Add(marker.singleBarcodeID, key); } else { // Other files gObj.SetActive(false); TitlePage.PreloadTags(fName); } DictPrintedDocObjects.Add(fName, gObj); Debug.Log("Found the GameObject for:" + fName); } else { Debug.Log("Error: barcode not found:" + marker.singleBarcodeID); } } } LoadedMarkers = true; } }
//判断是否设置了首页不同 //true 表示设置了首页不同 protected bool firstPageIsdifferent(SectionProperties s) { TitlePage tp = s.GetFirstChild <TitlePage>(); if (tp != null) { return(true); } return(false); }
/// <summary> /// Initialise the program /// </summary> private static void Start() { Log.Add("*** PROGRAM INITIALISATION ***"); Shell.Initialise(); TitlePage.Display(); Terminal.Start(); }
public void CalssInit() { var driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); driver.Manage().Window.Maximize(); _titlePage = new TitlePage(driver); _qaPage = new QAPage(driver); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5); this._driver = driver; }
private void Start() { if (!UserData.IsShowedGuideNote) { OpenPopupGuide(); UserData.IsShowedGuideNote = true; } else { PopupRed.SetActive(false); } instance = this; }
public App() { InitializeComponent(); if (UseMockDataStore) { DependencyService.Register <MockDataStore>(); } else { DependencyService.Register <AzureDataStore>(); } MainPage = new TitlePage(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { mScreenWidth = (int)System.Windows.SystemParameters.PrimaryScreenWidth; mScreenHeight = (int)System.Windows.SystemParameters.PrimaryScreenHeight; TitlePage page = new TitlePage(this, getXScreenTaken(), getYScreenTaken()); page.amRichTxt.Document = new FlowDocument(new Paragraph(new Run(mConfigCollection.mTestInfo.Description))); page.amTitleBlock.Text = mConfigCollection.mTestInfo.Name; amCanvas.Children.Add(page); centralize(page, getXScreenTaken(), getYScreenTaken()); //test below /* AroraCore ac = new AroraCore(new ReportForm()); * AroraNormFactory anf = new AroraNormFactory(); * Dictionary<int, StItem> items = new Dictionary<int, StItem>(); * List<StAnswer> answers = new List<StAnswer>(); * for (int i = 0; i < 68; i++) * { * StAnswer answer = new StAnswer(0, 3); * answers.Add(answer); * * Dictionary<int,StSelection> selections = new Dictionary<int,StSelection>(); * for(int j = 0; j < 4; j++) * { * selections.Add(j, new StSelection(0, (float)j, "aaa")); * } * StItem item = new StItem(i, "none", ref selections); * items.Add(i, item); * } * ac.SetData(items, answers, new Dictionary<String, String>(), anf.GetNorm()); * ac.Run();*/ FullScreen(); //systest /*AroraNormFactory anf = new AroraNormFactory(); * AroraReport rep = new AroraReport(mDemogLines.Count, 68, * anf.GetNorm()); * * rep.DoReport();*/ }
public void Write(StringBuilder builder, TitlePage titlePage) { if (builder == null || titlePage == null) { return; } foreach (var keyInformation in titlePage.KeyInformationList) { var keyMultiLineValuePair = keyInformation as KeyMultiLineValuePair; Write(builder, keyMultiLineValuePair); var keySingleLineValuePair = keyInformation as KeySingleLineValuePair; Write(builder, keySingleLineValuePair); } // A page break is implicit after the Title Page. Just drop down two lines and start writing your screenplay. Write(builder, titlePage.TitlePageBreakToken); }
public static SectionProperties CreateProperties() { SectionProperties sectionProperties1 = new SectionProperties() { RsidR = "009B2C1D" }; HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rId12" }; FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rId13" }; HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.First, Id = "rId14" }; PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11870U, Height = (UInt32Value)16787U }; PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U }; Columns columns1 = new Columns() { Space = "720" }; TitlePage titlePage1 = new TitlePage(); sectionProperties1.Append(headerReference1); sectionProperties1.Append(footerReference1); sectionProperties1.Append(headerReference2); sectionProperties1.Append(pageSize1); sectionProperties1.Append(pageMargin1); sectionProperties1.Append(columns1); sectionProperties1.Append(titlePage1); return(sectionProperties1); }
public override string ToString() { if (!string.IsNullOrEmpty(Filename)) { return(Filename); } if (TitlePage != null) { if (TitlePage.KeyInformationList != null) { foreach (var keyInfo in TitlePage.KeyInformationList) { var title = keyInfo as Title; if (title != null) { return(title.ToString()); } } } return(TitlePage.ToString()); } return(base.ToString()); }
public void GoToPage(PageType pageType) { if (_currentPageType == pageType) { return; //we're already on the same page, so don't bother doing anything } BasePage pageToCreate = null; if (pageType == PageType.TitlePage) { pageToCreate = new TitlePage(); } if (pageType == PageType.InGamePage) { pageToCreate = new InGamePage(); } else if (pageType == PageType.ScorePage) { pageToCreate = new ScorePage(); } if (pageToCreate != null) //destroy the old page and create a new one { _currentPageType = pageType; if (_currentPage != null) { _currentPage.Destroy(); _stage.RemoveChild(_currentPage); } _currentPage = pageToCreate; _stage.AddChild(_currentPage); _currentPage.Start(); } }
/* * function:the first page and the second should have no header * params: list:the list of sectPrs * intlist:the location of sectPrs in body * wordpro: * docxpath: * root:xml root * xmlDocx * return:void */ static private void firstSection(List <SectionProperties> list, List <int> intlist, WordprocessingDocument wordpro, string docxPath, XmlNode root, XmlDocument xmlDocx) { MainDocumentPart Mpart = wordpro.MainDocumentPart; SectionProperties s = null; if (list.Count == 0) { return; } s = list[0]; TitlePage tp = s.GetFirstChild <TitlePage>(); int location = intlist[0]; bool no2page = no2PageInfirstSection(intlist[0], Mpart.Document.Body); IEnumerable <HeaderReference> headrs = s.Elements <HeaderReference>(); HeaderReference headerfirst = null; HeaderReference headereven = null; HeaderReference headerdefault = null; FooterReference footerfirst = null; FooterReference footereven = null; FooterReference footerdefault = null; IEnumerable <FooterReference> footrs = s.Elements <FooterReference>(); foreach (HeaderReference headr in headrs) { if (headr.Type == HeaderFooterValues.First) { headerfirst = headr; } if (headr.Type == HeaderFooterValues.Even) { headereven = headr; } if (headr.Type == HeaderFooterValues.Default) { headerdefault = headr; } } foreach (FooterReference footr in footrs) { if (footr.Type == HeaderFooterValues.First) { footerfirst = footr; } if (footr.Type == HeaderFooterValues.Even) { footereven = footr; } if (footr.Type == HeaderFooterValues.Default) { footerdefault = footr; } } //如果设置了首页不同 if (tp != null) { if (headerfirst != null) { string ID = headerfirst.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "封面应无页眉"; root.AppendChild(xml); } } } if (footerfirst != null) { string ID = footerfirst.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "封面应无页脚"; root.AppendChild(xml); } } } if (no2page)//若独创性说明在第一节内 { //查看是否设置了奇偶页不同 Settings setting = Mpart.DocumentSettingsPart.Settings; if (setting.GetFirstChild <EvenAndOddHeaders>() != null)//若设置了奇偶页不同 { if (headereven != null) { string ID = headereven.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footereven != null) { string ID = footereven.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "封面应无页脚"; root.AppendChild(xml); } } } } else//若没有设置奇偶页不同 { if (headerdefault != null) { string ID = headerdefault.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footerdefault != null) { string ID = footerdefault.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } } } //若没有设置首页不同 else { if (headerdefault != null) { string ID = headerdefault.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "封面应无页眉"; root.AppendChild(xml); } } } if (footerdefault != null) { string ID = footerdefault.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "封面应无页脚"; root.AppendChild(xml); } } } if (no2page)//如果独创性说明在第一节 { Settings setting = Mpart.DocumentSettingsPart.Settings; if (setting.GetFirstChild <EvenAndOddHeaders>() != null)//设置了奇偶页不同,则独创性说明是偶数页设置 { if (headereven != null) { string ID = headereven.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footereven != null) { string ID = footereven.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } else//没有设置奇偶页不同 { if (headerdefault != null) { string ID = headerdefault.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footerdefault != null) { string ID = footerdefault.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } } } if (!no2page)//第二页独创性说明不在第一节 { //确定独创性说明在不在第二节,不在报错 if (!no2PageInfirstSection(intlist[1] - 1, Mpart.Document.Body)) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "缺少独创性声明页"; root.AppendChild(xml); } else { s = list[1]; headrs = s.Elements <HeaderReference>(); tp = s.GetFirstChild <TitlePage>(); foreach (HeaderReference headr in headrs) { if (headr.Type == HeaderFooterValues.First) { headerfirst = headr; } if (headr.Type == HeaderFooterValues.Even) { headereven = headr; } if (headr.Type == HeaderFooterValues.Default) { headerdefault = headr; } } if (tp != null)//第二节设置了首页不同 { if (headerfirst != null) { string ID = headerfirst.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footerfirst != null) { string ID = footerfirst.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } else//没有设置首页不同 { Settings setting = Mpart.DocumentSettingsPart.Settings; if (setting.GetFirstChild <EvenAndOddHeaders>() != null)//设置了奇偶页不同 { if (headereven != null) { string ID = headereven.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footereven != null) { string ID = footereven.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } else//没有设置奇偶页不同 { if (headerdefault != null) { string ID = headerdefault.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; if (header.InnerText != null) { if (header.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页眉"; root.AppendChild(xml); } } } if (footerdefault != null) { string ID = footerdefault.Id.ToString(); FooterPart fp = (FooterPart)Mpart.GetPartById(ID); Footer footer = fp.Footer; if (footer.InnerText != null) { if (footer.InnerText.Trim().Length > 0) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "独创性声明所在的页应无页脚"; root.AppendChild(xml); } } } } } } } }
private void otherSectionHeader(List <SectionProperties> list, List <int> intlist, WordprocessingDocument wordpro, string docxPath, XmlNode root, XmlDocument xmlDocx, string name, int flag) { MainDocumentPart Mpart = wordpro.MainDocumentPart; // List<int> sectionnumber = new List<int>(20); HeaderReference headerfirst = null; HeaderReference headereven = null; HeaderReference headerdefault = null; if (list.Count == 0) { return; } SectionProperties s = list[0]; IEnumerable <HeaderReference> headrs = s.Elements <HeaderReference>(); foreach (HeaderReference headr in headrs) { if (headr.Type == HeaderFooterValues.First) { headerfirst = headr; } if (headr.Type == HeaderFooterValues.Even) { headereven = headr; } if (headr.Type == HeaderFooterValues.Default) { headerdefault = headr; } } for (int i = 2; i <= list.Count <SectionProperties>(); i++) { bool no2pageinsecondsection = !no2PageInfirstSection(intlist[0], wordpro.MainDocumentPart.Document.Body); s = list[i - 1]; List <int> chapterTitle = Tool.getTitlePosition(wordpro); string chapter = Tool.Chapter(chapterTitle, intlist[i - 1], wordpro.MainDocumentPart.Document.Body); TitlePage tp = s.GetFirstChild <TitlePage>(); headrs = s.Elements <HeaderReference>(); foreach (HeaderReference headr in headrs) { if (headr.Type == HeaderFooterValues.First) { headerfirst = headr; } if (headr.Type == HeaderFooterValues.Even) { headereven = headr; } if (headr.Type == HeaderFooterValues.Default) { headerdefault = headr; } } if (tp != null) { //合乎规范 XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉命名不规范,不应该设置首页不同||" + chapter; root.AppendChild(xml); } else { //奇数页 if (headerdefault == null) { if (no2pageinsecondsection)//检测独创性声明页在不在第二节 { continue; } /*else * { * * }*/ } string ID = headerdefault.Id.ToString(); HeaderPart hp = (HeaderPart)Mpart.GetPartById(ID); Header header = hp.Header; Paragraph p = header.GetFirstChild <Paragraph>(); if (header.InnerText != null) { string headername = header.InnerText.Trim(); //字体 if (!Tool.correctfonts(p, wordpro, "宋体", "Times New Roman")) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉字体应为宋体||" + chapter; root.AppendChild(xml); } //字号 if (!Tool.correctsize(p, wordpro, "21")) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉字号应为五号||" + chapter; root.AppendChild(xml); } //居中 if (!JustificationCenter(p, Mpart)) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉应居中||" + chapter; root.AppendChild(xml); } if (flag == 1) { //合乎规范 if (!no2pageinsecondsection) { if (headername != "大连理工大学专业学位硕士学位论文") { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "奇数页页眉命名不规范应为:“大连理工大学专业学位硕士学位论文”||" + chapter; root.AppendChild(xml); } } else { if (i != 2) { if (headername != "大连理工大学专业学位硕士学位论文") { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "奇数页页眉命名不规范应为:“大连理工大学专业学位硕士学位论文”||" + chapter; root.AppendChild(xml); } } } } if (flag == 0) { if (!no2pageinsecondsection) { if (headername != "大连理工大学硕士学位论文") { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "奇数页页眉命名不规范应为:“大连理工大学硕士学位论文”||" + chapter; root.AppendChild(xml); } } else { if (i != 2) { if (headername != "大连理工大学硕士学位论文") { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "奇数页页眉命名不规范应为:“大连理工大学硕士学位论文”||" + chapter; root.AppendChild(xml); } } } } } else { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "缺少奇数页页眉||" + chapter; root.AppendChild(xml); } //偶数页 ID = headereven.Id.ToString(); hp = (HeaderPart)Mpart.GetPartById(ID); header = hp.Header; if (header.InnerText != null) { //字体 if (!Tool.correctfonts(p, wordpro, "宋体", "Times New Roman")) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉字体应为宋体||" + chapter; root.AppendChild(xml); } //字号 if (!Tool.correctsize(p, wordpro, "21")) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉字号应为五号||" + chapter; root.AppendChild(xml); } //居中 if (!JustificationCenter(p, Mpart)) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "页眉应居中||" + chapter; root.AppendChild(xml); } string headername = header.GetFirstChild <Paragraph>().InnerText.Trim(); //合乎规范 if (!no2pageinsecondsection) { if (headername != name) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "偶数页页眉命名不规范,应为论文中文题目||" + chapter; root.AppendChild(xml); } } else { if (i != 2) { if (headername != name) { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "偶数页页眉命名不规范,应为论文中文题目||" + chapter; root.AppendChild(xml); } } } } else { XmlElement xml = xmlDocx.CreateElement("Text"); xml.InnerText = "缺少偶数页页眉||" + chapter; root.AppendChild(xml); } } } }
// 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; }
static void Main() { TitlePage.Title(); }
// Creates an Body instance and adds its children. public static Body GenerateBody() { Body body1 = new Body(); Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "000E101D", RsidParagraphAddition = "00CF6683", RsidParagraphProperties = "00CF6683", RsidRunAdditionDefault = "00CF6683", ParagraphId = "0E6D6057", TextId = "77777777" }; ParagraphProperties paragraphProperties1 = new ParagraphProperties(); ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Heading1" }; NumberingProperties numberingProperties1 = new NumberingProperties(); NumberingLevelReference numberingLevelReference1 = new NumberingLevelReference() { Val = 0 }; NumberingId numberingId1 = new NumberingId() { Val = 2 }; numberingProperties1.Append(numberingLevelReference1); numberingProperties1.Append(numberingId1); paragraphProperties1.Append(paragraphStyleId1); paragraphProperties1.Append(numberingProperties1); BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_Toc128902458", Id = "0" }; Run run1 = new Run(); Break break1 = new Break(); run1.Append(break1); BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" }; Run run2 = new Run(); Text text1 = new Text(); text1.Text = "First"; run2.Append(text1); paragraph1.Append(paragraphProperties1); paragraph1.Append(bookmarkStart1); paragraph1.Append(run1); paragraph1.Append(bookmarkEnd1); paragraph1.Append(run2); Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "000E101D", RsidParagraphAddition = "00CF6683", RsidParagraphProperties = "00CF6683", RsidRunAdditionDefault = "00CF6683", ParagraphId = "1515913F", TextId = "77777777" }; ParagraphProperties paragraphProperties2 = new ParagraphProperties(); ParagraphStyleId paragraphStyleId2 = new ParagraphStyleId() { Val = "Heading1" }; NumberingProperties numberingProperties2 = new NumberingProperties(); NumberingLevelReference numberingLevelReference2 = new NumberingLevelReference() { Val = 0 }; NumberingId numberingId2 = new NumberingId() { Val = 2 }; numberingProperties2.Append(numberingLevelReference2); numberingProperties2.Append(numberingId2); paragraphProperties2.Append(paragraphStyleId2); paragraphProperties2.Append(numberingProperties2); BookmarkStart bookmarkStart2 = new BookmarkStart() { Name = "_Toc128902483", Id = "1" }; Run run3 = new Run(); Break break2 = new Break(); Text text2 = new Text(); text2.Text = "SEc"; run3.Append(break2); run3.Append(text2); paragraph2.Append(paragraphProperties2); paragraph2.Append(bookmarkStart2); paragraph2.Append(run3); Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "000D0026", RsidParagraphProperties = "000D0026", RsidRunAdditionDefault = "00CF6683", ParagraphId = "3D4C030D", TextId = "707DD937" }; ParagraphProperties paragraphProperties3 = new ParagraphProperties(); ParagraphStyleId paragraphStyleId3 = new ParagraphStyleId() { Val = "Heading1" }; paragraphProperties3.Append(paragraphStyleId3); Run run4 = new Run(); Break break3 = new Break(); run4.Append(break3); BookmarkEnd bookmarkEnd2 = new BookmarkEnd() { Id = "1" }; Run run5 = new Run(); Text text3 = new Text(); text3.Text = "THIRD"; run5.Append(text3); paragraph3.Append(paragraphProperties3); paragraph3.Append(run4); paragraph3.Append(bookmarkEnd2); paragraph3.Append(run5); Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "000D0026", RsidParagraphAddition = "000D0026", RsidParagraphProperties = "000D0026", RsidRunAdditionDefault = "000D0026", ParagraphId = "270303F9", TextId = "4BFC761E" }; ParagraphProperties paragraphProperties4 = new ParagraphProperties(); ParagraphStyleId paragraphStyleId4 = new ParagraphStyleId() { Val = "Heading1" }; paragraphProperties4.Append(paragraphStyleId4); Run run6 = new Run(); Break break4 = new Break(); Text text4 = new Text(); text4.Text = "FoURTH"; run6.Append(break4); run6.Append(text4); BookmarkStart bookmarkStart3 = new BookmarkStart() { Name = "_GoBack", Id = "2" }; BookmarkEnd bookmarkEnd3 = new BookmarkEnd() { Id = "2" }; paragraph4.Append(paragraphProperties4); paragraph4.Append(run6); paragraph4.Append(bookmarkStart3); paragraph4.Append(bookmarkEnd3); SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "000D0026", RsidR = "000D0026", RsidSect = "00F73F69" }; FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Even, Id = "rId7" }; FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rId8" }; PageSize pageSize1 = new PageSize() { Width = 12240U, Height = 15840U, Code = (UInt16Value)1U }; PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = 1440U, Bottom = 1440, Left = 1440U, Header = 720U, Footer = 720U, Gutter = 0U }; PageNumberType pageNumberType1 = new PageNumberType() { Start = 1 }; Columns columns1 = new Columns() { Space = "720" }; TitlePage titlePage1 = new TitlePage(); DocGrid docGrid1 = new DocGrid() { LinePitch = 360 }; sectionProperties1.Append(footerReference1); sectionProperties1.Append(footerReference2); sectionProperties1.Append(pageSize1); sectionProperties1.Append(pageMargin1); sectionProperties1.Append(pageNumberType1); sectionProperties1.Append(columns1); sectionProperties1.Append(titlePage1); sectionProperties1.Append(docGrid1); body1.Append(paragraph1); body1.Append(paragraph2); body1.Append(paragraph3); body1.Append(paragraph4); body1.Append(sectionProperties1); return(body1); }
public TitleTests(Fixture fixture) : base(fixture) { this.page = this.GoTo <TitlePage>(); }
public void ClickTitlePage() { TitlePage.Click(); }
// Generates content of mainDocumentPart1. private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1) { Document document1 = new Document() {MCAttributes = new MarkupCompatibilityAttributes() {Ignorable = "w14 wp14"}}; document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); Body body1 = new Body(); Table table1 = new Table(); TableProperties tableProperties1 = new TableProperties(); TableStyle tableStyle1 = new TableStyle() {Val = "TableGrid"}; TableWidth tableWidth1 = new TableWidth() {Width = "0", Type = TableWidthUnitValues.Auto}; TableBorders tableBorders1 = new TableBorders(); InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value) 0U, Space = (UInt32Value) 0U }; tableBorders1.Append(insideVerticalBorder1); TableLook tableLook1 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true }; tableProperties1.Append(tableStyle1); tableProperties1.Append(tableWidth1); tableProperties1.Append(tableBorders1); tableProperties1.Append(tableLook1); TableGrid tableGrid1 = new TableGrid(); GridColumn gridColumn1 = new GridColumn() {Width = "4788"}; GridColumn gridColumn2 = new GridColumn() {Width = "4788"}; tableGrid1.Append(gridColumn1); tableGrid1.Append(gridColumn2); table1.Append(tableProperties1); table1.Append(tableGrid1); Paragraph paragraph21 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00367B71", RsidRunAdditionDefault = "00FB1F22" }; SectionProperties sectionProperties1 = new SectionProperties() {RsidR = "00FB1F22", RsidSect = "00367B71"}; HeaderReference headerReference1 = new HeaderReference() {Type = HeaderFooterValues.Default, Id = "rId9"}; FooterReference footerReference1 = new FooterReference() {Type = HeaderFooterValues.Default, Id = "rId10"}; HeaderReference headerReference2 = new HeaderReference() {Type = HeaderFooterValues.First, Id = "rId11"}; FooterReference footerReference2 = new FooterReference() {Type = HeaderFooterValues.First, Id = "rId12"}; PageSize pageSize1 = new PageSize() {Width = (UInt32Value) 12240U, Height = (UInt32Value) 15840U}; PageMargin pageMargin1 = new PageMargin() { Top = 432, Right = (UInt32Value) 1440U, Bottom = 990, Left = (UInt32Value) 1440U, Header = (UInt32Value) 540U, Footer = (UInt32Value) 270U, Gutter = (UInt32Value) 0U }; Columns columns1 = new Columns() {Space = "720"}; TitlePage titlePage1 = new TitlePage(); DocGrid docGrid1 = new DocGrid() {LinePitch = 360}; sectionProperties1.Append(headerReference1); sectionProperties1.Append(footerReference1); sectionProperties1.Append(headerReference2); sectionProperties1.Append(footerReference2); sectionProperties1.Append(pageSize1); sectionProperties1.Append(pageMargin1); sectionProperties1.Append(columns1); sectionProperties1.Append(titlePage1); sectionProperties1.Append(docGrid1); AddRows(mainDocumentPart1, table1); // ############################################################# body1.Append(table1); body1.Append(paragraph21); body1.Append(sectionProperties1); document1.Append(body1); mainDocumentPart1.Document = document1; }