/// <summary>
        /// Creates an editable WordprocessingDocument from a template, opened on
        /// a MemoryStream with expandable capacity.
        /// </summary>
        /// <remarks>
        /// This method is provided to offer the choice to not attach the template.
        /// When templates are attached in Microsoft Word, for example, the absolute
        /// path will be used in the relationship. These absolute paths are most
        /// often user-specific, however, so once documents are shared with other
        /// users, the relationship gets "broken" anyhow.
        /// </remarks>
        /// <param name="path">The path and file name of the template.</param>
        /// <param name="isTemplateAttached">True, if the template should be attached to the document.</param>
        /// <returns>The new WordprocessingDocument based on and linked to the template.</returns>
        public static WordprocessingDocument CreateFromTemplate(string path, bool isTemplateAttached)
        {
            if (path == null)
            {
                throw new ArgumentNullException(nameof(path));
            }

            // Check extensions as the template must have a valid Word Open XML extension.
            string extension = Path.GetExtension(path);

            if (extension != ".docx" && extension != ".docm" && extension != ".dotx" && extension != ".dotm")
            {
                throw new ArgumentException($"Illegal template file: {path}", nameof(path));
            }

            using (WordprocessingDocument template = WordprocessingDocument.Open(path, false))
            {
                // We've opened the template in read-only mode to let multiple processes
                // open it without running into problems.
                WordprocessingDocument document = (WordprocessingDocument)template.Clone();

                // If the template is a document rather than a template, we are done.
                if (extension == ".docx" || extension == ".docm")
                {
                    return(document);
                }

                // Otherwise, we'll have to do some more work.
                // Firstly, we'll change the document type from Template to Document.
                document.ChangeDocumentType(WordprocessingDocumentType.Document);

                // Secondly, we'll attach the template to our new document if so desired.
                if (isTemplateAttached)
                {
                    // Create a relative or absolute external relationship to the template.
                    // TODO: Check whether relative URIs are universally supported. They work in Office 2010.
                    MainDocumentPart     mainDocumentPart     = document.MainDocumentPart;
                    DocumentSettingsPart documentSettingsPart = mainDocumentPart.DocumentSettingsPart;
                    ExternalRelationship relationship         = documentSettingsPart.AddExternalRelationship(
                        "http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate",
                        new Uri(path, UriHelper.RelativeOrAbsolute));
                    documentSettingsPart.Settings.Append(
                        new DocumentFormat.OpenXml.Wordprocessing.AttachedTemplate()
                    {
                        Id = relationship.Id
                    });
                }

                // We are done, so save and return.
                // TODO: Check whether it would be safe to return without saving.
                document.Save();
                return(document);
            }
        }
Example #2
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "120" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = new EnumValue<CompatSettingNameValues>() { InnerText = "differentiateMultirowTableHeaders" }, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00417926" };
            Rsid rsid1 = new Rsid() { Val = "00015C18" };
            Rsid rsid2 = new Rsid() { Val = "000730E1" };
            Rsid rsid3 = new Rsid() { Val = "00116604" };
            Rsid rsid4 = new Rsid() { Val = "001E6F64" };
            Rsid rsid5 = new Rsid() { Val = "002928D6" };
            Rsid rsid6 = new Rsid() { Val = "002C2DE6" };
            Rsid rsid7 = new Rsid() { Val = "003F6835" };
            Rsid rsid8 = new Rsid() { Val = "00417926" };
            Rsid rsid9 = new Rsid() { Val = "00443ACA" };
            Rsid rsid10 = new Rsid() { Val = "00506382" };
            Rsid rsid11 = new Rsid() { Val = "00613B48" };
            Rsid rsid12 = new Rsid() { Val = "00646179" };
            Rsid rsid13 = new Rsid() { Val = "00690638" };
            Rsid rsid14 = new Rsid() { Val = "00745A6B" };
            Rsid rsid15 = new Rsid() { Val = "007F61F5" };
            Rsid rsid16 = new Rsid() { Val = "00882792" };
            Rsid rsid17 = new Rsid() { Val = "009035DD" };
            Rsid rsid18 = new Rsid() { Val = "00910498" };
            Rsid rsid19 = new Rsid() { Val = "009B6C59" };
            Rsid rsid20 = new Rsid() { Val = "00AA36A4" };
            Rsid rsid21 = new Rsid() { Val = "00B5104A" };
            Rsid rsid22 = new Rsid() { Val = "00BD60A1" };
            Rsid rsid23 = new Rsid() { Val = "00D62411" };
            Rsid rsid24 = new Rsid() { Val = "00EA7D1E" };
            Rsid rsid25 = new Rsid() { Val = "00EE18CB" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-NZ" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:chartTrackingRefBased xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:docId w15:val=\"{4EB8CCD5-0ACB-4603-AD4F-B7B3A0D8FABE}\" xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(openXmlUnknownElement1);
            settings1.Append(openXmlUnknownElement2);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 708 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "14" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00945FC6" };
            Rsid rsid1 = new Rsid() { Val = "00391036" };
            Rsid rsid2 = new Rsid() { Val = "00571FC0" };
            Rsid rsid3 = new Rsid() { Val = "00900A10" };
            Rsid rsid4 = new Rsid() { Val = "00945FC6" };
            Rsid rsid5 = new Rsid() { Val = "00D60978" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "ru-RU" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "," };
            ListSeparator listSeparator1 = new ListSeparator() { Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "120" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = new EnumValue<CompatSettingNameValues>() { InnerText = "differentiateMultirowTableHeaders" }, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00BC116E" };
            Rsid rsid1 = new Rsid() { Val = "00283DF8" };
            Rsid rsid2 = new Rsid() { Val = "00361E43" };
            Rsid rsid3 = new Rsid() { Val = "00370D51" };
            Rsid rsid4 = new Rsid() { Val = "004C4FC4" };
            Rsid rsid5 = new Rsid() { Val = "006D7AD3" };
            Rsid rsid6 = new Rsid() { Val = "00962641" };
            Rsid rsid7 = new Rsid() { Val = "00A93DB9" };
            Rsid rsid8 = new Rsid() { Val = "00AB286F" };
            Rsid rsid9 = new Rsid() { Val = "00BC116E" };
            Rsid rsid10 = new Rsid() { Val = "00D26AC8" };
            Rsid rsid11 = new Rsid() { Val = "00FF01F2" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-NZ" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:chartTrackingRefBased xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:docId w15:val=\"{454EFE2E-17DD-4236-8FF7-F2C7EA139650}\" xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            settings1.Append(zoom1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(openXmlUnknownElement1);
            settings1.Append(openXmlUnknownElement2);

            documentSettingsPart1.Settings = settings1;
        }
Example #5
0
        // Generates content of documentSettingsPart1.
        private static void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            AttachedTemplate attachedTemplate1 = new AttachedTemplate() { Id = "rId1" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 420 };
            DrawingGridVerticalSpacing drawingGridVerticalSpacing1 = new DrawingGridVerticalSpacing() { Val = "156" };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid() { Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid() { Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.CompressPunctuation };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "009446D8" };
            Rsid rsid1 = new Rsid() { Val = "00000E1C" };
            Rsid rsid2 = new Rsid() { Val = "00003DC0" };
            Rsid rsid3 = new Rsid() { Val = "000275B2" };
            Rsid rsid4 = new Rsid() { Val = "00046D2C" };
            Rsid rsid5 = new Rsid() { Val = "000A213E" };
            Rsid rsid6 = new Rsid() { Val = "000B5BB8" };
            Rsid rsid7 = new Rsid() { Val = "000C5029" };
            Rsid rsid8 = new Rsid() { Val = "00124526" };
            Rsid rsid9 = new Rsid() { Val = "00127314" };
            Rsid rsid10 = new Rsid() { Val = "00134DB2" };
            Rsid rsid11 = new Rsid() { Val = "00156B7C" };
            Rsid rsid12 = new Rsid() { Val = "00165201" };
            Rsid rsid13 = new Rsid() { Val = "001743C8" };
            Rsid rsid14 = new Rsid() { Val = "001A11E4" };
            Rsid rsid15 = new Rsid() { Val = "001B238C" };
            Rsid rsid16 = new Rsid() { Val = "001D24A4" };
            Rsid rsid17 = new Rsid() { Val = "001E6C69" };
            Rsid rsid18 = new Rsid() { Val = "001F241C" };
            Rsid rsid19 = new Rsid() { Val = "00232EBB" };
            Rsid rsid20 = new Rsid() { Val = "0026480F" };
            Rsid rsid21 = new Rsid() { Val = "00267990" };
            Rsid rsid22 = new Rsid() { Val = "00277666" };
            Rsid rsid23 = new Rsid() { Val = "002836B8" };
            Rsid rsid24 = new Rsid() { Val = "00292599" };
            Rsid rsid25 = new Rsid() { Val = "002B0FD9" };
            Rsid rsid26 = new Rsid() { Val = "002C0C4A" };
            Rsid rsid27 = new Rsid() { Val = "002D3691" };
            Rsid rsid28 = new Rsid() { Val = "002E137D" };
            Rsid rsid29 = new Rsid() { Val = "002E1C1B" };
            Rsid rsid30 = new Rsid() { Val = "002F3A0D" };
            Rsid rsid31 = new Rsid() { Val = "00305AC1" };
            Rsid rsid32 = new Rsid() { Val = "00310F8D" };
            Rsid rsid33 = new Rsid() { Val = "003177A3" };
            Rsid rsid34 = new Rsid() { Val = "003823CD" };
            Rsid rsid35 = new Rsid() { Val = "003B02D4" };
            Rsid rsid36 = new Rsid() { Val = "003C4A95" };
            Rsid rsid37 = new Rsid() { Val = "003D3708" };
            Rsid rsid38 = new Rsid() { Val = "003E1B97" };
            Rsid rsid39 = new Rsid() { Val = "003F6860" };
            Rsid rsid40 = new Rsid() { Val = "003F7A75" };
            Rsid rsid41 = new Rsid() { Val = "00403E77" };
            Rsid rsid42 = new Rsid() { Val = "00417E2C" };
            Rsid rsid43 = new Rsid() { Val = "00434ADB" };
            Rsid rsid44 = new Rsid() { Val = "004518E0" };
            Rsid rsid45 = new Rsid() { Val = "00467DE2" };
            Rsid rsid46 = new Rsid() { Val = "0047548B" };
            Rsid rsid47 = new Rsid() { Val = "004C6AA7" };
            Rsid rsid48 = new Rsid() { Val = "004D2615" };
            Rsid rsid49 = new Rsid() { Val = "004D60B6" };
            Rsid rsid50 = new Rsid() { Val = "004D67C7" };
            Rsid rsid51 = new Rsid() { Val = "004E6F28" };
            Rsid rsid52 = new Rsid() { Val = "00506664" };
            Rsid rsid53 = new Rsid() { Val = "005118E8" };
            Rsid rsid54 = new Rsid() { Val = "0052122E" };
            Rsid rsid55 = new Rsid() { Val = "0054564C" };
            Rsid rsid56 = new Rsid() { Val = "0054593E" };
            Rsid rsid57 = new Rsid() { Val = "00550AA0" };
            Rsid rsid58 = new Rsid() { Val = "005601D7" };
            Rsid rsid59 = new Rsid() { Val = "0059148C" };
            Rsid rsid60 = new Rsid() { Val = "00594F7D" };
            Rsid rsid61 = new Rsid() { Val = "005A08D0" };
            Rsid rsid62 = new Rsid() { Val = "005B004F" };
            Rsid rsid63 = new Rsid() { Val = "005B5260" };
            Rsid rsid64 = new Rsid() { Val = "005C21DB" };
            Rsid rsid65 = new Rsid() { Val = "0063728F" };
            Rsid rsid66 = new Rsid() { Val = "00665E6B" };
            Rsid rsid67 = new Rsid() { Val = "00692A94" };
            Rsid rsid68 = new Rsid() { Val = "006B0FE7" };
            Rsid rsid69 = new Rsid() { Val = "006B2C44" };
            Rsid rsid70 = new Rsid() { Val = "006D233C" };
            Rsid rsid71 = new Rsid() { Val = "006D4248" };
            Rsid rsid72 = new Rsid() { Val = "006E017B" };
            Rsid rsid73 = new Rsid() { Val = "00701985" };
            Rsid rsid74 = new Rsid() { Val = "00715E68" };
            Rsid rsid75 = new Rsid() { Val = "00744157" };
            Rsid rsid76 = new Rsid() { Val = "00754BC3" };
            Rsid rsid77 = new Rsid() { Val = "007561BE" };
            Rsid rsid78 = new Rsid() { Val = "007663F0" };
            Rsid rsid79 = new Rsid() { Val = "00783011" };
            Rsid rsid80 = new Rsid() { Val = "00783ADE" };
            Rsid rsid81 = new Rsid() { Val = "00787C9A" };
            Rsid rsid82 = new Rsid() { Val = "007A678A" };
            Rsid rsid83 = new Rsid() { Val = "007E5337" };
            Rsid rsid84 = new Rsid() { Val = "00800A7E" };
            Rsid rsid85 = new Rsid() { Val = "0081551B" };
            Rsid rsid86 = new Rsid() { Val = "0084537D" };
            Rsid rsid87 = new Rsid() { Val = "008468F5" };
            Rsid rsid88 = new Rsid() { Val = "008570E8" };
            Rsid rsid89 = new Rsid() { Val = "00862279" };
            Rsid rsid90 = new Rsid() { Val = "0086416E" };
            Rsid rsid91 = new Rsid() { Val = "00870446" };
            Rsid rsid92 = new Rsid() { Val = "00883479" };
            Rsid rsid93 = new Rsid() { Val = "008A3667" };
            Rsid rsid94 = new Rsid() { Val = "008C59FA" };
            Rsid rsid95 = new Rsid() { Val = "008D7654" };
            Rsid rsid96 = new Rsid() { Val = "00933D40" };
            Rsid rsid97 = new Rsid() { Val = "00942281" };
            Rsid rsid98 = new Rsid() { Val = "009446D8" };
            Rsid rsid99 = new Rsid() { Val = "009732CB" };
            Rsid rsid100 = new Rsid() { Val = "00996BFB" };
            Rsid rsid101 = new Rsid() { Val = "00A219D4" };
            Rsid rsid102 = new Rsid() { Val = "00A30087" };
            Rsid rsid103 = new Rsid() { Val = "00A80B81" };
            Rsid rsid104 = new Rsid() { Val = "00A90780" };
            Rsid rsid105 = new Rsid() { Val = "00AD59C4" };
            Rsid rsid106 = new Rsid() { Val = "00AD64CE" };
            Rsid rsid107 = new Rsid() { Val = "00AE2E8A" };
            Rsid rsid108 = new Rsid() { Val = "00AE4558" };
            Rsid rsid109 = new Rsid() { Val = "00B1006B" };
            Rsid rsid110 = new Rsid() { Val = "00B12841" };
            Rsid rsid111 = new Rsid() { Val = "00B3150E" };
            Rsid rsid112 = new Rsid() { Val = "00B929C4" };
            Rsid rsid113 = new Rsid() { Val = "00BA6070" };
            Rsid rsid114 = new Rsid() { Val = "00BE1EF6" };
            Rsid rsid115 = new Rsid() { Val = "00BE7A30" };
            Rsid rsid116 = new Rsid() { Val = "00C20112" };
            Rsid rsid117 = new Rsid() { Val = "00C47143" };
            Rsid rsid118 = new Rsid() { Val = "00C72E09" };
            Rsid rsid119 = new Rsid() { Val = "00C761FE" };
            Rsid rsid120 = new Rsid() { Val = "00CA0A9D" };
            Rsid rsid121 = new Rsid() { Val = "00CA517A" };
            Rsid rsid122 = new Rsid() { Val = "00CD5A1A" };
            Rsid rsid123 = new Rsid() { Val = "00CF6585" };
            Rsid rsid124 = new Rsid() { Val = "00D513DA" };
            Rsid rsid125 = new Rsid() { Val = "00D928C5" };
            Rsid rsid126 = new Rsid() { Val = "00D96872" };
            Rsid rsid127 = new Rsid() { Val = "00DC4F59" };
            Rsid rsid128 = new Rsid() { Val = "00DC52C8" };
            Rsid rsid129 = new Rsid() { Val = "00DC6850" };
            Rsid rsid130 = new Rsid() { Val = "00E002CE" };
            Rsid rsid131 = new Rsid() { Val = "00E12065" };
            Rsid rsid132 = new Rsid() { Val = "00E1522A" };
            Rsid rsid133 = new Rsid() { Val = "00E4316D" };
            Rsid rsid134 = new Rsid() { Val = "00E433B6" };
            Rsid rsid135 = new Rsid() { Val = "00E6492E" };
            Rsid rsid136 = new Rsid() { Val = "00E65437" };
            Rsid rsid137 = new Rsid() { Val = "00E87F0F" };
            Rsid rsid138 = new Rsid() { Val = "00E94E4C" };
            Rsid rsid139 = new Rsid() { Val = "00EB28F3" };
            Rsid rsid140 = new Rsid() { Val = "00EB66F4" };
            Rsid rsid141 = new Rsid() { Val = "00EC0F7F" };
            Rsid rsid142 = new Rsid() { Val = "00EC5804" };
            Rsid rsid143 = new Rsid() { Val = "00ED7D92" };
            Rsid rsid144 = new Rsid() { Val = "00EF2164" };
            Rsid rsid145 = new Rsid() { Val = "00F1537C" };
            Rsid rsid146 = new Rsid() { Val = "00F17360" };
            Rsid rsid147 = new Rsid() { Val = "00F23CC8" };
            Rsid rsid148 = new Rsid() { Val = "00F30C5C" };
            Rsid rsid149 = new Rsid() { Val = "00F6304E" };
            Rsid rsid150 = new Rsid() { Val = "00F95246" };
            Rsid rsid151 = new Rsid() { Val = "00FA1A5C" };
            Rsid rsid152 = new Rsid() { Val = "00FA1EA6" };
            Rsid rsid153 = new Rsid() { Val = "00FA77B7" };
            Rsid rsid154 = new Rsid() { Val = "00FE6413" };
            Rsid rsid155 = new Rsid() { Val = "00FF0129" };
            Rsid rsid156 = new Rsid() { Val = "00FF14A8" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US", EastAsia = "zh-CN" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{FBB28D33-AE74-477E-BB4F-B17128D70046}" };

            settings1.Append(zoom1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(attachedTemplate1);
            settings1.Append(defaultTabStop1);
            settings1.Append(drawingGridVerticalSpacing1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
Example #6
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            EmbedSystemFonts embedSystemFonts1 = new EmbedSystemFonts();
            HideSpellingErrors hideSpellingErrors1 = new HideSpellingErrors();
            HideGrammaticalErrors hideGrammaticalErrors1 = new HideGrammaticalErrors();
            StylePaneFormatFilter stylePaneFormatFilter1 = new StylePaneFormatFilter() { Val = "3F01", AllStyles = true, CustomStyles = false, LatentStyles = false, StylesInUse = false, HeadingStyles = false, NumberingStyles = false, TableStyles = false, DirectFormattingOnRuns = true, DirectFormattingOnParagraphs = true, DirectFormattingOnNumbering = true, DirectFormattingOnTables = true, ClearFormatting = true, Top3HeadingStyles = true, VisibleStyles = false, AlternateStyleNames = false };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            DoNotHyphenateCaps doNotHyphenateCaps1 = new DoNotHyphenateCaps();
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };
            DoNotValidateAgainstSchema doNotValidateAgainstSchema1 = new DoNotValidateAgainstSchema();
            DoNotDemarcateInvalidXml doNotDemarcateInvalidXml1 = new DoNotDemarcateInvalidXml();

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };
            FootnoteSpecialReference footnoteSpecialReference3 = new FootnoteSpecialReference() { Id = 1 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference3);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };
            EndnoteSpecialReference endnoteSpecialReference3 = new EndnoteSpecialReference() { Id = 1 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference3);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "0084010C" };
            Rsid rsid1 = new Rsid() { Val = "000105B9" };
            Rsid rsid2 = new Rsid() { Val = "00012128" };
            Rsid rsid3 = new Rsid() { Val = "00016236" };
            Rsid rsid4 = new Rsid() { Val = "00016F9B" };
            Rsid rsid5 = new Rsid() { Val = "0002129C" };
            Rsid rsid6 = new Rsid() { Val = "00024479" };
            Rsid rsid7 = new Rsid() { Val = "00031D54" };
            Rsid rsid8 = new Rsid() { Val = "00053A55" };
            Rsid rsid9 = new Rsid() { Val = "00055557" };
            Rsid rsid10 = new Rsid() { Val = "0006731C" };
            Rsid rsid11 = new Rsid() { Val = "00076FEE" };
            Rsid rsid12 = new Rsid() { Val = "00077BE6" };
            Rsid rsid13 = new Rsid() { Val = "00082E6D" };
            Rsid rsid14 = new Rsid() { Val = "00095617" };
            Rsid rsid15 = new Rsid() { Val = "000B4F00" };
            Rsid rsid16 = new Rsid() { Val = "000C02D8" };
            Rsid rsid17 = new Rsid() { Val = "000D1B10" };
            Rsid rsid18 = new Rsid() { Val = "000D287D" };
            Rsid rsid19 = new Rsid() { Val = "000D30D4" };
            Rsid rsid20 = new Rsid() { Val = "000D5C82" };
            Rsid rsid21 = new Rsid() { Val = "000E2AF5" };
            Rsid rsid22 = new Rsid() { Val = "000E47F8" };
            Rsid rsid23 = new Rsid() { Val = "000E6B7B" };
            Rsid rsid24 = new Rsid() { Val = "000F55C6" };
            Rsid rsid25 = new Rsid() { Val = "000F5D26" };
            Rsid rsid26 = new Rsid() { Val = "00104E8D" };
            Rsid rsid27 = new Rsid() { Val = "00116413" };
            Rsid rsid28 = new Rsid() { Val = "00116831" };
            Rsid rsid29 = new Rsid() { Val = "00116FA1" };
            Rsid rsid30 = new Rsid() { Val = "001349F7" };
            Rsid rsid31 = new Rsid() { Val = "00144235" };
            Rsid rsid32 = new Rsid() { Val = "00144B41" };
            Rsid rsid33 = new Rsid() { Val = "00145615" };
            Rsid rsid34 = new Rsid() { Val = "00147C23" };
            Rsid rsid35 = new Rsid() { Val = "00154221" };
            Rsid rsid36 = new Rsid() { Val = "0015425A" };
            Rsid rsid37 = new Rsid() { Val = "00165533" };
            Rsid rsid38 = new Rsid() { Val = "001701E2" };
            Rsid rsid39 = new Rsid() { Val = "001846DF" };
            Rsid rsid40 = new Rsid() { Val = "00186C2A" };
            Rsid rsid41 = new Rsid() { Val = "00193974" };
            Rsid rsid42 = new Rsid() { Val = "001A269D" };
            Rsid rsid43 = new Rsid() { Val = "001B5D26" };
            Rsid rsid44 = new Rsid() { Val = "001D0DE9" };
            Rsid rsid45 = new Rsid() { Val = "001D2D91" };
            Rsid rsid46 = new Rsid() { Val = "001D51E1" };
            Rsid rsid47 = new Rsid() { Val = "001E0B1B" };
            Rsid rsid48 = new Rsid() { Val = "00201209" };
            Rsid rsid49 = new Rsid() { Val = "00204790" };
            Rsid rsid50 = new Rsid() { Val = "002256B0" };
            Rsid rsid51 = new Rsid() { Val = "00243287" };
            Rsid rsid52 = new Rsid() { Val = "0024492F" };
            Rsid rsid53 = new Rsid() { Val = "00247772" };
            Rsid rsid54 = new Rsid() { Val = "00255EB5" };
            Rsid rsid55 = new Rsid() { Val = "00265BE8" };
            Rsid rsid56 = new Rsid() { Val = "002713FA" };
            Rsid rsid57 = new Rsid() { Val = "0027287B" };
            Rsid rsid58 = new Rsid() { Val = "00273C84" };
            Rsid rsid59 = new Rsid() { Val = "00281331" };
            Rsid rsid60 = new Rsid() { Val = "00283F98" };
            Rsid rsid61 = new Rsid() { Val = "00290033" };
            Rsid rsid62 = new Rsid() { Val = "00290DF2" };
            Rsid rsid63 = new Rsid() { Val = "00291EEC" };
            Rsid rsid64 = new Rsid() { Val = "00295259" };
            Rsid rsid65 = new Rsid() { Val = "00297E70" };
            Rsid rsid66 = new Rsid() { Val = "002A2883" };
            Rsid rsid67 = new Rsid() { Val = "002A7A15" };
            Rsid rsid68 = new Rsid() { Val = "002A7F0D" };
            Rsid rsid69 = new Rsid() { Val = "002B0580" };
            Rsid rsid70 = new Rsid() { Val = "002B1622" };
            Rsid rsid71 = new Rsid() { Val = "002C3CE4" };
            Rsid rsid72 = new Rsid() { Val = "002C4440" };
            Rsid rsid73 = new Rsid() { Val = "002C57A5" };
            Rsid rsid74 = new Rsid() { Val = "002F2925" };
            Rsid rsid75 = new Rsid() { Val = "003307DE" };
            Rsid rsid76 = new Rsid() { Val = "00341F62" };
            Rsid rsid77 = new Rsid() { Val = "003559F5" };
            Rsid rsid78 = new Rsid() { Val = "00362BBD" };
            Rsid rsid79 = new Rsid() { Val = "003637AD" };
            Rsid rsid80 = new Rsid() { Val = "003732FE" };
            Rsid rsid81 = new Rsid() { Val = "00380A8F" };
            Rsid rsid82 = new Rsid() { Val = "003876A7" };
            Rsid rsid83 = new Rsid() { Val = "0039079C" };
            Rsid rsid84 = new Rsid() { Val = "003A6E0E" };
            Rsid rsid85 = new Rsid() { Val = "003A7AC6" };
            Rsid rsid86 = new Rsid() { Val = "003B502F" };
            Rsid rsid87 = new Rsid() { Val = "003B5B86" };
            Rsid rsid88 = new Rsid() { Val = "003B7064" };
            Rsid rsid89 = new Rsid() { Val = "003C2F92" };
            Rsid rsid90 = new Rsid() { Val = "003C46C4" };
            Rsid rsid91 = new Rsid() { Val = "003E56E7" };
            Rsid rsid92 = new Rsid() { Val = "003E56F4" };
            Rsid rsid93 = new Rsid() { Val = "003F177B" };
            Rsid rsid94 = new Rsid() { Val = "004002B5" };
            Rsid rsid95 = new Rsid() { Val = "0040067D" };
            Rsid rsid96 = new Rsid() { Val = "004038F9" };
            Rsid rsid97 = new Rsid() { Val = "00405C5A" };
            Rsid rsid98 = new Rsid() { Val = "004162F1" };
            Rsid rsid99 = new Rsid() { Val = "0042018B" };
            Rsid rsid100 = new Rsid() { Val = "004519DB" };
            Rsid rsid101 = new Rsid() { Val = "00466521" };
            Rsid rsid102 = new Rsid() { Val = "0047029E" };
            Rsid rsid103 = new Rsid() { Val = "0049055C" };
            Rsid rsid104 = new Rsid() { Val = "00492450" };
            Rsid rsid105 = new Rsid() { Val = "004A0E5F" };
            Rsid rsid106 = new Rsid() { Val = "004A3057" };
            Rsid rsid107 = new Rsid() { Val = "004A62CA" };
            Rsid rsid108 = new Rsid() { Val = "004B159B" };
            Rsid rsid109 = new Rsid() { Val = "004C118E" };
            Rsid rsid110 = new Rsid() { Val = "004C3251" };
            Rsid rsid111 = new Rsid() { Val = "004C7F26" };
            Rsid rsid112 = new Rsid() { Val = "004E361A" };
            Rsid rsid113 = new Rsid() { Val = "004E7819" };
            Rsid rsid114 = new Rsid() { Val = "005008DE" };
            Rsid rsid115 = new Rsid() { Val = "005063D9" };
            Rsid rsid116 = new Rsid() { Val = "00510971" };
            Rsid rsid117 = new Rsid() { Val = "00512EA7" };
            Rsid rsid118 = new Rsid() { Val = "00513B3F" };
            Rsid rsid119 = new Rsid() { Val = "00515359" };
            Rsid rsid120 = new Rsid() { Val = "005244EE" };
            Rsid rsid121 = new Rsid() { Val = "00533532" };
            Rsid rsid122 = new Rsid() { Val = "00534A7B" };
            Rsid rsid123 = new Rsid() { Val = "005521F6" };
            Rsid rsid124 = new Rsid() { Val = "0057090B" };
            Rsid rsid125 = new Rsid() { Val = "005747D9" };
            Rsid rsid126 = new Rsid() { Val = "005763A4" };
            Rsid rsid127 = new Rsid() { Val = "00577A31" };
            Rsid rsid128 = new Rsid() { Val = "005858E9" };
            Rsid rsid129 = new Rsid() { Val = "0058735B" };
            Rsid rsid130 = new Rsid() { Val = "00596A5A" };
            Rsid rsid131 = new Rsid() { Val = "00596EDB" };
            Rsid rsid132 = new Rsid() { Val = "005A33BC" };
            Rsid rsid133 = new Rsid() { Val = "005C3EDC" };
            Rsid rsid134 = new Rsid() { Val = "005C5BBF" };
            Rsid rsid135 = new Rsid() { Val = "005E0682" };
            Rsid rsid136 = new Rsid() { Val = "005E53DA" };
            Rsid rsid137 = new Rsid() { Val = "00601EC2" };
            Rsid rsid138 = new Rsid() { Val = "006060C5" };
            Rsid rsid139 = new Rsid() { Val = "00612E37" };
            Rsid rsid140 = new Rsid() { Val = "00613EF0" };
            Rsid rsid141 = new Rsid() { Val = "006140BC" };
            Rsid rsid142 = new Rsid() { Val = "00614197" };
            Rsid rsid143 = new Rsid() { Val = "00614236" };
            Rsid rsid144 = new Rsid() { Val = "00617EBA" };
            Rsid rsid145 = new Rsid() { Val = "00622B33" };
            Rsid rsid146 = new Rsid() { Val = "00624202" };
            Rsid rsid147 = new Rsid() { Val = "00632B3A" };
            Rsid rsid148 = new Rsid() { Val = "006678EF" };
            Rsid rsid149 = new Rsid() { Val = "006701DE" };
            Rsid rsid150 = new Rsid() { Val = "00670CF1" };
            Rsid rsid151 = new Rsid() { Val = "0067645A" };
            Rsid rsid152 = new Rsid() { Val = "00676D6C" };
            Rsid rsid153 = new Rsid() { Val = "00692A84" };
            Rsid rsid154 = new Rsid() { Val = "00695367" };
            Rsid rsid155 = new Rsid() { Val = "00697199" };
            Rsid rsid156 = new Rsid() { Val = "006A3365" };
            Rsid rsid157 = new Rsid() { Val = "006A4DEB" };
            Rsid rsid158 = new Rsid() { Val = "006A5DD3" };
            Rsid rsid159 = new Rsid() { Val = "006A6357" };
            Rsid rsid160 = new Rsid() { Val = "006B01DA" };
            Rsid rsid161 = new Rsid() { Val = "006D0C85" };
            Rsid rsid162 = new Rsid() { Val = "006D271C" };
            Rsid rsid163 = new Rsid() { Val = "006D718D" };
            Rsid rsid164 = new Rsid() { Val = "006E2605" };
            Rsid rsid165 = new Rsid() { Val = "006E2F07" };
            Rsid rsid166 = new Rsid() { Val = "006E7822" };
            Rsid rsid167 = new Rsid() { Val = "007027A6" };
            Rsid rsid168 = new Rsid() { Val = "00712EF0" };
            Rsid rsid169 = new Rsid() { Val = "007170CB" };
            Rsid rsid170 = new Rsid() { Val = "00717CC8" };
            Rsid rsid171 = new Rsid() { Val = "00720108" };
            Rsid rsid172 = new Rsid() { Val = "00721120" };
            Rsid rsid173 = new Rsid() { Val = "00727765" };
            Rsid rsid174 = new Rsid() { Val = "00734585" };
            Rsid rsid175 = new Rsid() { Val = "00747E89" };
            Rsid rsid176 = new Rsid() { Val = "0075318A" };
            Rsid rsid177 = new Rsid() { Val = "007571BC" };
            Rsid rsid178 = new Rsid() { Val = "00765E31" };
            Rsid rsid179 = new Rsid() { Val = "007756BD" };
            Rsid rsid180 = new Rsid() { Val = "0077670E" };
            Rsid rsid181 = new Rsid() { Val = "007767C6" };
            Rsid rsid182 = new Rsid() { Val = "00776A17" };
            Rsid rsid183 = new Rsid() { Val = "00786248" };
            Rsid rsid184 = new Rsid() { Val = "00786CBF" };
            Rsid rsid185 = new Rsid() { Val = "007949BD" };
            Rsid rsid186 = new Rsid() { Val = "00797265" };
            Rsid rsid187 = new Rsid() { Val = "007A52EA" };
            Rsid rsid188 = new Rsid() { Val = "007B3937" };
            Rsid rsid189 = new Rsid() { Val = "007C1C3A" };
            Rsid rsid190 = new Rsid() { Val = "007D0EFF" };
            Rsid rsid191 = new Rsid() { Val = "007D1098" };
            Rsid rsid192 = new Rsid() { Val = "007D35B8" };
            Rsid rsid193 = new Rsid() { Val = "007E0530" };
            Rsid rsid194 = new Rsid() { Val = "007F295C" };
            Rsid rsid195 = new Rsid() { Val = "007F6223" };
            Rsid rsid196 = new Rsid() { Val = "007F6C8D" };
            Rsid rsid197 = new Rsid() { Val = "00805EA7" };
            Rsid rsid198 = new Rsid() { Val = "0081098F" };
            Rsid rsid199 = new Rsid() { Val = "008129E8" };
            Rsid rsid200 = new Rsid() { Val = "008220D5" };
            Rsid rsid201 = new Rsid() { Val = "008276C2" };
            Rsid rsid202 = new Rsid() { Val = "008322A1" };
            Rsid rsid203 = new Rsid() { Val = "00833E90" };
            Rsid rsid204 = new Rsid() { Val = "0083658C" };
            Rsid rsid205 = new Rsid() { Val = "00837011" };
            Rsid rsid206 = new Rsid() { Val = "0084010C" };
            Rsid rsid207 = new Rsid() { Val = "00842AF5" };
            Rsid rsid208 = new Rsid() { Val = "008644EB" };
            Rsid rsid209 = new Rsid() { Val = "008672DB" };
            Rsid rsid210 = new Rsid() { Val = "00873808" };
            Rsid rsid211 = new Rsid() { Val = "008841D9" };
            Rsid rsid212 = new Rsid() { Val = "00896EA3" };
            Rsid rsid213 = new Rsid() { Val = "008A2AF7" };
            Rsid rsid214 = new Rsid() { Val = "008A485E" };
            Rsid rsid215 = new Rsid() { Val = "008C3E51" };
            Rsid rsid216 = new Rsid() { Val = "008D2A0B" };
            Rsid rsid217 = new Rsid() { Val = "008D603C" };
            Rsid rsid218 = new Rsid() { Val = "008F6176" };
            Rsid rsid219 = new Rsid() { Val = "009032DC" };
            Rsid rsid220 = new Rsid() { Val = "00911BC1" };
            Rsid rsid221 = new Rsid() { Val = "00916B33" };
            Rsid rsid222 = new Rsid() { Val = "00920013" };
            Rsid rsid223 = new Rsid() { Val = "0094109A" };
            Rsid rsid224 = new Rsid() { Val = "00942040" };
            Rsid rsid225 = new Rsid() { Val = "009423BC" };
            Rsid rsid226 = new Rsid() { Val = "00942723" };
            Rsid rsid227 = new Rsid() { Val = "00955E91" };
            Rsid rsid228 = new Rsid() { Val = "00962FFD" };
            Rsid rsid229 = new Rsid() { Val = "00972E14" };
            Rsid rsid230 = new Rsid() { Val = "00974AD6" };
            Rsid rsid231 = new Rsid() { Val = "00976B9D" };
            Rsid rsid232 = new Rsid() { Val = "009824AE" };
            Rsid rsid233 = new Rsid() { Val = "0098515D" };
            Rsid rsid234 = new Rsid() { Val = "00987046" };
            Rsid rsid235 = new Rsid() { Val = "00991428" };
            Rsid rsid236 = new Rsid() { Val = "00992BDD" };
            Rsid rsid237 = new Rsid() { Val = "009A2C32" };
            Rsid rsid238 = new Rsid() { Val = "009B3F62" };
            Rsid rsid239 = new Rsid() { Val = "009C361D" };
            Rsid rsid240 = new Rsid() { Val = "009C5628" };
            Rsid rsid241 = new Rsid() { Val = "009D2EB0" };
            Rsid rsid242 = new Rsid() { Val = "009D7777" };
            Rsid rsid243 = new Rsid() { Val = "009E06D4" };
            Rsid rsid244 = new Rsid() { Val = "00A06072" };
            Rsid rsid245 = new Rsid() { Val = "00A065B6" };
            Rsid rsid246 = new Rsid() { Val = "00A0666D" };
            Rsid rsid247 = new Rsid() { Val = "00A11BAA" };
            Rsid rsid248 = new Rsid() { Val = "00A3193F" };
            Rsid rsid249 = new Rsid() { Val = "00A44DC1" };
            Rsid rsid250 = new Rsid() { Val = "00A563A2" };
            Rsid rsid251 = new Rsid() { Val = "00A565FD" };
            Rsid rsid252 = new Rsid() { Val = "00A604A0" };
            Rsid rsid253 = new Rsid() { Val = "00A77B27" };
            Rsid rsid254 = new Rsid() { Val = "00A84406" };
            Rsid rsid255 = new Rsid() { Val = "00A85CFC" };
            Rsid rsid256 = new Rsid() { Val = "00A872EA" };
            Rsid rsid257 = new Rsid() { Val = "00A94A66" };
            Rsid rsid258 = new Rsid() { Val = "00AA3CE8" };
            Rsid rsid259 = new Rsid() { Val = "00AA764A" };
            Rsid rsid260 = new Rsid() { Val = "00AB7921" };
            Rsid rsid261 = new Rsid() { Val = "00AC5DED" };
            Rsid rsid262 = new Rsid() { Val = "00AD2BBF" };
            Rsid rsid263 = new Rsid() { Val = "00AE1898" };
            Rsid rsid264 = new Rsid() { Val = "00AF107B" };
            Rsid rsid265 = new Rsid() { Val = "00AF652A" };
            Rsid rsid266 = new Rsid() { Val = "00B0019E" };
            Rsid rsid267 = new Rsid() { Val = "00B23339" };
            Rsid rsid268 = new Rsid() { Val = "00B25B99" };
            Rsid rsid269 = new Rsid() { Val = "00B3232B" };
            Rsid rsid270 = new Rsid() { Val = "00B36225" };
            Rsid rsid271 = new Rsid() { Val = "00B43BFA" };
            Rsid rsid272 = new Rsid() { Val = "00B75671" };
            Rsid rsid273 = new Rsid() { Val = "00B974E4" };
            Rsid rsid274 = new Rsid() { Val = "00BA2523" };
            Rsid rsid275 = new Rsid() { Val = "00BA6CDD" };
            Rsid rsid276 = new Rsid() { Val = "00BA6D95" };
            Rsid rsid277 = new Rsid() { Val = "00BC048A" };
            Rsid rsid278 = new Rsid() { Val = "00BC1A91" };
            Rsid rsid279 = new Rsid() { Val = "00BC2D41" };
            Rsid rsid280 = new Rsid() { Val = "00BC2F6B" };
            Rsid rsid281 = new Rsid() { Val = "00BC7B98" };
            Rsid rsid282 = new Rsid() { Val = "00BC7E65" };
            Rsid rsid283 = new Rsid() { Val = "00BD1F75" };
            Rsid rsid284 = new Rsid() { Val = "00BD7F09" };
            Rsid rsid285 = new Rsid() { Val = "00BE4550" };
            Rsid rsid286 = new Rsid() { Val = "00BF26D7" };
            Rsid rsid287 = new Rsid() { Val = "00C02D1B" };
            Rsid rsid288 = new Rsid() { Val = "00C13588" };
            Rsid rsid289 = new Rsid() { Val = "00C22957" };
            Rsid rsid290 = new Rsid() { Val = "00C36216" };
            Rsid rsid291 = new Rsid() { Val = "00C530F6" };
            Rsid rsid292 = new Rsid() { Val = "00C56510" };
            Rsid rsid293 = new Rsid() { Val = "00C84D4C" };
            Rsid rsid294 = new Rsid() { Val = "00C95B12" };
            Rsid rsid295 = new Rsid() { Val = "00CA7596" };
            Rsid rsid296 = new Rsid() { Val = "00CB499E" };
            Rsid rsid297 = new Rsid() { Val = "00CB5386" };
            Rsid rsid298 = new Rsid() { Val = "00CB5800" };
            Rsid rsid299 = new Rsid() { Val = "00CB5E98" };
            Rsid rsid300 = new Rsid() { Val = "00CC0FC7" };
            Rsid rsid301 = new Rsid() { Val = "00CC14D2" };
            Rsid rsid302 = new Rsid() { Val = "00CD15D0" };
            Rsid rsid303 = new Rsid() { Val = "00CE0AFD" };
            Rsid rsid304 = new Rsid() { Val = "00CE2959" };
            Rsid rsid305 = new Rsid() { Val = "00CE7D52" };
            Rsid rsid306 = new Rsid() { Val = "00CF3870" };
            Rsid rsid307 = new Rsid() { Val = "00D02AEF" };
            Rsid rsid308 = new Rsid() { Val = "00D07E20" };
            Rsid rsid309 = new Rsid() { Val = "00D17424" };
            Rsid rsid310 = new Rsid() { Val = "00D34224" };
            Rsid rsid311 = new Rsid() { Val = "00D462D8" };
            Rsid rsid312 = new Rsid() { Val = "00D51C51" };
            Rsid rsid313 = new Rsid() { Val = "00D526DE" };
            Rsid rsid314 = new Rsid() { Val = "00D56009" };
            Rsid rsid315 = new Rsid() { Val = "00D71052" };
            Rsid rsid316 = new Rsid() { Val = "00D74FFD" };
            Rsid rsid317 = new Rsid() { Val = "00D778B7" };
            Rsid rsid318 = new Rsid() { Val = "00D8034D" };
            Rsid rsid319 = new Rsid() { Val = "00D81227" };
            Rsid rsid320 = new Rsid() { Val = "00D8330F" };
            Rsid rsid321 = new Rsid() { Val = "00D901CE" };
            Rsid rsid322 = new Rsid() { Val = "00D925D8" };
            Rsid rsid323 = new Rsid() { Val = "00DB0D90" };
            Rsid rsid324 = new Rsid() { Val = "00DC562C" };
            Rsid rsid325 = new Rsid() { Val = "00DD3CBE" };
            Rsid rsid326 = new Rsid() { Val = "00DE0CB0" };
            Rsid rsid327 = new Rsid() { Val = "00DE197C" };
            Rsid rsid328 = new Rsid() { Val = "00DF7776" };
            Rsid rsid329 = new Rsid() { Val = "00E019B9" };
            Rsid rsid330 = new Rsid() { Val = "00E04E9E" };
            Rsid rsid331 = new Rsid() { Val = "00E052F2" };
            Rsid rsid332 = new Rsid() { Val = "00E07DEF" };
            Rsid rsid333 = new Rsid() { Val = "00E113A4" };
            Rsid rsid334 = new Rsid() { Val = "00E12E53" };
            Rsid rsid335 = new Rsid() { Val = "00E236CB" };
            Rsid rsid336 = new Rsid() { Val = "00E2420B" };
            Rsid rsid337 = new Rsid() { Val = "00E3016A" };
            Rsid rsid338 = new Rsid() { Val = "00E518DD" };
            Rsid rsid339 = new Rsid() { Val = "00E5710C" };
            Rsid rsid340 = new Rsid() { Val = "00E708BC" };
            Rsid rsid341 = new Rsid() { Val = "00E74717" };
            Rsid rsid342 = new Rsid() { Val = "00E801CE" };
            Rsid rsid343 = new Rsid() { Val = "00E8117E" };
            Rsid rsid344 = new Rsid() { Val = "00E86672" };
            Rsid rsid345 = new Rsid() { Val = "00E86AF2" };
            Rsid rsid346 = new Rsid() { Val = "00EA764C" };
            Rsid rsid347 = new Rsid() { Val = "00EB0BF6" };
            Rsid rsid348 = new Rsid() { Val = "00EB6F97" };
            Rsid rsid349 = new Rsid() { Val = "00EC2F16" };
            Rsid rsid350 = new Rsid() { Val = "00ED0FF0" };
            Rsid rsid351 = new Rsid() { Val = "00ED2224" };
            Rsid rsid352 = new Rsid() { Val = "00ED2ACE" };
            Rsid rsid353 = new Rsid() { Val = "00ED6A85" };
            Rsid rsid354 = new Rsid() { Val = "00EE3091" };
            Rsid rsid355 = new Rsid() { Val = "00EE5D41" };
            Rsid rsid356 = new Rsid() { Val = "00EF13DA" };
            Rsid rsid357 = new Rsid() { Val = "00F02BB8" };
            Rsid rsid358 = new Rsid() { Val = "00F0578F" };
            Rsid rsid359 = new Rsid() { Val = "00F061C6" };
            Rsid rsid360 = new Rsid() { Val = "00F12AD5" };
            Rsid rsid361 = new Rsid() { Val = "00F15831" };
            Rsid rsid362 = new Rsid() { Val = "00F24268" };
            Rsid rsid363 = new Rsid() { Val = "00F31910" };
            Rsid rsid364 = new Rsid() { Val = "00F34C49" };
            Rsid rsid365 = new Rsid() { Val = "00F3726D" };
            Rsid rsid366 = new Rsid() { Val = "00F40936" };
            Rsid rsid367 = new Rsid() { Val = "00F40BA0" };
            Rsid rsid368 = new Rsid() { Val = "00F56485" };
            Rsid rsid369 = new Rsid() { Val = "00F73E0D" };
            Rsid rsid370 = new Rsid() { Val = "00F805BD" };
            Rsid rsid371 = new Rsid() { Val = "00F92C4E" };
            Rsid rsid372 = new Rsid() { Val = "00F97B58" };
            Rsid rsid373 = new Rsid() { Val = "00FA1E00" };
            Rsid rsid374 = new Rsid() { Val = "00FA3C8C" };
            Rsid rsid375 = new Rsid() { Val = "00FB0410" };
            Rsid rsid376 = new Rsid() { Val = "00FB52D3" };
            Rsid rsid377 = new Rsid() { Val = "00FB79AC" };
            Rsid rsid378 = new Rsid() { Val = "00FC6B2C" };
            Rsid rsid379 = new Rsid() { Val = "00FE01D2" };
            Rsid rsid380 = new Rsid() { Val = "00FE73CB" };
            Rsid rsid381 = new Rsid() { Val = "00FF0383" };
            Rsid rsid382 = new Rsid() { Val = "00FF18D7" };
            Rsid rsid383 = new Rsid() { Val = "00FF575E" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);
            rsids1.Append(rsid157);
            rsids1.Append(rsid158);
            rsids1.Append(rsid159);
            rsids1.Append(rsid160);
            rsids1.Append(rsid161);
            rsids1.Append(rsid162);
            rsids1.Append(rsid163);
            rsids1.Append(rsid164);
            rsids1.Append(rsid165);
            rsids1.Append(rsid166);
            rsids1.Append(rsid167);
            rsids1.Append(rsid168);
            rsids1.Append(rsid169);
            rsids1.Append(rsid170);
            rsids1.Append(rsid171);
            rsids1.Append(rsid172);
            rsids1.Append(rsid173);
            rsids1.Append(rsid174);
            rsids1.Append(rsid175);
            rsids1.Append(rsid176);
            rsids1.Append(rsid177);
            rsids1.Append(rsid178);
            rsids1.Append(rsid179);
            rsids1.Append(rsid180);
            rsids1.Append(rsid181);
            rsids1.Append(rsid182);
            rsids1.Append(rsid183);
            rsids1.Append(rsid184);
            rsids1.Append(rsid185);
            rsids1.Append(rsid186);
            rsids1.Append(rsid187);
            rsids1.Append(rsid188);
            rsids1.Append(rsid189);
            rsids1.Append(rsid190);
            rsids1.Append(rsid191);
            rsids1.Append(rsid192);
            rsids1.Append(rsid193);
            rsids1.Append(rsid194);
            rsids1.Append(rsid195);
            rsids1.Append(rsid196);
            rsids1.Append(rsid197);
            rsids1.Append(rsid198);
            rsids1.Append(rsid199);
            rsids1.Append(rsid200);
            rsids1.Append(rsid201);
            rsids1.Append(rsid202);
            rsids1.Append(rsid203);
            rsids1.Append(rsid204);
            rsids1.Append(rsid205);
            rsids1.Append(rsid206);
            rsids1.Append(rsid207);
            rsids1.Append(rsid208);
            rsids1.Append(rsid209);
            rsids1.Append(rsid210);
            rsids1.Append(rsid211);
            rsids1.Append(rsid212);
            rsids1.Append(rsid213);
            rsids1.Append(rsid214);
            rsids1.Append(rsid215);
            rsids1.Append(rsid216);
            rsids1.Append(rsid217);
            rsids1.Append(rsid218);
            rsids1.Append(rsid219);
            rsids1.Append(rsid220);
            rsids1.Append(rsid221);
            rsids1.Append(rsid222);
            rsids1.Append(rsid223);
            rsids1.Append(rsid224);
            rsids1.Append(rsid225);
            rsids1.Append(rsid226);
            rsids1.Append(rsid227);
            rsids1.Append(rsid228);
            rsids1.Append(rsid229);
            rsids1.Append(rsid230);
            rsids1.Append(rsid231);
            rsids1.Append(rsid232);
            rsids1.Append(rsid233);
            rsids1.Append(rsid234);
            rsids1.Append(rsid235);
            rsids1.Append(rsid236);
            rsids1.Append(rsid237);
            rsids1.Append(rsid238);
            rsids1.Append(rsid239);
            rsids1.Append(rsid240);
            rsids1.Append(rsid241);
            rsids1.Append(rsid242);
            rsids1.Append(rsid243);
            rsids1.Append(rsid244);
            rsids1.Append(rsid245);
            rsids1.Append(rsid246);
            rsids1.Append(rsid247);
            rsids1.Append(rsid248);
            rsids1.Append(rsid249);
            rsids1.Append(rsid250);
            rsids1.Append(rsid251);
            rsids1.Append(rsid252);
            rsids1.Append(rsid253);
            rsids1.Append(rsid254);
            rsids1.Append(rsid255);
            rsids1.Append(rsid256);
            rsids1.Append(rsid257);
            rsids1.Append(rsid258);
            rsids1.Append(rsid259);
            rsids1.Append(rsid260);
            rsids1.Append(rsid261);
            rsids1.Append(rsid262);
            rsids1.Append(rsid263);
            rsids1.Append(rsid264);
            rsids1.Append(rsid265);
            rsids1.Append(rsid266);
            rsids1.Append(rsid267);
            rsids1.Append(rsid268);
            rsids1.Append(rsid269);
            rsids1.Append(rsid270);
            rsids1.Append(rsid271);
            rsids1.Append(rsid272);
            rsids1.Append(rsid273);
            rsids1.Append(rsid274);
            rsids1.Append(rsid275);
            rsids1.Append(rsid276);
            rsids1.Append(rsid277);
            rsids1.Append(rsid278);
            rsids1.Append(rsid279);
            rsids1.Append(rsid280);
            rsids1.Append(rsid281);
            rsids1.Append(rsid282);
            rsids1.Append(rsid283);
            rsids1.Append(rsid284);
            rsids1.Append(rsid285);
            rsids1.Append(rsid286);
            rsids1.Append(rsid287);
            rsids1.Append(rsid288);
            rsids1.Append(rsid289);
            rsids1.Append(rsid290);
            rsids1.Append(rsid291);
            rsids1.Append(rsid292);
            rsids1.Append(rsid293);
            rsids1.Append(rsid294);
            rsids1.Append(rsid295);
            rsids1.Append(rsid296);
            rsids1.Append(rsid297);
            rsids1.Append(rsid298);
            rsids1.Append(rsid299);
            rsids1.Append(rsid300);
            rsids1.Append(rsid301);
            rsids1.Append(rsid302);
            rsids1.Append(rsid303);
            rsids1.Append(rsid304);
            rsids1.Append(rsid305);
            rsids1.Append(rsid306);
            rsids1.Append(rsid307);
            rsids1.Append(rsid308);
            rsids1.Append(rsid309);
            rsids1.Append(rsid310);
            rsids1.Append(rsid311);
            rsids1.Append(rsid312);
            rsids1.Append(rsid313);
            rsids1.Append(rsid314);
            rsids1.Append(rsid315);
            rsids1.Append(rsid316);
            rsids1.Append(rsid317);
            rsids1.Append(rsid318);
            rsids1.Append(rsid319);
            rsids1.Append(rsid320);
            rsids1.Append(rsid321);
            rsids1.Append(rsid322);
            rsids1.Append(rsid323);
            rsids1.Append(rsid324);
            rsids1.Append(rsid325);
            rsids1.Append(rsid326);
            rsids1.Append(rsid327);
            rsids1.Append(rsid328);
            rsids1.Append(rsid329);
            rsids1.Append(rsid330);
            rsids1.Append(rsid331);
            rsids1.Append(rsid332);
            rsids1.Append(rsid333);
            rsids1.Append(rsid334);
            rsids1.Append(rsid335);
            rsids1.Append(rsid336);
            rsids1.Append(rsid337);
            rsids1.Append(rsid338);
            rsids1.Append(rsid339);
            rsids1.Append(rsid340);
            rsids1.Append(rsid341);
            rsids1.Append(rsid342);
            rsids1.Append(rsid343);
            rsids1.Append(rsid344);
            rsids1.Append(rsid345);
            rsids1.Append(rsid346);
            rsids1.Append(rsid347);
            rsids1.Append(rsid348);
            rsids1.Append(rsid349);
            rsids1.Append(rsid350);
            rsids1.Append(rsid351);
            rsids1.Append(rsid352);
            rsids1.Append(rsid353);
            rsids1.Append(rsid354);
            rsids1.Append(rsid355);
            rsids1.Append(rsid356);
            rsids1.Append(rsid357);
            rsids1.Append(rsid358);
            rsids1.Append(rsid359);
            rsids1.Append(rsid360);
            rsids1.Append(rsid361);
            rsids1.Append(rsid362);
            rsids1.Append(rsid363);
            rsids1.Append(rsid364);
            rsids1.Append(rsid365);
            rsids1.Append(rsid366);
            rsids1.Append(rsid367);
            rsids1.Append(rsid368);
            rsids1.Append(rsid369);
            rsids1.Append(rsid370);
            rsids1.Append(rsid371);
            rsids1.Append(rsid372);
            rsids1.Append(rsid373);
            rsids1.Append(rsid374);
            rsids1.Append(rsid375);
            rsids1.Append(rsid376);
            rsids1.Append(rsid377);
            rsids1.Append(rsid378);
            rsids1.Append(rsid379);
            rsids1.Append(rsid380);
            rsids1.Append(rsid381);
            rsids1.Append(rsid382);
            rsids1.Append(rsid383);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin33 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin33 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin33);
            mathProperties1.Append(rightMargin33);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };
            DoNotIncludeSubdocsInStats doNotIncludeSubdocsInStats1 = new DoNotIncludeSubdocsInStats();
            DoNotAutoCompressPictures doNotAutoCompressPictures1 = new DoNotAutoCompressPictures();

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId() { Val = "0AAC1912" };
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{FF3D9647-D0AB-4F35-85FB-6019BB087330}" };

            settings1.Append(zoom1);
            settings1.Append(embedSystemFonts1);
            settings1.Append(hideSpellingErrors1);
            settings1.Append(hideGrammaticalErrors1);
            settings1.Append(stylePaneFormatFilter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(doNotHyphenateCaps1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(doNotValidateAgainstSchema1);
            settings1.Append(doNotDemarcateInvalidXml1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(doNotIncludeSubdocsInStats1);
            settings1.Append(doNotAutoCompressPictures1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(documentId1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "120" };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults1.Append(textBox1);

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnotePosition footnotePosition2 = new FootnotePosition(){ Val = FootnotePositionValues.BeneathText };
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference(){ Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference(){ Id = 0 };

            footnoteDocumentWideProperties1.Append(footnotePosition2);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference(){ Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference(){ Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "0065051C" };
            Rsid rsid1 = new Rsid(){ Val = "00023006" };
            Rsid rsid2 = new Rsid(){ Val = "000375B4" };
            Rsid rsid3 = new Rsid(){ Val = "000B3CD4" };
            Rsid rsid4 = new Rsid(){ Val = "000D444D" };
            Rsid rsid5 = new Rsid(){ Val = "00155FE4" };
            Rsid rsid6 = new Rsid(){ Val = "00157205" };
            Rsid rsid7 = new Rsid(){ Val = "00184FE2" };
            Rsid rsid8 = new Rsid(){ Val = "0021780B" };
            Rsid rsid9 = new Rsid(){ Val = "00246099" };
            Rsid rsid10 = new Rsid(){ Val = "002630CE" };
            Rsid rsid11 = new Rsid(){ Val = "002822D5" };
            Rsid rsid12 = new Rsid(){ Val = "002B1150" };
            Rsid rsid13 = new Rsid(){ Val = "00312F55" };
            Rsid rsid14 = new Rsid(){ Val = "003164B1" };
            Rsid rsid15 = new Rsid(){ Val = "003E3E28" };
            Rsid rsid16 = new Rsid(){ Val = "003E4104" };
            Rsid rsid17 = new Rsid(){ Val = "003F4155" };
            Rsid rsid18 = new Rsid(){ Val = "00432250" };
            Rsid rsid19 = new Rsid(){ Val = "00442213" };
            Rsid rsid20 = new Rsid(){ Val = "0046772B" };
            Rsid rsid21 = new Rsid(){ Val = "004E1BAE" };
            Rsid rsid22 = new Rsid(){ Val = "005168C8" };
            Rsid rsid23 = new Rsid(){ Val = "00554C36" };
            Rsid rsid24 = new Rsid(){ Val = "0056510B" };
            Rsid rsid25 = new Rsid(){ Val = "005812F7" };
            Rsid rsid26 = new Rsid(){ Val = "00591DB3" };
            Rsid rsid27 = new Rsid(){ Val = "005C5F46" };
            Rsid rsid28 = new Rsid(){ Val = "006150B3" };
            Rsid rsid29 = new Rsid(){ Val = "0065051C" };
            Rsid rsid30 = new Rsid(){ Val = "006529C4" };
            Rsid rsid31 = new Rsid(){ Val = "00654EDD" };
            Rsid rsid32 = new Rsid(){ Val = "006617B0" };
            Rsid rsid33 = new Rsid(){ Val = "00673762" };
            Rsid rsid34 = new Rsid(){ Val = "006811F2" };
            Rsid rsid35 = new Rsid(){ Val = "006905DC" };
            Rsid rsid36 = new Rsid(){ Val = "00717274" };
            Rsid rsid37 = new Rsid(){ Val = "00726D63" };
            Rsid rsid38 = new Rsid(){ Val = "00735B16" };
            Rsid rsid39 = new Rsid(){ Val = "0078395F" };
            Rsid rsid40 = new Rsid(){ Val = "007C5C36" };
            Rsid rsid41 = new Rsid(){ Val = "007E083A" };
            Rsid rsid42 = new Rsid(){ Val = "00802542" };
            Rsid rsid43 = new Rsid(){ Val = "00815205" };
            Rsid rsid44 = new Rsid(){ Val = "008601D0" };
            Rsid rsid45 = new Rsid(){ Val = "008A3AEB" };
            Rsid rsid46 = new Rsid(){ Val = "00A0620B" };
            Rsid rsid47 = new Rsid(){ Val = "00A85C79" };
            Rsid rsid48 = new Rsid(){ Val = "00A97EF2" };
            Rsid rsid49 = new Rsid(){ Val = "00B02BB2" };
            Rsid rsid50 = new Rsid(){ Val = "00B226C3" };
            Rsid rsid51 = new Rsid(){ Val = "00B242C6" };
            Rsid rsid52 = new Rsid(){ Val = "00B65CCF" };
            Rsid rsid53 = new Rsid(){ Val = "00BE0751" };
            Rsid rsid54 = new Rsid(){ Val = "00C746AE" };
            Rsid rsid55 = new Rsid(){ Val = "00CA03FE" };
            Rsid rsid56 = new Rsid(){ Val = "00CA6E11" };
            Rsid rsid57 = new Rsid(){ Val = "00D15121" };
            Rsid rsid58 = new Rsid(){ Val = "00D70034" };
            Rsid rsid59 = new Rsid(){ Val = "00D71FEB" };
            Rsid rsid60 = new Rsid(){ Val = "00DC4725" };
            Rsid rsid61 = new Rsid(){ Val = "00DD0BFF" };
            Rsid rsid62 = new Rsid(){ Val = "00E1398B" };
            Rsid rsid63 = new Rsid(){ Val = "00EC4B3C" };
            Rsid rsid64 = new Rsid(){ Val = "00F35C24" };
            Rsid rsid65 = new Rsid(){ Val = "00F9059B" };
            Rsid rsid66 = new Rsid(){ Val = "00F90D0E" };
            Rsid rsid67 = new Rsid(){ Val = "00FC0551" };
            Rsid rsid68 = new Rsid(){ Val = "00FD7597" };
            Rsid rsid69 = new Rsid(){ Val = "00FE4421" };
            Rsid rsid70 = new Rsid(){ Val = "00FF4163" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox2 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults3.Append(textBox2);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{57C27CDA-3B4C-42CA-80EF-A200C26DFF13}" };

            settings1.Append(zoom1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            View view1 = new View(){ Val = ViewValues.Normal };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00B75576" };
            Rsid rsid1 = new Rsid(){ Val = "00307267" };
            Rsid rsid2 = new Rsid(){ Val = "005E156B" };
            Rsid rsid3 = new Rsid(){ Val = "006415BA" };
            Rsid rsid4 = new Rsid(){ Val = "0066476A" };
            Rsid rsid5 = new Rsid(){ Val = "00930812" };
            Rsid rsid6 = new Rsid(){ Val = "00B75576" };
            Rsid rsid7 = new Rsid(){ Val = "00BA303C" };
            Rsid rsid8 = new Rsid(){ Val = "00EF189C" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();

            settings1.Append(view1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);

            documentSettingsPart1.Settings = settings1;
        }
Example #9
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "130" };
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            AttachedTemplate attachedTemplate1 = new AttachedTemplate(){ Id = "rId1" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "14" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00F00514" };
            Rsid rsid13 = new Rsid(){ Val = "0013421C" };
            Rsid rsid14 = new Rsid(){ Val = "00185682" };
            Rsid rsid15 = new Rsid(){ Val = "001E7601" };
            Rsid rsid16 = new Rsid(){ Val = "00227AB2" };
            Rsid rsid17 = new Rsid(){ Val = "0028497E" };
            Rsid rsid18 = new Rsid(){ Val = "002A4705" };
            Rsid rsid19 = new Rsid(){ Val = "00354CB4" };
            Rsid rsid20 = new Rsid(){ Val = "003C2296" };
            Rsid rsid21 = new Rsid(){ Val = "004140B7" };
            Rsid rsid22 = new Rsid(){ Val = "006217A5" };
            Rsid rsid23 = new Rsid(){ Val = "00672B88" };
            Rsid rsid24 = new Rsid(){ Val = "006E6D18" };
            Rsid rsid25 = new Rsid(){ Val = "00734DD4" };
            Rsid rsid26 = new Rsid(){ Val = "0083080C" };
            Rsid rsid27 = new Rsid(){ Val = "0088581B" };
            Rsid rsid28 = new Rsid(){ Val = "00A1337C" };
            Rsid rsid29 = new Rsid(){ Val = "00A213D6" };
            Rsid rsid30 = new Rsid(){ Val = "00AA3180" };
            Rsid rsid31 = new Rsid(){ Val = "00D77907" };
            Rsid rsid32 = new Rsid(){ Val = "00E74180" };
            Rsid rsid33 = new Rsid(){ Val = "00EF4816" };
            Rsid rsid34 = new Rsid(){ Val = "00F00514" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(attachedTemplate1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #10
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() {MCAttributes = new MarkupCompatibilityAttributes() {Ignorable = "w14"}};
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() {Percent = "100"};
            ProofState proofState1 = new ProofState() {Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean};

            MailMerge mailMerge1 = new MailMerge();
            MainDocumentType mainDocumentType1 = new MainDocumentType() {Val = MailMergeDocumentValues.FormLetter};
            DataType dataType1 = new DataType() {Val = MailMergeDataValues.TextFile};
            ActiveRecord activeRecord1 = new ActiveRecord() {Val = -1};

            mailMerge1.Append(mainDocumentType1);
            mailMerge1.Append(dataType1);
            mailMerge1.Append(activeRecord1);
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() {Val = 720};
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl()
                                                               {Val = CharacterSpacingValues.DoNotCompress};

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults()
                                                {Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 6145};

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() {Id = -1};
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() {Id = 0};

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() {Id = -1};
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() {Id = 0};

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.CompatibilityMode,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "14"
                                                         };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting()
                                                         {
                                                         	Name =
                                                         		CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.EnableOpenTypeFeatures,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.DoNotFlipMirrorIndents,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() {Val = "002307CA"};
            Rsid rsid25 = new Rsid() {Val = "00021925"};
            Rsid rsid26 = new Rsid() {Val = "0005059E"};
            Rsid rsid27 = new Rsid() {Val = "002307CA"};
            Rsid rsid28 = new Rsid() {Val = "00267818"};
            Rsid rsid29 = new Rsid() {Val = "002E2CE3"};
            Rsid rsid30 = new Rsid() {Val = "00367B71"};
            Rsid rsid31 = new Rsid() {Val = "003C716F"};
            Rsid rsid32 = new Rsid() {Val = "00442AD3"};
            Rsid rsid33 = new Rsid() {Val = "00485B24"};
            Rsid rsid34 = new Rsid() {Val = "004B0395"};
            Rsid rsid35 = new Rsid() {Val = "005A7CCB"};
            Rsid rsid36 = new Rsid() {Val = "00664E23"};
            Rsid rsid37 = new Rsid() {Val = "006D0F9D"};
            Rsid rsid38 = new Rsid() {Val = "006F12E1"};
            Rsid rsid39 = new Rsid() {Val = "00731A43"};
            Rsid rsid40 = new Rsid() {Val = "00736D14"};
            Rsid rsid41 = new Rsid() {Val = "007977E5"};
            Rsid rsid42 = new Rsid() {Val = "007B10F8"};
            Rsid rsid43 = new Rsid() {Val = "007C67E7"};
            Rsid rsid44 = new Rsid() {Val = "00960953"};
            Rsid rsid45 = new Rsid() {Val = "009F02C7"};
            Rsid rsid46 = new Rsid() {Val = "00A056C7"};
            Rsid rsid47 = new Rsid() {Val = "00B32099"};
            Rsid rsid48 = new Rsid() {Val = "00B92CF0"};
            Rsid rsid49 = new Rsid() {Val = "00BC57A3"};
            Rsid rsid50 = new Rsid() {Val = "00BE6B68"};
            Rsid rsid51 = new Rsid() {Val = "00BF235B"};
            Rsid rsid52 = new Rsid() {Val = "00BF5126"};
            Rsid rsid53 = new Rsid() {Val = "00C91302"};
            Rsid rsid54 = new Rsid() {Val = "00CA68EB"};
            Rsid rsid55 = new Rsid() {Val = "00E33AA1"};
            Rsid rsid56 = new Rsid() {Val = "00E40D36"};
            Rsid rsid57 = new Rsid() {Val = "00E7460D"};
            Rsid rsid58 = new Rsid() {Val = "00E95156"};
            Rsid rsid59 = new Rsid() {Val = "00F06304"};
            Rsid rsid60 = new Rsid() {Val = "00FA5EBC"};
            Rsid rsid61 = new Rsid() {Val = "00FB1F22"};

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() {Val = "Cambria Math"};
            M.BreakBinary breakBinary1 = new M.BreakBinary() {Val = M.BreakBinaryOperatorValues.Before};
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction()
                                                               {Val = M.BreakBinarySubtractionValues.MinusMinus};
            M.SmallFraction smallFraction1 = new M.SmallFraction() {Val = M.BooleanValues.Zero};
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() {Val = (UInt32Value) 0U};
            M.RightMargin rightMargin1 = new M.RightMargin() {Val = (UInt32Value) 0U};
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() {Val = M.JustificationValues.CenterGroup};
            M.WrapIndent wrapIndent1 = new M.WrapIndent() {Val = (UInt32Value) 1440U};
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation()
                                                             {Val = M.LimitLocationValues.SubscriptSuperscript};
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() {Val = M.LimitLocationValues.UnderOver};

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() {Val = "en-US"};
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping()
                                                     {
                                                     	Background1 = ColorSchemeIndexValues.Light1,
                                                     	Text1 = ColorSchemeIndexValues.Dark1,
                                                     	Background2 = ColorSchemeIndexValues.Light2,
                                                     	Text2 = ColorSchemeIndexValues.Dark2,
                                                     	Accent1 = ColorSchemeIndexValues.Accent1,
                                                     	Accent2 = ColorSchemeIndexValues.Accent2,
                                                     	Accent3 = ColorSchemeIndexValues.Accent3,
                                                     	Accent4 = ColorSchemeIndexValues.Accent4,
                                                     	Accent5 = ColorSchemeIndexValues.Accent5,
                                                     	Accent6 = ColorSchemeIndexValues.Accent6,
                                                     	Hyperlink = ColorSchemeIndexValues.Hyperlink,
                                                     	FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink
                                                     };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults()
                                                {Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 6145};

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() {Extension = V.ExtensionHandlingBehaviorValues.Edit};
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() {Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1"};

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() {Val = "."};
            ListSeparator listSeparator1 = new ListSeparator() {Val = ","};

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(mailMerge1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #11
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            View view1 = new View(){ Val = ViewValues.Normal };
            Zoom zoom1 = new Zoom(){ Percent = "100" };
            DoNotDisplayPageBoundaries doNotDisplayPageBoundaries1 = new DoNotDisplayPageBoundaries();
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00C47703" };
            Rsid rsid1 = new Rsid(){ Val = "0020094C" };
            Rsid rsid2 = new Rsid(){ Val = "00472802" };
            Rsid rsid3 = new Rsid(){ Val = "00C47703" };
            Rsid rsid4 = new Rsid(){ Val = "00FB048F" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults2.Append(textBox1);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId(){ Val = "5072543E" };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{E3C4D585-C41B-4C9C-91E7-DBB08CFFEEED}" };

            settings1.Append(view1);
            settings1.Append(zoom1);
            settings1.Append(doNotDisplayPageBoundaries1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(documentId1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 708 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "14" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00935781" };
            Rsid rsid15 = new Rsid() { Val = "00003617" };
            Rsid rsid16 = new Rsid() { Val = "00016928" };
            Rsid rsid17 = new Rsid() { Val = "000F1AD7" };
            Rsid rsid18 = new Rsid() { Val = "001403E6" };
            Rsid rsid19 = new Rsid() { Val = "00143DFA" };
            Rsid rsid20 = new Rsid() { Val = "001501AF" };
            Rsid rsid21 = new Rsid() { Val = "00191D83" };
            Rsid rsid22 = new Rsid() { Val = "00192264" };
            Rsid rsid23 = new Rsid() { Val = "001937C3" };
            Rsid rsid24 = new Rsid() { Val = "001B1FF0" };
            Rsid rsid25 = new Rsid() { Val = "00264050" };
            Rsid rsid26 = new Rsid() { Val = "00271936" };
            Rsid rsid27 = new Rsid() { Val = "002D71C1" };
            Rsid rsid28 = new Rsid() { Val = "00322D30" };
            Rsid rsid29 = new Rsid() { Val = "003434A0" };
            Rsid rsid30 = new Rsid() { Val = "00350EC1" };
            Rsid rsid31 = new Rsid() { Val = "003F69B3" };
            Rsid rsid32 = new Rsid() { Val = "00412D79" };
            Rsid rsid33 = new Rsid() { Val = "0042794A" };
            Rsid rsid34 = new Rsid() { Val = "0043338C" };
            Rsid rsid35 = new Rsid() { Val = "00433799" };
            Rsid rsid36 = new Rsid() { Val = "00497D0C" };
            Rsid rsid37 = new Rsid() { Val = "004A2D5D" };
            Rsid rsid38 = new Rsid() { Val = "0053093D" };
            Rsid rsid39 = new Rsid() { Val = "005C0B9A" };
            Rsid rsid40 = new Rsid() { Val = "005E5B29" };
            Rsid rsid41 = new Rsid() { Val = "005E7F95" };
            Rsid rsid42 = new Rsid() { Val = "00624EAF" };
            Rsid rsid43 = new Rsid() { Val = "00633FB5" };
            Rsid rsid44 = new Rsid() { Val = "00642B12" };
            Rsid rsid45 = new Rsid() { Val = "00683C1F" };
            Rsid rsid46 = new Rsid() { Val = "006B4E48" };
            Rsid rsid47 = new Rsid() { Val = "007752C6" };
            Rsid rsid48 = new Rsid() { Val = "00786E44" };
            Rsid rsid49 = new Rsid() { Val = "007A6711" };
            Rsid rsid50 = new Rsid() { Val = "0085395D" };
            Rsid rsid51 = new Rsid() { Val = "008557B0" };
            Rsid rsid52 = new Rsid() { Val = "00885B8E" };
            Rsid rsid53 = new Rsid() { Val = "0091439C" };
            Rsid rsid54 = new Rsid() { Val = "00935781" };
            Rsid rsid55 = new Rsid() { Val = "00980A5B" };
            Rsid rsid56 = new Rsid() { Val = "009B5BC8" };
            Rsid rsid57 = new Rsid() { Val = "009F4FE3" };
            Rsid rsid58 = new Rsid() { Val = "00A151C0" };
            Rsid rsid59 = new Rsid() { Val = "00A40C57" };
            Rsid rsid60 = new Rsid() { Val = "00A86B82" };
            Rsid rsid61 = new Rsid() { Val = "00AD3F57" };
            Rsid rsid62 = new Rsid() { Val = "00B34E29" };
            Rsid rsid63 = new Rsid() { Val = "00B85FE1" };
            Rsid rsid64 = new Rsid() { Val = "00BA0E12" };
            Rsid rsid65 = new Rsid() { Val = "00BF41B3" };
            Rsid rsid66 = new Rsid() { Val = "00C86F82" };
            Rsid rsid67 = new Rsid() { Val = "00CB2215" };
            Rsid rsid68 = new Rsid() { Val = "00D209DB" };
            Rsid rsid69 = new Rsid() { Val = "00D9517A" };
            Rsid rsid70 = new Rsid() { Val = "00E17905" };
            Rsid rsid71 = new Rsid() { Val = "00F123A5" };
            Rsid rsid72 = new Rsid() { Val = "00F4484B" };
            Rsid rsid73 = new Rsid() { Val = "00F91F6D" };
            Rsid rsid74 = new Rsid() { Val = "00FE6F13" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "ru-RU" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "," };
            ListSeparator listSeparator1 = new ListSeparator() { Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings();
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };
            Compatibility compatibility1 = new Compatibility();

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00E850CC" };
            Rsid rsid1 = new Rsid() { Val = "002E76BF" };
            Rsid rsid2 = new Rsid() { Val = "00342EC5" };
            Rsid rsid3 = new Rsid() { Val = "006E2549" };
            Rsid rsid4 = new Rsid() { Val = "007B1630" };
            Rsid rsid5 = new Rsid() { Val = "00A539C5" };
            Rsid rsid6 = new Rsid() { Val = "00B26A64" };
            Rsid rsid7 = new Rsid() { Val = "00E850CC" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Off };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 4098 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
        // Generates content of documentSettingsPart2.
        private void GenerateDocumentSettingsPart2Content(DocumentSettingsPart documentSettingsPart2)
        {
            Settings settings2 = new Settings();
            settings2.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings2.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings2.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings2.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings2.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings2.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            View view1 = new View() { Val = ViewValues.Normal };
            DefaultTabStop defaultTabStop2 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl2 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility2 = new Compatibility();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();

            compatibility2.Append(useFarEastLayout1);

            Rsids rsids2 = new Rsids();
            RsidRoot rsidRoot2 = new RsidRoot() { Val = "00BB6D8B" };
            Rsid rsid13 = new Rsid() { Val = "00524119" };
            Rsid rsid14 = new Rsid() { Val = "009A7A50" };
            Rsid rsid15 = new Rsid() { Val = "00BB6D8B" };
            Rsid rsid16 = new Rsid() { Val = "00C275C8" };

            rsids2.Append(rsidRoot2);
            rsids2.Append(rsid13);
            rsids2.Append(rsid14);
            rsids2.Append(rsid15);
            rsids2.Append(rsid16);

            M.MathProperties mathProperties2 = new M.MathProperties();
            M.MathFont mathFont2 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary2 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction2 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction2 = new M.SmallFraction() { Val = M.BooleanValues.Off };
            M.DisplayDefaults displayDefaults2 = new M.DisplayDefaults();
            M.LeftMargin leftMargin2 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin2 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification2 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent2 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation2 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation2 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties2.Append(mathFont2);
            mathProperties2.Append(breakBinary2);
            mathProperties2.Append(breakBinarySubtraction2);
            mathProperties2.Append(smallFraction2);
            mathProperties2.Append(displayDefaults2);
            mathProperties2.Append(leftMargin2);
            mathProperties2.Append(rightMargin2);
            mathProperties2.Append(defaultJustification2);
            mathProperties2.Append(wrapIndent2);
            mathProperties2.Append(integralLimitLocation2);
            mathProperties2.Append(naryLimitLocation2);
            ThemeFontLanguages themeFontLanguages2 = new ThemeFontLanguages() { Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping2 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };
            DecimalSymbol decimalSymbol2 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator2 = new ListSeparator() { Val = "," };

            settings2.Append(view1);
            settings2.Append(defaultTabStop2);
            settings2.Append(characterSpacingControl2);
            settings2.Append(compatibility2);
            settings2.Append(rsids2);
            settings2.Append(mathProperties2);
            settings2.Append(themeFontLanguages2);
            settings2.Append(colorSchemeMapping2);
            settings2.Append(decimalSymbol2);
            settings2.Append(listSeparator2);

            documentSettingsPart2.Settings = settings2;
        }
Example #15
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "120" };
            DoNotDisplayPageBoundaries doNotDisplayPageBoundaries1 = new DoNotDisplayPageBoundaries();
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "009423EF" };
            Rsid rsid1 = new Rsid(){ Val = "0008591D" };
            Rsid rsid2 = new Rsid(){ Val = "000F6BB9" };
            Rsid rsid3 = new Rsid(){ Val = "009423EF" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults2.Append(textBox1);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId(){ Val = "5F9C04B8" };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{F93C67B3-65D9-4EFC-B3C8-42982111CA48}" };

            settings1.Append(zoom1);
            settings1.Append(doNotDisplayPageBoundaries1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(documentId1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
Example #16
0
        /// <summary>
        /// Create an instance of OpenXmlPart according to the given relationship type.
        /// </summary>
        /// <param name="openXmlPackage">The container OpenXmlPackage.</param>
        /// <param name="relationshipType">The relationship type of the target part.</param>
        /// <param name="openXmlPart">The created instance of OpenXmlPart.</param>
        /// <remarks>This partial method will be generated by code generaotr.</remarks>
        static partial void CreatePartCore(OpenXmlPackage openXmlPackage, string relationshipType, ref OpenXmlPart openXmlPart)
        {
            if (openXmlPackage == null)
            {
				throw new ArgumentNullException("openXmlPackage");
            }
            if (relationshipType == null)
            {
                throw new ArgumentNullException("relationshipType");
            }
            
            if (openXmlPackage is WordprocessingDocument)
            {
                switch (relationshipType)
                {
					case MainDocumentPart.RelationshipTypeConstant:
	openXmlPart = new MainDocumentPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case GlossaryDocumentPart.RelationshipTypeConstant:
	openXmlPart = new GlossaryDocumentPart();
	return;
case WordprocessingCommentsPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingCommentsPart();
	return;
case AlternativeFormatImportPart.RelationshipTypeConstant:
	openXmlPart = new AlternativeFormatImportPart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case DocumentSettingsPart.RelationshipTypeConstant:
	openXmlPart = new DocumentSettingsPart();
	return;
case MailMergeRecipientDataPart.RelationshipTypeConstant:
	openXmlPart = new MailMergeRecipientDataPart();
	return;
case EndnotesPart.RelationshipTypeConstant:
	openXmlPart = new EndnotesPart();
	return;
case FontTablePart.RelationshipTypeConstant:
	openXmlPart = new FontTablePart();
	return;
case FontPart.RelationshipTypeConstant:
	openXmlPart = new FontPart();
	return;
case FootnotesPart.RelationshipTypeConstant:
	openXmlPart = new FootnotesPart();
	return;
case NumberingDefinitionsPart.RelationshipTypeConstant:
	openXmlPart = new NumberingDefinitionsPart();
	return;
case StyleDefinitionsPart.RelationshipTypeConstant:
	openXmlPart = new StyleDefinitionsPart();
	return;
case StylesWithEffectsPart.RelationshipTypeConstant:
	openXmlPart = new StylesWithEffectsPart();
	return;
case WebSettingsPart.RelationshipTypeConstant:
	openXmlPart = new WebSettingsPart();
	return;
case FooterPart.RelationshipTypeConstant:
	openXmlPart = new FooterPart();
	return;
case HeaderPart.RelationshipTypeConstant:
	openXmlPart = new HeaderPart();
	return;
case WordprocessingPrinterSettingsPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingPrinterSettingsPart();
	return;
case CustomizationPart.RelationshipTypeConstant:
	openXmlPart = new CustomizationPart();
	return;
case WordAttachedToolbarsPart.RelationshipTypeConstant:
	openXmlPart = new WordAttachedToolbarsPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case WordprocessingCommentsExPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingCommentsExPart();
	return;
case WordprocessingPeoplePart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingPeoplePart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

				}
            }
            else if (openXmlPackage is SpreadsheetDocument)
            {
                switch (relationshipType)
                {
					case WorkbookPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case CalculationChainPart.RelationshipTypeConstant:
	openXmlPart = new CalculationChainPart();
	return;
case CellMetadataPart.RelationshipTypeConstant:
	openXmlPart = new CellMetadataPart();
	return;
case ConnectionsPart.RelationshipTypeConstant:
	openXmlPart = new ConnectionsPart();
	return;
case CustomXmlMappingsPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlMappingsPart();
	return;
case SharedStringTablePart.RelationshipTypeConstant:
	openXmlPart = new SharedStringTablePart();
	return;
case WorkbookRevisionHeaderPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookRevisionHeaderPart();
	return;
case WorkbookRevisionLogPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookRevisionLogPart();
	return;
case WorkbookUserDataPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookUserDataPart();
	return;
case WorkbookStylesPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookStylesPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case VolatileDependenciesPart.RelationshipTypeConstant:
	openXmlPart = new VolatileDependenciesPart();
	return;
case ChartsheetPart.RelationshipTypeConstant:
	openXmlPart = new ChartsheetPart();
	return;
case SpreadsheetPrinterSettingsPart.RelationshipTypeConstant:
	openXmlPart = new SpreadsheetPrinterSettingsPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case WorksheetCommentsPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetCommentsPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case DialogsheetPart.RelationshipTypeConstant:
	openXmlPart = new DialogsheetPart();
	return;
case ExternalWorkbookPart.RelationshipTypeConstant:
	openXmlPart = new ExternalWorkbookPart();
	return;
case ExcelAttachedToolbarsPart.RelationshipTypeConstant:
	openXmlPart = new ExcelAttachedToolbarsPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case MacroSheetPart.RelationshipTypeConstant:
	openXmlPart = new MacroSheetPart();
	return;
case InternationalMacroSheetPart.RelationshipTypeConstant:
	openXmlPart = new InternationalMacroSheetPart();
	return;
case CustomDataPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomDataPropertiesPart();
	return;
case CustomDataPart.RelationshipTypeConstant:
	openXmlPart = new CustomDataPart();
	return;
case SlicerCachePart.RelationshipTypeConstant:
	openXmlPart = new SlicerCachePart();
	return;
case TimeLineCachePart.RelationshipTypeConstant:
	openXmlPart = new TimeLineCachePart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

                }
            }
            else if (openXmlPackage is PresentationDocument)
            {
                switch (relationshipType)
                {
					case PresentationPart.RelationshipTypeConstant:
	openXmlPart = new PresentationPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case FontPart.RelationshipTypeConstant:
	openXmlPart = new FontPart();
	return;
case PresentationPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new PresentationPropertiesPart();
	return;
case TableStylesPart.RelationshipTypeConstant:
	openXmlPart = new TableStylesPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case ViewPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ViewPropertiesPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case SlideCommentsPart.RelationshipTypeConstant:
	openXmlPart = new SlideCommentsPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case CommentAuthorsPart.RelationshipTypeConstant:
	openXmlPart = new CommentAuthorsPart();
	return;
case HandoutMasterPart.RelationshipTypeConstant:
	openXmlPart = new HandoutMasterPart();
	return;
case LegacyDiagramTextInfoPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextInfoPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

                }
            }
            else
            {
                System.Diagnostics.Debug.Assert(false);				
            }
            return;
        }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings();
            Zoom zoom1 = new Zoom() { Percent = "100" };
            AttachedTemplate attachedTemplate1 = new AttachedTemplate() { Id = "rId1" };
            LinkStyles linkStyles1 = new LinkStyles();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            HyphenationZone hyphenationZone1 = new HyphenationZone() { Val = "425" };
            NoPunctuationKerning noPunctuationKerning1 = new NoPunctuationKerning();
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };
            DoNotValidateAgainstSchema doNotValidateAgainstSchema1 = new DoNotValidateAgainstSchema();
            SaveInvalidXml saveInvalidXml1 = new SaveInvalidXml();
            IgnoreMixedContent ignoreMixedContent1 = new IgnoreMixedContent();

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 300034 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();

            compatibility1.Append(useFarEastLayout1);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "002E7D22" };
            Rsid rsid1 = new Rsid() { Val = "00000151" };
            Rsid rsid2 = new Rsid() { Val = "0000036F" };
            Rsid rsid3 = new Rsid() { Val = "000107CA" };
            Rsid rsid4 = new Rsid() { Val = "00011A83" };
            Rsid rsid5 = new Rsid() { Val = "00026250" };
            Rsid rsid6 = new Rsid() { Val = "0002709C" };
            Rsid rsid7 = new Rsid() { Val = "00033A61" };
            Rsid rsid8 = new Rsid() { Val = "000369F7" };
            Rsid rsid9 = new Rsid() { Val = "00037233" };
            Rsid rsid10 = new Rsid() { Val = "000432BA" };
            Rsid rsid11 = new Rsid() { Val = "00046BAE" };
            Rsid rsid12 = new Rsid() { Val = "00050CB1" };
            Rsid rsid13 = new Rsid() { Val = "00055488" };
            Rsid rsid14 = new Rsid() { Val = "00056308" };
            Rsid rsid15 = new Rsid() { Val = "00056347" };
            Rsid rsid16 = new Rsid() { Val = "00067CFE" };
            Rsid rsid17 = new Rsid() { Val = "00072CF0" };
            Rsid rsid18 = new Rsid() { Val = "00090FFC" };
            Rsid rsid19 = new Rsid() { Val = "000A24FF" };
            Rsid rsid20 = new Rsid() { Val = "000A318E" };
            Rsid rsid21 = new Rsid() { Val = "000A5DCE" };
            Rsid rsid22 = new Rsid() { Val = "000A6BF0" };
            Rsid rsid23 = new Rsid() { Val = "000A778A" };
            Rsid rsid24 = new Rsid() { Val = "000A7D4C" };
            Rsid rsid25 = new Rsid() { Val = "000B0A8A" };
            Rsid rsid26 = new Rsid() { Val = "000B25F2" };
            Rsid rsid27 = new Rsid() { Val = "000B5DD7" };
            Rsid rsid28 = new Rsid() { Val = "000C0418" };
            Rsid rsid29 = new Rsid() { Val = "000C29E0" };
            Rsid rsid30 = new Rsid() { Val = "000C42AA" };
            Rsid rsid31 = new Rsid() { Val = "000C4F36" };
            Rsid rsid32 = new Rsid() { Val = "000D1AC7" };
            Rsid rsid33 = new Rsid() { Val = "000D6093" };
            Rsid rsid34 = new Rsid() { Val = "000E1B96" };
            Rsid rsid35 = new Rsid() { Val = "000E2EEF" };
            Rsid rsid36 = new Rsid() { Val = "000E365D" };
            Rsid rsid37 = new Rsid() { Val = "000E5A65" };
            Rsid rsid38 = new Rsid() { Val = "000E62B4" };
            Rsid rsid39 = new Rsid() { Val = "000F60EB" };
            Rsid rsid40 = new Rsid() { Val = "000F68FD" };
            Rsid rsid41 = new Rsid() { Val = "00100B85" };
            Rsid rsid42 = new Rsid() { Val = "00103C4D" };
            Rsid rsid43 = new Rsid() { Val = "0010766E" };
            Rsid rsid44 = new Rsid() { Val = "00113178" };
            Rsid rsid45 = new Rsid() { Val = "0012032A" };
            Rsid rsid46 = new Rsid() { Val = "00121411" };
            Rsid rsid47 = new Rsid() { Val = "001255B1" };
            Rsid rsid48 = new Rsid() { Val = "0013124D" };
            Rsid rsid49 = new Rsid() { Val = "001357A3" };
            Rsid rsid50 = new Rsid() { Val = "00136DF8" };
            Rsid rsid51 = new Rsid() { Val = "00140622" };
            Rsid rsid52 = new Rsid() { Val = "00141D32" };
            Rsid rsid53 = new Rsid() { Val = "00150E17" };
            Rsid rsid54 = new Rsid() { Val = "00151C60" };
            Rsid rsid55 = new Rsid() { Val = "00156A9E" };
            Rsid rsid56 = new Rsid() { Val = "00157D8A" };
            Rsid rsid57 = new Rsid() { Val = "001717CD" };
            Rsid rsid58 = new Rsid() { Val = "001777F8" };
            Rsid rsid59 = new Rsid() { Val = "00185AFD" };
            Rsid rsid60 = new Rsid() { Val = "00187ACA" };
            Rsid rsid61 = new Rsid() { Val = "0019393C" };
            Rsid rsid62 = new Rsid() { Val = "00194B6D" };
            Rsid rsid63 = new Rsid() { Val = "00195CE8" };
            Rsid rsid64 = new Rsid() { Val = "00196E39" };
            Rsid rsid65 = new Rsid() { Val = "001974FE" };
            Rsid rsid66 = new Rsid() { Val = "001A0A63" };
            Rsid rsid67 = new Rsid() { Val = "001A4082" };
            Rsid rsid68 = new Rsid() { Val = "001A67D6" };
            Rsid rsid69 = new Rsid() { Val = "001B011D" };
            Rsid rsid70 = new Rsid() { Val = "001B225F" };
            Rsid rsid71 = new Rsid() { Val = "001B6F6C" };
            Rsid rsid72 = new Rsid() { Val = "001B746B" };
            Rsid rsid73 = new Rsid() { Val = "001C4579" };
            Rsid rsid74 = new Rsid() { Val = "001D5E74" };
            Rsid rsid75 = new Rsid() { Val = "001D60A9" };
            Rsid rsid76 = new Rsid() { Val = "001D6F62" };
            Rsid rsid77 = new Rsid() { Val = "001E724B" };
            Rsid rsid78 = new Rsid() { Val = "001F7499" };
            Rsid rsid79 = new Rsid() { Val = "002058A3" };
            Rsid rsid80 = new Rsid() { Val = "00206CCC" };
            Rsid rsid81 = new Rsid() { Val = "00216E92" };
            Rsid rsid82 = new Rsid() { Val = "00222633" };
            Rsid rsid83 = new Rsid() { Val = "0022367F" };
            Rsid rsid84 = new Rsid() { Val = "00227F18" };
            Rsid rsid85 = new Rsid() { Val = "00233025" };
            Rsid rsid86 = new Rsid() { Val = "00233DD2" };
            Rsid rsid87 = new Rsid() { Val = "00240AED" };
            Rsid rsid88 = new Rsid() { Val = "00243071" };
            Rsid rsid89 = new Rsid() { Val = "00244BC4" };
            Rsid rsid90 = new Rsid() { Val = "002462E2" };
            Rsid rsid91 = new Rsid() { Val = "002509D3" };
            Rsid rsid92 = new Rsid() { Val = "00256073" };
            Rsid rsid93 = new Rsid() { Val = "002614AB" };
            Rsid rsid94 = new Rsid() { Val = "00261E4D" };
            Rsid rsid95 = new Rsid() { Val = "0026354B" };
            Rsid rsid96 = new Rsid() { Val = "00264CFB" };
            Rsid rsid97 = new Rsid() { Val = "00267B3B" };
            Rsid rsid98 = new Rsid() { Val = "00272AD9" };
            Rsid rsid99 = new Rsid() { Val = "00273990" };
            Rsid rsid100 = new Rsid() { Val = "00275427" };
            Rsid rsid101 = new Rsid() { Val = "00280514" };
            Rsid rsid102 = new Rsid() { Val = "002825BD" };
            Rsid rsid103 = new Rsid() { Val = "00282F5E" };
            Rsid rsid104 = new Rsid() { Val = "002836D3" };
            Rsid rsid105 = new Rsid() { Val = "00283CC4" };
            Rsid rsid106 = new Rsid() { Val = "00292192" };
            Rsid rsid107 = new Rsid() { Val = "00295BC7" };
            Rsid rsid108 = new Rsid() { Val = "002A248B" };
            Rsid rsid109 = new Rsid() { Val = "002A33EC" };
            Rsid rsid110 = new Rsid() { Val = "002A4E0E" };
            Rsid rsid111 = new Rsid() { Val = "002A5362" };
            Rsid rsid112 = new Rsid() { Val = "002A7539" };
            Rsid rsid113 = new Rsid() { Val = "002B0C9D" };
            Rsid rsid114 = new Rsid() { Val = "002B7BE9" };
            Rsid rsid115 = new Rsid() { Val = "002C2313" };
            Rsid rsid116 = new Rsid() { Val = "002C57EF" };
            Rsid rsid117 = new Rsid() { Val = "002D3F1B" };
            Rsid rsid118 = new Rsid() { Val = "002D5864" };
            Rsid rsid119 = new Rsid() { Val = "002D5BB8" };
            Rsid rsid120 = new Rsid() { Val = "002E1DC5" };
            Rsid rsid121 = new Rsid() { Val = "002E32B1" };
            Rsid rsid122 = new Rsid() { Val = "002E4819" };
            Rsid rsid123 = new Rsid() { Val = "002E5FC9" };
            Rsid rsid124 = new Rsid() { Val = "002E707E" };
            Rsid rsid125 = new Rsid() { Val = "002E7D22" };
            Rsid rsid126 = new Rsid() { Val = "003000C4" };
            Rsid rsid127 = new Rsid() { Val = "0031558F" };
            Rsid rsid128 = new Rsid() { Val = "00317CC3" };
            Rsid rsid129 = new Rsid() { Val = "00336490" };
            Rsid rsid130 = new Rsid() { Val = "00336875" };
            Rsid rsid131 = new Rsid() { Val = "0034101A" };
            Rsid rsid132 = new Rsid() { Val = "00344459" };
            Rsid rsid133 = new Rsid() { Val = "00354726" };
            Rsid rsid134 = new Rsid() { Val = "00356266" };
            Rsid rsid135 = new Rsid() { Val = "00374165" };
            Rsid rsid136 = new Rsid() { Val = "00375BA9" };
            Rsid rsid137 = new Rsid() { Val = "00381D4A" };
            Rsid rsid138 = new Rsid() { Val = "00385C36" };
            Rsid rsid139 = new Rsid() { Val = "00387921" };
            Rsid rsid140 = new Rsid() { Val = "003907B3" };
            Rsid rsid141 = new Rsid() { Val = "003924C4" };
            Rsid rsid142 = new Rsid() { Val = "00397A9E" };
            Rsid rsid143 = new Rsid() { Val = "003C2666" };
            Rsid rsid144 = new Rsid() { Val = "003C5F5D" };
            Rsid rsid145 = new Rsid() { Val = "003C6DE9" };
            Rsid rsid146 = new Rsid() { Val = "003D7741" };
            Rsid rsid147 = new Rsid() { Val = "003D786B" };
            Rsid rsid148 = new Rsid() { Val = "003E0EAC" };
            Rsid rsid149 = new Rsid() { Val = "003E4D99" };
            Rsid rsid150 = new Rsid() { Val = "003F0DD8" };
            Rsid rsid151 = new Rsid() { Val = "003F1967" };
            Rsid rsid152 = new Rsid() { Val = "003F1E87" };
            Rsid rsid153 = new Rsid() { Val = "003F2779" };
            Rsid rsid154 = new Rsid() { Val = "00401509" };
            Rsid rsid155 = new Rsid() { Val = "00413F24" };
            Rsid rsid156 = new Rsid() { Val = "00417B92" };
            Rsid rsid157 = new Rsid() { Val = "00417CB6" };
            Rsid rsid158 = new Rsid() { Val = "00423094" };
            Rsid rsid159 = new Rsid() { Val = "00430E1B" };
            Rsid rsid160 = new Rsid() { Val = "00432185" };
            Rsid rsid161 = new Rsid() { Val = "004427CC" };
            Rsid rsid162 = new Rsid() { Val = "004431D7" };
            Rsid rsid163 = new Rsid() { Val = "004438D9" };
            Rsid rsid164 = new Rsid() { Val = "00443A55" };
            Rsid rsid165 = new Rsid() { Val = "00443CD0" };
            Rsid rsid166 = new Rsid() { Val = "00444A32" };
            Rsid rsid167 = new Rsid() { Val = "00447118" };
            Rsid rsid168 = new Rsid() { Val = "00451171" };
            Rsid rsid169 = new Rsid() { Val = "004522C9" };
            Rsid rsid170 = new Rsid() { Val = "00453E48" };
            Rsid rsid171 = new Rsid() { Val = "00456F84" };
            Rsid rsid172 = new Rsid() { Val = "00461D37" };
            Rsid rsid173 = new Rsid() { Val = "00464492" };
            Rsid rsid174 = new Rsid() { Val = "004657C1" };
            Rsid rsid175 = new Rsid() { Val = "00466898" };
            Rsid rsid176 = new Rsid() { Val = "00472DEA" };
            Rsid rsid177 = new Rsid() { Val = "004805C1" };
            Rsid rsid178 = new Rsid() { Val = "004826CB" };
            Rsid rsid179 = new Rsid() { Val = "0049162E" };
            Rsid rsid180 = new Rsid() { Val = "00495D69" };
            Rsid rsid181 = new Rsid() { Val = "004A5AE6" };
            Rsid rsid182 = new Rsid() { Val = "004A6E9F" };
            Rsid rsid183 = new Rsid() { Val = "004A7F93" };
            Rsid rsid184 = new Rsid() { Val = "004B2B7F" };
            Rsid rsid185 = new Rsid() { Val = "004C0DA7" };
            Rsid rsid186 = new Rsid() { Val = "004C4687" };
            Rsid rsid187 = new Rsid() { Val = "004C7C60" };
            Rsid rsid188 = new Rsid() { Val = "004D12BE" };
            Rsid rsid189 = new Rsid() { Val = "004D5ECC" };
            Rsid rsid190 = new Rsid() { Val = "004E16FD" };
            Rsid rsid191 = new Rsid() { Val = "004E195A" };
            Rsid rsid192 = new Rsid() { Val = "004E54D9" };
            Rsid rsid193 = new Rsid() { Val = "004E7907" };
            Rsid rsid194 = new Rsid() { Val = "004F2494" };
            Rsid rsid195 = new Rsid() { Val = "004F2A92" };
            Rsid rsid196 = new Rsid() { Val = "00506462" };
            Rsid rsid197 = new Rsid() { Val = "00514769" };
            Rsid rsid198 = new Rsid() { Val = "00517D57" };
            Rsid rsid199 = new Rsid() { Val = "00523FC2" };
            Rsid rsid200 = new Rsid() { Val = "00524AA7" };
            Rsid rsid201 = new Rsid() { Val = "00532951" };
            Rsid rsid202 = new Rsid() { Val = "00535256" };
            Rsid rsid203 = new Rsid() { Val = "00544156" };
            Rsid rsid204 = new Rsid() { Val = "00545261" };
            Rsid rsid205 = new Rsid() { Val = "00547DDD" };
            Rsid rsid206 = new Rsid() { Val = "005536AE" };
            Rsid rsid207 = new Rsid() { Val = "00554657" };
            Rsid rsid208 = new Rsid() { Val = "005546F4" };
            Rsid rsid209 = new Rsid() { Val = "00560517" };
            Rsid rsid210 = new Rsid() { Val = "00561A98" };
            Rsid rsid211 = new Rsid() { Val = "005623FA" };
            Rsid rsid212 = new Rsid() { Val = "00562F9B" };
            Rsid rsid213 = new Rsid() { Val = "00566334" };
            Rsid rsid214 = new Rsid() { Val = "00572029" };
            Rsid rsid215 = new Rsid() { Val = "00574E3B" };
            Rsid rsid216 = new Rsid() { Val = "005754DB" };
            Rsid rsid217 = new Rsid() { Val = "00583853" };
            Rsid rsid218 = new Rsid() { Val = "00583E34" };
            Rsid rsid219 = new Rsid() { Val = "00584020" };
            Rsid rsid220 = new Rsid() { Val = "00592E66" };
            Rsid rsid221 = new Rsid() { Val = "00594B09" };
            Rsid rsid222 = new Rsid() { Val = "005A4976" };
            Rsid rsid223 = new Rsid() { Val = "005A4CCC" };
            Rsid rsid224 = new Rsid() { Val = "005A4E70" };
            Rsid rsid225 = new Rsid() { Val = "005A6F62" };
            Rsid rsid226 = new Rsid() { Val = "005B5C7C" };
            Rsid rsid227 = new Rsid() { Val = "005B7379" };
            Rsid rsid228 = new Rsid() { Val = "005C5D0D" };
            Rsid rsid229 = new Rsid() { Val = "005C5E18" };
            Rsid rsid230 = new Rsid() { Val = "005C722F" };
            Rsid rsid231 = new Rsid() { Val = "005D27DE" };
            Rsid rsid232 = new Rsid() { Val = "005D5D40" };
            Rsid rsid233 = new Rsid() { Val = "005D7E7A" };
            Rsid rsid234 = new Rsid() { Val = "005E40AC" };
            Rsid rsid235 = new Rsid() { Val = "005F2848" };
            Rsid rsid236 = new Rsid() { Val = "005F4DB9" };
            Rsid rsid237 = new Rsid() { Val = "005F6B60" };
            Rsid rsid238 = new Rsid() { Val = "006209F6" };
            Rsid rsid239 = new Rsid() { Val = "006248C1" };
            Rsid rsid240 = new Rsid() { Val = "0063624F" };
            Rsid rsid241 = new Rsid() { Val = "0065191A" };
            Rsid rsid242 = new Rsid() { Val = "00660821" };
            Rsid rsid243 = new Rsid() { Val = "00675ED0" };
            Rsid rsid244 = new Rsid() { Val = "00681EB3" };
            Rsid rsid245 = new Rsid() { Val = "006862EE" };
            Rsid rsid246 = new Rsid() { Val = "0069278B" };
            Rsid rsid247 = new Rsid() { Val = "006A0B1E" };
            Rsid rsid248 = new Rsid() { Val = "006A58D3" };
            Rsid rsid249 = new Rsid() { Val = "006B1D99" };
            Rsid rsid250 = new Rsid() { Val = "006D1BD8" };
            Rsid rsid251 = new Rsid() { Val = "006D2E84" };
            Rsid rsid252 = new Rsid() { Val = "006D39A0" };
            Rsid rsid253 = new Rsid() { Val = "006D6972" };
            Rsid rsid254 = new Rsid() { Val = "006E1177" };
            Rsid rsid255 = new Rsid() { Val = "006E384B" };
            Rsid rsid256 = new Rsid() { Val = "006E5BF6" };
            Rsid rsid257 = new Rsid() { Val = "006E6F86" };
            Rsid rsid258 = new Rsid() { Val = "006F02A4" };
            Rsid rsid259 = new Rsid() { Val = "006F57DE" };
            Rsid rsid260 = new Rsid() { Val = "006F58EB" };
            Rsid rsid261 = new Rsid() { Val = "006F6E20" };
            Rsid rsid262 = new Rsid() { Val = "006F74B4" };
            Rsid rsid263 = new Rsid() { Val = "00700510" };
            Rsid rsid264 = new Rsid() { Val = "00703676" };
            Rsid rsid265 = new Rsid() { Val = "00707FFA" };
            Rsid rsid266 = new Rsid() { Val = "00713208" };
            Rsid rsid267 = new Rsid() { Val = "007171C9" };
            Rsid rsid268 = new Rsid() { Val = "007247F0" };
            Rsid rsid269 = new Rsid() { Val = "00731EBE" };
            Rsid rsid270 = new Rsid() { Val = "0073257C" };
            Rsid rsid271 = new Rsid() { Val = "00740A1C" };
            Rsid rsid272 = new Rsid() { Val = "00751786" };
            Rsid rsid273 = new Rsid() { Val = "00751A3A" };
            Rsid rsid274 = new Rsid() { Val = "00751D5C" };
            Rsid rsid275 = new Rsid() { Val = "00753A74" };
            Rsid rsid276 = new Rsid() { Val = "00754A89" };
            Rsid rsid277 = new Rsid() { Val = "00761A8E" };
            Rsid rsid278 = new Rsid() { Val = "007643CF" };
            Rsid rsid279 = new Rsid() { Val = "00782598" };
            Rsid rsid280 = new Rsid() { Val = "0078481C" };
            Rsid rsid281 = new Rsid() { Val = "0079064C" };
            Rsid rsid282 = new Rsid() { Val = "007A0670" };
            Rsid rsid283 = new Rsid() { Val = "007A234D" };
            Rsid rsid284 = new Rsid() { Val = "007A2948" };
            Rsid rsid285 = new Rsid() { Val = "007A41D7" };
            Rsid rsid286 = new Rsid() { Val = "007B0BC0" };
            Rsid rsid287 = new Rsid() { Val = "007B2876" };
            Rsid rsid288 = new Rsid() { Val = "007B6346" };
            Rsid rsid289 = new Rsid() { Val = "007B661A" };
            Rsid rsid290 = new Rsid() { Val = "007B66F2" };
            Rsid rsid291 = new Rsid() { Val = "007B7BF0" };
            Rsid rsid292 = new Rsid() { Val = "007C1300" };
            Rsid rsid293 = new Rsid() { Val = "007C34CD" };
            Rsid rsid294 = new Rsid() { Val = "007C3DB4" };
            Rsid rsid295 = new Rsid() { Val = "007C4997" };
            Rsid rsid296 = new Rsid() { Val = "007C6A01" };
            Rsid rsid297 = new Rsid() { Val = "007C6AF0" };
            Rsid rsid298 = new Rsid() { Val = "007D0EFC" };
            Rsid rsid299 = new Rsid() { Val = "007D64BE" };
            Rsid rsid300 = new Rsid() { Val = "007E1E2F" };
            Rsid rsid301 = new Rsid() { Val = "007E6AA4" };
            Rsid rsid302 = new Rsid() { Val = "007E7586" };
            Rsid rsid303 = new Rsid() { Val = "008154D4" };
            Rsid rsid304 = new Rsid() { Val = "0082549B" };
            Rsid rsid305 = new Rsid() { Val = "008278CF" };
            Rsid rsid306 = new Rsid() { Val = "0083140B" };
            Rsid rsid307 = new Rsid() { Val = "00835077" };
            Rsid rsid308 = new Rsid() { Val = "00837232" };
            Rsid rsid309 = new Rsid() { Val = "00837AE4" };
            Rsid rsid310 = new Rsid() { Val = "008439F9" };
            Rsid rsid311 = new Rsid() { Val = "00850F31" };
            Rsid rsid312 = new Rsid() { Val = "00851D16" };
            Rsid rsid313 = new Rsid() { Val = "00852F72" };
            Rsid rsid314 = new Rsid() { Val = "00855B1B" };
            Rsid rsid315 = new Rsid() { Val = "008602C0" };
            Rsid rsid316 = new Rsid() { Val = "00860BAA" };
            Rsid rsid317 = new Rsid() { Val = "00862EA1" };
            Rsid rsid318 = new Rsid() { Val = "0086518C" };
            Rsid rsid319 = new Rsid() { Val = "00871C48" };
            Rsid rsid320 = new Rsid() { Val = "00872DEA" };
            Rsid rsid321 = new Rsid() { Val = "008737BB" };
            Rsid rsid322 = new Rsid() { Val = "00880A12" };
            Rsid rsid323 = new Rsid() { Val = "0088564B" };
            Rsid rsid324 = new Rsid() { Val = "00890BFC" };
            Rsid rsid325 = new Rsid() { Val = "00894D97" };
            Rsid rsid326 = new Rsid() { Val = "00897ECC" };
            Rsid rsid327 = new Rsid() { Val = "008A25E5" };
            Rsid rsid328 = new Rsid() { Val = "008B2B2F" };
            Rsid rsid329 = new Rsid() { Val = "008B419B" };
            Rsid rsid330 = new Rsid() { Val = "008B561B" };
            Rsid rsid331 = new Rsid() { Val = "008C067B" };
            Rsid rsid332 = new Rsid() { Val = "008C2D52" };
            Rsid rsid333 = new Rsid() { Val = "008C4316" };
            Rsid rsid334 = new Rsid() { Val = "008D2C48" };
            Rsid rsid335 = new Rsid() { Val = "008D69D4" };
            Rsid rsid336 = new Rsid() { Val = "008D6C0E" };
            Rsid rsid337 = new Rsid() { Val = "008E00D5" };
            Rsid rsid338 = new Rsid() { Val = "008F2CC8" };
            Rsid rsid339 = new Rsid() { Val = "00902E88" };
            Rsid rsid340 = new Rsid() { Val = "00913955" };
            Rsid rsid341 = new Rsid() { Val = "00915758" };
            Rsid rsid342 = new Rsid() { Val = "009166B9" };
            Rsid rsid343 = new Rsid() { Val = "00934E6E" };
            Rsid rsid344 = new Rsid() { Val = "00937F8E" };
            Rsid rsid345 = new Rsid() { Val = "00940CCD" };
            Rsid rsid346 = new Rsid() { Val = "0094125B" };
            Rsid rsid347 = new Rsid() { Val = "00944624" };
            Rsid rsid348 = new Rsid() { Val = "009505D2" };
            Rsid rsid349 = new Rsid() { Val = "009527BD" };
            Rsid rsid350 = new Rsid() { Val = "00957E57" };
            Rsid rsid351 = new Rsid() { Val = "00965C1D" };
            Rsid rsid352 = new Rsid() { Val = "00983F27" };
            Rsid rsid353 = new Rsid() { Val = "009A4C13" };
            Rsid rsid354 = new Rsid() { Val = "009A55D5" };
            Rsid rsid355 = new Rsid() { Val = "009A6239" };
            Rsid rsid356 = new Rsid() { Val = "009A6370" };
            Rsid rsid357 = new Rsid() { Val = "009B6613" };
            Rsid rsid358 = new Rsid() { Val = "009C6FC7" };
            Rsid rsid359 = new Rsid() { Val = "009E2BFE" };
            Rsid rsid360 = new Rsid() { Val = "009E5742" };
            Rsid rsid361 = new Rsid() { Val = "009E5D63" };
            Rsid rsid362 = new Rsid() { Val = "009E5E64" };
            Rsid rsid363 = new Rsid() { Val = "009F02AD" };
            Rsid rsid364 = new Rsid() { Val = "009F0608" };
            Rsid rsid365 = new Rsid() { Val = "009F0B75" };
            Rsid rsid366 = new Rsid() { Val = "009F3BBF" };
            Rsid rsid367 = new Rsid() { Val = "009F453D" };
            Rsid rsid368 = new Rsid() { Val = "009F47A3" };
            Rsid rsid369 = new Rsid() { Val = "009F7E7F" };
            Rsid rsid370 = new Rsid() { Val = "00A129B7" };
            Rsid rsid371 = new Rsid() { Val = "00A15F1D" };
            Rsid rsid372 = new Rsid() { Val = "00A20A5F" };
            Rsid rsid373 = new Rsid() { Val = "00A21AB2" };
            Rsid rsid374 = new Rsid() { Val = "00A22E79" };
            Rsid rsid375 = new Rsid() { Val = "00A241C0" };
            Rsid rsid376 = new Rsid() { Val = "00A27025" };
            Rsid rsid377 = new Rsid() { Val = "00A3564C" };
            Rsid rsid378 = new Rsid() { Val = "00A41F12" };
            Rsid rsid379 = new Rsid() { Val = "00A53072" };
            Rsid rsid380 = new Rsid() { Val = "00A6171D" };
            Rsid rsid381 = new Rsid() { Val = "00A62399" };
            Rsid rsid382 = new Rsid() { Val = "00A65073" };
            Rsid rsid383 = new Rsid() { Val = "00A747BB" };
            Rsid rsid384 = new Rsid() { Val = "00A75BDE" };
            Rsid rsid385 = new Rsid() { Val = "00A7674D" };
            Rsid rsid386 = new Rsid() { Val = "00A77710" };
            Rsid rsid387 = new Rsid() { Val = "00A82025" };
            Rsid rsid388 = new Rsid() { Val = "00A8638E" };
            Rsid rsid389 = new Rsid() { Val = "00A918FB" };
            Rsid rsid390 = new Rsid() { Val = "00A921AB" };
            Rsid rsid391 = new Rsid() { Val = "00A935F6" };
            Rsid rsid392 = new Rsid() { Val = "00AA0A1A" };
            Rsid rsid393 = new Rsid() { Val = "00AA6279" };
            Rsid rsid394 = new Rsid() { Val = "00AB1206" };
            Rsid rsid395 = new Rsid() { Val = "00AB318F" };
            Rsid rsid396 = new Rsid() { Val = "00AB3D48" };
            Rsid rsid397 = new Rsid() { Val = "00AB4921" };
            Rsid rsid398 = new Rsid() { Val = "00AB5753" };
            Rsid rsid399 = new Rsid() { Val = "00AC0771" };
            Rsid rsid400 = new Rsid() { Val = "00AC1437" };
            Rsid rsid401 = new Rsid() { Val = "00AC1B75" };
            Rsid rsid402 = new Rsid() { Val = "00AD0D68" };
            Rsid rsid403 = new Rsid() { Val = "00AD1EF0" };
            Rsid rsid404 = new Rsid() { Val = "00AD5D8C" };
            Rsid rsid405 = new Rsid() { Val = "00AD5E16" };
            Rsid rsid406 = new Rsid() { Val = "00AD61F0" };
            Rsid rsid407 = new Rsid() { Val = "00AD6EBD" };
            Rsid rsid408 = new Rsid() { Val = "00AE3C1A" };
            Rsid rsid409 = new Rsid() { Val = "00AF0136" };
            Rsid rsid410 = new Rsid() { Val = "00AF598C" };
            Rsid rsid411 = new Rsid() { Val = "00AF701E" };
            Rsid rsid412 = new Rsid() { Val = "00AF7795" };
            Rsid rsid413 = new Rsid() { Val = "00B02C12" };
            Rsid rsid414 = new Rsid() { Val = "00B03AFD" };
            Rsid rsid415 = new Rsid() { Val = "00B0579B" };
            Rsid rsid416 = new Rsid() { Val = "00B062C8" };
            Rsid rsid417 = new Rsid() { Val = "00B105DC" };
            Rsid rsid418 = new Rsid() { Val = "00B14BDB" };
            Rsid rsid419 = new Rsid() { Val = "00B21366" };
            Rsid rsid420 = new Rsid() { Val = "00B33F8A" };
            Rsid rsid421 = new Rsid() { Val = "00B354C8" };
            Rsid rsid422 = new Rsid() { Val = "00B401C3" };
            Rsid rsid423 = new Rsid() { Val = "00B41D00" };
            Rsid rsid424 = new Rsid() { Val = "00B62341" };
            Rsid rsid425 = new Rsid() { Val = "00B64DAD" };
            Rsid rsid426 = new Rsid() { Val = "00B67E72" };
            Rsid rsid427 = new Rsid() { Val = "00B70A98" };
            Rsid rsid428 = new Rsid() { Val = "00B72CF9" };
            Rsid rsid429 = new Rsid() { Val = "00B72E61" };
            Rsid rsid430 = new Rsid() { Val = "00B75F5F" };
            Rsid rsid431 = new Rsid() { Val = "00B80285" };
            Rsid rsid432 = new Rsid() { Val = "00B900F7" };
            Rsid rsid433 = new Rsid() { Val = "00B95F6C" };
            Rsid rsid434 = new Rsid() { Val = "00B97B60" };
            Rsid rsid435 = new Rsid() { Val = "00BA224B" };
            Rsid rsid436 = new Rsid() { Val = "00BA33DE" };
            Rsid rsid437 = new Rsid() { Val = "00BA36E7" };
            Rsid rsid438 = new Rsid() { Val = "00BA543D" };
            Rsid rsid439 = new Rsid() { Val = "00BA5E83" };
            Rsid rsid440 = new Rsid() { Val = "00BA679D" };
            Rsid rsid441 = new Rsid() { Val = "00BA6DC3" };
            Rsid rsid442 = new Rsid() { Val = "00BA7E3F" };
            Rsid rsid443 = new Rsid() { Val = "00BB0D74" };
            Rsid rsid444 = new Rsid() { Val = "00BB40B9" };
            Rsid rsid445 = new Rsid() { Val = "00BB5522" };
            Rsid rsid446 = new Rsid() { Val = "00BB5D40" };
            Rsid rsid447 = new Rsid() { Val = "00BC106F" };
            Rsid rsid448 = new Rsid() { Val = "00BC4CAC" };
            Rsid rsid449 = new Rsid() { Val = "00BE25CC" };
            Rsid rsid450 = new Rsid() { Val = "00BE574F" };
            Rsid rsid451 = new Rsid() { Val = "00BF66F3" };
            Rsid rsid452 = new Rsid() { Val = "00BF6F89" };
            Rsid rsid453 = new Rsid() { Val = "00C01F31" };
            Rsid rsid454 = new Rsid() { Val = "00C03444" };
            Rsid rsid455 = new Rsid() { Val = "00C04CE0" };
            Rsid rsid456 = new Rsid() { Val = "00C062F9" };
            Rsid rsid457 = new Rsid() { Val = "00C1094B" };
            Rsid rsid458 = new Rsid() { Val = "00C166F8" };
            Rsid rsid459 = new Rsid() { Val = "00C24508" };
            Rsid rsid460 = new Rsid() { Val = "00C27D0F" };
            Rsid rsid461 = new Rsid() { Val = "00C31288" };
            Rsid rsid462 = new Rsid() { Val = "00C32704" };
            Rsid rsid463 = new Rsid() { Val = "00C33CF0" };
            Rsid rsid464 = new Rsid() { Val = "00C41ABA" };
            Rsid rsid465 = new Rsid() { Val = "00C44584" };
            Rsid rsid466 = new Rsid() { Val = "00C4492A" };
            Rsid rsid467 = new Rsid() { Val = "00C47206" };
            Rsid rsid468 = new Rsid() { Val = "00C6049A" };
            Rsid rsid469 = new Rsid() { Val = "00C62467" };
            Rsid rsid470 = new Rsid() { Val = "00C704CB" };
            Rsid rsid471 = new Rsid() { Val = "00C71CC7" };
            Rsid rsid472 = new Rsid() { Val = "00C7570A" };
            Rsid rsid473 = new Rsid() { Val = "00C803F9" };
            Rsid rsid474 = new Rsid() { Val = "00C82A8F" };
            Rsid rsid475 = new Rsid() { Val = "00C8492B" };
            Rsid rsid476 = new Rsid() { Val = "00C86FD9" };
            Rsid rsid477 = new Rsid() { Val = "00C913B8" };
            Rsid rsid478 = new Rsid() { Val = "00C91FAF" };
            Rsid rsid479 = new Rsid() { Val = "00CA34E5" };
            Rsid rsid480 = new Rsid() { Val = "00CA68C1" };
            Rsid rsid481 = new Rsid() { Val = "00CA7AED" };
            Rsid rsid482 = new Rsid() { Val = "00CB005B" };
            Rsid rsid483 = new Rsid() { Val = "00CB3330" };
            Rsid rsid484 = new Rsid() { Val = "00CB77EF" };
            Rsid rsid485 = new Rsid() { Val = "00CB7FBF" };
            Rsid rsid486 = new Rsid() { Val = "00CC0E6F" };
            Rsid rsid487 = new Rsid() { Val = "00CC2476" };
            Rsid rsid488 = new Rsid() { Val = "00CC46B9" };
            Rsid rsid489 = new Rsid() { Val = "00CD3A9B" };
            Rsid rsid490 = new Rsid() { Val = "00CD57B8" };
            Rsid rsid491 = new Rsid() { Val = "00CE0591" };
            Rsid rsid492 = new Rsid() { Val = "00CE06F6" };
            Rsid rsid493 = new Rsid() { Val = "00CE60E8" };
            Rsid rsid494 = new Rsid() { Val = "00CE7054" };
            Rsid rsid495 = new Rsid() { Val = "00CF0CEB" };
            Rsid rsid496 = new Rsid() { Val = "00CF67E9" };
            Rsid rsid497 = new Rsid() { Val = "00D03B21" };
            Rsid rsid498 = new Rsid() { Val = "00D11E55" };
            Rsid rsid499 = new Rsid() { Val = "00D2246F" };
            Rsid rsid500 = new Rsid() { Val = "00D232C4" };
            Rsid rsid501 = new Rsid() { Val = "00D23A7D" };
            Rsid rsid502 = new Rsid() { Val = "00D412D1" };
            Rsid rsid503 = new Rsid() { Val = "00D42739" };
            Rsid rsid504 = new Rsid() { Val = "00D45D2A" };
            Rsid rsid505 = new Rsid() { Val = "00D525A8" };
            Rsid rsid506 = new Rsid() { Val = "00D52961" };
            Rsid rsid507 = new Rsid() { Val = "00D53395" };
            Rsid rsid508 = new Rsid() { Val = "00D56C12" };
            Rsid rsid509 = new Rsid() { Val = "00D60895" };
            Rsid rsid510 = new Rsid() { Val = "00D62CD3" };
            Rsid rsid511 = new Rsid() { Val = "00D6522A" };
            Rsid rsid512 = new Rsid() { Val = "00D65F6F" };
            Rsid rsid513 = new Rsid() { Val = "00D70F0E" };
            Rsid rsid514 = new Rsid() { Val = "00D80B9E" };
            Rsid rsid515 = new Rsid() { Val = "00D83EDC" };
            Rsid rsid516 = new Rsid() { Val = "00D928EF" };
            Rsid rsid517 = new Rsid() { Val = "00D944B2" };
            Rsid rsid518 = new Rsid() { Val = "00D948F5" };
            Rsid rsid519 = new Rsid() { Val = "00D96806" };
            Rsid rsid520 = new Rsid() { Val = "00DB4ADC" };
            Rsid rsid521 = new Rsid() { Val = "00DC3ED5" };
            Rsid rsid522 = new Rsid() { Val = "00DD1EE3" };
            Rsid rsid523 = new Rsid() { Val = "00DD5BAE" };
            Rsid rsid524 = new Rsid() { Val = "00DD718E" };
            Rsid rsid525 = new Rsid() { Val = "00DE0ED8" };
            Rsid rsid526 = new Rsid() { Val = "00DE1401" };
            Rsid rsid527 = new Rsid() { Val = "00DE345E" };
            Rsid rsid528 = new Rsid() { Val = "00DE549B" };
            Rsid rsid529 = new Rsid() { Val = "00DE5857" };
            Rsid rsid530 = new Rsid() { Val = "00DE78CB" };
            Rsid rsid531 = new Rsid() { Val = "00DF14E1" };
            Rsid rsid532 = new Rsid() { Val = "00DF50CA" };
            Rsid rsid533 = new Rsid() { Val = "00DF71F8" };
            Rsid rsid534 = new Rsid() { Val = "00DF7A1D" };
            Rsid rsid535 = new Rsid() { Val = "00E01429" };
            Rsid rsid536 = new Rsid() { Val = "00E0169F" };
            Rsid rsid537 = new Rsid() { Val = "00E0607E" };
            Rsid rsid538 = new Rsid() { Val = "00E12034" };
            Rsid rsid539 = new Rsid() { Val = "00E1250A" };
            Rsid rsid540 = new Rsid() { Val = "00E23707" };
            Rsid rsid541 = new Rsid() { Val = "00E23AC5" };
            Rsid rsid542 = new Rsid() { Val = "00E23B0A" };
            Rsid rsid543 = new Rsid() { Val = "00E24E56" };
            Rsid rsid544 = new Rsid() { Val = "00E27210" };
            Rsid rsid545 = new Rsid() { Val = "00E31290" };
            Rsid rsid546 = new Rsid() { Val = "00E3130B" };
            Rsid rsid547 = new Rsid() { Val = "00E31C6F" };
            Rsid rsid548 = new Rsid() { Val = "00E32064" };
            Rsid rsid549 = new Rsid() { Val = "00E340CC" };
            Rsid rsid550 = new Rsid() { Val = "00E461C6" };
            Rsid rsid551 = new Rsid() { Val = "00E51784" };
            Rsid rsid552 = new Rsid() { Val = "00E55B54" };
            Rsid rsid553 = new Rsid() { Val = "00E560D4" };
            Rsid rsid554 = new Rsid() { Val = "00E61216" };
            Rsid rsid555 = new Rsid() { Val = "00E61BC8" };
            Rsid rsid556 = new Rsid() { Val = "00E6525C" };
            Rsid rsid557 = new Rsid() { Val = "00E70E3A" };
            Rsid rsid558 = new Rsid() { Val = "00E714A6" };
            Rsid rsid559 = new Rsid() { Val = "00E745A0" };
            Rsid rsid560 = new Rsid() { Val = "00E75E67" };
            Rsid rsid561 = new Rsid() { Val = "00E76728" };
            Rsid rsid562 = new Rsid() { Val = "00E85D8A" };
            Rsid rsid563 = new Rsid() { Val = "00EB02A3" };
            Rsid rsid564 = new Rsid() { Val = "00EB135B" };
            Rsid rsid565 = new Rsid() { Val = "00EB4A0C" };
            Rsid rsid566 = new Rsid() { Val = "00EB61FB" };
            Rsid rsid567 = new Rsid() { Val = "00ED3794" };
            Rsid rsid568 = new Rsid() { Val = "00ED7CA9" };
            Rsid rsid569 = new Rsid() { Val = "00EE2379" };
            Rsid rsid570 = new Rsid() { Val = "00EE7B69" };
            Rsid rsid571 = new Rsid() { Val = "00F02BCF" };
            Rsid rsid572 = new Rsid() { Val = "00F04EF5" };
            Rsid rsid573 = new Rsid() { Val = "00F1393E" };
            Rsid rsid574 = new Rsid() { Val = "00F22E15" };
            Rsid rsid575 = new Rsid() { Val = "00F23038" };
            Rsid rsid576 = new Rsid() { Val = "00F235A9" };
            Rsid rsid577 = new Rsid() { Val = "00F31361" };
            Rsid rsid578 = new Rsid() { Val = "00F31DFE" };
            Rsid rsid579 = new Rsid() { Val = "00F32438" };
            Rsid rsid580 = new Rsid() { Val = "00F342A0" };
            Rsid rsid581 = new Rsid() { Val = "00F34666" };
            Rsid rsid582 = new Rsid() { Val = "00F378DE" };
            Rsid rsid583 = new Rsid() { Val = "00F40AED" };
            Rsid rsid584 = new Rsid() { Val = "00F43E8A" };
            Rsid rsid585 = new Rsid() { Val = "00F561B1" };
            Rsid rsid586 = new Rsid() { Val = "00F617B8" };
            Rsid rsid587 = new Rsid() { Val = "00F61A04" };
            Rsid rsid588 = new Rsid() { Val = "00F66B7D" };
            Rsid rsid589 = new Rsid() { Val = "00F7153C" };
            Rsid rsid590 = new Rsid() { Val = "00F723D6" };
            Rsid rsid591 = new Rsid() { Val = "00F77926" };
            Rsid rsid592 = new Rsid() { Val = "00F8047A" };
            Rsid rsid593 = new Rsid() { Val = "00F811E2" };
            Rsid rsid594 = new Rsid() { Val = "00F83E0C" };
            Rsid rsid595 = new Rsid() { Val = "00F85916" };
            Rsid rsid596 = new Rsid() { Val = "00F90086" };
            Rsid rsid597 = new Rsid() { Val = "00F97D85" };
            Rsid rsid598 = new Rsid() { Val = "00FA196D" };
            Rsid rsid599 = new Rsid() { Val = "00FA3E05" };
            Rsid rsid600 = new Rsid() { Val = "00FA773F" };
            Rsid rsid601 = new Rsid() { Val = "00FA79D4" };
            Rsid rsid602 = new Rsid() { Val = "00FB4196" };
            Rsid rsid603 = new Rsid() { Val = "00FB4EAB" };
            Rsid rsid604 = new Rsid() { Val = "00FB6AB0" };
            Rsid rsid605 = new Rsid() { Val = "00FB6E9A" };
            Rsid rsid606 = new Rsid() { Val = "00FC0F0D" };
            Rsid rsid607 = new Rsid() { Val = "00FC430A" };
            Rsid rsid608 = new Rsid() { Val = "00FC4A2D" };
            Rsid rsid609 = new Rsid() { Val = "00FC5AC6" };
            Rsid rsid610 = new Rsid() { Val = "00FD3FAA" };
            Rsid rsid611 = new Rsid() { Val = "00FD741A" };
            Rsid rsid612 = new Rsid() { Val = "00FE5962" };
            Rsid rsid613 = new Rsid() { Val = "00FF1CD4" };
            Rsid rsid614 = new Rsid() { Val = "00FF61CB" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);
            rsids1.Append(rsid157);
            rsids1.Append(rsid158);
            rsids1.Append(rsid159);
            rsids1.Append(rsid160);
            rsids1.Append(rsid161);
            rsids1.Append(rsid162);
            rsids1.Append(rsid163);
            rsids1.Append(rsid164);
            rsids1.Append(rsid165);
            rsids1.Append(rsid166);
            rsids1.Append(rsid167);
            rsids1.Append(rsid168);
            rsids1.Append(rsid169);
            rsids1.Append(rsid170);
            rsids1.Append(rsid171);
            rsids1.Append(rsid172);
            rsids1.Append(rsid173);
            rsids1.Append(rsid174);
            rsids1.Append(rsid175);
            rsids1.Append(rsid176);
            rsids1.Append(rsid177);
            rsids1.Append(rsid178);
            rsids1.Append(rsid179);
            rsids1.Append(rsid180);
            rsids1.Append(rsid181);
            rsids1.Append(rsid182);
            rsids1.Append(rsid183);
            rsids1.Append(rsid184);
            rsids1.Append(rsid185);
            rsids1.Append(rsid186);
            rsids1.Append(rsid187);
            rsids1.Append(rsid188);
            rsids1.Append(rsid189);
            rsids1.Append(rsid190);
            rsids1.Append(rsid191);
            rsids1.Append(rsid192);
            rsids1.Append(rsid193);
            rsids1.Append(rsid194);
            rsids1.Append(rsid195);
            rsids1.Append(rsid196);
            rsids1.Append(rsid197);
            rsids1.Append(rsid198);
            rsids1.Append(rsid199);
            rsids1.Append(rsid200);
            rsids1.Append(rsid201);
            rsids1.Append(rsid202);
            rsids1.Append(rsid203);
            rsids1.Append(rsid204);
            rsids1.Append(rsid205);
            rsids1.Append(rsid206);
            rsids1.Append(rsid207);
            rsids1.Append(rsid208);
            rsids1.Append(rsid209);
            rsids1.Append(rsid210);
            rsids1.Append(rsid211);
            rsids1.Append(rsid212);
            rsids1.Append(rsid213);
            rsids1.Append(rsid214);
            rsids1.Append(rsid215);
            rsids1.Append(rsid216);
            rsids1.Append(rsid217);
            rsids1.Append(rsid218);
            rsids1.Append(rsid219);
            rsids1.Append(rsid220);
            rsids1.Append(rsid221);
            rsids1.Append(rsid222);
            rsids1.Append(rsid223);
            rsids1.Append(rsid224);
            rsids1.Append(rsid225);
            rsids1.Append(rsid226);
            rsids1.Append(rsid227);
            rsids1.Append(rsid228);
            rsids1.Append(rsid229);
            rsids1.Append(rsid230);
            rsids1.Append(rsid231);
            rsids1.Append(rsid232);
            rsids1.Append(rsid233);
            rsids1.Append(rsid234);
            rsids1.Append(rsid235);
            rsids1.Append(rsid236);
            rsids1.Append(rsid237);
            rsids1.Append(rsid238);
            rsids1.Append(rsid239);
            rsids1.Append(rsid240);
            rsids1.Append(rsid241);
            rsids1.Append(rsid242);
            rsids1.Append(rsid243);
            rsids1.Append(rsid244);
            rsids1.Append(rsid245);
            rsids1.Append(rsid246);
            rsids1.Append(rsid247);
            rsids1.Append(rsid248);
            rsids1.Append(rsid249);
            rsids1.Append(rsid250);
            rsids1.Append(rsid251);
            rsids1.Append(rsid252);
            rsids1.Append(rsid253);
            rsids1.Append(rsid254);
            rsids1.Append(rsid255);
            rsids1.Append(rsid256);
            rsids1.Append(rsid257);
            rsids1.Append(rsid258);
            rsids1.Append(rsid259);
            rsids1.Append(rsid260);
            rsids1.Append(rsid261);
            rsids1.Append(rsid262);
            rsids1.Append(rsid263);
            rsids1.Append(rsid264);
            rsids1.Append(rsid265);
            rsids1.Append(rsid266);
            rsids1.Append(rsid267);
            rsids1.Append(rsid268);
            rsids1.Append(rsid269);
            rsids1.Append(rsid270);
            rsids1.Append(rsid271);
            rsids1.Append(rsid272);
            rsids1.Append(rsid273);
            rsids1.Append(rsid274);
            rsids1.Append(rsid275);
            rsids1.Append(rsid276);
            rsids1.Append(rsid277);
            rsids1.Append(rsid278);
            rsids1.Append(rsid279);
            rsids1.Append(rsid280);
            rsids1.Append(rsid281);
            rsids1.Append(rsid282);
            rsids1.Append(rsid283);
            rsids1.Append(rsid284);
            rsids1.Append(rsid285);
            rsids1.Append(rsid286);
            rsids1.Append(rsid287);
            rsids1.Append(rsid288);
            rsids1.Append(rsid289);
            rsids1.Append(rsid290);
            rsids1.Append(rsid291);
            rsids1.Append(rsid292);
            rsids1.Append(rsid293);
            rsids1.Append(rsid294);
            rsids1.Append(rsid295);
            rsids1.Append(rsid296);
            rsids1.Append(rsid297);
            rsids1.Append(rsid298);
            rsids1.Append(rsid299);
            rsids1.Append(rsid300);
            rsids1.Append(rsid301);
            rsids1.Append(rsid302);
            rsids1.Append(rsid303);
            rsids1.Append(rsid304);
            rsids1.Append(rsid305);
            rsids1.Append(rsid306);
            rsids1.Append(rsid307);
            rsids1.Append(rsid308);
            rsids1.Append(rsid309);
            rsids1.Append(rsid310);
            rsids1.Append(rsid311);
            rsids1.Append(rsid312);
            rsids1.Append(rsid313);
            rsids1.Append(rsid314);
            rsids1.Append(rsid315);
            rsids1.Append(rsid316);
            rsids1.Append(rsid317);
            rsids1.Append(rsid318);
            rsids1.Append(rsid319);
            rsids1.Append(rsid320);
            rsids1.Append(rsid321);
            rsids1.Append(rsid322);
            rsids1.Append(rsid323);
            rsids1.Append(rsid324);
            rsids1.Append(rsid325);
            rsids1.Append(rsid326);
            rsids1.Append(rsid327);
            rsids1.Append(rsid328);
            rsids1.Append(rsid329);
            rsids1.Append(rsid330);
            rsids1.Append(rsid331);
            rsids1.Append(rsid332);
            rsids1.Append(rsid333);
            rsids1.Append(rsid334);
            rsids1.Append(rsid335);
            rsids1.Append(rsid336);
            rsids1.Append(rsid337);
            rsids1.Append(rsid338);
            rsids1.Append(rsid339);
            rsids1.Append(rsid340);
            rsids1.Append(rsid341);
            rsids1.Append(rsid342);
            rsids1.Append(rsid343);
            rsids1.Append(rsid344);
            rsids1.Append(rsid345);
            rsids1.Append(rsid346);
            rsids1.Append(rsid347);
            rsids1.Append(rsid348);
            rsids1.Append(rsid349);
            rsids1.Append(rsid350);
            rsids1.Append(rsid351);
            rsids1.Append(rsid352);
            rsids1.Append(rsid353);
            rsids1.Append(rsid354);
            rsids1.Append(rsid355);
            rsids1.Append(rsid356);
            rsids1.Append(rsid357);
            rsids1.Append(rsid358);
            rsids1.Append(rsid359);
            rsids1.Append(rsid360);
            rsids1.Append(rsid361);
            rsids1.Append(rsid362);
            rsids1.Append(rsid363);
            rsids1.Append(rsid364);
            rsids1.Append(rsid365);
            rsids1.Append(rsid366);
            rsids1.Append(rsid367);
            rsids1.Append(rsid368);
            rsids1.Append(rsid369);
            rsids1.Append(rsid370);
            rsids1.Append(rsid371);
            rsids1.Append(rsid372);
            rsids1.Append(rsid373);
            rsids1.Append(rsid374);
            rsids1.Append(rsid375);
            rsids1.Append(rsid376);
            rsids1.Append(rsid377);
            rsids1.Append(rsid378);
            rsids1.Append(rsid379);
            rsids1.Append(rsid380);
            rsids1.Append(rsid381);
            rsids1.Append(rsid382);
            rsids1.Append(rsid383);
            rsids1.Append(rsid384);
            rsids1.Append(rsid385);
            rsids1.Append(rsid386);
            rsids1.Append(rsid387);
            rsids1.Append(rsid388);
            rsids1.Append(rsid389);
            rsids1.Append(rsid390);
            rsids1.Append(rsid391);
            rsids1.Append(rsid392);
            rsids1.Append(rsid393);
            rsids1.Append(rsid394);
            rsids1.Append(rsid395);
            rsids1.Append(rsid396);
            rsids1.Append(rsid397);
            rsids1.Append(rsid398);
            rsids1.Append(rsid399);
            rsids1.Append(rsid400);
            rsids1.Append(rsid401);
            rsids1.Append(rsid402);
            rsids1.Append(rsid403);
            rsids1.Append(rsid404);
            rsids1.Append(rsid405);
            rsids1.Append(rsid406);
            rsids1.Append(rsid407);
            rsids1.Append(rsid408);
            rsids1.Append(rsid409);
            rsids1.Append(rsid410);
            rsids1.Append(rsid411);
            rsids1.Append(rsid412);
            rsids1.Append(rsid413);
            rsids1.Append(rsid414);
            rsids1.Append(rsid415);
            rsids1.Append(rsid416);
            rsids1.Append(rsid417);
            rsids1.Append(rsid418);
            rsids1.Append(rsid419);
            rsids1.Append(rsid420);
            rsids1.Append(rsid421);
            rsids1.Append(rsid422);
            rsids1.Append(rsid423);
            rsids1.Append(rsid424);
            rsids1.Append(rsid425);
            rsids1.Append(rsid426);
            rsids1.Append(rsid427);
            rsids1.Append(rsid428);
            rsids1.Append(rsid429);
            rsids1.Append(rsid430);
            rsids1.Append(rsid431);
            rsids1.Append(rsid432);
            rsids1.Append(rsid433);
            rsids1.Append(rsid434);
            rsids1.Append(rsid435);
            rsids1.Append(rsid436);
            rsids1.Append(rsid437);
            rsids1.Append(rsid438);
            rsids1.Append(rsid439);
            rsids1.Append(rsid440);
            rsids1.Append(rsid441);
            rsids1.Append(rsid442);
            rsids1.Append(rsid443);
            rsids1.Append(rsid444);
            rsids1.Append(rsid445);
            rsids1.Append(rsid446);
            rsids1.Append(rsid447);
            rsids1.Append(rsid448);
            rsids1.Append(rsid449);
            rsids1.Append(rsid450);
            rsids1.Append(rsid451);
            rsids1.Append(rsid452);
            rsids1.Append(rsid453);
            rsids1.Append(rsid454);
            rsids1.Append(rsid455);
            rsids1.Append(rsid456);
            rsids1.Append(rsid457);
            rsids1.Append(rsid458);
            rsids1.Append(rsid459);
            rsids1.Append(rsid460);
            rsids1.Append(rsid461);
            rsids1.Append(rsid462);
            rsids1.Append(rsid463);
            rsids1.Append(rsid464);
            rsids1.Append(rsid465);
            rsids1.Append(rsid466);
            rsids1.Append(rsid467);
            rsids1.Append(rsid468);
            rsids1.Append(rsid469);
            rsids1.Append(rsid470);
            rsids1.Append(rsid471);
            rsids1.Append(rsid472);
            rsids1.Append(rsid473);
            rsids1.Append(rsid474);
            rsids1.Append(rsid475);
            rsids1.Append(rsid476);
            rsids1.Append(rsid477);
            rsids1.Append(rsid478);
            rsids1.Append(rsid479);
            rsids1.Append(rsid480);
            rsids1.Append(rsid481);
            rsids1.Append(rsid482);
            rsids1.Append(rsid483);
            rsids1.Append(rsid484);
            rsids1.Append(rsid485);
            rsids1.Append(rsid486);
            rsids1.Append(rsid487);
            rsids1.Append(rsid488);
            rsids1.Append(rsid489);
            rsids1.Append(rsid490);
            rsids1.Append(rsid491);
            rsids1.Append(rsid492);
            rsids1.Append(rsid493);
            rsids1.Append(rsid494);
            rsids1.Append(rsid495);
            rsids1.Append(rsid496);
            rsids1.Append(rsid497);
            rsids1.Append(rsid498);
            rsids1.Append(rsid499);
            rsids1.Append(rsid500);
            rsids1.Append(rsid501);
            rsids1.Append(rsid502);
            rsids1.Append(rsid503);
            rsids1.Append(rsid504);
            rsids1.Append(rsid505);
            rsids1.Append(rsid506);
            rsids1.Append(rsid507);
            rsids1.Append(rsid508);
            rsids1.Append(rsid509);
            rsids1.Append(rsid510);
            rsids1.Append(rsid511);
            rsids1.Append(rsid512);
            rsids1.Append(rsid513);
            rsids1.Append(rsid514);
            rsids1.Append(rsid515);
            rsids1.Append(rsid516);
            rsids1.Append(rsid517);
            rsids1.Append(rsid518);
            rsids1.Append(rsid519);
            rsids1.Append(rsid520);
            rsids1.Append(rsid521);
            rsids1.Append(rsid522);
            rsids1.Append(rsid523);
            rsids1.Append(rsid524);
            rsids1.Append(rsid525);
            rsids1.Append(rsid526);
            rsids1.Append(rsid527);
            rsids1.Append(rsid528);
            rsids1.Append(rsid529);
            rsids1.Append(rsid530);
            rsids1.Append(rsid531);
            rsids1.Append(rsid532);
            rsids1.Append(rsid533);
            rsids1.Append(rsid534);
            rsids1.Append(rsid535);
            rsids1.Append(rsid536);
            rsids1.Append(rsid537);
            rsids1.Append(rsid538);
            rsids1.Append(rsid539);
            rsids1.Append(rsid540);
            rsids1.Append(rsid541);
            rsids1.Append(rsid542);
            rsids1.Append(rsid543);
            rsids1.Append(rsid544);
            rsids1.Append(rsid545);
            rsids1.Append(rsid546);
            rsids1.Append(rsid547);
            rsids1.Append(rsid548);
            rsids1.Append(rsid549);
            rsids1.Append(rsid550);
            rsids1.Append(rsid551);
            rsids1.Append(rsid552);
            rsids1.Append(rsid553);
            rsids1.Append(rsid554);
            rsids1.Append(rsid555);
            rsids1.Append(rsid556);
            rsids1.Append(rsid557);
            rsids1.Append(rsid558);
            rsids1.Append(rsid559);
            rsids1.Append(rsid560);
            rsids1.Append(rsid561);
            rsids1.Append(rsid562);
            rsids1.Append(rsid563);
            rsids1.Append(rsid564);
            rsids1.Append(rsid565);
            rsids1.Append(rsid566);
            rsids1.Append(rsid567);
            rsids1.Append(rsid568);
            rsids1.Append(rsid569);
            rsids1.Append(rsid570);
            rsids1.Append(rsid571);
            rsids1.Append(rsid572);
            rsids1.Append(rsid573);
            rsids1.Append(rsid574);
            rsids1.Append(rsid575);
            rsids1.Append(rsid576);
            rsids1.Append(rsid577);
            rsids1.Append(rsid578);
            rsids1.Append(rsid579);
            rsids1.Append(rsid580);
            rsids1.Append(rsid581);
            rsids1.Append(rsid582);
            rsids1.Append(rsid583);
            rsids1.Append(rsid584);
            rsids1.Append(rsid585);
            rsids1.Append(rsid586);
            rsids1.Append(rsid587);
            rsids1.Append(rsid588);
            rsids1.Append(rsid589);
            rsids1.Append(rsid590);
            rsids1.Append(rsid591);
            rsids1.Append(rsid592);
            rsids1.Append(rsid593);
            rsids1.Append(rsid594);
            rsids1.Append(rsid595);
            rsids1.Append(rsid596);
            rsids1.Append(rsid597);
            rsids1.Append(rsid598);
            rsids1.Append(rsid599);
            rsids1.Append(rsid600);
            rsids1.Append(rsid601);
            rsids1.Append(rsid602);
            rsids1.Append(rsid603);
            rsids1.Append(rsid604);
            rsids1.Append(rsid605);
            rsids1.Append(rsid606);
            rsids1.Append(rsid607);
            rsids1.Append(rsid608);
            rsids1.Append(rsid609);
            rsids1.Append(rsid610);
            rsids1.Append(rsid611);
            rsids1.Append(rsid612);
            rsids1.Append(rsid613);
            rsids1.Append(rsid614);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Off };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            AttachedSchema attachedSchema1 = new AttachedSchema() { Val = "http://hubblereports.com/namespace" };
            AttachedSchema attachedSchema2 = new AttachedSchema() { Val = "errors@http://hubblereports.com/namespace" };
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "fr-CA" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 300034 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "," };
            ListSeparator listSeparator1 = new ListSeparator() { Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(attachedTemplate1);
            settings1.Append(linkStyles1);
            settings1.Append(defaultTabStop1);
            settings1.Append(hyphenationZone1);
            settings1.Append(noPunctuationKerning1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(doNotValidateAgainstSchema1);
            settings1.Append(saveInvalidXml1);
            settings1.Append(ignoreMixedContent1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(attachedSchema1);
            settings1.Append(attachedSchema2);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #18
0
        // Generates content of documentSettingsPart2.
        private void GenerateDocumentSettingsPart2Content(DocumentSettingsPart documentSettingsPart2)
        {
            Settings settings2 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings2.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings2.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings2.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings2.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings2.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings2.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings2.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            settings2.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "100" };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader2 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter2 = new BordersDoNotSurroundFooter();
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop2 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid2 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid2 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl2 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults1.Append(textBox1);

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference(){ Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference(){ Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference(){ Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference(){ Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility2 = new Compatibility();
            SpaceForUnderline spaceForUnderline2 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth2 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone2 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces2 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn2 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable2 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout2 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting6 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting7 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting8 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting9 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting10 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility2.Append(spaceForUnderline2);
            compatibility2.Append(balanceSingleByteDoubleByteWidth2);
            compatibility2.Append(doNotLeaveBackslashAlone2);
            compatibility2.Append(underlineTrailingSpaces2);
            compatibility2.Append(doNotExpandShiftReturn2);
            compatibility2.Append(adjustLineHeightInTable2);
            compatibility2.Append(useFarEastLayout2);
            compatibility2.Append(compatibilitySetting6);
            compatibility2.Append(compatibilitySetting7);
            compatibility2.Append(compatibilitySetting8);
            compatibility2.Append(compatibilitySetting9);
            compatibility2.Append(compatibilitySetting10);

            Rsids rsids2 = new Rsids();
            RsidRoot rsidRoot2 = new RsidRoot(){ Val = "000010BA" };
            Rsid rsid21 = new Rsid(){ Val = "000010BA" };
            Rsid rsid22 = new Rsid(){ Val = "000C1702" };
            Rsid rsid23 = new Rsid(){ Val = "00221A5E" };
            Rsid rsid24 = new Rsid(){ Val = "00535C5E" };
            Rsid rsid25 = new Rsid(){ Val = "005A792B" };
            Rsid rsid26 = new Rsid(){ Val = "006D4DFB" };
            Rsid rsid27 = new Rsid(){ Val = "009651D6" };
            Rsid rsid28 = new Rsid(){ Val = "00A215C1" };
            Rsid rsid29 = new Rsid(){ Val = "00CC7467" };
            Rsid rsid30 = new Rsid(){ Val = "00DC649D" };
            Rsid rsid31 = new Rsid(){ Val = "00E86739" };
            Rsid rsid32 = new Rsid(){ Val = "00E90381" };
            Rsid rsid33 = new Rsid(){ Val = "00E930A2" };

            rsids2.Append(rsidRoot2);
            rsids2.Append(rsid21);
            rsids2.Append(rsid22);
            rsids2.Append(rsid23);
            rsids2.Append(rsid24);
            rsids2.Append(rsid25);
            rsids2.Append(rsid26);
            rsids2.Append(rsid27);
            rsids2.Append(rsid28);
            rsids2.Append(rsid29);
            rsids2.Append(rsid30);
            rsids2.Append(rsid31);
            rsids2.Append(rsid32);
            rsids2.Append(rsid33);

            M.MathProperties mathProperties2 = new M.MathProperties();
            M.MathFont mathFont2 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary2 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction2 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction2 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults2 = new M.DisplayDefaults();
            M.LeftMargin leftMargin2 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin2 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification2 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent2 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation2 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation2 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties2.Append(mathFont2);
            mathProperties2.Append(breakBinary2);
            mathProperties2.Append(breakBinarySubtraction2);
            mathProperties2.Append(smallFraction2);
            mathProperties2.Append(displayDefaults2);
            mathProperties2.Append(leftMargin2);
            mathProperties2.Append(rightMargin2);
            mathProperties2.Append(defaultJustification2);
            mathProperties2.Append(wrapIndent2);
            mathProperties2.Append(integralLimitLocation2);
            mathProperties2.Append(naryLimitLocation2);
            ThemeFontLanguages themeFontLanguages2 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping2 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox2 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults3.Append(textBox2);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol2 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator2 = new ListSeparator(){ Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased2 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{855411F9-778F-4476-A693-CE4F6511E7CE}" };

            settings2.Append(zoom1);
            settings2.Append(bordersDoNotSurroundHeader2);
            settings2.Append(bordersDoNotSurroundFooter2);
            settings2.Append(proofState1);
            settings2.Append(defaultTabStop2);
            settings2.Append(displayHorizontalDrawingGrid2);
            settings2.Append(displayVerticalDrawingGrid2);
            settings2.Append(characterSpacingControl2);
            settings2.Append(headerShapeDefaults1);
            settings2.Append(footnoteDocumentWideProperties1);
            settings2.Append(endnoteDocumentWideProperties1);
            settings2.Append(compatibility2);
            settings2.Append(rsids2);
            settings2.Append(mathProperties2);
            settings2.Append(themeFontLanguages2);
            settings2.Append(colorSchemeMapping2);
            settings2.Append(shapeDefaults2);
            settings2.Append(decimalSymbol2);
            settings2.Append(listSeparator2);
            settings2.Append(chartTrackingRefBased2);
            settings2.Append(persistentDocumentId1);

            documentSettingsPart2.Settings = settings2;
        }
Example #19
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings();
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 709 };
            Compatibility compatibility1 = new Compatibility();
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "", EastAsia = "", Bidi = "" };

            settings1.Append(zoom1);
            settings1.Append(defaultTabStop1);
            settings1.Append(compatibility1);
            settings1.Append(themeFontLanguages1);

            documentSettingsPart1.Settings = settings1;
        }