// Generates content of webSettingsPart1. private static void GenerateWebSettingsPart1Content(WebSettingsPart webSettingsPart1) { WebSettings webSettings1 = new WebSettings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } }; webSettings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); webSettings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); webSettings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); webSettings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); webSettings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); Divs divs1 = new Divs(); Div div1 = new Div() { Id = "714617678" }; BodyDiv bodyDiv1 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv1 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv1 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv1 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv1 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder1 = new DivBorder(); 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 bottomBorder3 = 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 }; divBorder1.Append(topBorder2); divBorder1.Append(leftBorder2); divBorder1.Append(bottomBorder3); divBorder1.Append(rightBorder2); div1.Append(bodyDiv1); div1.Append(leftMarginDiv1); div1.Append(rightMarginDiv1); div1.Append(topMarginDiv1); div1.Append(bottomMarginDiv1); div1.Append(divBorder1); divs1.Append(div1); OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser(); RelyOnVML relyOnVML1 = new RelyOnVML(); AllowPNG allowPNG1 = new AllowPNG(); webSettings1.Append(divs1); webSettings1.Append(optimizeForBrowser1); webSettings1.Append(relyOnVML1); webSettings1.Append(allowPNG1); webSettingsPart1.WebSettings = webSettings1; }
// Generates content of webSettingsPart1. private void GenerateWebSettingsPart1Content(WebSettingsPart webSettingsPart1) { WebSettings webSettings1 = new WebSettings(); Divs divs1 = new Divs(); Div div1 = new Div() { Id = "110056252" }; BodyDiv bodyDiv1 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv1 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv1 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv1 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv1 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder1 = new DivBorder(); TopBorder topBorder13 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder7 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder15 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder7 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder1.Append(topBorder13); divBorder1.Append(leftBorder7); divBorder1.Append(bottomBorder15); divBorder1.Append(rightBorder7); div1.Append(bodyDiv1); div1.Append(leftMarginDiv1); div1.Append(rightMarginDiv1); div1.Append(topMarginDiv1); div1.Append(bottomMarginDiv1); div1.Append(divBorder1); Div div2 = new Div() { Id = "454059354" }; BodyDiv bodyDiv2 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv2 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv2 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv2 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv2 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder2 = new DivBorder(); TopBorder topBorder14 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder8 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder16 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder8 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder2.Append(topBorder14); divBorder2.Append(leftBorder8); divBorder2.Append(bottomBorder16); divBorder2.Append(rightBorder8); div2.Append(bodyDiv2); div2.Append(leftMarginDiv2); div2.Append(rightMarginDiv2); div2.Append(topMarginDiv2); div2.Append(bottomMarginDiv2); div2.Append(divBorder2); Div div3 = new Div() { Id = "802694763" }; BodyDiv bodyDiv3 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv3 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv3 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv3 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv3 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder3 = new DivBorder(); TopBorder topBorder15 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder9 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder17 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder9 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder3.Append(topBorder15); divBorder3.Append(leftBorder9); divBorder3.Append(bottomBorder17); divBorder3.Append(rightBorder9); div3.Append(bodyDiv3); div3.Append(leftMarginDiv3); div3.Append(rightMarginDiv3); div3.Append(topMarginDiv3); div3.Append(bottomMarginDiv3); div3.Append(divBorder3); Div div4 = new Div() { Id = "1232883998" }; BodyDiv bodyDiv4 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv4 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv4 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv4 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv4 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder4 = new DivBorder(); TopBorder topBorder16 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder10 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder18 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder10 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder4.Append(topBorder16); divBorder4.Append(leftBorder10); divBorder4.Append(bottomBorder18); divBorder4.Append(rightBorder10); div4.Append(bodyDiv4); div4.Append(leftMarginDiv4); div4.Append(rightMarginDiv4); div4.Append(topMarginDiv4); div4.Append(bottomMarginDiv4); div4.Append(divBorder4); divs1.Append(div1); divs1.Append(div2); divs1.Append(div3); divs1.Append(div4); OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser(); webSettings1.Append(divs1); webSettings1.Append(optimizeForBrowser1); webSettingsPart1.WebSettings = webSettings1; }
// Generates content of webSettingsPart1. private void GenerateWebSettingsPart1Content(WebSettingsPart webSettingsPart1) { WebSettings webSettings1 = new WebSettings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se" } }; webSettings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); webSettings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); webSettings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); webSettings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); webSettings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); webSettings1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"); Divs divs1 = new Divs(); Div div1 = new Div() { Id = "198011547" }; BodyDiv bodyDiv1 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv1 = new LeftMarginDiv() { Val = "60" }; RightMarginDiv rightMarginDiv1 = new RightMarginDiv() { Val = "60" }; TopMarginDiv topMarginDiv1 = new TopMarginDiv() { Val = "60" }; BottomMarginDiv bottomMarginDiv1 = new BottomMarginDiv() { Val = "15" }; DivBorder divBorder1 = new DivBorder(); TopBorder topBorder90 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder89 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder95 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder89 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder1.Append(topBorder90); divBorder1.Append(leftBorder89); divBorder1.Append(bottomBorder95); divBorder1.Append(rightBorder89); DivsChild divsChild1 = new DivsChild(); Div div2 = new Div() { Id = "1885019551" }; LeftMarginDiv leftMarginDiv2 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv2 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv2 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv2 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder2 = new DivBorder(); TopBorder topBorder91 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder90 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder96 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder90 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder2.Append(topBorder91); divBorder2.Append(leftBorder90); divBorder2.Append(bottomBorder96); divBorder2.Append(rightBorder90); div2.Append(leftMarginDiv2); div2.Append(rightMarginDiv2); div2.Append(topMarginDiv2); div2.Append(bottomMarginDiv2); div2.Append(divBorder2); Div div3 = new Div() { Id = "1927107593" }; LeftMarginDiv leftMarginDiv3 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv3 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv3 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv3 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder3 = new DivBorder(); TopBorder topBorder92 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder91 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder97 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder91 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder3.Append(topBorder92); divBorder3.Append(leftBorder91); divBorder3.Append(bottomBorder97); divBorder3.Append(rightBorder91); div3.Append(leftMarginDiv3); div3.Append(rightMarginDiv3); div3.Append(topMarginDiv3); div3.Append(bottomMarginDiv3); div3.Append(divBorder3); divsChild1.Append(div2); divsChild1.Append(div3); div1.Append(bodyDiv1); div1.Append(leftMarginDiv1); div1.Append(rightMarginDiv1); div1.Append(topMarginDiv1); div1.Append(bottomMarginDiv1); div1.Append(divBorder1); div1.Append(divsChild1); Div div4 = new Div() { Id = "1653750813" }; LeftMarginDiv leftMarginDiv4 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv4 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv4 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv4 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder4 = new DivBorder(); TopBorder topBorder93 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder92 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder98 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder92 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; divBorder4.Append(topBorder93); divBorder4.Append(leftBorder92); divBorder4.Append(bottomBorder98); divBorder4.Append(rightBorder92); div4.Append(leftMarginDiv4); div4.Append(rightMarginDiv4); div4.Append(topMarginDiv4); div4.Append(bottomMarginDiv4); div4.Append(divBorder4); divs1.Append(div1); divs1.Append(div4); OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser(); RelyOnVML relyOnVML1 = new RelyOnVML(); AllowPNG allowPNG1 = new AllowPNG(); webSettings1.Append(divs1); webSettings1.Append(optimizeForBrowser1); webSettings1.Append(relyOnVML1); webSettings1.Append(allowPNG1); webSettingsPart1.WebSettings = webSettings1; }
// Generates content of webSettingsPart1. private void GenerateWebSettingsPart1Content(WebSettingsPart webSettingsPart1) { WebSettings webSettings1 = new WebSettings(); webSettings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); webSettings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); Divs divs1 = new Divs(); Div div1 = new Div() { Id = "1081685432" }; BodyDiv bodyDiv1 = new BodyDiv() { Val = true }; LeftMarginDiv leftMarginDiv1 = new LeftMarginDiv() { Val = "0" }; RightMarginDiv rightMarginDiv1 = new RightMarginDiv() { Val = "0" }; TopMarginDiv topMarginDiv1 = new TopMarginDiv() { Val = "0" }; BottomMarginDiv bottomMarginDiv1 = new BottomMarginDiv() { Val = "0" }; DivBorder divBorder1 = new DivBorder(); 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 }; divBorder1.Append(topBorder1); divBorder1.Append(leftBorder1); divBorder1.Append(bottomBorder1); divBorder1.Append(rightBorder1); div1.Append(bodyDiv1); div1.Append(leftMarginDiv1); div1.Append(rightMarginDiv1); div1.Append(topMarginDiv1); div1.Append(bottomMarginDiv1); div1.Append(divBorder1); divs1.Append(div1); OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser(); webSettings1.Append(divs1); webSettings1.Append(optimizeForBrowser1); webSettingsPart1.WebSettings = webSettings1; }