Esempio n. 1
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;
        }
Esempio n. 2
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;
        }
Esempio n. 3
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;
        }
Esempio n. 4
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;
        }
Esempio n. 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" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 708 };
            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 = 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 = "00FA5335" };
            Rsid rsid1 = new Rsid() { Val = "00F97AAF" };
            Rsid rsid2 = new Rsid() { Val = "00FA5335" };

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

            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 };
            DoNotIncludeSubdocsInStats doNotIncludeSubdocsInStats1 = new DoNotIncludeSubdocsInStats();

            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 = ";" };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{50EFB71F-15A8-4BFB-B5BC-D0617C334839}" };

            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(doNotIncludeSubdocsInStats1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
Esempio n. 6
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;
        }
Esempio n. 7
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/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;
        }