NumberingSymbolRunProperties

We found 10 examples in language CSharp for this search. You will see 50 fragments of code.

    internal override bool IsInVersion(FileFormatVersions version)
    {
      return ((FileFormatVersions.Office2007 | FileFormatVersions.Office2010 | FileFormatVersions.Office2013) & version) > FileFormatVersions.None;
    }

    internal override OpenXmlElement ElementFactory(byte namespaceId, string name)
    {
      if (23 == (int) namespaceId && "start" == name)
        return (OpenXmlElement) new StartNumberingValue();
      if (23 == (int) namespaceId && "numFmt" == name)
        return (OpenXmlElement) new NumberingFormat();
      if (23 == (int) namespaceId && "lvlRestart" == name)
        return (OpenXmlElement) new LevelRestart();
      if (23 == (int) namespaceId && "pStyle" == name)
        return (OpenXmlElement) new ParagraphStyleIdInLevel();
      if (23 == (int) namespaceId && "isLgl" == name)
        return (OpenXmlElement) new IsLegalNumberingStyle();
      if (23 == (int) namespaceId && "suff" == name)
        return (OpenXmlElement) new LevelSuffix();
      if (23 == (int) namespaceId && "lvlText" == name)
        return (OpenXmlElement) new LevelText();
      if (23 == (int) namespaceId && "lvlPicBulletId" == name)
        return (OpenXmlElement) new LevelPictureBulletId();
      if (23 == (int) namespaceId && "legacy" == name)
        return (OpenXmlElement) new LegacyNumbering();
      if (23 == (int) namespaceId && "lvlJc" == name)
        return (OpenXmlElement) new LevelJustification();
      if (23 == (int) namespaceId && "pPr" == name)
        return (OpenXmlElement) new PreviousParagraphProperties();
      if (23 == (int) namespaceId && "rPr" == name)
        return (OpenXmlElement) new NumberingSymbolRunProperties();
      return (OpenXmlElement) null;
    }

    internal override OpenXmlSimpleType AttributeFactory(byte namespaceId, string name)
    {
      if (23 == (int) namespaceId && "ilvl" == name)
        return (OpenXmlSimpleType) new Int32Value();
      if (23 == (int) namespaceId && "tplc" == name)
        return (OpenXmlSimpleType) new HexBinaryValue();
      if (23 == (int) namespaceId && "tentative" == name)
        return (OpenXmlSimpleType) new OnOffValue();
      return base.AttributeFactory(namespaceId, name);
    }

    public override OpenXmlElement CloneNode(bool deep)
    {
      return (OpenXmlElement) this.CloneImp<Level>(deep);
    }


    internal override bool IsInVersion(FileFormatVersions version)
    {
      return ((FileFormatVersions.Office2007 | FileFormatVersions.Office2010 | FileFormatVersions.Office2013) & version) > FileFormatVersions.None;
    }

    internal override OpenXmlElement ElementFactory(byte namespaceId, string name)
    {
      if (23 == (int) namespaceId && "rFonts" == name)
        return (OpenXmlElement) new RunFonts();
      if (23 == (int) namespaceId && "b" == name)
        return (OpenXmlElement) new Bold();
      if (23 == (int) namespaceId && "bCs" == name)
        return (OpenXmlElement) new BoldComplexScript();
      if (23 == (int) namespaceId && "i" == name)
        return (OpenXmlElement) new Italic();
      if (23 == (int) namespaceId && "iCs" == name)
        return (OpenXmlElement) new ItalicComplexScript();
      if (23 == (int) namespaceId && "caps" == name)
        return (OpenXmlElement) new Caps();
      if (23 == (int) namespaceId && "smallCaps" == name)
        return (OpenXmlElement) new SmallCaps();
      if (23 == (int) namespaceId && "strike" == name)
        return (OpenXmlElement) new Strike();
      if (23 == (int) namespaceId && "dstrike" == name)
        return (OpenXmlElement) new DoubleStrike();
      if (23 == (int) namespaceId && "outline" == name)
        return (OpenXmlElement) new Outline();
      if (23 == (int) namespaceId && "shadow" == name)
        return (OpenXmlElement) new Shadow();
      if (23 == (int) namespaceId && "emboss" == name)
        return (OpenXmlElement) new Emboss();
      if (23 == (int) namespaceId && "imprint" == name)
        return (OpenXmlElement) new Imprint();
      if (23 == (int) namespaceId && "noProof" == name)
        return (OpenXmlElement) new NoProof();
      if (23 == (int) namespaceId && "snapToGrid" == name)
        return (OpenXmlElement) new SnapToGrid();
      if (23 == (int) namespaceId && "vanish" == name)
        return (OpenXmlElement) new Vanish();
      if (23 == (int) namespaceId && "webHidden" == name)
        return (OpenXmlElement) new WebHidden();
      if (23 == (int) namespaceId && "color" == name)
        return (OpenXmlElement) new Color();
      if (23 == (int) namespaceId && "spacing" == name)
        return (OpenXmlElement) new Spacing();
      if (23 == (int) namespaceId && "w" == name)
        return (OpenXmlElement) new CharacterScale();
      if (23 == (int) namespaceId && "kern" == name)
        return (OpenXmlElement) new Kern();
      if (23 == (int) namespaceId && "position" == name)
        return (OpenXmlElement) new Position();
      if (23 == (int) namespaceId && "sz" == name)
        return (OpenXmlElement) new FontSize();
      if (23 == (int) namespaceId && "szCs" == name)
        return (OpenXmlElement) new FontSizeComplexScript();
      if (23 == (int) namespaceId && "u" == name)
        return (OpenXmlElement) new Underline();
      if (23 == (int) namespaceId && "effect" == name)
        return (OpenXmlElement) new TextEffect();
      if (23 == (int) namespaceId && "bdr" == name)
        return (OpenXmlElement) new Border();
      if (23 == (int) namespaceId && "shd" == name)
        return (OpenXmlElement) new Shading();
      if (23 == (int) namespaceId && "fitText" == name)
        return (OpenXmlElement) new FitText();
      if (23 == (int) namespaceId && "vertAlign" == name)
        return (OpenXmlElement) new VerticalTextAlignment();
      if (23 == (int) namespaceId && "rtl" == name)
        return (OpenXmlElement) new RightToLeftText();
      if (23 == (int) namespaceId && "cs" == name)
        return (OpenXmlElement) new ComplexScript();
      if (23 == (int) namespaceId && "em" == name)
        return (OpenXmlElement) new Emphasis();
      if (23 == (int) namespaceId && "lang" == name)
        return (OpenXmlElement) new Languages();
      if (23 == (int) namespaceId && "eastAsianLayout" == name)
        return (OpenXmlElement) new EastAsianLayout();
      if (23 == (int) namespaceId && "specVanish" == name)
        return (OpenXmlElement) new SpecVanish();
      return (OpenXmlElement) null;
    }

    public override OpenXmlElement CloneNode(bool deep)
    {
      return (OpenXmlElement) this.CloneImp<NumberingSymbolRunProperties>(deep);
    }


        public void ApplyStyle(Paragraph paragraph, FontStyles style, int level)
        {
            paragraph.ApplyStyleId("ListParagraph");
            var listId = GetListStyleId(style);
            paragraph.AppendChild(new NumberingProperties()
            {
                NumberingLevelReference = new NumberingLevelReference() { Val = level },
                NumberingId = new NumberingId() { Val = listId }
            });
        }

        private int CreateAbstractNum(FontStyles style)
        {
            var abstractNumberId = _numberingPart.Numbering.Elements<AbstractNum>().Count() + 1;
            AbstractNum abstractNum = new()
            {
                AbstractNumberId = abstractNumberId,
                MultiLevelType = new MultiLevelType() {Val = MultiLevelValues.Multilevel}
            };
            switch (style)
            {
                case FontStyles.NumberList:
                    AddNumberListLevels(abstractNum);
                    break;
                case FontStyles.BulletList:
                    AddBulletListLevels(abstractNum);
                    break;
                default:
                    throw new ArgumentOutOfRangeException(nameof(style), style, null);
            }

            if (abstractNumberId == 1)
            {
                _numberingPart.Numbering.AppendChild(abstractNum);
            }
            else
            {
                AbstractNum lastAbstractNum = _numberingPart.Numbering.Elements<AbstractNum>().Last();
                _numberingPart.Numbering.InsertAfter(abstractNum, lastAbstractNum);
            }

            return abstractNumberId;
        }

        private static string GetNumberingTextTemplate(int level)
        {
            var sb = new StringBuilder();
            for (int i = 0; i < level; i++)
            {
                sb.Append($"%{i + 1}.");
            }

            return sb.ToString();
        }

        private static void AddNumberListLevels(AbstractNum abstractNum)
        {
            var maxLevel = Math.Min(10, FontStyles.NumberList.GetMaxLevel());
            for (int i = 0, indStart = IndStart; i < maxLevel; i++, indStart += IndStep)
            {
                var level = new Level()
                {
                    LevelIndex = i,
                    NumberingFormat = new NumberingFormat { Val = NumberFormatValues.Decimal },
                    StartNumberingValue = new StartNumberingValue {Val = 1},
                    LevelText = new LevelText { Val = GetNumberingTextTemplate(i + 1) },
                    LevelJustification = new LevelJustification() {Val = LevelJustificationValues.Left},
                    PreviousParagraphProperties = new PreviousParagraphProperties() {Indentation = new Indentation() {Left = indStart.ToString(), Hanging = IndStart.ToString()}}
                };
                abstractNum.AppendChild(level);        
            }
        }

        private static void AddBulletListLevels(AbstractNum abstractNum)
        {
            var maxLevel = Math.Min(10, FontStyles.BulletList.GetMaxLevel());
            for (int i = 0, indStart = IndStart; i < maxLevel; i++, indStart += IndStep)
            {
                var level = new Level()
                {
                    LevelIndex = i,
                    NumberingFormat = new NumberingFormat { Val = NumberFormatValues.Bullet },
                    LevelText = new LevelText { Val = "" },
                    LevelJustification = new LevelJustification() {Val = LevelJustificationValues.Left},
                    PreviousParagraphProperties = new PreviousParagraphProperties()
                    {
                        Indentation = new Indentation() {Left = indStart.ToString(), Hanging = IndStart.ToString()}
                    },
                    NumberingSymbolRunProperties = new NumberingSymbolRunProperties()
                    {
                        RunFonts = new RunFonts() {Ascii = "Symbol", HighAnsi = "Symbol", Hint = FontTypeHintValues.Default}
                    }
                };
                abstractNum.AppendChild(level);        
            }
        }
        private int CreateNumberingInstance(int abstractNumberId)
        {
            var numberId = _numberingPart.Numbering.Elements<NumberingInstance>().Count() + 1;
            NumberingInstance numberingInstance1 = new() { NumberID = numberId };
            AbstractNumId abstractNumId1 = new() { Val = abstractNumberId };
            numberingInstance1.AppendChild(abstractNumId1);

            if (numberId == 1)
            {
                _numberingPart.Numbering.AppendChild(numberingInstance1);
            }
            else
            {
                var lastNumberingInstance = _numberingPart.Numbering.Elements<NumberingInstance>().Last();
                _numberingPart.Numbering.InsertAfter(numberingInstance1, lastNumberingInstance);
            }

            return numberId;
        }

        //.....................................................................
        /// <summary>
        /// 
        /// </summary>
        /// <param name="numberingPART"></param>
        public static void Generate( NumberingDefinitionsPart numberingPART )
        {
            OpenDocxNumbering openxml = new OpenDocxNumbering( );
            
            openxml.GenerateNumbering( numberingPART );

            return;
        }

        //.....................................................................
        /// <summary>
        /// Generates content of numberingPART. 
        /// </summary>
        /// <param name="numberingPART"></param>
        public void GenerateNumbering( NumberingDefinitionsPart numberingPART )
        {
            AbstractNum abstractNum1 = this.MakeAbstractNum01( );
            AbstractNum abstractNum2 = this.MakeAbstractNum02( );
            AbstractNum abstractNum3 = this.MakeAbstractNum03( );
            AbstractNum abstractNum4 = this.MakeAbstractNum04( );
            AbstractNum abstractNum5 = this.MakeAbstractNum05( );
            AbstractNum abstractNum6 = this.MakeAbstractNum06( );
            AbstractNum abstractNum7 = this.MakeAbstractNum07( );
            AbstractNum abstractNum8 = this.MakeAbstractNum08( );

            //.............................................
            //
            NumberingInstance numberingInstance1 = new NumberingInstance( ) { NumberID = 1 };
            NumberingInstance numberingInstance2 = new NumberingInstance( ) { NumberID = 2 };
            NumberingInstance numberingInstance3 = new NumberingInstance( ) { NumberID = 3 };
            NumberingInstance numberingInstance4 = new NumberingInstance( ) { NumberID = 4 };
            NumberingInstance numberingInstance5 = new NumberingInstance( ) { NumberID = 5 };
            NumberingInstance numberingInstance6 = new NumberingInstance( ) { NumberID = 6 };
            NumberingInstance numberingInstance7 = new NumberingInstance( ) { NumberID = 7 };
            NumberingInstance numberingInstance8 = new NumberingInstance( ) { NumberID = 8 };

            //AbstractNumId abstractNumId1 = new AbstractNumId( ) { Val = 1 };
            //AbstractNumId abstractNumId2 = new AbstractNumId( ) { Val = 5 };
            //AbstractNumId abstractNumId3 = new AbstractNumId( ) { Val = 6 };
            //AbstractNumId abstractNumId4 = new AbstractNumId( ) { Val = 3 };
            //AbstractNumId abstractNumId5 = new AbstractNumId( ) { Val = 7 };
            //AbstractNumId abstractNumId6 = new AbstractNumId( ) { Val = 0 };
            //AbstractNumId abstractNumId7 = new AbstractNumId( ) { Val = 4 };
            //AbstractNumId abstractNumId8 = new AbstractNumId( ) { Val = 2 };

            AbstractNumId abstractNumId1 = new AbstractNumId( ) { Val = 0 };
            AbstractNumId abstractNumId2 = new AbstractNumId( ) { Val = 1 };
            AbstractNumId abstractNumId3 = new AbstractNumId( ) { Val = 2 };
            AbstractNumId abstractNumId4 = new AbstractNumId( ) { Val = 3 };
            AbstractNumId abstractNumId5 = new AbstractNumId( ) { Val = 4 };
            AbstractNumId abstractNumId6 = new AbstractNumId( ) { Val = 5 };
            AbstractNumId abstractNumId7 = new AbstractNumId( ) { Val = 6 };
            AbstractNumId abstractNumId8 = new AbstractNumId( ) { Val = 7 };

            numberingInstance1.Append( abstractNumId1 );
            numberingInstance2.Append( abstractNumId2 );
            numberingInstance3.Append( abstractNumId3 );
            numberingInstance4.Append( abstractNumId4 );
            numberingInstance5.Append( abstractNumId5 );
            numberingInstance6.Append( abstractNumId6 );
            numberingInstance7.Append( abstractNumId7 );
            numberingInstance8.Append( abstractNumId8 );

            Numbering numbering = this.NewNumbering( );

            numbering.Append( abstractNum1 );
            numbering.Append( abstractNum2 );
            numbering.Append( abstractNum3 );
            numbering.Append( abstractNum4 );
            numbering.Append( abstractNum5 );
            numbering.Append( abstractNum6 );
            numbering.Append( abstractNum7 );
            numbering.Append( abstractNum8 );

            numbering.Append( numberingInstance1 );
            numbering.Append( numberingInstance2 );
            numbering.Append( numberingInstance3 );
            numbering.Append( numberingInstance4 );
            numbering.Append( numberingInstance5 );
            numbering.Append( numberingInstance6 );
            numbering.Append( numberingInstance7 );
            numbering.Append( numberingInstance8 );

            numberingPART.Numbering = numbering;

            return;
        }

        //.....................................................................
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        private AbstractNum MakeAbstractNum01( )
        {
            AbstractNum abstractNum1 = new AbstractNum( ) { AbstractNumberId = 0 };

            Nsid nsid1 = new Nsid( ) { Val = "022F7CA0" };

            MultiLevelType multiLevelType1 = new MultiLevelType( ) { Val = MultiLevelValues.Multilevel };

            TemplateCode templateCode1 = new TemplateCode( ) { Val = "8EDADCD0" };

            //.............................................
            Level level1 = new Level( ) { LevelIndex = 0 };
            StartNumberingValue startNumberingValue1 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat1 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText1 = new LevelText( ) { Val = "%1" };
            LevelJustification levelJustification1 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties( );
            Indentation indentation1 = new Indentation( ) { Left = "425", Hanging = "425" };

            previousParagraphProperties1.Append( indentation1 );

            NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties( );
            RunFonts runFonts7 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties1.Append( runFonts7 );

            level1.Append( startNumberingValue1 );
            level1.Append( numberingFormat1 );
            level1.Append( levelText1 );
            level1.Append( levelJustification1 );
            level1.Append( previousParagraphProperties1 );
            level1.Append( numberingSymbolRunProperties1 );

            //.............................................
            Level level2 = new Level( ) { LevelIndex = 1 };
            StartNumberingValue startNumberingValue2 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat2 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText2 = new LevelText( ) { Val = "%1.%2" };
            LevelJustification levelJustification2 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties( );
            Indentation indentation2 = new Indentation( ) { Left = "992", Hanging = "567" };

            previousParagraphProperties2.Append( indentation2 );

            NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties( );
            RunFonts runFonts8 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties2.Append( runFonts8 );

            level2.Append( startNumberingValue2 );
            level2.Append( numberingFormat2 );
            level2.Append( levelText2 );
            level2.Append( levelJustification2 );
            level2.Append( previousParagraphProperties2 );
            level2.Append( numberingSymbolRunProperties2 );

            //.............................................
            Level level3 = new Level( ) { LevelIndex = 2 };
            StartNumberingValue startNumberingValue3 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat3 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText3 = new LevelText( ) { Val = "%2.%1.%3" };
            LevelJustification levelJustification3 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties( );
            Indentation indentation3 = new Indentation( ) { Left = "1418", Hanging = "567" };

            previousParagraphProperties3.Append( indentation3 );

            NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties( );
            RunFonts runFonts9 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties3.Append( runFonts9 );

            level3.Append( startNumberingValue3 );
            level3.Append( numberingFormat3 );
            level3.Append( levelText3 );
            level3.Append( levelJustification3 );
            level3.Append( previousParagraphProperties3 );
            level3.Append( numberingSymbolRunProperties3 );

            //.............................................
            Level level4 = new Level( ) { LevelIndex = 3 };
            StartNumberingValue startNumberingValue4 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat4 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText4 = new LevelText( ) { Val = "%1.%2.%3.%4" };
            LevelJustification levelJustification4 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties( );
            Indentation indentation4 = new Indentation( ) { Left = "1984", Hanging = "708" };

            previousParagraphProperties4.Append( indentation4 );

            NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties( );
            RunFonts runFonts10 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties4.Append( runFonts10 );

            level4.Append( startNumberingValue4 );
            level4.Append( numberingFormat4 );
            level4.Append( levelText4 );
            level4.Append( levelJustification4 );
            level4.Append( previousParagraphProperties4 );
            level4.Append( numberingSymbolRunProperties4 );

            //.............................................
            Level level5 = new Level( ) { LevelIndex = 4 };
            StartNumberingValue startNumberingValue5 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat5 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText5 = new LevelText( ) { Val = "%1.%2.%3.%4.%5" };
            LevelJustification levelJustification5 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties( );
            Indentation indentation5 = new Indentation( ) { Left = "2551", Hanging = "850" };

            previousParagraphProperties5.Append( indentation5 );

            NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties( );
            RunFonts runFonts11 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties5.Append( runFonts11 );

            level5.Append( startNumberingValue5 );
            level5.Append( numberingFormat5 );
            level5.Append( levelText5 );
            level5.Append( levelJustification5 );
            level5.Append( previousParagraphProperties5 );
            level5.Append( numberingSymbolRunProperties5 );

            //.............................................
            Level level6 = new Level( ) { LevelIndex = 5 };
            StartNumberingValue startNumberingValue6 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat6 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText6 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6" };
            LevelJustification levelJustification6 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties( );
            Indentation indentation6 = new Indentation( ) { Left = "3260", Hanging = "1134" };

            previousParagraphProperties6.Append( indentation6 );

            NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties( );
            RunFonts runFonts12 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties6.Append( runFonts12 );

            level6.Append( startNumberingValue6 );
            level6.Append( numberingFormat6 );
            level6.Append( levelText6 );
            level6.Append( levelJustification6 );
            level6.Append( previousParagraphProperties6 );
            level6.Append( numberingSymbolRunProperties6 );

            //.............................................
            Level level7 = new Level( ) { LevelIndex = 6 };
            StartNumberingValue startNumberingValue7 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat7 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText7 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7" };
            LevelJustification levelJustification7 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties( );
            Indentation indentation7 = new Indentation( ) { Left = "3827", Hanging = "1276" };

            previousParagraphProperties7.Append( indentation7 );

            NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties( );
            RunFonts runFonts13 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties7.Append( runFonts13 );

            level7.Append( startNumberingValue7 );
            level7.Append( numberingFormat7 );
            level7.Append( levelText7 );
            level7.Append( levelJustification7 );
            level7.Append( previousParagraphProperties7 );
            level7.Append( numberingSymbolRunProperties7 );

            //.............................................
            Level level8 = new Level( ) { LevelIndex = 7 };
            StartNumberingValue startNumberingValue8 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat8 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText8 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8" };
            LevelJustification levelJustification8 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties( );
            Indentation indentation8 = new Indentation( ) { Left = "4394", Hanging = "1418" };

            previousParagraphProperties8.Append( indentation8 );

            NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties( );
            RunFonts runFonts14 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties8.Append( runFonts14 );

            level8.Append( startNumberingValue8 );
            level8.Append( numberingFormat8 );
            level8.Append( levelText8 );
            level8.Append( levelJustification8 );
            level8.Append( previousParagraphProperties8 );
            level8.Append( numberingSymbolRunProperties8 );

            //.............................................
            Level level9 = new Level( ) { LevelIndex = 8 };
            StartNumberingValue startNumberingValue9 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat9 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText9 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9" };
            LevelJustification levelJustification9 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties( );
            Indentation indentation9 = new Indentation( ) { Left = "5102", Hanging = "1700" };

            previousParagraphProperties9.Append( indentation9 );

            NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties( );
            RunFonts runFonts15 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            numberingSymbolRunProperties9.Append( runFonts15 );

            level9.Append( startNumberingValue9 );
            level9.Append( numberingFormat9 );
            level9.Append( levelText9 );
            level9.Append( levelJustification9 );
            level9.Append( previousParagraphProperties9 );
            level9.Append( numberingSymbolRunProperties9 );

            abstractNum1.Append( nsid1 );
            abstractNum1.Append( multiLevelType1 );
            abstractNum1.Append( templateCode1 );
            abstractNum1.Append( level1 );
            abstractNum1.Append( level2 );
            abstractNum1.Append( level3 );
            abstractNum1.Append( level4 );
            abstractNum1.Append( level5 );
            abstractNum1.Append( level6 );
            abstractNum1.Append( level7 );
            abstractNum1.Append( level8 );
            abstractNum1.Append( level9 );
            return abstractNum1;
        }

        //.....................................................................
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        private AbstractNum MakeAbstractNum02( )
        {
            AbstractNum abstractNum2 = new AbstractNum( ) { AbstractNumberId = 1 };

            Nsid nsid2 = new Nsid( ) { Val = "0935562F" };
            MultiLevelType multiLevelType2 = new MultiLevelType( ) { Val = MultiLevelValues.Multilevel };
            TemplateCode templateCode2 = new TemplateCode( ) { Val = "0409001D" };

            Level level10 = new Level( ) { LevelIndex = 0 };
            StartNumberingValue startNumberingValue10 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat10 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText10 = new LevelText( ) { Val = "%1" };
            LevelJustification levelJustification10 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties10 = new PreviousParagraphProperties( );
            Indentation indentation10 = new Indentation( ) { Left = "425", Hanging = "425" };

            previousParagraphProperties10.Append( indentation10 );

            level10.Append( startNumberingValue10 );
            level10.Append( numberingFormat10 );
            level10.Append( levelText10 );
            level10.Append( levelJustification10 );
            level10.Append( previousParagraphProperties10 );

            Level level11 = new Level( ) { LevelIndex = 1 };
            StartNumberingValue startNumberingValue11 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat11 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText11 = new LevelText( ) { Val = "%1.%2" };
            LevelJustification levelJustification11 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties11 = new PreviousParagraphProperties( );
            Indentation indentation11 = new Indentation( ) { Left = "992", Hanging = "567" };

            previousParagraphProperties11.Append( indentation11 );

            level11.Append( startNumberingValue11 );
            level11.Append( numberingFormat11 );
            level11.Append( levelText11 );
            level11.Append( levelJustification11 );
            level11.Append( previousParagraphProperties11 );

            Level level12 = new Level( ) { LevelIndex = 2 };
            StartNumberingValue startNumberingValue12 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat12 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText12 = new LevelText( ) { Val = "%1.%2.%3" };
            LevelJustification levelJustification12 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties12 = new PreviousParagraphProperties( );
            Indentation indentation12 = new Indentation( ) { Left = "1418", Hanging = "567" };

            previousParagraphProperties12.Append( indentation12 );

            level12.Append( startNumberingValue12 );
            level12.Append( numberingFormat12 );
            level12.Append( levelText12 );
            level12.Append( levelJustification12 );
            level12.Append( previousParagraphProperties12 );

            Level level13 = new Level( ) { LevelIndex = 3 };
            StartNumberingValue startNumberingValue13 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat13 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText13 = new LevelText( ) { Val = "%1.%2.%3.%4" };
            LevelJustification levelJustification13 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties13 = new PreviousParagraphProperties( );
            Indentation indentation13 = new Indentation( ) { Left = "1984", Hanging = "708" };

            previousParagraphProperties13.Append( indentation13 );

            level13.Append( startNumberingValue13 );
            level13.Append( numberingFormat13 );
            level13.Append( levelText13 );
            level13.Append( levelJustification13 );
            level13.Append( previousParagraphProperties13 );

            Level level14 = new Level( ) { LevelIndex = 4 };
            StartNumberingValue startNumberingValue14 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat14 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText14 = new LevelText( ) { Val = "%1.%2.%3.%4.%5" };
            LevelJustification levelJustification14 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties14 = new PreviousParagraphProperties( );
            Indentation indentation14 = new Indentation( ) { Left = "2551", Hanging = "850" };

            previousParagraphProperties14.Append( indentation14 );

            level14.Append( startNumberingValue14 );
            level14.Append( numberingFormat14 );
            level14.Append( levelText14 );
            level14.Append( levelJustification14 );
            level14.Append( previousParagraphProperties14 );

            Level level15 = new Level( ) { LevelIndex = 5 };
            StartNumberingValue startNumberingValue15 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat15 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText15 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6" };
            LevelJustification levelJustification15 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties15 = new PreviousParagraphProperties( );
            Indentation indentation15 = new Indentation( ) { Left = "3260", Hanging = "1134" };

            previousParagraphProperties15.Append( indentation15 );

            level15.Append( startNumberingValue15 );
            level15.Append( numberingFormat15 );
            level15.Append( levelText15 );
            level15.Append( levelJustification15 );
            level15.Append( previousParagraphProperties15 );

            Level level16 = new Level( ) { LevelIndex = 6 };
            StartNumberingValue startNumberingValue16 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat16 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText16 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7" };
            LevelJustification levelJustification16 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties16 = new PreviousParagraphProperties( );
            Indentation indentation16 = new Indentation( ) { Left = "3827", Hanging = "1276" };

            previousParagraphProperties16.Append( indentation16 );

            level16.Append( startNumberingValue16 );
            level16.Append( numberingFormat16 );
            level16.Append( levelText16 );
            level16.Append( levelJustification16 );
            level16.Append( previousParagraphProperties16 );

            Level level17 = new Level( ) { LevelIndex = 7 };
            StartNumberingValue startNumberingValue17 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat17 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText17 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8" };
            LevelJustification levelJustification17 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties17 = new PreviousParagraphProperties( );
            Indentation indentation17 = new Indentation( ) { Left = "4394", Hanging = "1418" };

            previousParagraphProperties17.Append( indentation17 );

            level17.Append( startNumberingValue17 );
            level17.Append( numberingFormat17 );
            level17.Append( levelText17 );
            level17.Append( levelJustification17 );
            level17.Append( previousParagraphProperties17 );

            Level level18 = new Level( ) { LevelIndex = 8 };
            StartNumberingValue startNumberingValue18 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat18 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText18 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9" };
            LevelJustification levelJustification18 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties18 = new PreviousParagraphProperties( );
            Indentation indentation18 = new Indentation( ) { Left = "5102", Hanging = "1700" };

            previousParagraphProperties18.Append( indentation18 );

            level18.Append( startNumberingValue18 );
            level18.Append( numberingFormat18 );
            level18.Append( levelText18 );
            level18.Append( levelJustification18 );
            level18.Append( previousParagraphProperties18 );

            abstractNum2.Append( nsid2 );
            abstractNum2.Append( multiLevelType2 );
            abstractNum2.Append( templateCode2 );
            abstractNum2.Append( level10 );
            abstractNum2.Append( level11 );
            abstractNum2.Append( level12 );
            abstractNum2.Append( level13 );
            abstractNum2.Append( level14 );
            abstractNum2.Append( level15 );
            abstractNum2.Append( level16 );
            abstractNum2.Append( level17 );
            abstractNum2.Append( level18 );

            return abstractNum2;
        }

        //.....................................................................
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        private AbstractNum MakeAbstractNum03( )
        {
            AbstractNum abstractNum3 = new AbstractNum( ) { AbstractNumberId = 2 };
            Nsid nsid3 = new Nsid( ) { Val = "0AB74251" };
            MultiLevelType multiLevelType3 = new MultiLevelType( ) { Val = MultiLevelValues.Multilevel };
            TemplateCode templateCode3 = new TemplateCode( ) { Val = "0409001D" };

            //.............................................
            Level level19 = new Level( ) { LevelIndex = 0 };
            StartNumberingValue startNumberingValue19 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat19 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText19 = new LevelText( ) { Val = "%1" };
            LevelJustification levelJustification19 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties19 = new PreviousParagraphProperties( );
            Indentation indentation19 = new Indentation( ) { Left = "425", Hanging = "425" };

            previousParagraphProperties19.Append( indentation19 );

            level19.Append( startNumberingValue19 );
            level19.Append( numberingFormat19 );
            level19.Append( levelText19 );
            level19.Append( levelJustification19 );
            level19.Append( previousParagraphProperties19 );

            //.............................................
            Level level20 = new Level( ) { LevelIndex = 1 };
            StartNumberingValue startNumberingValue20 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat20 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText20 = new LevelText( ) { Val = "%1.%2" };
            LevelJustification levelJustification20 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties20 = new PreviousParagraphProperties( );
            Indentation indentation20 = new Indentation( ) { Left = "992", Hanging = "567" };

            previousParagraphProperties20.Append( indentation20 );

            level20.Append( startNumberingValue20 );
            level20.Append( numberingFormat20 );
            level20.Append( levelText20 );
            level20.Append( levelJustification20 );
            level20.Append( previousParagraphProperties20 );

            //.............................................
            Level level21 = new Level( ) { LevelIndex = 2 };
            StartNumberingValue startNumberingValue21 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat21 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText21 = new LevelText( ) { Val = "%1.%2.%3" };
            LevelJustification levelJustification21 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties21 = new PreviousParagraphProperties( );
            Indentation indentation21 = new Indentation( ) { Left = "1418", Hanging = "567" };

            previousParagraphProperties21.Append( indentation21 );

            level21.Append( startNumberingValue21 );
            level21.Append( numberingFormat21 );
            level21.Append( levelText21 );
            level21.Append( levelJustification21 );
            level21.Append( previousParagraphProperties21 );

            //.............................................
            Level level22 = new Level( ) { LevelIndex = 3 };
            StartNumberingValue startNumberingValue22 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat22 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText22 = new LevelText( ) { Val = "%1.%2.%3.%4" };
            LevelJustification levelJustification22 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties22 = new PreviousParagraphProperties( );
            Indentation indentation22 = new Indentation( ) { Left = "1984", Hanging = "708" };

            previousParagraphProperties22.Append( indentation22 );

            level22.Append( startNumberingValue22 );
            level22.Append( numberingFormat22 );
            level22.Append( levelText22 );
            level22.Append( levelJustification22 );
            level22.Append( previousParagraphProperties22 );

            //.............................................
            Level level23 = new Level( ) { LevelIndex = 4 };
            StartNumberingValue startNumberingValue23 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat23 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText23 = new LevelText( ) { Val = "%1.%2.%3.%4.%5" };
            LevelJustification levelJustification23 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties23 = new PreviousParagraphProperties( );
            Indentation indentation23 = new Indentation( ) { Left = "2551", Hanging = "850" };

            previousParagraphProperties23.Append( indentation23 );

            level23.Append( startNumberingValue23 );
            level23.Append( numberingFormat23 );
            level23.Append( levelText23 );
            level23.Append( levelJustification23 );
            level23.Append( previousParagraphProperties23 );

            //.............................................
            Level level24 = new Level( ) { LevelIndex = 5 };
            StartNumberingValue startNumberingValue24 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat24 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText24 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6" };
            LevelJustification levelJustification24 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties24 = new PreviousParagraphProperties( );
            Indentation indentation24 = new Indentation( ) { Left = "3260", Hanging = "1134" };

            previousParagraphProperties24.Append( indentation24 );

            level24.Append( startNumberingValue24 );
            level24.Append( numberingFormat24 );
            level24.Append( levelText24 );
            level24.Append( levelJustification24 );
            level24.Append( previousParagraphProperties24 );

            Level level25 = new Level( ) { LevelIndex = 6 };
            StartNumberingValue startNumberingValue25 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat25 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText25 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7" };
            LevelJustification levelJustification25 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties25 = new PreviousParagraphProperties( );
            Indentation indentation25 = new Indentation( ) { Left = "3827", Hanging = "1276" };

            previousParagraphProperties25.Append( indentation25 );

            level25.Append( startNumberingValue25 );
            level25.Append( numberingFormat25 );
            level25.Append( levelText25 );
            level25.Append( levelJustification25 );
            level25.Append( previousParagraphProperties25 );

            Level level26 = new Level( ) { LevelIndex = 7 };
            StartNumberingValue startNumberingValue26 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat26 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText26 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8" };
            LevelJustification levelJustification26 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties26 = new PreviousParagraphProperties( );
            Indentation indentation26 = new Indentation( ) { Left = "4394", Hanging = "1418" };

            previousParagraphProperties26.Append( indentation26 );

            level26.Append( startNumberingValue26 );
            level26.Append( numberingFormat26 );
            level26.Append( levelText26 );
            level26.Append( levelJustification26 );
            level26.Append( previousParagraphProperties26 );

            Level level27 = new Level( ) { LevelIndex = 8 };
            StartNumberingValue startNumberingValue27 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat27 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText27 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9" };
            LevelJustification levelJustification27 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties27 = new PreviousParagraphProperties( );
            Indentation indentation27 = new Indentation( ) { Left = "5102", Hanging = "1700" };

            previousParagraphProperties27.Append( indentation27 );

            level27.Append( startNumberingValue27 );
            level27.Append( numberingFormat27 );
            level27.Append( levelText27 );
            level27.Append( levelJustification27 );
            level27.Append( previousParagraphProperties27 );

            abstractNum3.Append( nsid3 );
            abstractNum3.Append( multiLevelType3 );
            abstractNum3.Append( templateCode3 );
            abstractNum3.Append( level19 );
            abstractNum3.Append( level20 );
            abstractNum3.Append( level21 );
            abstractNum3.Append( level22 );
            abstractNum3.Append( level23 );
            abstractNum3.Append( level24 );
            abstractNum3.Append( level25 );
            abstractNum3.Append( level26 );
            abstractNum3.Append( level27 );
            return abstractNum3;
        }

        //.....................................................................
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        private AbstractNum MakeAbstractNum04( )
        {
            AbstractNum abstractNum4 = new AbstractNum( ) { AbstractNumberId = 3 };
            Nsid nsid4 = new Nsid( ) { Val = "18787621" };
            MultiLevelType multiLevelType4 = new MultiLevelType( ) { Val = MultiLevelValues.Multilevel };
            TemplateCode templateCode4 = new TemplateCode( ) { Val = "0409001D" };

            Level level28 = new Level( ) { LevelIndex = 0 };
            StartNumberingValue startNumberingValue28 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat28 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText28 = new LevelText( ) { Val = "%1" };
            LevelJustification levelJustification28 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties28 = new PreviousParagraphProperties( );
            Indentation indentation28 = new Indentation( ) { Left = "425", Hanging = "425" };

            previousParagraphProperties28.Append( indentation28 );

            level28.Append( startNumberingValue28 );
            level28.Append( numberingFormat28 );
            level28.Append( levelText28 );
            level28.Append( levelJustification28 );
            level28.Append( previousParagraphProperties28 );

            Level level29 = new Level( ) { LevelIndex = 1 };
            StartNumberingValue startNumberingValue29 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat29 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText29 = new LevelText( ) { Val = "%1.%2" };
            LevelJustification levelJustification29 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties29 = new PreviousParagraphProperties( );
            Indentation indentation29 = new Indentation( ) { Left = "992", Hanging = "567" };

            previousParagraphProperties29.Append( indentation29 );

            level29.Append( startNumberingValue29 );
            level29.Append( numberingFormat29 );
            level29.Append( levelText29 );
            level29.Append( levelJustification29 );
            level29.Append( previousParagraphProperties29 );

            Level level30 = new Level( ) { LevelIndex = 2 };
            StartNumberingValue startNumberingValue30 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat30 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText30 = new LevelText( ) { Val = "%1.%2.%3" };
            LevelJustification levelJustification30 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties30 = new PreviousParagraphProperties( );
            Indentation indentation30 = new Indentation( ) { Left = "1418", Hanging = "567" };

            previousParagraphProperties30.Append( indentation30 );

            level30.Append( startNumberingValue30 );
            level30.Append( numberingFormat30 );
            level30.Append( levelText30 );
            level30.Append( levelJustification30 );
            level30.Append( previousParagraphProperties30 );

            Level level31 = new Level( ) { LevelIndex = 3 };
            StartNumberingValue startNumberingValue31 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat31 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText31 = new LevelText( ) { Val = "%1.%2.%3.%4" };
            LevelJustification levelJustification31 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties31 = new PreviousParagraphProperties( );
            Indentation indentation31 = new Indentation( ) { Left = "1984", Hanging = "708" };

            previousParagraphProperties31.Append( indentation31 );

            level31.Append( startNumberingValue31 );
            level31.Append( numberingFormat31 );
            level31.Append( levelText31 );
            level31.Append( levelJustification31 );
            level31.Append( previousParagraphProperties31 );

            Level level32 = new Level( ) { LevelIndex = 4 };
            StartNumberingValue startNumberingValue32 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat32 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText32 = new LevelText( ) { Val = "%1.%2.%3.%4.%5" };
            LevelJustification levelJustification32 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties32 = new PreviousParagraphProperties( );
            Indentation indentation32 = new Indentation( ) { Left = "2551", Hanging = "850" };

            previousParagraphProperties32.Append( indentation32 );

            level32.Append( startNumberingValue32 );
            level32.Append( numberingFormat32 );
            level32.Append( levelText32 );
            level32.Append( levelJustification32 );
            level32.Append( previousParagraphProperties32 );

            Level level33 = new Level( ) { LevelIndex = 5 };
            StartNumberingValue startNumberingValue33 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat33 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText33 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6" };
            LevelJustification levelJustification33 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties33 = new PreviousParagraphProperties( );
            Indentation indentation33 = new Indentation( ) { Left = "3260", Hanging = "1134" };

            previousParagraphProperties33.Append( indentation33 );

            level33.Append( startNumberingValue33 );
            level33.Append( numberingFormat33 );
            level33.Append( levelText33 );
            level33.Append( levelJustification33 );
            level33.Append( previousParagraphProperties33 );

            Level level34 = new Level( ) { LevelIndex = 6 };
            StartNumberingValue startNumberingValue34 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat34 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText34 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7" };
            LevelJustification levelJustification34 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties34 = new PreviousParagraphProperties( );
            Indentation indentation34 = new Indentation( ) { Left = "3827", Hanging = "1276" };

            previousParagraphProperties34.Append( indentation34 );

            level34.Append( startNumberingValue34 );
            level34.Append( numberingFormat34 );
            level34.Append( levelText34 );
            level34.Append( levelJustification34 );
            level34.Append( previousParagraphProperties34 );

            Level level35 = new Level( ) { LevelIndex = 7 };
            StartNumberingValue startNumberingValue35 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat35 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText35 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8" };
            LevelJustification levelJustification35 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties35 = new PreviousParagraphProperties( );
            Indentation indentation35 = new Indentation( ) { Left = "4394", Hanging = "1418" };

            previousParagraphProperties35.Append( indentation35 );

            level35.Append( startNumberingValue35 );
            level35.Append( numberingFormat35 );
            level35.Append( levelText35 );
            level35.Append( levelJustification35 );
            level35.Append( previousParagraphProperties35 );

            Level level36 = new Level( ) { LevelIndex = 8 };
            StartNumberingValue startNumberingValue36 = new StartNumberingValue( ) { Val = 1 };
            NumberingFormat numberingFormat36 = new NumberingFormat( ) { Val = NumberFormatValues.Decimal };
            LevelText levelText36 = new LevelText( ) { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9" };
            LevelJustification levelJustification36 = new LevelJustification( ) { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties36 = new PreviousParagraphProperties( );
            Indentation indentation36 = new Indentation( ) { Left = "5102", Hanging = "1700" };

            previousParagraphProperties36.Append( indentation36 );

            level36.Append( startNumberingValue36 );
            level36.Append( numberingFormat36 );
            level36.Append( levelText36 );
            level36.Append( levelJustification36 );
            level36.Append( previousParagraphProperties36 );

            abstractNum4.Append( nsid4 );
            abstractNum4.Append( multiLevelType4 );
            abstractNum4.Append( templateCode4 );
            abstractNum4.Append( level28 );
            abstractNum4.Append( level29 );
            abstractNum4.Append( level30 );
            abstractNum4.Append( level31 );
            abstractNum4.Append( level32 );
            abstractNum4.Append( level33 );
            abstractNum4.Append( level34 );
            abstractNum4.Append( level35 );
            abstractNum4.Append( level36 );
            return abstractNum4;
        }


    /// <summary>
    /// Writes the <see cref="ListBlock"/> to the specified renderer.
    /// </summary>
    /// <param name="renderer">The renderer.</param>
    /// <param name="listBlock">The list block to write.</param>
    protected override void Write(OpenXMLRenderer renderer, ListBlock listBlock)
    {
      // https://stackoverflow.com/questions/1940911/openxml-2-sdk-word-document-create-bulleted-list-programmatically

      // Get the level of this list block
      int level = 0;
      ContainerBlock b = listBlock;
      while (b is not null)
      {
        if (b is ListBlock)
          ++level;
        b = b.Parent;
      }

      // Note: currently, we have for each list an own abstract numbering definition
      // This is not neccessary: if the structure of the list is the same than that of a list before,
      // in theory we can use the same abstract numbering definition for that.

      if (1 == level)
      {
        // Add an abstract numbering definition
        // An abstract numbering definition is a definition of the numbering styles of the different levels of a list
        // and can be used for multiple lists
        _currentAbstractNumberingDefinition = AddAbstractNumberingDefinition(renderer);

        // Add an Number Id
        // The number id is a unique instance, that refers to the abstract numbering definition
        // and is used by our current list
        _currentNonabstractNumberingId = AddNonabstractNumberId(renderer);
      }

      AddLevelToAbstractNumberingDefinition(renderer, level, listBlock.IsOrdered);




      AddListItems(renderer, listBlock, level, _currentNonabstractNumberingId);


      if (1 == level)
      {
        _currentAbstractNumberingDefinition = null;
        _currentNonabstractNumberingId = 0;
      }
    }

    /// <summary>
    /// Adds the abstract numbering definition. The abstract numbering definition can be thought of as the list class, which can have multiple instances.
    /// In this definition the styles of the different list levels will be defined, but here we add the definitions part only.
    /// The level definitions will be added to this on demand later.
    /// </summary>
    /// <param name="renderer">The renderer.</param>
    /// <returns>The abstract numbering definition.</returns>
    private AbstractNum AddAbstractNumberingDefinition(OpenXMLRenderer renderer)
    {
      var wordDocument = renderer._wordDocument ?? throw new ArgumentException("Render document is null");

      // Introduce bulleted numbering in case it will be needed at some point
      NumberingDefinitionsPart numberingPart = wordDocument.MainDocumentPart.NumberingDefinitionsPart;
      if (numberingPart is null)
      {
        numberingPart = wordDocument.MainDocumentPart.AddNewPart<NumberingDefinitionsPart>("NumberingDefinitionsPart001");
        var element = new Numbering();
        element.Save(numberingPart);
      }

      // Insert an AbstractNum into the numbering part numbering list.
      // The order seems to matter or it will not pass the
      // Open XML SDK Productity Tools validation test.
      // AbstractNum comes first and then NumberingInstance and we want to
      // insert this AFTER the last AbstractNum and BEFORE the first NumberingInstance or we will get a validation error.
      var abstractNumberId = numberingPart.Numbering.Elements<AbstractNum>().Count() + 1;
      var abstractNum1 = new AbstractNum() { AbstractNumberId = abstractNumberId };

      abstractNum1.AppendChild(new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel });

      if (abstractNumberId == 1)
      {
        numberingPart.Numbering.Append(abstractNum1);
      }
      else
      {
        AbstractNum lastAbstractNum = numberingPart.Numbering.Elements<AbstractNum>().Last();
        numberingPart.Numbering.InsertAfter(abstractNum1, lastAbstractNum);
      }
      return abstractNum1;
    }

    /// <summary>
    /// Creates a list instace be creating a (nonabstract) numbering instance. This is an element with a unique number (which is returned)
    /// that refers to the abstract numbering definition.
    /// </summary>
    /// <param name="renderer">The renderer.</param>
    /// <returns>The unique identifer. Is used afterwards in the list.</returns>
    public int AddNonabstractNumberId(OpenXMLRenderer renderer)
    {
      var wordDocument = renderer._wordDocument ?? throw new ArgumentException("Render document is null");
      var currentAbstractNumberingDefinition = _currentAbstractNumberingDefinition ?? throw new ArgumentException("Current numbering definition is null");

      NumberingDefinitionsPart numberingPart = wordDocument.MainDocumentPart.NumberingDefinitionsPart;

      var abstractNumberId = currentAbstractNumberingDefinition.AbstractNumberId;

      // Insert an NumberingInstance into the numbering part numbering list.  The order seems to matter or it will not pass the
      // Open XML SDK Productity Tools validation test.  AbstractNum comes first and then NumberingInstance and we want to
      // insert this AFTER the last NumberingInstance and AFTER all the AbstractNum entries or we will get a validation error.
      var numberId = numberingPart.Numbering.Elements<NumberingInstance>().Count() + 1;
      var numberingInstance1 = new NumberingInstance() { NumberID = numberId };
      var abstractNumId1 = new AbstractNumId() { Val = abstractNumberId };
      numberingInstance1.Append(abstractNumId1);

      if (numberId == 1)
      {
        numberingPart.Numbering.Append(numberingInstance1);
      }
      else
      {
        var lastNumberingInstance = numberingPart.Numbering.Elements<NumberingInstance>().Last();
        numberingPart.Numbering.InsertAfter(numberingInstance1, lastNumberingInstance);
      }

      return numberId;
    }


    /// <summary>
    /// Adds the level to abstract numbering definition.
    /// </summary>
    /// <param name="renderer">The renderer.</param>
    /// <param name="level">The level to add (1..9).</param>
    /// <param name="isOrdered">If set to <c>true</c>, the list items will start with a number. If set to false, the items will start with a bullet.</param>
    private void AddLevelToAbstractNumberingDefinition(OpenXMLRenderer renderer, int level, bool isOrdered)
    {
      if (_currentAbstractNumberingDefinition is null)
        throw new ArgumentException($"{nameof(_currentAbstractNumberingDefinition)} is null");

      var presentLevels = _currentAbstractNumberingDefinition.ChildElements.OfType<Level>().Count();
      if (level <= presentLevels)
        return;

      var levelDef = GenerateLevel(level, isOrdered);

      if (levelDef is not null)
      {
        _currentAbstractNumberingDefinition.AppendChild(levelDef);
      }
    }

    /// <summary>
    /// Generates a level definition, either for a bullet list or for an ordered list.
    /// </summary>
    /// <param name="level">The level (1..9).</param>
    /// <param name="isOrdered">If set to <c>true</c>, this is an ordered list (numbers are shown before the list items),
    /// if false, this is an unordered list (bullets are shown before the list items).</param>
    /// <returns></returns>
    public Level GenerateLevel(int level, bool isOrdered)
    {
      var levelInst = new Level() { LevelIndex = level - 1 };
      var startNumberingValue1 = new StartNumberingValue() { Val = 1 };

      NumberingFormat numberingFormat;
      LevelText levelText;

      if (isOrdered)
      {
        numberingFormat = new NumberingFormat() { Val = NumberFormatValues.Decimal };
        levelText = new LevelText() { Val = string.Format(System.Globalization.CultureInfo.InvariantCulture, "%{0}.", level) };
      }
      else
      {
        numberingFormat = new NumberingFormat() { Val = NumberFormatValues.Bullet };
        levelText = new LevelText() { Val = "·" };
      }

      var levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left };

      var previousParagraphProperties = new PreviousParagraphProperties();
      string indentationLeft = (360 + 360 * level).ToString(System.Globalization.CultureInfo.InvariantCulture);
      var indentation1 = new Indentation() { Left = indentationLeft, Hanging = "360" };
      previousParagraphProperties.Append(indentation1);

      var numberingSymbolRunProperties = new NumberingSymbolRunProperties(); // needed only for bullet list, Font may depend on the bullet you want to show
      var runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" };
      numberingSymbolRunProperties.Append(runFonts1);

      levelInst.Append(startNumberingValue1);
      levelInst.Append(numberingFormat);
      levelInst.Append(levelText);
      levelInst.Append(levelJustification);
      levelInst.Append(previousParagraphProperties);
      if (!isOrdered)
      {
        levelInst.Append(numberingSymbolRunProperties);
      }
      return levelInst;
    }



    /// <summary>
    /// Adds the list items.
    /// </summary>
    /// <param name="renderer">The renderer.</param>
    /// <param name="listBlock">The list block for which the items should be added.</param>
    /// <param name="level">The current level of this list (1= main list, 2 = first sub list, etc.)</param>
    /// <param name="numberId">The unique identifier identifying this list. Note: it is the same identifier independent on the level.</param>
    public void AddListItems(OpenXMLRenderer renderer, ListBlock listBlock, int level, int numberId)
    {
      foreach (var item in listBlock)
      {
        // Create items for paragraph properties
        renderer.PushParagraphFormat(FormatStyle.ListParagraph);
        renderer.NumberingProperties = new NumberingProperties(new NumberingLevelReference() { Val = level - 1 }, new NumberingId() { Val = numberId });

        var listItem = (ListItemBlock)item;
        renderer.WriteChildren(listItem);

        renderer.NumberingProperties = null;
        renderer.PopParagraphFormat();
      }
    }


        private NumberingDefinitionsPart GetNumberingDefinitionsPart()
        {
            var numberingPart = MainDocumentPart.NumberingDefinitionsPart;
            if (numberingPart == null)
            {
                MainDocumentPart.AddNewPart<NumberingDefinitionsPart>();
                numberingPart = MainDocumentPart.NumberingDefinitionsPart;
                numberingPart.Numbering = new Numbering();
            }
            return numberingPart;
        }

        public bool IsOutsideOfListNumberingId(int numberingId)
        {
            return numberingId <= OutsideOfListNumberingId;
        }

        public int AddNumberingDefinition()
        {
            (var oxmlAbstractNum, var oxmlNumberingInstance) = NumberingElementCreator.CreateNumberingElementPair();

            var oxmlNumbering = GetNumberingDefinitionsPart().Numbering;
            oxmlNumbering.Append(oxmlAbstractNum, oxmlNumberingInstance);

            return oxmlNumberingInstance.NumberID;
        }

        public BulletType GetBulletType(char bulletTypeChar)
        {
            switch (bulletTypeChar)
            {
                case '-':
                case '*':
                    return BulletType.Unordered;

                case '1':
                    //return BulletType.Ordered;
                    return BulletType.Unordered;

                default:
                    throw new NotImplementedException(string.Format("Unknown bullet type: {0}", bulletTypeChar));
            }
        }

        public void SetNumberingFormat(int numberingId, int levelIndex, BulletType bulletType)
        {
            if (IsOutsideOfListNumberingId(numberingId)) throw new InvalidOperationException("Outside of the list.");
            if (levelIndex < 0) throw new ArgumentOutOfRangeException(nameof(levelIndex), levelIndex, "The level index is must be greater than equal 0.");

            var oxmlLevel = GetLevelElement(numberingId, levelIndex);
            switch (bulletType)
            {
                case BulletType.Ordered:
                    oxmlLevel.NumberingFormat.Val.Value = NumberFormatValues.Decimal;
                    oxmlLevel.LevelText.Val.Value = "%1.";
                    oxmlLevel.NumberingSymbolRunProperties.RunFonts.Ascii = null;
                    oxmlLevel.NumberingSymbolRunProperties.RunFonts.HighAnsi = null;
                    oxmlLevel.NumberingSymbolRunProperties.RunFonts.ComplexScript = null;
                    break;

                case BulletType.Unordered:
                    // Use default values.
                    break;

                default:
                    throw new NotImplementedException(string.Format("Unknown bullet type: {0}", bulletType.ToString()));
            }
        }

        public int GetNumberingLeftIndentation(int numberingId, int levelIndex)
        {
            // It does not have the left indentation, because it does not currently in the list.
            if (IsOutsideOfListNumberingId(numberingId) && levelIndex == 0)
            {
                return 0;
            }

            var oxmlLevel = GetLevelElement(numberingId, levelIndex);
            return Int32.Parse(oxmlLevel.PreviousParagraphProperties.Indentation.Left.Value);
        }

        // Creates a WordprocessingDocument.
        public void CreatePackage(string filePath)
        {
            using(WordprocessingDocument package = WordprocessingDocument.Create(filePath, WordprocessingDocumentType.Document))
            {
                CreateParts(package);
            }
        }

        // Adds child parts and generates content of the specified part.
        private void CreateParts(WordprocessingDocument document)
        {
            ExtendedFilePropertiesPart extendedFilePropertiesPart1 = document.AddNewPart<ExtendedFilePropertiesPart>("rId3");
            GenerateExtendedFilePropertiesPart1Content(extendedFilePropertiesPart1);

            MainDocumentPart mainDocumentPart1 = document.AddMainDocumentPart();
            GenerateMainDocumentPart1Content(mainDocumentPart1);

            ThemePart themePart1 = mainDocumentPart1.AddNewPart<ThemePart>("rId8");
            GenerateThemePart1Content(themePart1);

            DocumentSettingsPart documentSettingsPart1 = mainDocumentPart1.AddNewPart<DocumentSettingsPart>("rId3");
            GenerateDocumentSettingsPart1Content(documentSettingsPart1);

            FontTablePart fontTablePart1 = mainDocumentPart1.AddNewPart<FontTablePart>("rId7");
            GenerateFontTablePart1Content(fontTablePart1);

            StyleDefinitionsPart styleDefinitionsPart1 = mainDocumentPart1.AddNewPart<StyleDefinitionsPart>("rId2");
            GenerateStyleDefinitionsPart1Content(styleDefinitionsPart1);

            NumberingDefinitionsPart numberingDefinitionsPart1 = mainDocumentPart1.AddNewPart<NumberingDefinitionsPart>("rId1");
            GenerateNumberingDefinitionsPart1Content(numberingDefinitionsPart1);

            EndnotesPart endnotesPart1 = mainDocumentPart1.AddNewPart<EndnotesPart>("rId6");
            GenerateEndnotesPart1Content(endnotesPart1);

            FootnotesPart footnotesPart1 = mainDocumentPart1.AddNewPart<FootnotesPart>("rId5");
            GenerateFootnotesPart1Content(footnotesPart1);

            WebSettingsPart webSettingsPart1 = mainDocumentPart1.AddNewPart<WebSettingsPart>("rId4");
            GenerateWebSettingsPart1Content(webSettingsPart1);

            SetPackageProperties(document);
        }

        // Generates content of extendedFilePropertiesPart1.
        private void GenerateExtendedFilePropertiesPart1Content(ExtendedFilePropertiesPart extendedFilePropertiesPart1)
        {
            Ap.Properties properties1 = new Ap.Properties();
            properties1.AddNamespaceDeclaration("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes");
            Ap.Template template1 = new Ap.Template();
            template1.Text = "Normal_Wordconv.dotm";
            Ap.TotalTime totalTime1 = new Ap.TotalTime();
            totalTime1.Text = "1";
            Ap.Pages pages1 = new Ap.Pages();
            pages1.Text = "1";
            Ap.Words words1 = new Ap.Words();
            words1.Text = "1";
            Ap.Characters characters1 = new Ap.Characters();
            characters1.Text = "9";
            Ap.Application application1 = new Ap.Application();
            application1.Text = "Microsoft Office Outlook";
            Ap.DocumentSecurity documentSecurity1 = new Ap.DocumentSecurity();
            documentSecurity1.Text = "0";
            Ap.Lines lines1 = new Ap.Lines();
            lines1.Text = "0";
            Ap.Paragraphs paragraphs1 = new Ap.Paragraphs();
            paragraphs1.Text = "0";
            Ap.ScaleCrop scaleCrop1 = new Ap.ScaleCrop();
            scaleCrop1.Text = "false";
            Ap.Company company1 = new Ap.Company();
            company1.Text = "";
            Ap.LinksUpToDate linksUpToDate1 = new Ap.LinksUpToDate();
            linksUpToDate1.Text = "false";
            Ap.CharactersWithSpaces charactersWithSpaces1 = new Ap.CharactersWithSpaces();
            charactersWithSpaces1.Text = "0";
            Ap.SharedDocument sharedDocument1 = new Ap.SharedDocument();
            sharedDocument1.Text = "false";
            Ap.HyperlinksChanged hyperlinksChanged1 = new Ap.HyperlinksChanged();
            hyperlinksChanged1.Text = "false";
            Ap.ApplicationVersion applicationVersion1 = new Ap.ApplicationVersion();
            applicationVersion1.Text = "12.0000";

            properties1.Append(template1);
            properties1.Append(totalTime1);
            properties1.Append(pages1);
            properties1.Append(words1);
            properties1.Append(characters1);
            properties1.Append(application1);
            properties1.Append(documentSecurity1);
            properties1.Append(lines1);
            properties1.Append(paragraphs1);
            properties1.Append(scaleCrop1);
            properties1.Append(company1);
            properties1.Append(linksUpToDate1);
            properties1.Append(charactersWithSpaces1);
            properties1.Append(sharedDocument1);
            properties1.Append(hyperlinksChanged1);
            properties1.Append(applicationVersion1);

            extendedFilePropertiesPart1.Properties = properties1;
        }

        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document();
            document1.AddNamespaceDeclaration("ve", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph(){ RsidParagraphMarkRevision = "006010A8", RsidParagraphAddition = "00C3696F", RsidParagraphProperties = "009C0664", RsidRunAdditionDefault = "00C3696F" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines(){ After = "0" };
            Justification justification1 = new Justification(){ Val = JustificationValues.Left };
            TextAlignment textAlignment1 = new TextAlignment(){ Val = VerticalTextAlignmentValues.Baseline };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            NoProof noProof1 = new NoProof();
            Languages languages1 = new Languages(){ Val = "en-US" };

            paragraphMarkRunProperties1.Append(noProof1);
            paragraphMarkRunProperties1.Append(languages1);

            paragraphProperties1.Append(spacingBetweenLines1);
            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(textAlignment1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run1 = new Run();

            RunProperties runProperties1 = new RunProperties();
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript(){ Val = "28" };

            

            runProperties1.Append(fontSizeComplexScript1);
            Text text1 = new Text();
            text1.Text = "jopa";

            run1.Append(runProperties1);
            run1.Append(text1);

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

            SectionProperties sectionProperties1 = new SectionProperties(){ RsidRPr = "006010A8", RsidR = "00C3696F", RsidSect = "00AA1605" };
            PageSize pageSize1 = new PageSize(){ Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin(){ Top = 284, Right = (UInt32Value)850U, Bottom = 1134, Left = (UInt32Value)1701U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns(){ Space = "708" };
            DocGrid docGrid1 = new DocGrid(){ LinePitch = 360 };

            sectionProperties1.Append(pageSize1);
            sectionProperties1.Append(pageMargin1);
            sectionProperties1.Append(columns1);
            sectionProperties1.Append(docGrid1);

            body1.Append(paragraph1);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }

        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Office Theme" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "1F497D" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "EEECE1" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "4F81BD" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "C0504D" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "9BBB59" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "8064A2" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "4BACC6" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "F79646" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "0000FF" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "800080" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "Cambria" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            majorFont1.Append(latinFont1);
            majorFont1.Append(eastAsianFont1);
            majorFont1.Append(complexScriptFont1);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont2 = new A.LatinFont(){ Typeface = "Calibri" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS 明朝" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            minorFont1.Append(latinFont2);
            minorFont1.Append(eastAsianFont2);
            minorFont1.Append(complexScriptFont2);
            minorFont1.Append(supplementalFont30);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill1 = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint1 = new A.Tint(){ Val = 50000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor2.Append(tint1);
            schemeColor2.Append(saturationModulation1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 35000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint2 = new A.Tint(){ Val = 37000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor3.Append(tint2);
            schemeColor3.Append(saturationModulation2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint3 = new A.Tint(){ Val = 15000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor4.Append(tint3);
            schemeColor4.Append(saturationModulation3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade1 = new A.Shade(){ Val = 51000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor5.Append(shade1);
            schemeColor5.Append(saturationModulation4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 80000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 93000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor6.Append(shade2);
            schemeColor6.Append(saturationModulation5);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 94000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 135000 };

            schemeColor7.Append(shade3);
            schemeColor7.Append(saturationModulation6);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill1);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();

            A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade4 = new A.Shade(){ Val = 95000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 105000 };

            schemeColor8.Append(shade4);
            schemeColor8.Append(saturationModulation7);

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);

            A.Outline outline2 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill3 = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);

            A.Outline outline3 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill4 = new A.SolidFill();
            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();

            A.EffectList effectList1 = new A.EffectList();

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha1 = new A.Alpha(){ Val = 38000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList1.Append(outerShadow1);

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

            A.EffectList effectList2 = new A.EffectList();

            A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex12.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex12);

            effectList2.Append(outerShadow2);

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

            A.EffectList effectList3 = new A.EffectList();

            A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex13.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex13);

            effectList3.Append(outerShadow3);

            A.Scene3DType scene3DType1 = new A.Scene3DType();

            A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera1.Append(rotation1);

            A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 };

            lightRig1.Append(rotation2);

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType();
            A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 63500L, Height = 25400L };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList3);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill5 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill5.Append(schemeColor11);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint4 = new A.Tint(){ Val = 40000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor12.Append(tint4);
            schemeColor12.Append(saturationModulation8);

            gradientStop7.Append(schemeColor12);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 40000 };

            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint5 = new A.Tint(){ Val = 45000 };
            A.Shade shade5 = new A.Shade(){ Val = 99000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor13.Append(tint5);
            schemeColor13.Append(shade5);
            schemeColor13.Append(saturationModulation9);

            gradientStop8.Append(schemeColor13);

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade6 = new A.Shade(){ Val = 20000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 255000 };

            schemeColor14.Append(shade6);
            schemeColor14.Append(saturationModulation10);

            gradientStop9.Append(schemeColor14);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint6 = new A.Tint(){ Val = 80000 };
            A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor15.Append(tint6);
            schemeColor15.Append(saturationModulation11);

            gradientStop10.Append(schemeColor15);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade7 = new A.Shade(){ Val = 30000 };
            A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 200000 };

            schemeColor16.Append(shade7);
            schemeColor16.Append(saturationModulation12);

            gradientStop11.Append(schemeColor16);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill2);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }

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

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

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

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

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

            Compatibility compatibility1 = new Compatibility();
            UseNormalStyleForList useNormalStyleForList1 = new UseNormalStyleForList();
            DoNotUseIndentAsNumberingTabStop doNotUseIndentAsNumberingTabStop1 = new DoNotUseIndentAsNumberingTabStop();
            UseAltKinsokuLineBreakRules useAltKinsokuLineBreakRules1 = new UseAltKinsokuLineBreakRules();
            AllowSpaceOfSameStyleInTable allowSpaceOfSameStyleInTable1 = new AllowSpaceOfSameStyleInTable();
            DoNotSuppressIndentation doNotSuppressIndentation1 = new DoNotSuppressIndentation();
            DoNotAutofitConstrainedTables doNotAutofitConstrainedTables1 = new DoNotAutofitConstrainedTables();
            AutofitToFirstFixedWidthCell autofitToFirstFixedWidthCell1 = new AutofitToFirstFixedWidthCell();
            UnderlineTabInNumberingList underlineTabInNumberingList1 = new UnderlineTabInNumberingList();
            DisplayHangulFixedWidth displayHangulFixedWidth1 = new DisplayHangulFixedWidth();
            SplitPageBreakAndParagraphMark splitPageBreakAndParagraphMark1 = new SplitPageBreakAndParagraphMark();
            DoNotVerticallyAlignCellWithShape doNotVerticallyAlignCellWithShape1 = new DoNotVerticallyAlignCellWithShape();
            DoNotBreakConstrainedForcedTable doNotBreakConstrainedForcedTable1 = new DoNotBreakConstrainedForcedTable();
            DoNotVerticallyAlignInTextBox doNotVerticallyAlignInTextBox1 = new DoNotVerticallyAlignInTextBox();
            UseAnsiKerningPairs useAnsiKerningPairs1 = new UseAnsiKerningPairs();
            CachedColumnBalance cachedColumnBalance1 = new CachedColumnBalance();

            compatibility1.Append(useNormalStyleForList1);
            compatibility1.Append(doNotUseIndentAsNumberingTabStop1);
            compatibility1.Append(useAltKinsokuLineBreakRules1);
            compatibility1.Append(allowSpaceOfSameStyleInTable1);
            compatibility1.Append(doNotSuppressIndentation1);
            compatibility1.Append(doNotAutofitConstrainedTables1);
            compatibility1.Append(autofitToFirstFixedWidthCell1);
            compatibility1.Append(underlineTabInNumberingList1);
            compatibility1.Append(displayHangulFixedWidth1);
            compatibility1.Append(splitPageBreakAndParagraphMark1);
            compatibility1.Append(doNotVerticallyAlignCellWithShape1);
            compatibility1.Append(doNotBreakConstrainedForcedTable1);
            compatibility1.Append(doNotVerticallyAlignInTextBox1);
            compatibility1.Append(useAnsiKerningPairs1);
            compatibility1.Append(cachedColumnBalance1);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00CD6E14" };
            Rsid rsid1 = new Rsid(){ Val = "0005787C" };
            Rsid rsid2 = new Rsid(){ Val = "00071E5A" };
            Rsid rsid3 = new Rsid(){ Val = "00091877" };
            Rsid rsid4 = new Rsid(){ Val = "00107029" };
            Rsid rsid5 = new Rsid(){ Val = "00177A18" };
            Rsid rsid6 = new Rsid(){ Val = "001B4B2A" };
            Rsid rsid7 = new Rsid(){ Val = "00245160" };
            Rsid rsid8 = new Rsid(){ Val = "002E23DE" };
            Rsid rsid9 = new Rsid(){ Val = "00353D51" };
            Rsid rsid10 = new Rsid(){ Val = "003D1697" };
            Rsid rsid11 = new Rsid(){ Val = "00441DA6" };
            Rsid rsid12 = new Rsid(){ Val = "00444320" };
            Rsid rsid13 = new Rsid(){ Val = "00511120" };
            Rsid rsid14 = new Rsid(){ Val = "00552817" };
            Rsid rsid15 = new Rsid(){ Val = "006010A8" };
            Rsid rsid16 = new Rsid(){ Val = "00620D7D" };
            Rsid rsid17 = new Rsid(){ Val = "00624A44" };
            Rsid rsid18 = new Rsid(){ Val = "006E42F0" };
            Rsid rsid19 = new Rsid(){ Val = "006F04FA" };
            Rsid rsid20 = new Rsid(){ Val = "007A5696" };
            Rsid rsid21 = new Rsid(){ Val = "007D2F02" };
            Rsid rsid22 = new Rsid(){ Val = "007F2D1A" };
            Rsid rsid23 = new Rsid(){ Val = "008855B3" };
            Rsid rsid24 = new Rsid(){ Val = "00900C1F" };
            Rsid rsid25 = new Rsid(){ Val = "0094535F" };
            Rsid rsid26 = new Rsid(){ Val = "0098617D" };
            Rsid rsid27 = new Rsid(){ Val = "009C0664" };
            Rsid rsid28 = new Rsid(){ Val = "00AA1605" };
            Rsid rsid29 = new Rsid(){ Val = "00AC2DE8" };
            Rsid rsid30 = new Rsid(){ Val = "00BC03F4" };
            Rsid rsid31 = new Rsid(){ Val = "00C3696F" };
            Rsid rsid32 = new Rsid(){ Val = "00CD6E14" };
            Rsid rsid33 = new Rsid(){ Val = "00CE245C" };
            Rsid rsid34 = new Rsid(){ Val = "00D21418" };
            Rsid rsid35 = new Rsid(){ Val = "00D62D60" };
            Rsid rsid36 = new Rsid(){ Val = "00DA7E99" };
            Rsid rsid37 = new Rsid(){ Val = "00DC0C26" };
            Rsid rsid38 = new Rsid(){ Val = "00DD5B2E" };
            Rsid rsid39 = new Rsid(){ Val = "00DE6A58" };
            Rsid rsid40 = new Rsid(){ Val = "00E56771" };
            Rsid rsid41 = new Rsid(){ Val = "00E601AA" };
            Rsid rsid42 = new Rsid(){ Val = "00F10B91" };
            Rsid rsid43 = new Rsid(){ Val = "00F74B79" };
            Rsid rsid44 = new Rsid(){ Val = "00FA1958" };
            Rsid rsid45 = new Rsid(){ Val = "00FA7479" };

            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);

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

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            UICompatibleWith97To2003 uICompatibleWith97To20031 = new UICompatibleWith97To2003();
            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();
            DoNotAutoCompressPictures doNotAutoCompressPictures1 = new DoNotAutoCompressPictures();
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "," };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(uICompatibleWith97To20031);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(doNotIncludeSubdocsInStats1);
            settings1.Append(doNotAutoCompressPictures1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }


        //Создание стандартного стиля для текста
        private void GenerateDefaultStyleText()
        {
            var defaultStyleText = new Style() { Type = StyleValues.Paragraph, StyleId = "DefaultStyleText", CustomStyle = true };
            StyleName styleName1 = new StyleName() { Val = "DefaultStyleText" };
            BasedOn basedOn1 = new BasedOn() { Val = "a" };
            LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "DefaultStyleText0" };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();
            Rsid rsid1 = new Rsid() { Val = "00C5028E" };

            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0", Line = "360", LineRule = LineSpacingRuleValues.Auto };
            Justification justification1 = new Justification() { Val = JustificationValues.Both };
            Indentation indentation1 = new Indentation() { FirstLine = "709" };


            styleParagraphProperties1.Append(spacingBetweenLines1);
            styleParagraphProperties1.Append(justification1);
            styleParagraphProperties1.Append(indentation1);

            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize1 = new FontSize() { Val = "28" };

            styleRunProperties1.Append(runFonts1);
            styleRunProperties1.Append(fontSize1);

            defaultStyleText.Append(styleName1);
            defaultStyleText.Append(basedOn1);
            defaultStyleText.Append(linkedStyle1);
            defaultStyleText.Append(primaryStyle1);
            defaultStyleText.Append(rsid1);
            defaultStyleText.Append(styleParagraphProperties1);
            defaultStyleText.Append(styleRunProperties1);
            Styles.Add(defaultStyleText);
        }

        //Создание стандартного стиля для текста без отступа
        private void GenerateStyleTextWithoutIndentation()
        {
            var defaultStyleText = new Style() { Type = StyleValues.Paragraph, StyleId = "StyleWithoutIndentation", CustomStyle = true };
            StyleName styleName1 = new StyleName() { Val = "StyleWithoutIndentation" };
            BasedOn basedOn1 = new BasedOn() { Val = "a" };
            LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "StyleWithoutIndentation" };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();
            Rsid rsid1 = new Rsid() { Val = "00C5038E" };

            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0", Line = "360", LineRule = LineSpacingRuleValues.Auto };
            Justification justification1 = new Justification() { Val = JustificationValues.Both };

            styleParagraphProperties1.Append(spacingBetweenLines1);
            styleParagraphProperties1.Append(justification1);

            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize1 = new FontSize() { Val = "28" };

            styleRunProperties1.Append(runFonts1);
            styleRunProperties1.Append(fontSize1);

            defaultStyleText.Append(styleName1);
            defaultStyleText.Append(basedOn1);
            defaultStyleText.Append(linkedStyle1);
            defaultStyleText.Append(primaryStyle1);
            defaultStyleText.Append(rsid1);
            defaultStyleText.Append(styleParagraphProperties1);
            defaultStyleText.Append(styleRunProperties1);
            Styles.Add(defaultStyleText);
        }

        private void GenerateStyleHeader1()
        {
            //базовый стиль
            GenerateDefaultStyleHeader();

            var styleHeader1 = new Style() { Type = StyleValues.Paragraph, StyleId = "Header1", CustomStyle = true };
            StyleName styleName1 = new StyleName() { Val = "Header1" };
            BasedOn basedOn1 = new BasedOn() { Val = "1" };
            NextParagraphStyle nextParagraphStyle1 = new NextParagraphStyle() { Val = "a" };
            LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "Header10" };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();
            Rsid rsid1 = new Rsid() { Val = "005502FB" };

            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { Before = "360", After = "120" };

            styleParagraphProperties1.Append(spacingBetweenLines1);

            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Cambria", HighAnsi = "Cambria" };
            Bold bold1 = new Bold();
            Color color1 = new Color() { Val = "auto" };
            FontSize fontSize1 = new FontSize() { Val = "32" }; 

            styleRunProperties1.Append(runFonts1);
            styleRunProperties1.Append(bold1);
            styleRunProperties1.Append(color1);
            styleRunProperties1.Append(fontSize1);

            styleHeader1.Append(styleName1);
            styleHeader1.Append(basedOn1);
            styleHeader1.Append(nextParagraphStyle1);
            styleHeader1.Append(linkedStyle1);
            styleHeader1.Append(primaryStyle1);
            styleHeader1.Append(rsid1);
            styleHeader1.Append(styleParagraphProperties1);
            styleHeader1.Append(styleRunProperties1);
            Styles.Add(styleHeader1);
        }

        private void GenerateDefaultStyleHeader()
        {
            Style style1 = new Style(){ Type = StyleValues.Paragraph, StyleId = "1" };
            StyleName styleName1 = new StyleName(){ Val = "heading 1" };
            BasedOn basedOn1 = new BasedOn(){ Val = "a" };
            NextParagraphStyle nextParagraphStyle1 = new NextParagraphStyle(){ Val = "a" };
            LinkedStyle linkedStyle1 = new LinkedStyle(){ Val = "10" };
            UIPriority uIPriority1 = new UIPriority(){ Val = 9 };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();
            Rsid rsid1 = new Rsid(){ Val = "004A6073" };

            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
            KeepNext keepNext1 = new KeepNext();
            KeepLines keepLines1 = new KeepLines();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines(){ Before = "240", After = "0" };
            OutlineLevel outlineLevel1 = new OutlineLevel(){ Val = 0 };

            styleParagraphProperties1.Append(keepNext1);
            styleParagraphProperties1.Append(keepLines1);
            styleParagraphProperties1.Append(spacingBetweenLines1);
            styleParagraphProperties1.Append(outlineLevel1);

            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
            RunFonts runFonts1 = new RunFonts(){ AsciiTheme = ThemeFontValues.MajorHighAnsi, HighAnsiTheme = ThemeFontValues.MajorHighAnsi, EastAsiaTheme = ThemeFontValues.MajorEastAsia, ComplexScriptTheme = ThemeFontValues.MajorBidi };
            Color color1 = new Color(){ Val = "2E74B5", ThemeColor = ThemeColorValues.Accent1, ThemeShade = "BF" };
            FontSize fontSize1 = new FontSize(){ Val = "32" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript(){ Val = "32" };

            styleRunProperties1.Append(runFonts1);
            styleRunProperties1.Append(color1);
            styleRunProperties1.Append(fontSize1);
            styleRunProperties1.Append(fontSizeComplexScript1);

            style1.Append(styleName1);
            style1.Append(basedOn1);
            style1.Append(nextParagraphStyle1);
            style1.Append(linkedStyle1);
            style1.Append(uIPriority1);
            style1.Append(primaryStyle1);
            style1.Append(rsid1);
            style1.Append(styleParagraphProperties1);
            style1.Append(styleRunProperties1);
            Styles.Add(style1);
        }

        /// <summary>
        /// генарция настроек для списков
        /// </summary>
        public void GenerateListNumbering(ref Numbering numbering)
        {
            #region AbstractNum
            AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 };
            Nsid nsid1 = new Nsid() { Val = "2EB766E6" };
            MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel };
            TemplateCode templateCode1 = new TemplateCode() { Val = "C1F20472" };

            Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04190001" };
            StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 };
            NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
            LevelText levelText1 = new LevelText() { Val = "·" };
            LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left };

            PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties();
            Indentation indentation1 = new Indentation() { Left = "1429", Hanging = "360" };

            previousParagraphProperties1.Append(indentation1);

            NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties();
            RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" };

            numberingSymbolRunProperties1.Append(runFonts1);

            level1.Append(startNumberingValue1);
            level1.Append(numberingFormat1);
            level1.Append(levelText1);
            level1.Append(levelJustification1);
            level1.Append(previousParagraphProperties1);
            level1.Append(numberingSymbolRunProperties1);
            abstractNum1.Append(nsid1);
            abstractNum1.Append(multiLevelType1);
            abstractNum1.Append(templateCode1);
            abstractNum1.Append(level1);
            #endregion

            NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 };
            AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 };
            numberingInstance1.Append(abstractNumId1);
            numbering.Append(abstractNum1);
            numbering.Append(numberingInstance1);
        }

        private void GenerateDefaultStyleTextForTable()
        {
            Style style1 = new Style() { Type = StyleValues.Paragraph, StyleId = "TableStyle", CustomStyle = true };
            StyleName styleName1 = new StyleName() { Val = "TableStyle" };
            BasedOn basedOn1 = new BasedOn() { Val = "StyleWithoutIndentation" };
            LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "DefaultStyleTextForTable0" };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();
            Rsid rsid1 = new Rsid() { Val = "00E72C62" };

            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
            FontSize fontSize1 = new FontSize() { Val = "24" };

            styleRunProperties1.Append(fontSize1);

            style1.Append(styleName1);
            style1.Append(basedOn1);
            style1.Append(linkedStyle1);
            style1.Append(primaryStyle1);
            style1.Append(rsid1);
            style1.Append(styleRunProperties1);
            Styles.Add(style1);
        }

        // Creates a WordprocessingDocument.
        public void CreatePackage(string filePath)
        {
            using (WordprocessingDocument package = WordprocessingDocument.Create(filePath, WordprocessingDocumentType.Document))
            {
                CreateParts(package);
            }
        }

        // Adds child parts and generates content of the specified part.
        private void CreateParts(WordprocessingDocument document)
        {
            ExtendedFilePropertiesPart extendedFilePropertiesPart1 = document.AddNewPart<ExtendedFilePropertiesPart>("rId3");
            GenerateExtendedFilePropertiesPart1Content(extendedFilePropertiesPart1);

            MainDocumentPart mainDocumentPart1 = document.AddMainDocumentPart();
            GenerateMainDocumentPart1Content(mainDocumentPart1);

            DocumentSettingsPart documentSettingsPart1 = mainDocumentPart1.AddNewPart<DocumentSettingsPart>("rId3");
            GenerateDocumentSettingsPart1Content(documentSettingsPart1);

            StyleDefinitionsPart styleDefinitionsPart1 = mainDocumentPart1.AddNewPart<StyleDefinitionsPart>("rId2");
            GenerateStyleDefinitionsPart1Content(styleDefinitionsPart1);

            NumberingDefinitionsPart numberingDefinitionsPart1 = mainDocumentPart1.AddNewPart<NumberingDefinitionsPart>("rId1");
            GenerateNumberingDefinitionsPart1Content(numberingDefinitionsPart1);

            ThemePart themePart1 = mainDocumentPart1.AddNewPart<ThemePart>("rId6");
            GenerateThemePart1Content(themePart1);

            FontTablePart fontTablePart1 = mainDocumentPart1.AddNewPart<FontTablePart>("rId5");
            GenerateFontTablePart1Content(fontTablePart1);

            WebSettingsPart webSettingsPart1 = mainDocumentPart1.AddNewPart<WebSettingsPart>("rId4");
            GenerateWebSettingsPart1Content(webSettingsPart1);

        }

        // Generates content of extendedFilePropertiesPart1.
        private void GenerateExtendedFilePropertiesPart1Content(ExtendedFilePropertiesPart extendedFilePropertiesPart1)
        {
            Ap.Properties properties1 = new Ap.Properties();
            properties1.AddNamespaceDeclaration("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes");
            Ap.Template template1 = new Ap.Template();
            template1.Text = "Normal";
            Ap.TotalTime totalTime1 = new Ap.TotalTime();
            totalTime1.Text = "8";
            Ap.Pages pages1 = new Ap.Pages();
            pages1.Text = "1";
            Ap.Words words1 = new Ap.Words();
            words1.Text = "4";
            Ap.Characters characters1 = new Ap.Characters();
            characters1.Text = "26";
            Ap.Application application1 = new Ap.Application();
            application1.Text = "Microsoft Office Word";
            Ap.DocumentSecurity documentSecurity1 = new Ap.DocumentSecurity();
            documentSecurity1.Text = "0";
            Ap.Lines lines1 = new Ap.Lines();
            lines1.Text = "1";
            Ap.Paragraphs paragraphs1 = new Ap.Paragraphs();
            paragraphs1.Text = "1";
            Ap.ScaleCrop scaleCrop1 = new Ap.ScaleCrop();
            scaleCrop1.Text = "false";
            Ap.Company company1 = new Ap.Company();
            company1.Text = "";
            Ap.LinksUpToDate linksUpToDate1 = new Ap.LinksUpToDate();
            linksUpToDate1.Text = "false";
            Ap.CharactersWithSpaces charactersWithSpaces1 = new Ap.CharactersWithSpaces();
            charactersWithSpaces1.Text = "29";
            Ap.SharedDocument sharedDocument1 = new Ap.SharedDocument();
            sharedDocument1.Text = "false";
            Ap.HyperlinksChanged hyperlinksChanged1 = new Ap.HyperlinksChanged();
            hyperlinksChanged1.Text = "false";
            Ap.ApplicationVersion applicationVersion1 = new Ap.ApplicationVersion();
            applicationVersion1.Text = "16.0000";

            properties1.Append(template1);
            properties1.Append(totalTime1);
            properties1.Append(pages1);
            properties1.Append(words1);
            properties1.Append(characters1);
            properties1.Append(application1);
            properties1.Append(documentSecurity1);
            properties1.Append(lines1);
            properties1.Append(paragraphs1);
            properties1.Append(scaleCrop1);
            properties1.Append(company1);
            properties1.Append(linksUpToDate1);
            properties1.Append(charactersWithSpaces1);
            properties1.Append(sharedDocument1);
            properties1.Append(hyperlinksChanged1);
            properties1.Append(applicationVersion1);

            extendedFilePropertiesPart1.Properties = properties1;
        }

        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("cx", "http://schemas.microsoft.com/office/drawing/2014/chartex");
            document1.AddNamespaceDeclaration("cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex");
            document1.AddNamespaceDeclaration("cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex");
            document1.AddNamespaceDeclaration("cx3", "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex");
            document1.AddNamespaceDeclaration("cx4", "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex");
            document1.AddNamespaceDeclaration("cx5", "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex");
            document1.AddNamespaceDeclaration("cx6", "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex");
            document1.AddNamespaceDeclaration("cx7", "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex");
            document1.AddNamespaceDeclaration("cx8", "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("aink", "http://schemas.microsoft.com/office/drawing/2016/ink");
            document1.AddNamespaceDeclaration("am3d", "http://schemas.microsoft.com/office/drawing/2017/model3d");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            document1.AddNamespaceDeclaration("w16cex", "http://schemas.microsoft.com/office/word/2018/wordml/cex");
            document1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid");
            document1.AddNamespaceDeclaration("w16", "http://schemas.microsoft.com/office/word/2018/wordml");
            document1.AddNamespaceDeclaration("w16sdtdh", "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash");
            document1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "00534E3C", RsidParagraphProperties = "00165B8A", RsidRunAdditionDefault = "00534E3C", ParagraphId = "277A8332", TextId = "435F7027" };

            Run run1 = new Run();
            Text text1 = new Text();
            text1.Text = "Start";

            run1.Append(text1);

            paragraph1.Append(run1);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "00165B8A", RsidParagraphProperties = "00165B8A", RsidRunAdditionDefault = "00165B8A", ParagraphId = "3F5E5FE9", TextId = "52BC223F" };

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

            NumberingProperties numberingProperties1 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference1 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId1 = new NumberingId() { Val = 2 };

            numberingProperties1.Append(numberingLevelReference1);
            numberingProperties1.Append(numberingId1);

            paragraphProperties1.Append(paragraphStyleId1);
            paragraphProperties1.Append(numberingProperties1);

            Run run2 = new Run();
            Text text2 = new Text();
            text2.Text = "11111";

            run2.Append(text2);

            paragraph2.Append(paragraphProperties1);
            paragraph2.Append(run2);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "00165B8A", RsidParagraphProperties = "00165B8A", RsidRunAdditionDefault = "00165B8A", ParagraphId = "167AB91C", TextId = "199EB8A1" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId2 = new ParagraphStyleId() { Val = "ListParagraph" };

            NumberingProperties numberingProperties2 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference2 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId2 = new NumberingId() { Val = 2 };

            numberingProperties2.Append(numberingLevelReference2);
            numberingProperties2.Append(numberingId2);

            paragraphProperties2.Append(paragraphStyleId2);
            paragraphProperties2.Append(numberingProperties2);

            Run run3 = new Run();
            Text text3 = new Text();
            text3.Text = "22222";

            run3.Append(text3);

            paragraph3.Append(paragraphProperties2);
            paragraph3.Append(run3);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphAddition = "00165B8A", RsidParagraphProperties = "00F35747", RsidRunAdditionDefault = "00165B8A", ParagraphId = "791DA91D", TextId = "24D1B7B1" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId3 = new ParagraphStyleId() { Val = "ListParagraph" };

            NumberingProperties numberingProperties3 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference3 = new NumberingLevelReference() { Val = 1 };
            NumberingId numberingId3 = new NumberingId() { Val = 3 };

            numberingProperties3.Append(numberingLevelReference3);
            numberingProperties3.Append(numberingId3);

            paragraphProperties3.Append(paragraphStyleId3);
            paragraphProperties3.Append(numberingProperties3);

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

            run4.Append(text4);

            paragraph4.Append(paragraphProperties3);
            paragraph4.Append(run4);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00702081", RsidParagraphAddition = "00165B8A", RsidParagraphProperties = "00F35747", RsidRunAdditionDefault = "00165B8A", ParagraphId = "45FE2D57", TextId = "1C80D6A6" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId4 = new ParagraphStyleId() { Val = "ListParagraph" };

            NumberingProperties numberingProperties4 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference4 = new NumberingLevelReference() { Val = 1 };
            NumberingId numberingId4 = new NumberingId() { Val = 3 };

            numberingProperties4.Append(numberingLevelReference4);
            numberingProperties4.Append(numberingId4);

            paragraphProperties4.Append(paragraphStyleId4);
            paragraphProperties4.Append(numberingProperties4);

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

            run5.Append(text5);

            paragraph5.Append(paragraphProperties4);
            paragraph5.Append(run5);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "00702081", RsidR = "00165B8A" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "720" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

            sectionProperties1.Append(pageSize1);
            sectionProperties1.Append(pageMargin1);
            sectionProperties1.Append(columns1);
            sectionProperties1.Append(docGrid1);

            body1.Append(paragraph1);
            body1.Append(paragraph2);
            body1.Append(paragraph3);
            body1.Append(paragraph4);
            body1.Append(paragraph5);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }

        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid w16 w16cex w16sdtdh" } };
            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("w16cex", "http://schemas.microsoft.com/office/word/2018/wordml/cex");
            settings1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid");
            settings1.AddNamespaceDeclaration("w16", "http://schemas.microsoft.com/office/word/2018/wordml");
            settings1.AddNamespaceDeclaration("w16sdtdh", "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash");
            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 = "130" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            ApplyBreakingRules applyBreakingRules1 = new ApplyBreakingRules();
            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" };
            CompatibilitySetting compatibilitySetting6 = new CompatibilitySetting() { Name = new EnumValue<CompatSettingNameValues>() { InnerText = "useWord2013TrackBottomHyphenation" }, Uri = "http://schemas.microsoft.com/office/word", Val = "0" };

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

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00745E8C" };
            Rsid rsid1 = new Rsid() { Val = "000A0595" };
            Rsid rsid2 = new Rsid() { Val = "001167DE" };
            Rsid rsid3 = new Rsid() { Val = "00126807" };
            Rsid rsid4 = new Rsid() { Val = "00165B8A" };
            Rsid rsid5 = new Rsid() { Val = "003D450F" };
            Rsid rsid6 = new Rsid() { Val = "003E1962" };
            Rsid rsid7 = new Rsid() { Val = "003F2413" };
            Rsid rsid8 = new Rsid() { Val = "00534E3C" };
            Rsid rsid9 = new Rsid() { Val = "00671749" };
            Rsid rsid10 = new Rsid() { Val = "00702081" };
            Rsid rsid11 = new Rsid() { Val = "00745E8C" };
            Rsid rsid12 = new Rsid() { Val = "009C4315" };
            Rsid rsid13 = new Rsid() { Val = "00AD54DD" };
            Rsid rsid14 = new Rsid() { Val = "00B55F5A" };
            Rsid rsid15 = new Rsid() { Val = "00C45ACD" };
            Rsid rsid16 = new Rsid() { Val = "00CD7555" };
            Rsid rsid17 = new Rsid() { Val = "00D31B3A" };
            Rsid rsid18 = new Rsid() { Val = "00D41BA3" };
            Rsid rsid19 = new Rsid() { Val = "00F35747" };
            Rsid rsid20 = new Rsid() { Val = "00F56D5B" };

            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);

            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", Bidi = "th-TH" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

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

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

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId() { Val = "7E8CB2E9" };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{D3BA8806-B836-4991-B6CF-F04671E03FA6}" };

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

            documentSettingsPart1.Settings = settings1;
        }

        // Generates content of styleDefinitionsPart1.
        private void GenerateStyleDefinitionsPart1Content(StyleDefinitionsPart styleDefinitionsPart1)
        {
            Styles styles1 = new Styles() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid w16 w16cex w16sdtdh" } };
            styles1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            styles1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            styles1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            styles1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            styles1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            styles1.AddNamespaceDeclaration("w16cex", "http://schemas.microsoft.com/office/word/2018/wordml/cex");
            styles1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid");
            styles1.AddNamespaceDeclaration("w16", "http://schemas.microsoft.com/office/word/2018/wordml");
            styles1.AddNamespaceDeclaration("w16sdtdh", "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash");
            styles1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex");

            DocDefaults docDefaults1 = new DocDefaults();

            RunPropertiesDefault runPropertiesDefault1 = new RunPropertiesDefault();

            RunPropertiesBaseStyle runPropertiesBaseStyle1 = new RunPropertiesBaseStyle();
            RunFonts runFonts1 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, EastAsiaTheme = ThemeFontValues.MinorEastAsia, ComplexScriptTheme = ThemeFontValues.MinorBidi };
            FontSize fontSize1 = new FontSize() { Val = "22" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "28" };
            Languages languages1 = new Languages() { Val = "en-US", EastAsia = "ja-JP", Bidi = "th-TH" };

            runPropertiesBaseStyle1.Append(runFonts1);
            runPropertiesBaseStyle1.Append(fontSize1);
            runPropertiesBaseStyle1.Append(fontSizeComplexScript1);
            runPropertiesBaseStyle1.Append(languages1);

            runPropertiesDefault1.Append(runPropertiesBaseStyle1);

            ParagraphPropertiesDefault paragraphPropertiesDefault1 = new ParagraphPropertiesDefault();

            ParagraphPropertiesBaseStyle paragraphPropertiesBaseStyle1 = new ParagraphPropertiesBaseStyle();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "160", Line = "259", LineRule = LineSpacingRuleValues.Auto };

            paragraphPropertiesBaseStyle1.Append(spacingBetweenLines1);

            paragraphPropertiesDefault1.Append(paragraphPropertiesBaseStyle1);

            docDefaults1.Append(runPropertiesDefault1);
            docDefaults1.Append(paragraphPropertiesDefault1);

            LatentStyles latentStyles1 = new LatentStyles() { DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = false, DefaultUnhideWhenUsed = false, DefaultPrimaryStyle = false, Count = 376 };
            LatentStyleExceptionInfo latentStyleExceptionInfo1 = new LatentStyleExceptionInfo() { Name = "Normal", UiPriority = 0, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo2 = new LatentStyleExceptionInfo() { Name = "heading 1", UiPriority = 9, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo3 = new LatentStyleExceptionInfo() { Name = "heading 2", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo4 = new LatentStyleExceptionInfo() { Name = "heading 3", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo5 = new LatentStyleExceptionInfo() { Name = "heading 4", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo6 = new LatentStyleExceptionInfo() { Name = "heading 5", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo7 = new LatentStyleExceptionInfo() { Name = "heading 6", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo8 = new LatentStyleExceptionInfo() { Name = "heading 7", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo9 = new LatentStyleExceptionInfo() { Name = "heading 8", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo10 = new LatentStyleExceptionInfo() { Name = "heading 9", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo11 = new LatentStyleExceptionInfo() { Name = "index 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo12 = new LatentStyleExceptionInfo() { Name = "index 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo13 = new LatentStyleExceptionInfo() { Name = "index 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo14 = new LatentStyleExceptionInfo() { Name = "index 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo15 = new LatentStyleExceptionInfo() { Name = "index 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo16 = new LatentStyleExceptionInfo() { Name = "index 6", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo17 = new LatentStyleExceptionInfo() { Name = "index 7", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo18 = new LatentStyleExceptionInfo() { Name = "index 8", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo19 = new LatentStyleExceptionInfo() { Name = "index 9", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo20 = new LatentStyleExceptionInfo() { Name = "toc 1", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo21 = new LatentStyleExceptionInfo() { Name = "toc 2", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo22 = new LatentStyleExceptionInfo() { Name = "toc 3", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo23 = new LatentStyleExceptionInfo() { Name = "toc 4", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo24 = new LatentStyleExceptionInfo() { Name = "toc 5", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo25 = new LatentStyleExceptionInfo() { Name = "toc 6", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo26 = new LatentStyleExceptionInfo() { Name = "toc 7", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo27 = new LatentStyleExceptionInfo() { Name = "toc 8", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo28 = new LatentStyleExceptionInfo() { Name = "toc 9", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo29 = new LatentStyleExceptionInfo() { Name = "Normal Indent", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo30 = new LatentStyleExceptionInfo() { Name = "footnote text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo31 = new LatentStyleExceptionInfo() { Name = "annotation text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo32 = new LatentStyleExceptionInfo() { Name = "header", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo33 = new LatentStyleExceptionInfo() { Name = "footer", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo34 = new LatentStyleExceptionInfo() { Name = "index heading", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo35 = new LatentStyleExceptionInfo() { Name = "caption", UiPriority = 35, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo36 = new LatentStyleExceptionInfo() { Name = "table of figures", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo37 = new LatentStyleExceptionInfo() { Name = "envelope address", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo38 = new LatentStyleExceptionInfo() { Name = "envelope return", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo39 = new LatentStyleExceptionInfo() { Name = "footnote reference", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo40 = new LatentStyleExceptionInfo() { Name = "annotation reference", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo41 = new LatentStyleExceptionInfo() { Name = "line number", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo42 = new LatentStyleExceptionInfo() { Name = "page number", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo43 = new LatentStyleExceptionInfo() { Name = "endnote reference", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo44 = new LatentStyleExceptionInfo() { Name = "endnote text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo45 = new LatentStyleExceptionInfo() { Name = "table of authorities", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo46 = new LatentStyleExceptionInfo() { Name = "macro", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo47 = new LatentStyleExceptionInfo() { Name = "toa heading", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo48 = new LatentStyleExceptionInfo() { Name = "List", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo49 = new LatentStyleExceptionInfo() { Name = "List Bullet", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo50 = new LatentStyleExceptionInfo() { Name = "List Number", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo51 = new LatentStyleExceptionInfo() { Name = "List 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo52 = new LatentStyleExceptionInfo() { Name = "List 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo53 = new LatentStyleExceptionInfo() { Name = "List 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo54 = new LatentStyleExceptionInfo() { Name = "List 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo55 = new LatentStyleExceptionInfo() { Name = "List Bullet 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo56 = new LatentStyleExceptionInfo() { Name = "List Bullet 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo57 = new LatentStyleExceptionInfo() { Name = "List Bullet 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo58 = new LatentStyleExceptionInfo() { Name = "List Bullet 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo59 = new LatentStyleExceptionInfo() { Name = "List Number 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo60 = new LatentStyleExceptionInfo() { Name = "List Number 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo61 = new LatentStyleExceptionInfo() { Name = "List Number 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo62 = new LatentStyleExceptionInfo() { Name = "List Number 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo63 = new LatentStyleExceptionInfo() { Name = "Title", UiPriority = 10, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo64 = new LatentStyleExceptionInfo() { Name = "Closing", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo65 = new LatentStyleExceptionInfo() { Name = "Signature", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo66 = new LatentStyleExceptionInfo() { Name = "Default Paragraph Font", UiPriority = 1, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo67 = new LatentStyleExceptionInfo() { Name = "Body Text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo68 = new LatentStyleExceptionInfo() { Name = "Body Text Indent", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo69 = new LatentStyleExceptionInfo() { Name = "List Continue", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo70 = new LatentStyleExceptionInfo() { Name = "List Continue 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo71 = new LatentStyleExceptionInfo() { Name = "List Continue 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo72 = new LatentStyleExceptionInfo() { Name = "List Continue 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo73 = new LatentStyleExceptionInfo() { Name = "List Continue 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo74 = new LatentStyleExceptionInfo() { Name = "Message Header", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo75 = new LatentStyleExceptionInfo() { Name = "Subtitle", UiPriority = 11, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo76 = new LatentStyleExceptionInfo() { Name = "Salutation", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo77 = new LatentStyleExceptionInfo() { Name = "Date", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo78 = new LatentStyleExceptionInfo() { Name = "Body Text First Indent", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo79 = new LatentStyleExceptionInfo() { Name = "Body Text First Indent 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo80 = new LatentStyleExceptionInfo() { Name = "Note Heading", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo81 = new LatentStyleExceptionInfo() { Name = "Body Text 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo82 = new LatentStyleExceptionInfo() { Name = "Body Text 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo83 = new LatentStyleExceptionInfo() { Name = "Body Text Indent 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo84 = new LatentStyleExceptionInfo() { Name = "Body Text Indent 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo85 = new LatentStyleExceptionInfo() { Name = "Block Text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo86 = new LatentStyleExceptionInfo() { Name = "Hyperlink", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo87 = new LatentStyleExceptionInfo() { Name = "FollowedHyperlink", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo88 = new LatentStyleExceptionInfo() { Name = "Strong", UiPriority = 22, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo89 = new LatentStyleExceptionInfo() { Name = "Emphasis", UiPriority = 20, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo90 = new LatentStyleExceptionInfo() { Name = "Document Map", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo91 = new LatentStyleExceptionInfo() { Name = "Plain Text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo92 = new LatentStyleExceptionInfo() { Name = "E-mail Signature", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo93 = new LatentStyleExceptionInfo() { Name = "HTML Top of Form", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo94 = new LatentStyleExceptionInfo() { Name = "HTML Bottom of Form", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo95 = new LatentStyleExceptionInfo() { Name = "Normal (Web)", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo96 = new LatentStyleExceptionInfo() { Name = "HTML Acronym", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo97 = new LatentStyleExceptionInfo() { Name = "HTML Address", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo98 = new LatentStyleExceptionInfo() { Name = "HTML Cite", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo99 = new LatentStyleExceptionInfo() { Name = "HTML Code", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo100 = new LatentStyleExceptionInfo() { Name = "HTML Definition", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo101 = new LatentStyleExceptionInfo() { Name = "HTML Keyboard", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo102 = new LatentStyleExceptionInfo() { Name = "HTML Preformatted", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo103 = new LatentStyleExceptionInfo() { Name = "HTML Sample", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo104 = new LatentStyleExceptionInfo() { Name = "HTML Typewriter", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo105 = new LatentStyleExceptionInfo() { Name = "HTML Variable", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo106 = new LatentStyleExceptionInfo() { Name = "Normal Table", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo107 = new LatentStyleExceptionInfo() { Name = "annotation subject", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo108 = new LatentStyleExceptionInfo() { Name = "No List", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo109 = new LatentStyleExceptionInfo() { Name = "Outline List 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo110 = new LatentStyleExceptionInfo() { Name = "Outline List 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo111 = new LatentStyleExceptionInfo() { Name = "Outline List 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo112 = new LatentStyleExceptionInfo() { Name = "Table Simple 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo113 = new LatentStyleExceptionInfo() { Name = "Table Simple 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo114 = new LatentStyleExceptionInfo() { Name = "Table Simple 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo115 = new LatentStyleExceptionInfo() { Name = "Table Classic 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo116 = new LatentStyleExceptionInfo() { Name = "Table Classic 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo117 = new LatentStyleExceptionInfo() { Name = "Table Classic 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo118 = new LatentStyleExceptionInfo() { Name = "Table Classic 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo119 = new LatentStyleExceptionInfo() { Name = "Table Colorful 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo120 = new LatentStyleExceptionInfo() { Name = "Table Colorful 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo121 = new LatentStyleExceptionInfo() { Name = "Table Colorful 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo122 = new LatentStyleExceptionInfo() { Name = "Table Columns 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo123 = new LatentStyleExceptionInfo() { Name = "Table Columns 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo124 = new LatentStyleExceptionInfo() { Name = "Table Columns 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo125 = new LatentStyleExceptionInfo() { Name = "Table Columns 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo126 = new LatentStyleExceptionInfo() { Name = "Table Columns 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo127 = new LatentStyleExceptionInfo() { Name = "Table Grid 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo128 = new LatentStyleExceptionInfo() { Name = "Table Grid 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo129 = new LatentStyleExceptionInfo() { Name = "Table Grid 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo130 = new LatentStyleExceptionInfo() { Name = "Table Grid 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo131 = new LatentStyleExceptionInfo() { Name = "Table Grid 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo132 = new LatentStyleExceptionInfo() { Name = "Table Grid 6", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo133 = new LatentStyleExceptionInfo() { Name = "Table Grid 7", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo134 = new LatentStyleExceptionInfo() { Name = "Table Grid 8", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo135 = new LatentStyleExceptionInfo() { Name = "Table List 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo136 = new LatentStyleExceptionInfo() { Name = "Table List 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo137 = new LatentStyleExceptionInfo() { Name = "Table List 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo138 = new LatentStyleExceptionInfo() { Name = "Table List 4", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo139 = new LatentStyleExceptionInfo() { Name = "Table List 5", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo140 = new LatentStyleExceptionInfo() { Name = "Table List 6", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo141 = new LatentStyleExceptionInfo() { Name = "Table List 7", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo142 = new LatentStyleExceptionInfo() { Name = "Table List 8", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo143 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo144 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo145 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo146 = new LatentStyleExceptionInfo() { Name = "Table Contemporary", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo147 = new LatentStyleExceptionInfo() { Name = "Table Elegant", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo148 = new LatentStyleExceptionInfo() { Name = "Table Professional", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo149 = new LatentStyleExceptionInfo() { Name = "Table Subtle 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo150 = new LatentStyleExceptionInfo() { Name = "Table Subtle 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo151 = new LatentStyleExceptionInfo() { Name = "Table Web 1", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo152 = new LatentStyleExceptionInfo() { Name = "Table Web 2", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo153 = new LatentStyleExceptionInfo() { Name = "Table Web 3", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo154 = new LatentStyleExceptionInfo() { Name = "Balloon Text", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo155 = new LatentStyleExceptionInfo() { Name = "Table Grid", UiPriority = 39 };
            LatentStyleExceptionInfo latentStyleExceptionInfo156 = new LatentStyleExceptionInfo() { Name = "Table Theme", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo157 = new LatentStyleExceptionInfo() { Name = "Placeholder Text", SemiHidden = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo158 = new LatentStyleExceptionInfo() { Name = "No Spacing", UiPriority = 1, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo159 = new LatentStyleExceptionInfo() { Name = "Light Shading", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo160 = new LatentStyleExceptionInfo() { Name = "Light List", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo161 = new LatentStyleExceptionInfo() { Name = "Light Grid", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo162 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo163 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo164 = new LatentStyleExceptionInfo() { Name = "Medium List 1", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo165 = new LatentStyleExceptionInfo() { Name = "Medium List 2", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo166 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo167 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo168 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo169 = new LatentStyleExceptionInfo() { Name = "Dark List", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo170 = new LatentStyleExceptionInfo() { Name = "Colorful Shading", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo171 = new LatentStyleExceptionInfo() { Name = "Colorful List", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo172 = new LatentStyleExceptionInfo() { Name = "Colorful Grid", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo173 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 1", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo174 = new LatentStyleExceptionInfo() { Name = "Light List Accent 1", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo175 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 1", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo176 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 1", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo177 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 1", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo178 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 1", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo179 = new LatentStyleExceptionInfo() { Name = "Revision", SemiHidden = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo180 = new LatentStyleExceptionInfo() { Name = "List Paragraph", UiPriority = 34, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo181 = new LatentStyleExceptionInfo() { Name = "Quote", UiPriority = 29, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo182 = new LatentStyleExceptionInfo() { Name = "Intense Quote", UiPriority = 30, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo183 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 1", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo184 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 1", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo185 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 1", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo186 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 1", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo187 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 1", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo188 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 1", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo189 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 1", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo190 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 1", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo191 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 2", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo192 = new LatentStyleExceptionInfo() { Name = "Light List Accent 2", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo193 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 2", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo194 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 2", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo195 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 2", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo196 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 2", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo197 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 2", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo198 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 2", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo199 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 2", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo200 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 2", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo201 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 2", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo202 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 2", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo203 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 2", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo204 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 2", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo205 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 3", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo206 = new LatentStyleExceptionInfo() { Name = "Light List Accent 3", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo207 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 3", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo208 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 3", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo209 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 3", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo210 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 3", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo211 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 3", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo212 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 3", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo213 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 3", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo214 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 3", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo215 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 3", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo216 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 3", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo217 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 3", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo218 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 3", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo219 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 4", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo220 = new LatentStyleExceptionInfo() { Name = "Light List Accent 4", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo221 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 4", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo222 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 4", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo223 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 4", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo224 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 4", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo225 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 4", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo226 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 4", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo227 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 4", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo228 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 4", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo229 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 4", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo230 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 4", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo231 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 4", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo232 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 4", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo233 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 5", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo234 = new LatentStyleExceptionInfo() { Name = "Light List Accent 5", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo235 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 5", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo236 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 5", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo237 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 5", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo238 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 5", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo239 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 5", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo240 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 5", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo241 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 5", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo242 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 5", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo243 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 5", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo244 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 5", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo245 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 5", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo246 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 5", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo247 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 6", UiPriority = 60 };
            LatentStyleExceptionInfo latentStyleExceptionInfo248 = new LatentStyleExceptionInfo() { Name = "Light List Accent 6", UiPriority = 61 };
            LatentStyleExceptionInfo latentStyleExceptionInfo249 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 6", UiPriority = 62 };
            LatentStyleExceptionInfo latentStyleExceptionInfo250 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 6", UiPriority = 63 };
            LatentStyleExceptionInfo latentStyleExceptionInfo251 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 6", UiPriority = 64 };
            LatentStyleExceptionInfo latentStyleExceptionInfo252 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 6", UiPriority = 65 };
            LatentStyleExceptionInfo latentStyleExceptionInfo253 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 6", UiPriority = 66 };
            LatentStyleExceptionInfo latentStyleExceptionInfo254 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 6", UiPriority = 67 };
            LatentStyleExceptionInfo latentStyleExceptionInfo255 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 6", UiPriority = 68 };
            LatentStyleExceptionInfo latentStyleExceptionInfo256 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 6", UiPriority = 69 };
            LatentStyleExceptionInfo latentStyleExceptionInfo257 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 6", UiPriority = 70 };
            LatentStyleExceptionInfo latentStyleExceptionInfo258 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 6", UiPriority = 71 };
            LatentStyleExceptionInfo latentStyleExceptionInfo259 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 6", UiPriority = 72 };
            LatentStyleExceptionInfo latentStyleExceptionInfo260 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 6", UiPriority = 73 };
            LatentStyleExceptionInfo latentStyleExceptionInfo261 = new LatentStyleExceptionInfo() { Name = "Subtle Emphasis", UiPriority = 19, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo262 = new LatentStyleExceptionInfo() { Name = "Intense Emphasis", UiPriority = 21, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo263 = new LatentStyleExceptionInfo() { Name = "Subtle Reference", UiPriority = 31, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo264 = new LatentStyleExceptionInfo() { Name = "Intense Reference", UiPriority = 32, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo265 = new LatentStyleExceptionInfo() { Name = "Book Title", UiPriority = 33, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo266 = new LatentStyleExceptionInfo() { Name = "Bibliography", UiPriority = 37, SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo267 = new LatentStyleExceptionInfo() { Name = "TOC Heading", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo268 = new LatentStyleExceptionInfo() { Name = "Plain Table 1", UiPriority = 41 };
            LatentStyleExceptionInfo latentStyleExceptionInfo269 = new LatentStyleExceptionInfo() { Name = "Plain Table 2", UiPriority = 42 };
            LatentStyleExceptionInfo latentStyleExceptionInfo270 = new LatentStyleExceptionInfo() { Name = "Plain Table 3", UiPriority = 43 };
            LatentStyleExceptionInfo latentStyleExceptionInfo271 = new LatentStyleExceptionInfo() { Name = "Plain Table 4", UiPriority = 44 };
            LatentStyleExceptionInfo latentStyleExceptionInfo272 = new LatentStyleExceptionInfo() { Name = "Plain Table 5", UiPriority = 45 };
            LatentStyleExceptionInfo latentStyleExceptionInfo273 = new LatentStyleExceptionInfo() { Name = "Grid Table Light", UiPriority = 40 };
            LatentStyleExceptionInfo latentStyleExceptionInfo274 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo275 = new LatentStyleExceptionInfo() { Name = "Grid Table 2", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo276 = new LatentStyleExceptionInfo() { Name = "Grid Table 3", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo277 = new LatentStyleExceptionInfo() { Name = "Grid Table 4", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo278 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo279 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo280 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo281 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 1", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo282 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 1", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo283 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 1", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo284 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 1", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo285 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 1", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo286 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 1", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo287 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 1", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo288 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 2", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo289 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 2", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo290 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 2", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo291 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 2", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo292 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 2", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo293 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 2", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo294 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 2", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo295 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 3", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo296 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 3", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo297 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 3", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo298 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 3", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo299 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 3", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo300 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 3", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo301 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 3", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo302 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 4", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo303 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 4", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo304 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 4", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo305 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 4", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo306 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 4", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo307 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 4", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo308 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 4", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo309 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 5", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo310 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 5", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo311 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 5", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo312 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 5", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo313 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 5", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo314 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 5", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo315 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 5", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo316 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 6", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo317 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 6", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo318 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 6", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo319 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 6", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo320 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 6", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo321 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 6", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo322 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 6", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo323 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo324 = new LatentStyleExceptionInfo() { Name = "List Table 2", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo325 = new LatentStyleExceptionInfo() { Name = "List Table 3", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo326 = new LatentStyleExceptionInfo() { Name = "List Table 4", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo327 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo328 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo329 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo330 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 1", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo331 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 1", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo332 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 1", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo333 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 1", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo334 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 1", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo335 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 1", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo336 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 1", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo337 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 2", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo338 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 2", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo339 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 2", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo340 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 2", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo341 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 2", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo342 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 2", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo343 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 2", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo344 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 3", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo345 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 3", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo346 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 3", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo347 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 3", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo348 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 3", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo349 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 3", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo350 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 3", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo351 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 4", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo352 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 4", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo353 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 4", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo354 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 4", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo355 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 4", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo356 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 4", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo357 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 4", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo358 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 5", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo359 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 5", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo360 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 5", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo361 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 5", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo362 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 5", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo363 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 5", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo364 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 5", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo365 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 6", UiPriority = 46 };
            LatentStyleExceptionInfo latentStyleExceptionInfo366 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 6", UiPriority = 47 };
            LatentStyleExceptionInfo latentStyleExceptionInfo367 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 6", UiPriority = 48 };
            LatentStyleExceptionInfo latentStyleExceptionInfo368 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 6", UiPriority = 49 };
            LatentStyleExceptionInfo latentStyleExceptionInfo369 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 6", UiPriority = 50 };
            LatentStyleExceptionInfo latentStyleExceptionInfo370 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 6", UiPriority = 51 };
            LatentStyleExceptionInfo latentStyleExceptionInfo371 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 6", UiPriority = 52 };
            LatentStyleExceptionInfo latentStyleExceptionInfo372 = new LatentStyleExceptionInfo() { Name = "Mention", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo373 = new LatentStyleExceptionInfo() { Name = "Smart Hyperlink", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo374 = new LatentStyleExceptionInfo() { Name = "Hashtag", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo375 = new LatentStyleExceptionInfo() { Name = "Unresolved Mention", SemiHidden = true, UnhideWhenUsed = true };
            LatentStyleExceptionInfo latentStyleExceptionInfo376 = new LatentStyleExceptionInfo() { Name = "Smart Link", SemiHidden = true, UnhideWhenUsed = true };

            latentStyles1.Append(latentStyleExceptionInfo1);
            latentStyles1.Append(latentStyleExceptionInfo2);
            latentStyles1.Append(latentStyleExceptionInfo3);
            latentStyles1.Append(latentStyleExceptionInfo4);
            latentStyles1.Append(latentStyleExceptionInfo5);
            latentStyles1.Append(latentStyleExceptionInfo6);
            latentStyles1.Append(latentStyleExceptionInfo7);
            latentStyles1.Append(latentStyleExceptionInfo8);
            latentStyles1.Append(latentStyleExceptionInfo9);
            latentStyles1.Append(latentStyleExceptionInfo10);
            latentStyles1.Append(latentStyleExceptionInfo11);
            latentStyles1.Append(latentStyleExceptionInfo12);
            latentStyles1.Append(latentStyleExceptionInfo13);
            latentStyles1.Append(latentStyleExceptionInfo14);
            latentStyles1.Append(latentStyleExceptionInfo15);
            latentStyles1.Append(latentStyleExceptionInfo16);
            latentStyles1.Append(latentStyleExceptionInfo17);
            latentStyles1.Append(latentStyleExceptionInfo18);
            latentStyles1.Append(latentStyleExceptionInfo19);
            latentStyles1.Append(latentStyleExceptionInfo20);
            latentStyles1.Append(latentStyleExceptionInfo21);
            latentStyles1.Append(latentStyleExceptionInfo22);
            latentStyles1.Append(latentStyleExceptionInfo23);
            latentStyles1.Append(latentStyleExceptionInfo24);
            latentStyles1.Append(latentStyleExceptionInfo25);
            latentStyles1.Append(latentStyleExceptionInfo26);
            latentStyles1.Append(latentStyleExceptionInfo27);
            latentStyles1.Append(latentStyleExceptionInfo28);
            latentStyles1.Append(latentStyleExceptionInfo29);
            latentStyles1.Append(latentStyleExceptionInfo30);
            latentStyles1.Append(latentStyleExceptionInfo31);
            latentStyles1.Append(latentStyleExceptionInfo32);
            latentStyles1.Append(latentStyleExceptionInfo33);
            latentStyles1.Append(latentStyleExceptionInfo34);
            latentStyles1.Append(latentStyleExceptionInfo35);
            latentStyles1.Append(latentStyleExceptionInfo36);
            latentStyles1.Append(latentStyleExceptionInfo37);
            latentStyles1.Append(latentStyleExceptionInfo38);
            latentStyles1.Append(latentStyleExceptionInfo39);
            latentStyles1.Append(latentStyleExceptionInfo40);
            latentStyles1.Append(latentStyleExceptionInfo41);
            latentStyles1.Append(latentStyleExceptionInfo42);
            latentStyles1.Append(latentStyleExceptionInfo43);
            latentStyles1.Append(latentStyleExceptionInfo44);
            latentStyles1.Append(latentStyleExceptionInfo45);
            latentStyles1.Append(latentStyleExceptionInfo46);
            latentStyles1.Append(latentStyleExceptionInfo47);
            latentStyles1.Append(latentStyleExceptionInfo48);
            latentStyles1.Append(latentStyleExceptionInfo49);
            latentStyles1.Append(latentStyleExceptionInfo50);
            latentStyles1.Append(latentStyleExceptionInfo51);
            latentStyles1.Append(latentStyleExceptionInfo52);
            latentStyles1.Append(latentStyleExceptionInfo53);
            latentStyles1.Append(latentStyleExceptionInfo54);
            latentStyles1.Append(latentStyleExceptionInfo55);
            latentStyles1.Append(latentStyleExceptionInfo56);
            latentStyles1.Append(latentStyleExceptionInfo57);
            latentStyles1.Append(latentStyleExceptionInfo58);
            latentStyles1.Append(latentStyleExceptionInfo59);
            latentStyles1.Append(latentStyleExceptionInfo60);
            latentStyles1.Append(latentStyleExceptionInfo61);
            latentStyles1.Append(latentStyleExceptionInfo62);
            latentStyles1.Append(latentStyleExceptionInfo63);
            latentStyles1.Append(latentStyleExceptionInfo64);
            latentStyles1.Append(latentStyleExceptionInfo65);
            latentStyles1.Append(latentStyleExceptionInfo66);
            latentStyles1.Append(latentStyleExceptionInfo67);
            latentStyles1.Append(latentStyleExceptionInfo68);
            latentStyles1.Append(latentStyleExceptionInfo69);
            latentStyles1.Append(latentStyleExceptionInfo70);
            latentStyles1.Append(latentStyleExceptionInfo71);
            latentStyles1.Append(latentStyleExceptionInfo72);
            latentStyles1.Append(latentStyleExceptionInfo73);
            latentStyles1.Append(latentStyleExceptionInfo74);
            latentStyles1.Append(latentStyleExceptionInfo75);
            latentStyles1.Append(latentStyleExceptionInfo76);
            latentStyles1.Append(latentStyleExceptionInfo77);
            latentStyles1.Append(latentStyleExceptionInfo78);
            latentStyles1.Append(latentStyleExceptionInfo79);
            latentStyles1.Append(latentStyleExceptionInfo80);
            latentStyles1.Append(latentStyleExceptionInfo81);
            latentStyles1.Append(latentStyleExceptionInfo82);
            latentStyles1.Append(latentStyleExceptionInfo83);
            latentStyles1.Append(latentStyleExceptionInfo84);
            latentStyles1.Append(latentStyleExceptionInfo85);
            latentStyles1.Append(latentStyleExceptionInfo86);
            latentStyles1.Append(latentStyleExceptionInfo87);
            latentStyles1.Append(latentStyleExceptionInfo88);
            latentStyles1.Append(latentStyleExceptionInfo89);
            latentStyles1.Append(latentStyleExceptionInfo90);
            latentStyles1.Append(latentStyleExceptionInfo91);
            latentStyles1.Append(latentStyleExceptionInfo92);
            latentStyles1.Append(latentStyleExceptionInfo93);
            latentStyles1.Append(latentStyleExceptionInfo94);
            latentStyles1.Append(latentStyleExceptionInfo95);
            latentStyles1.Append(latentStyleExceptionInfo96);
            latentStyles1.Append(latentStyleExceptionInfo97);
            latentStyles1.Append(latentStyleExceptionInfo98);
            latentStyles1.Append(latentStyleExceptionInfo99);
            latentStyles1.Append(latentStyleExceptionInfo100);
            latentStyles1.Append(latentStyleExceptionInfo101);
            latentStyles1.Append(latentStyleExceptionInfo102);
            latentStyles1.Append(latentStyleExceptionInfo103);
            latentStyles1.Append(latentStyleExceptionInfo104);
            latentStyles1.Append(latentStyleExceptionInfo105);
            latentStyles1.Append(latentStyleExceptionInfo106);
            latentStyles1.Append(latentStyleExceptionInfo107);
            latentStyles1.Append(latentStyleExceptionInfo108);
            latentStyles1.Append(latentStyleExceptionInfo109);
            latentStyles1.Append(latentStyleExceptionInfo110);
            latentStyles1.Append(latentStyleExceptionInfo111);
            latentStyles1.Append(latentStyleExceptionInfo112);
            latentStyles1.Append(latentStyleExceptionInfo113);
            latentStyles1.Append(latentStyleExceptionInfo114);
            latentStyles1.Append(latentStyleExceptionInfo115);
            latentStyles1.Append(latentStyleExceptionInfo116);
            latentStyles1.Append(latentStyleExceptionInfo117);
            latentStyles1.Append(latentStyleExceptionInfo118);
            latentStyles1.Append(latentStyleExceptionInfo119);
            latentStyles1.Append(latentStyleExceptionInfo120);
            latentStyles1.Append(latentStyleExceptionInfo121);
            latentStyles1.Append(latentStyleExceptionInfo122);
            latentStyles1.Append(latentStyleExceptionInfo123);
            latentStyles1.Append(latentStyleExceptionInfo124);
            latentStyles1.Append(latentStyleExceptionInfo125);
            latentStyles1.Append(latentStyleExceptionInfo126);
            latentStyles1.Append(latentStyleExceptionInfo127);
            latentStyles1.Append(latentStyleExceptionInfo128);
            latentStyles1.Append(latentStyleExceptionInfo129);
            latentStyles1.Append(latentStyleExceptionInfo130);
            latentStyles1.Append(latentStyleExceptionInfo131);
            latentStyles1.Append(latentStyleExceptionInfo132);
            latentStyles1.Append(latentStyleExceptionInfo133);
            latentStyles1.Append(latentStyleExceptionInfo134);
            latentStyles1.Append(latentStyleExceptionInfo135);
            latentStyles1.Append(latentStyleExceptionInfo136);
            latentStyles1.Append(latentStyleExceptionInfo137);
            latentStyles1.Append(latentStyleExceptionInfo138);
            latentStyles1.Append(latentStyleExceptionInfo139);
            latentStyles1.Append(latentStyleExceptionInfo140);
            latentStyles1.Append(latentStyleExceptionInfo141);
            latentStyles1.Append(latentStyleExceptionInfo142);
            latentStyles1.Append(latentStyleExceptionInfo143);
            latentStyles1.Append(latentStyleExceptionInfo144);
            latentStyles1.Append(latentStyleExceptionInfo145);
            latentStyles1.Append(latentStyleExceptionInfo146);
            latentStyles1.Append(latentStyleExceptionInfo147);
            latentStyles1.Append(latentStyleExceptionInfo148);
            latentStyles1.Append(latentStyleExceptionInfo149);
            latentStyles1.Append(latentStyleExceptionInfo150);
            latentStyles1.Append(latentStyleExceptionInfo151);
            latentStyles1.Append(latentStyleExceptionInfo152);
            latentStyles1.Append(latentStyleExceptionInfo153);
            latentStyles1.Append(latentStyleExceptionInfo154);
            latentStyles1.Append(latentStyleExceptionInfo155);
            latentStyles1.Append(latentStyleExceptionInfo156);
            latentStyles1.Append(latentStyleExceptionInfo157);
            latentStyles1.Append(latentStyleExceptionInfo158);
            latentStyles1.Append(latentStyleExceptionInfo159);
            latentStyles1.Append(latentStyleExceptionInfo160);
            latentStyles1.Append(latentStyleExceptionInfo161);
            latentStyles1.Append(latentStyleExceptionInfo162);
            latentStyles1.Append(latentStyleExceptionInfo163);
            latentStyles1.Append(latentStyleExceptionInfo164);
            latentStyles1.Append(latentStyleExceptionInfo165);
            latentStyles1.Append(latentStyleExceptionInfo166);
            latentStyles1.Append(latentStyleExceptionInfo167);
            latentStyles1.Append(latentStyleExceptionInfo168);
            latentStyles1.Append(latentStyleExceptionInfo169);
            latentStyles1.Append(latentStyleExceptionInfo170);
            latentStyles1.Append(latentStyleExceptionInfo171);
            latentStyles1.Append(latentStyleExceptionInfo172);
            latentStyles1.Append(latentStyleExceptionInfo173);
            latentStyles1.Append(latentStyleExceptionInfo174);
            latentStyles1.Append(latentStyleExceptionInfo175);
            latentStyles1.Append(latentStyleExceptionInfo176);
            latentStyles1.Append(latentStyleExceptionInfo177);
            latentStyles1.Append(latentStyleExceptionInfo178);
            latentStyles1.Append(latentStyleExceptionInfo179);
            latentStyles1.Append(latentStyleExceptionInfo180);
            latentStyles1.Append(latentStyleExceptionInfo181);
            latentStyles1.Append(latentStyleExceptionInfo182);
            latentStyles1.Append(latentStyleExceptionInfo183);
            latentStyles1.Append(latentStyleExceptionInfo184);
            latentStyles1.Append(latentStyleExceptionInfo185);
            latentStyles1.Append(latentStyleExceptionInfo186);
            latentStyles1.Append(latentStyleExceptionInfo187);
            latentStyles1.Append(latentStyleExceptionInfo188);
            latentStyles1.Append(latentStyleExceptionInfo189);
            latentStyles1.Append(latentStyleExceptionInfo190);
            latentStyles1.Append(latentStyleExceptionInfo191);
            latentStyles1.Append(latentStyleExceptionInfo192);
            latentStyles1.Append(latentStyleExceptionInfo193);
            latentStyles1.Append(latentStyleExceptionInfo194);
            latentStyles1.Append(latentStyleExceptionInfo195);
            latentStyles1.Append(latentStyleExceptionInfo196);
            latentStyles1.Append(latentStyleExceptionInfo197);
            latentStyles1.Append(latentStyleExceptionInfo198);
            latentStyles1.Append(latentStyleExceptionInfo199);
            latentStyles1.Append(latentStyleExceptionInfo200);
            latentStyles1.Append(latentStyleExceptionInfo201);
            latentStyles1.Append(latentStyleExceptionInfo202);
            latentStyles1.Append(latentStyleExceptionInfo203);
            latentStyles1.Append(latentStyleExceptionInfo204);
            latentStyles1.Append(latentStyleExceptionInfo205);
            latentStyles1.Append(latentStyleExceptionInfo206);
            latentStyles1.Append(latentStyleExceptionInfo207);
            latentStyles1.Append(latentStyleExceptionInfo208);
            latentStyles1.Append(latentStyleExceptionInfo209);
            latentStyles1.Append(latentStyleExceptionInfo210);
            latentStyles1.Append(latentStyleExceptionInfo211);
            latentStyles1.Append(latentStyleExceptionInfo212);
            latentStyles1.Append(latentStyleExceptionInfo213);
            latentStyles1.Append(latentStyleExceptionInfo214);
            latentStyles1.Append(latentStyleExceptionInfo215);
            latentStyles1.Append(latentStyleExceptionInfo216);
            latentStyles1.Append(latentStyleExceptionInfo217);
            latentStyles1.Append(latentStyleExceptionInfo218);
            latentStyles1.Append(latentStyleExceptionInfo219);
            latentStyles1.Append(latentStyleExceptionInfo220);
            latentStyles1.Append(latentStyleExceptionInfo221);
            latentStyles1.Append(latentStyleExceptionInfo222);
            latentStyles1.Append(latentStyleExceptionInfo223);
            latentStyles1.Append(latentStyleExceptionInfo224);
            latentStyles1.Append(latentStyleExceptionInfo225);
            latentStyles1.Append(latentStyleExceptionInfo226);
            latentStyles1.Append(latentStyleExceptionInfo227);
            latentStyles1.Append(latentStyleExceptionInfo228);
            latentStyles1.Append(latentStyleExceptionInfo229);
            latentStyles1.Append(latentStyleExceptionInfo230);
            latentStyles1.Append(latentStyleExceptionInfo231);
            latentStyles1.Append(latentStyleExceptionInfo232);
            latentStyles1.Append(latentStyleExceptionInfo233);
            latentStyles1.Append(latentStyleExceptionInfo234);
            latentStyles1.Append(latentStyleExceptionInfo235);
            latentStyles1.Append(latentStyleExceptionInfo236);
            latentStyles1.Append(latentStyleExceptionInfo237);
            latentStyles1.Append(latentStyleExceptionInfo238);
            latentStyles1.Append(latentStyleExceptionInfo239);
            latentStyles1.Append(latentStyleExceptionInfo240);
            latentStyles1.Append(latentStyleExceptionInfo241);
            latentStyles1.Append(latentStyleExceptionInfo242);
            latentStyles1.Append(latentStyleExceptionInfo243);
            latentStyles1.Append(latentStyleExceptionInfo244);
            latentStyles1.Append(latentStyleExceptionInfo245);
            latentStyles1.Append(latentStyleExceptionInfo246);
            latentStyles1.Append(latentStyleExceptionInfo247);
            latentStyles1.Append(latentStyleExceptionInfo248);
            latentStyles1.Append(latentStyleExceptionInfo249);
            latentStyles1.Append(latentStyleExceptionInfo250);
            latentStyles1.Append(latentStyleExceptionInfo251);
            latentStyles1.Append(latentStyleExceptionInfo252);
            latentStyles1.Append(latentStyleExceptionInfo253);
            latentStyles1.Append(latentStyleExceptionInfo254);
            latentStyles1.Append(latentStyleExceptionInfo255);
            latentStyles1.Append(latentStyleExceptionInfo256);
            latentStyles1.Append(latentStyleExceptionInfo257);
            latentStyles1.Append(latentStyleExceptionInfo258);
            latentStyles1.Append(latentStyleExceptionInfo259);
            latentStyles1.Append(latentStyleExceptionInfo260);
            latentStyles1.Append(latentStyleExceptionInfo261);
            latentStyles1.Append(latentStyleExceptionInfo262);
            latentStyles1.Append(latentStyleExceptionInfo263);
            latentStyles1.Append(latentStyleExceptionInfo264);
            latentStyles1.Append(latentStyleExceptionInfo265);
            latentStyles1.Append(latentStyleExceptionInfo266);
            latentStyles1.Append(latentStyleExceptionInfo267);
            latentStyles1.Append(latentStyleExceptionInfo268);
            latentStyles1.Append(latentStyleExceptionInfo269);
            latentStyles1.Append(latentStyleExceptionInfo270);
            latentStyles1.Append(latentStyleExceptionInfo271);
            latentStyles1.Append(latentStyleExceptionInfo272);
            latentStyles1.Append(latentStyleExceptionInfo273);
            latentStyles1.Append(latentStyleExceptionInfo274);
            latentStyles1.Append(latentStyleExceptionInfo275);
            latentStyles1.Append(latentStyleExceptionInfo276);
            latentStyles1.Append(latentStyleExceptionInfo277);
            latentStyles1.Append(latentStyleExceptionInfo278);
            latentStyles1.Append(latentStyleExceptionInfo279);
            latentStyles1.Append(latentStyleExceptionInfo280);
            latentStyles1.Append(latentStyleExceptionInfo281);
            latentStyles1.Append(latentStyleExceptionInfo282);
            latentStyles1.Append(latentStyleExceptionInfo283);
            latentStyles1.Append(latentStyleExceptionInfo284);
            latentStyles1.Append(latentStyleExceptionInfo285);
            latentStyles1.Append(latentStyleExceptionInfo286);
            latentStyles1.Append(latentStyleExceptionInfo287);
            latentStyles1.Append(latentStyleExceptionInfo288);
            latentStyles1.Append(latentStyleExceptionInfo289);
            latentStyles1.Append(latentStyleExceptionInfo290);
            latentStyles1.Append(latentStyleExceptionInfo291);
            latentStyles1.Append(latentStyleExceptionInfo292);
            latentStyles1.Append(latentStyleExceptionInfo293);
            latentStyles1.Append(latentStyleExceptionInfo294);
            latentStyles1.Append(latentStyleExceptionInfo295);
            latentStyles1.Append(latentStyleExceptionInfo296);
            latentStyles1.Append(latentStyleExceptionInfo297);
            latentStyles1.Append(latentStyleExceptionInfo298);
            latentStyles1.Append(latentStyleExceptionInfo299);
            latentStyles1.Append(latentStyleExceptionInfo300);
            latentStyles1.Append(latentStyleExceptionInfo301);
            latentStyles1.Append(latentStyleExceptionInfo302);
            latentStyles1.Append(latentStyleExceptionInfo303);
            latentStyles1.Append(latentStyleExceptionInfo304);
            latentStyles1.Append(latentStyleExceptionInfo305);
            latentStyles1.Append(latentStyleExceptionInfo306);
            latentStyles1.Append(latentStyleExceptionInfo307);
            latentStyles1.Append(latentStyleExceptionInfo308);
            latentStyles1.Append(latentStyleExceptionInfo309);
            latentStyles1.Append(latentStyleExceptionInfo310);
            latentStyles1.Append(latentStyleExceptionInfo311);
            latentStyles1.Append(latentStyleExceptionInfo312);
            latentStyles1.Append(latentStyleExceptionInfo313);
            latentStyles1.Append(latentStyleExceptionInfo314);
            latentStyles1.Append(latentStyleExceptionInfo315);
            latentStyles1.Append(latentStyleExceptionInfo316);
            latentStyles1.Append(latentStyleExceptionInfo317);
            latentStyles1.Append(latentStyleExceptionInfo318);
            latentStyles1.Append(latentStyleExceptionInfo319);
            latentStyles1.Append(latentStyleExceptionInfo320);
            latentStyles1.Append(latentStyleExceptionInfo321);
            latentStyles1.Append(latentStyleExceptionInfo322);
            latentStyles1.Append(latentStyleExceptionInfo323);
            latentStyles1.Append(latentStyleExceptionInfo324);
            latentStyles1.Append(latentStyleExceptionInfo325);
            latentStyles1.Append(latentStyleExceptionInfo326);
            latentStyles1.Append(latentStyleExceptionInfo327);
            latentStyles1.Append(latentStyleExceptionInfo328);
            latentStyles1.Append(latentStyleExceptionInfo329);
            latentStyles1.Append(latentStyleExceptionInfo330);
            latentStyles1.Append(latentStyleExceptionInfo331);
            latentStyles1.Append(latentStyleExceptionInfo332);
            latentStyles1.Append(latentStyleExceptionInfo333);
            latentStyles1.Append(latentStyleExceptionInfo334);
            latentStyles1.Append(latentStyleExceptionInfo335);
            latentStyles1.Append(latentStyleExceptionInfo336);
            latentStyles1.Append(latentStyleExceptionInfo337);
            latentStyles1.Append(latentStyleExceptionInfo338);
            latentStyles1.Append(latentStyleExceptionInfo339);
            latentStyles1.Append(latentStyleExceptionInfo340);
            latentStyles1.Append(latentStyleExceptionInfo341);
            latentStyles1.Append(latentStyleExceptionInfo342);
            latentStyles1.Append(latentStyleExceptionInfo343);
            latentStyles1.Append(latentStyleExceptionInfo344);
            latentStyles1.Append(latentStyleExceptionInfo345);
            latentStyles1.Append(latentStyleExceptionInfo346);
            latentStyles1.Append(latentStyleExceptionInfo347);
            latentStyles1.Append(latentStyleExceptionInfo348);
            latentStyles1.Append(latentStyleExceptionInfo349);
            latentStyles1.Append(latentStyleExceptionInfo350);
            latentStyles1.Append(latentStyleExceptionInfo351);
            latentStyles1.Append(latentStyleExceptionInfo352);
            latentStyles1.Append(latentStyleExceptionInfo353);
            latentStyles1.Append(latentStyleExceptionInfo354);
            latentStyles1.Append(latentStyleExceptionInfo355);
            latentStyles1.Append(latentStyleExceptionInfo356);
            latentStyles1.Append(latentStyleExceptionInfo357);
            latentStyles1.Append(latentStyleExceptionInfo358);
            latentStyles1.Append(latentStyleExceptionInfo359);
            latentStyles1.Append(latentStyleExceptionInfo360);
            latentStyles1.Append(latentStyleExceptionInfo361);
            latentStyles1.Append(latentStyleExceptionInfo362);
            latentStyles1.Append(latentStyleExceptionInfo363);
            latentStyles1.Append(latentStyleExceptionInfo364);
            latentStyles1.Append(latentStyleExceptionInfo365);
            latentStyles1.Append(latentStyleExceptionInfo366);
            latentStyles1.Append(latentStyleExceptionInfo367);
            latentStyles1.Append(latentStyleExceptionInfo368);
            latentStyles1.Append(latentStyleExceptionInfo369);
            latentStyles1.Append(latentStyleExceptionInfo370);
            latentStyles1.Append(latentStyleExceptionInfo371);
            latentStyles1.Append(latentStyleExceptionInfo372);
            latentStyles1.Append(latentStyleExceptionInfo373);
            latentStyles1.Append(latentStyleExceptionInfo374);
            latentStyles1.Append(latentStyleExceptionInfo375);
            latentStyles1.Append(latentStyleExceptionInfo376);

            Style style1 = new Style() { Type = StyleValues.Paragraph, StyleId = "Normal", Default = true };
            StyleName styleName1 = new StyleName() { Val = "Normal" };
            PrimaryStyle primaryStyle1 = new PrimaryStyle();

            style1.Append(styleName1);
            style1.Append(primaryStyle1);

            Style style2 = new Style() { Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true };
            StyleName styleName2 = new StyleName() { Val = "Default Paragraph Font" };
            UIPriority uIPriority1 = new UIPriority() { Val = 1 };
            SemiHidden semiHidden1 = new SemiHidden();
            UnhideWhenUsed unhideWhenUsed1 = new UnhideWhenUsed();

            style2.Append(styleName2);
            style2.Append(uIPriority1);
            style2.Append(semiHidden1);
            style2.Append(unhideWhenUsed1);

            Style style3 = new Style() { Type = StyleValues.Table, StyleId = "TableNormal", Default = true };
            StyleName styleName3 = new StyleName() { Val = "Normal Table" };
            UIPriority uIPriority2 = new UIPriority() { Val = 99 };
            SemiHidden semiHidden2 = new SemiHidden();
            UnhideWhenUsed unhideWhenUsed2 = new UnhideWhenUsed();

            StyleTableProperties styleTableProperties1 = new StyleTableProperties();
            TableIndentation tableIndentation1 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa };

            TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault();
            TopMargin topMargin1 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
            TableCellLeftMargin tableCellLeftMargin1 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa };
            BottomMargin bottomMargin1 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
            TableCellRightMargin tableCellRightMargin1 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa };

            tableCellMarginDefault1.Append(topMargin1);
            tableCellMarginDefault1.Append(tableCellLeftMargin1);
            tableCellMarginDefault1.Append(bottomMargin1);
            tableCellMarginDefault1.Append(tableCellRightMargin1);

            styleTableProperties1.Append(tableIndentation1);
            styleTableProperties1.Append(tableCellMarginDefault1);

            style3.Append(styleName3);
            style3.Append(uIPriority2);
            style3.Append(semiHidden2);
            style3.Append(unhideWhenUsed2);
            style3.Append(styleTableProperties1);

            Style style4 = new Style() { Type = StyleValues.Numbering, StyleId = "NoList", Default = true };
            StyleName styleName4 = new StyleName() { Val = "No List" };
            UIPriority uIPriority3 = new UIPriority() { Val = 99 };
            SemiHidden semiHidden3 = new SemiHidden();
            UnhideWhenUsed unhideWhenUsed3 = new UnhideWhenUsed();

            style4.Append(styleName4);
            style4.Append(uIPriority3);
            style4.Append(semiHidden3);
            style4.Append(unhideWhenUsed3);

            Style style5 = new Style() { Type = StyleValues.Paragraph, StyleId = "ListParagraph" };
            StyleName styleName5 = new StyleName() { Val = "List Paragraph" };
            BasedOn basedOn1 = new BasedOn() { Val = "Normal" };
            UIPriority uIPriority4 = new UIPriority() { Val = 34 };
            PrimaryStyle primaryStyle2 = new PrimaryStyle();
            Rsid rsid21 = new Rsid() { Val = "00534E3C" };

            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
            Indentation indentation1 = new Indentation() { Start = "720" };
            ContextualSpacing contextualSpacing1 = new ContextualSpacing();

            styleParagraphProperties1.Append(indentation1);
            styleParagraphProperties1.Append(contextualSpacing1);

            style5.Append(styleName5);
            style5.Append(basedOn1);
            style5.Append(uIPriority4);
            style5.Append(primaryStyle2);
            style5.Append(rsid21);
            style5.Append(styleParagraphProperties1);

            styles1.Append(docDefaults1);
            styles1.Append(latentStyles1);
            styles1.Append(style1);
            styles1.Append(style2);
            styles1.Append(style3);
            styles1.Append(style4);
            styles1.Append(style5);

            styleDefinitionsPart1.Styles = styles1;
        }

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Linq;
using System.Threading.Tasks;
using System.Reflection;

//using DocumentFormat.OpenXml;
//using DocumentFormat.OpenXml.Wordprocessing;
//using DocumentFormat.OpenXml.Packaging;
//using Ap = DocumentFormat.OpenXml.ExtendedProperties;
//using Vt = DocumentFormat.OpenXml.VariantTypes;
//using A = DocumentFormat.OpenXml.Drawing;
//using M = DocumentFormat.OpenXml.Math;
//using Ovml = DocumentFormat.OpenXml.Vml.Office;
//using V = DocumentFormat.OpenXml.Vml;

//using Word = Microsoft.Office.Interop.Word;

using Ds = Org.DocGen.DocSpec;
using Org.GS;

namespace Org.DocGen
{
  public static class DocPartHelper
  {
    //    private static object GenerateStyleDefinitionsPart1Content_LockObject = new object();
    //    public static void GenerateStyleDefinitionsPart1Content(StyleDefinitionsPart styleDefinitionsPart1)
    //    {
    //        lock (GenerateStyleDefinitionsPart1Content_LockObject)
    //        {
    //            Styles styles2 = new Styles() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
    //            styles2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            styles2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            styles2.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            styles2.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");

    //            DocDefaults docDefaults2 = new DocDefaults();

    //            RunPropertiesDefault runPropertiesDefault2 = new RunPropertiesDefault();

    //            RunPropertiesBaseStyle runPropertiesBaseStyle2 = new RunPropertiesBaseStyle();
    //            RunFonts runFonts4 = new RunFonts() { Ascii = "Calibri", HighAnsi = "Calibri", EastAsia = "Calibri", ComplexScript = "Times New Roman" };
    //            Languages languages2 = new Languages() { Val = "en-US", EastAsia = "en-US", Bidi = "ar-SA" };

    //            runPropertiesBaseStyle2.Append(runFonts4);
    //            runPropertiesBaseStyle2.Append(languages2);

    //            runPropertiesDefault2.Append(runPropertiesBaseStyle2);
    //            ParagraphPropertiesDefault paragraphPropertiesDefault2 = new ParagraphPropertiesDefault();

    //            docDefaults2.Append(runPropertiesDefault2);
    //            docDefaults2.Append(paragraphPropertiesDefault2);

    //            LatentStyles latentStyles2 = new LatentStyles() { DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = true, DefaultUnhideWhenUsed = true, DefaultPrimaryStyle = false, Count = 267 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo138 = new LatentStyleExceptionInfo() { Name = "Normal", UiPriority = 0, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo139 = new LatentStyleExceptionInfo() { Name = "heading 1", UiPriority = 9, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo140 = new LatentStyleExceptionInfo() { Name = "heading 2", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo141 = new LatentStyleExceptionInfo() { Name = "heading 3", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo142 = new LatentStyleExceptionInfo() { Name = "heading 4", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo143 = new LatentStyleExceptionInfo() { Name = "heading 5", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo144 = new LatentStyleExceptionInfo() { Name = "heading 6", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo145 = new LatentStyleExceptionInfo() { Name = "heading 7", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo146 = new LatentStyleExceptionInfo() { Name = "heading 8", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo147 = new LatentStyleExceptionInfo() { Name = "heading 9", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo148 = new LatentStyleExceptionInfo() { Name = "toc 1", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo149 = new LatentStyleExceptionInfo() { Name = "toc 2", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo150 = new LatentStyleExceptionInfo() { Name = "toc 3", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo151 = new LatentStyleExceptionInfo() { Name = "toc 4", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo152 = new LatentStyleExceptionInfo() { Name = "toc 5", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo153 = new LatentStyleExceptionInfo() { Name = "toc 6", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo154 = new LatentStyleExceptionInfo() { Name = "toc 7", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo155 = new LatentStyleExceptionInfo() { Name = "toc 8", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo156 = new LatentStyleExceptionInfo() { Name = "toc 9", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo157 = new LatentStyleExceptionInfo() { Name = "caption", UiPriority = 35, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo158 = new LatentStyleExceptionInfo() { Name = "Title", UiPriority = 10, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo159 = new LatentStyleExceptionInfo() { Name = "Default Paragraph Font", UiPriority = 1 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo160 = new LatentStyleExceptionInfo() { Name = "Subtitle", UiPriority = 11, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo161 = new LatentStyleExceptionInfo() { Name = "Strong", UiPriority = 22, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo162 = new LatentStyleExceptionInfo() { Name = "Emphasis", UiPriority = 20, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo163 = new LatentStyleExceptionInfo() { Name = "Table Grid", UiPriority = 59, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo164 = new LatentStyleExceptionInfo() { Name = "Placeholder Text", UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo165 = new LatentStyleExceptionInfo() { Name = "No Spacing", UiPriority = 1, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo166 = new LatentStyleExceptionInfo() { Name = "Light Shading", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo167 = new LatentStyleExceptionInfo() { Name = "Light List", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo168 = new LatentStyleExceptionInfo() { Name = "Light Grid", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo169 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo170 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo171 = new LatentStyleExceptionInfo() { Name = "Medium List 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo172 = new LatentStyleExceptionInfo() { Name = "Medium List 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo173 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo174 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo175 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo176 = new LatentStyleExceptionInfo() { Name = "Dark List", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo177 = new LatentStyleExceptionInfo() { Name = "Colorful Shading", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo178 = new LatentStyleExceptionInfo() { Name = "Colorful List", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo179 = new LatentStyleExceptionInfo() { Name = "Colorful Grid", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo180 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 1", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo181 = new LatentStyleExceptionInfo() { Name = "Light List Accent 1", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo182 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 1", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo183 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo184 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 1", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo185 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo186 = new LatentStyleExceptionInfo() { Name = "Revision", UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo187 = new LatentStyleExceptionInfo() { Name = "List Paragraph", UiPriority = 34, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo188 = new LatentStyleExceptionInfo() { Name = "Quote", UiPriority = 29, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo189 = new LatentStyleExceptionInfo() { Name = "Intense Quote", UiPriority = 30, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo190 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 1", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo191 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo192 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 1", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo193 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 1", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo194 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 1", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo195 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 1", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo196 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 1", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo197 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 1", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo198 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 2", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo199 = new LatentStyleExceptionInfo() { Name = "Light List Accent 2", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo200 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 2", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo201 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 2", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo202 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo203 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 2", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo204 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo205 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 2", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo206 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo207 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 2", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo208 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 2", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo209 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 2", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo210 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 2", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo211 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 2", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo212 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 3", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo213 = new LatentStyleExceptionInfo() { Name = "Light List Accent 3", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo214 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 3", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo215 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 3", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo216 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 3", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo217 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 3", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo218 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 3", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo219 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 3", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo220 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 3", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo221 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo222 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 3", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo223 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 3", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo224 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 3", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo225 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 3", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo226 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 4", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo227 = new LatentStyleExceptionInfo() { Name = "Light List Accent 4", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo228 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 4", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo229 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 4", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo230 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 4", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo231 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 4", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo232 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 4", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo233 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 4", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo234 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 4", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo235 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 4", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo236 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 4", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo237 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 4", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo238 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 4", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo239 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 4", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo240 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 5", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo241 = new LatentStyleExceptionInfo() { Name = "Light List Accent 5", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo242 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 5", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo243 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 5", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo244 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 5", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo245 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 5", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo246 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 5", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo247 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 5", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo248 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 5", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo249 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 5", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo250 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 5", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo251 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 5", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo252 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 5", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo253 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 5", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo254 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 6", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo255 = new LatentStyleExceptionInfo() { Name = "Light List Accent 6", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo256 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 6", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo257 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 6", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo258 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 6", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo259 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 6", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo260 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 6", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo261 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 6", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo262 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 6", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo263 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 6", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo264 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 6", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo265 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 6", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo266 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 6", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo267 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 6", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo268 = new LatentStyleExceptionInfo() { Name = "Subtle Emphasis", UiPriority = 19, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo269 = new LatentStyleExceptionInfo() { Name = "Intense Emphasis", UiPriority = 21, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo270 = new LatentStyleExceptionInfo() { Name = "Subtle Reference", UiPriority = 31, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo271 = new LatentStyleExceptionInfo() { Name = "Intense Reference", UiPriority = 32, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo272 = new LatentStyleExceptionInfo() { Name = "Book Title", UiPriority = 33, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo273 = new LatentStyleExceptionInfo() { Name = "Bibliography", UiPriority = 37 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo274 = new LatentStyleExceptionInfo() { Name = "TOC Heading", UiPriority = 39, PrimaryStyle = true };

    //            latentStyles2.Append(latentStyleExceptionInfo138);
    //            latentStyles2.Append(latentStyleExceptionInfo139);
    //            latentStyles2.Append(latentStyleExceptionInfo140);
    //            latentStyles2.Append(latentStyleExceptionInfo141);
    //            latentStyles2.Append(latentStyleExceptionInfo142);
    //            latentStyles2.Append(latentStyleExceptionInfo143);
    //            latentStyles2.Append(latentStyleExceptionInfo144);
    //            latentStyles2.Append(latentStyleExceptionInfo145);
    //            latentStyles2.Append(latentStyleExceptionInfo146);
    //            latentStyles2.Append(latentStyleExceptionInfo147);
    //            latentStyles2.Append(latentStyleExceptionInfo148);
    //            latentStyles2.Append(latentStyleExceptionInfo149);
    //            latentStyles2.Append(latentStyleExceptionInfo150);
    //            latentStyles2.Append(latentStyleExceptionInfo151);
    //            latentStyles2.Append(latentStyleExceptionInfo152);
    //            latentStyles2.Append(latentStyleExceptionInfo153);
    //            latentStyles2.Append(latentStyleExceptionInfo154);
    //            latentStyles2.Append(latentStyleExceptionInfo155);
    //            latentStyles2.Append(latentStyleExceptionInfo156);
    //            latentStyles2.Append(latentStyleExceptionInfo157);
    //            latentStyles2.Append(latentStyleExceptionInfo158);
    //            latentStyles2.Append(latentStyleExceptionInfo159);
    //            latentStyles2.Append(latentStyleExceptionInfo160);
    //            latentStyles2.Append(latentStyleExceptionInfo161);
    //            latentStyles2.Append(latentStyleExceptionInfo162);
    //            latentStyles2.Append(latentStyleExceptionInfo163);
    //            latentStyles2.Append(latentStyleExceptionInfo164);
    //            latentStyles2.Append(latentStyleExceptionInfo165);
    //            latentStyles2.Append(latentStyleExceptionInfo166);
    //            latentStyles2.Append(latentStyleExceptionInfo167);
    //            latentStyles2.Append(latentStyleExceptionInfo168);
    //            latentStyles2.Append(latentStyleExceptionInfo169);
    //            latentStyles2.Append(latentStyleExceptionInfo170);
    //            latentStyles2.Append(latentStyleExceptionInfo171);
    //            latentStyles2.Append(latentStyleExceptionInfo172);
    //            latentStyles2.Append(latentStyleExceptionInfo173);
    //            latentStyles2.Append(latentStyleExceptionInfo174);
    //            latentStyles2.Append(latentStyleExceptionInfo175);
    //            latentStyles2.Append(latentStyleExceptionInfo176);
    //            latentStyles2.Append(latentStyleExceptionInfo177);
    //            latentStyles2.Append(latentStyleExceptionInfo178);
    //            latentStyles2.Append(latentStyleExceptionInfo179);
    //            latentStyles2.Append(latentStyleExceptionInfo180);
    //            latentStyles2.Append(latentStyleExceptionInfo181);
    //            latentStyles2.Append(latentStyleExceptionInfo182);
    //            latentStyles2.Append(latentStyleExceptionInfo183);
    //            latentStyles2.Append(latentStyleExceptionInfo184);
    //            latentStyles2.Append(latentStyleExceptionInfo185);
    //            latentStyles2.Append(latentStyleExceptionInfo186);
    //            latentStyles2.Append(latentStyleExceptionInfo187);
    //            latentStyles2.Append(latentStyleExceptionInfo188);
    //            latentStyles2.Append(latentStyleExceptionInfo189);
    //            latentStyles2.Append(latentStyleExceptionInfo190);
    //            latentStyles2.Append(latentStyleExceptionInfo191);
    //            latentStyles2.Append(latentStyleExceptionInfo192);
    //            latentStyles2.Append(latentStyleExceptionInfo193);
    //            latentStyles2.Append(latentStyleExceptionInfo194);
    //            latentStyles2.Append(latentStyleExceptionInfo195);
    //            latentStyles2.Append(latentStyleExceptionInfo196);
    //            latentStyles2.Append(latentStyleExceptionInfo197);
    //            latentStyles2.Append(latentStyleExceptionInfo198);
    //            latentStyles2.Append(latentStyleExceptionInfo199);
    //            latentStyles2.Append(latentStyleExceptionInfo200);
    //            latentStyles2.Append(latentStyleExceptionInfo201);
    //            latentStyles2.Append(latentStyleExceptionInfo202);
    //            latentStyles2.Append(latentStyleExceptionInfo203);
    //            latentStyles2.Append(latentStyleExceptionInfo204);
    //            latentStyles2.Append(latentStyleExceptionInfo205);
    //            latentStyles2.Append(latentStyleExceptionInfo206);
    //            latentStyles2.Append(latentStyleExceptionInfo207);
    //            latentStyles2.Append(latentStyleExceptionInfo208);
    //            latentStyles2.Append(latentStyleExceptionInfo209);
    //            latentStyles2.Append(latentStyleExceptionInfo210);
    //            latentStyles2.Append(latentStyleExceptionInfo211);
    //            latentStyles2.Append(latentStyleExceptionInfo212);
    //            latentStyles2.Append(latentStyleExceptionInfo213);
    //            latentStyles2.Append(latentStyleExceptionInfo214);
    //            latentStyles2.Append(latentStyleExceptionInfo215);
    //            latentStyles2.Append(latentStyleExceptionInfo216);
    //            latentStyles2.Append(latentStyleExceptionInfo217);
    //            latentStyles2.Append(latentStyleExceptionInfo218);
    //            latentStyles2.Append(latentStyleExceptionInfo219);
    //            latentStyles2.Append(latentStyleExceptionInfo220);
    //            latentStyles2.Append(latentStyleExceptionInfo221);
    //            latentStyles2.Append(latentStyleExceptionInfo222);
    //            latentStyles2.Append(latentStyleExceptionInfo223);
    //            latentStyles2.Append(latentStyleExceptionInfo224);
    //            latentStyles2.Append(latentStyleExceptionInfo225);
    //            latentStyles2.Append(latentStyleExceptionInfo226);
    //            latentStyles2.Append(latentStyleExceptionInfo227);
    //            latentStyles2.Append(latentStyleExceptionInfo228);
    //            latentStyles2.Append(latentStyleExceptionInfo229);
    //            latentStyles2.Append(latentStyleExceptionInfo230);
    //            latentStyles2.Append(latentStyleExceptionInfo231);
    //            latentStyles2.Append(latentStyleExceptionInfo232);
    //            latentStyles2.Append(latentStyleExceptionInfo233);
    //            latentStyles2.Append(latentStyleExceptionInfo234);
    //            latentStyles2.Append(latentStyleExceptionInfo235);
    //            latentStyles2.Append(latentStyleExceptionInfo236);
    //            latentStyles2.Append(latentStyleExceptionInfo237);
    //            latentStyles2.Append(latentStyleExceptionInfo238);
    //            latentStyles2.Append(latentStyleExceptionInfo239);
    //            latentStyles2.Append(latentStyleExceptionInfo240);
    //            latentStyles2.Append(latentStyleExceptionInfo241);
    //            latentStyles2.Append(latentStyleExceptionInfo242);
    //            latentStyles2.Append(latentStyleExceptionInfo243);
    //            latentStyles2.Append(latentStyleExceptionInfo244);
    //            latentStyles2.Append(latentStyleExceptionInfo245);
    //            latentStyles2.Append(latentStyleExceptionInfo246);
    //            latentStyles2.Append(latentStyleExceptionInfo247);
    //            latentStyles2.Append(latentStyleExceptionInfo248);
    //            latentStyles2.Append(latentStyleExceptionInfo249);
    //            latentStyles2.Append(latentStyleExceptionInfo250);
    //            latentStyles2.Append(latentStyleExceptionInfo251);
    //            latentStyles2.Append(latentStyleExceptionInfo252);
    //            latentStyles2.Append(latentStyleExceptionInfo253);
    //            latentStyles2.Append(latentStyleExceptionInfo254);
    //            latentStyles2.Append(latentStyleExceptionInfo255);
    //            latentStyles2.Append(latentStyleExceptionInfo256);
    //            latentStyles2.Append(latentStyleExceptionInfo257);
    //            latentStyles2.Append(latentStyleExceptionInfo258);
    //            latentStyles2.Append(latentStyleExceptionInfo259);
    //            latentStyles2.Append(latentStyleExceptionInfo260);
    //            latentStyles2.Append(latentStyleExceptionInfo261);
    //            latentStyles2.Append(latentStyleExceptionInfo262);
    //            latentStyles2.Append(latentStyleExceptionInfo263);
    //            latentStyles2.Append(latentStyleExceptionInfo264);
    //            latentStyles2.Append(latentStyleExceptionInfo265);
    //            latentStyles2.Append(latentStyleExceptionInfo266);
    //            latentStyles2.Append(latentStyleExceptionInfo267);
    //            latentStyles2.Append(latentStyleExceptionInfo268);
    //            latentStyles2.Append(latentStyleExceptionInfo269);
    //            latentStyles2.Append(latentStyleExceptionInfo270);
    //            latentStyles2.Append(latentStyleExceptionInfo271);
    //            latentStyles2.Append(latentStyleExceptionInfo272);
    //            latentStyles2.Append(latentStyleExceptionInfo273);
    //            latentStyles2.Append(latentStyleExceptionInfo274);

    //            Style style14 = new Style() { Type = StyleValues.Paragraph, StyleId = "Normal", Default = true };
    //            StyleName styleName14 = new StyleName() { Val = "Normal" };
    //            PrimaryStyle primaryStyle3 = new PrimaryStyle();
    //            Rsid rsid11 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties6 = new StyleParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines32 = new SpacingBetweenLines() { After = "200", Line = "276", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties6.Append(spacingBetweenLines32);

    //            StyleRunProperties styleRunProperties7 = new StyleRunProperties();
    //            FontSize fontSize63 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript63 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties7.Append(fontSize63);
    //            styleRunProperties7.Append(fontSizeComplexScript63);

    //            style14.Append(styleName14);
    //            style14.Append(primaryStyle3);
    //            style14.Append(rsid11);
    //            style14.Append(styleParagraphProperties6);
    //            style14.Append(styleRunProperties7);

    //            Style style15 = new Style() { Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true };
    //            StyleName styleName15 = new StyleName() { Val = "Default Paragraph Font" };
    //            UIPriority uIPriority13 = new UIPriority() { Val = 1 };
    //            SemiHidden semiHidden6 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed8 = new UnhideWhenUsed();

    //            style15.Append(styleName15);
    //            style15.Append(uIPriority13);
    //            style15.Append(semiHidden6);
    //            style15.Append(unhideWhenUsed8);

    //            Style style16 = new Style() { Type = StyleValues.Table, StyleId = "TableNormal", Default = true };
    //            StyleName styleName16 = new StyleName() { Val = "Normal Table" };
    //            UIPriority uIPriority14 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden7 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed9 = new UnhideWhenUsed();

    //            StyleTableProperties styleTableProperties3 = new StyleTableProperties();
    //            TableIndentation tableIndentation3 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa };

    //            TableCellMarginDefault tableCellMarginDefault4 = new TableCellMarginDefault();
    //            TopMargin topMargin12 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellLeftMargin tableCellLeftMargin4 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa };
    //            BottomMargin bottomMargin8 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellRightMargin tableCellRightMargin4 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa };

    //            tableCellMarginDefault4.Append(topMargin12);
    //            tableCellMarginDefault4.Append(tableCellLeftMargin4);
    //            tableCellMarginDefault4.Append(bottomMargin8);
    //            tableCellMarginDefault4.Append(tableCellRightMargin4);

    //            styleTableProperties3.Append(tableIndentation3);
    //            styleTableProperties3.Append(tableCellMarginDefault4);

    //            style16.Append(styleName16);
    //            style16.Append(uIPriority14);
    //            style16.Append(semiHidden7);
    //            style16.Append(unhideWhenUsed9);
    //            style16.Append(styleTableProperties3);

    //            Style style17 = new Style() { Type = StyleValues.Numbering, StyleId = "NoList", Default = true };
    //            StyleName styleName17 = new StyleName() { Val = "No List" };
    //            UIPriority uIPriority15 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden8 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed10 = new UnhideWhenUsed();

    //            style17.Append(styleName17);
    //            style17.Append(uIPriority15);
    //            style17.Append(semiHidden8);
    //            style17.Append(unhideWhenUsed10);

    //            Style style18 = new Style() { Type = StyleValues.Character, StyleId = "Hyperlink" };
    //            StyleName styleName18 = new StyleName() { Val = "Hyperlink" };
    //            UIPriority uIPriority16 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed11 = new UnhideWhenUsed();
    //            Rsid rsid12 = new Rsid() { Val = "00E778F2" };

    //            StyleRunProperties styleRunProperties8 = new StyleRunProperties();
    //            Color color2 = new Color() { Val = "0000FF" };
    //            Underline underline2 = new Underline() { Val = UnderlineValues.Single };

    //            styleRunProperties8.Append(color2);
    //            styleRunProperties8.Append(underline2);

    //            style18.Append(styleName18);
    //            style18.Append(uIPriority16);
    //            style18.Append(unhideWhenUsed11);
    //            style18.Append(rsid12);
    //            style18.Append(styleRunProperties8);

    //            Style style19 = new Style() { Type = StyleValues.Table, StyleId = "TableGrid" };
    //            StyleName styleName19 = new StyleName() { Val = "Table Grid" };
    //            BasedOn basedOn8 = new BasedOn() { Val = "TableNormal" };
    //            UIPriority uIPriority17 = new UIPriority() { Val = 59 };
    //            Rsid rsid13 = new Rsid() { Val = "00E778F2" };

    //            StyleTableProperties styleTableProperties4 = new StyleTableProperties();
    //            TableIndentation tableIndentation4 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa };

    //            TableBorders tableBorders3 = new TableBorders();
    //            TopBorder topBorder23 = new TopBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            LeftBorder leftBorder23 = new LeftBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            BottomBorder bottomBorder23 = new BottomBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            RightBorder rightBorder23 = new RightBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            InsideHorizontalBorder insideHorizontalBorder3 = new InsideHorizontalBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            InsideVerticalBorder insideVerticalBorder3 = new InsideVerticalBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };

    //            tableBorders3.Append(topBorder23);
    //            tableBorders3.Append(leftBorder23);
    //            tableBorders3.Append(bottomBorder23);
    //            tableBorders3.Append(rightBorder23);
    //            tableBorders3.Append(insideHorizontalBorder3);
    //            tableBorders3.Append(insideVerticalBorder3);

    //            TableCellMarginDefault tableCellMarginDefault5 = new TableCellMarginDefault();
    //            TopMargin topMargin13 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellLeftMargin tableCellLeftMargin5 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa };
    //            BottomMargin bottomMargin9 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellRightMargin tableCellRightMargin5 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa };

    //            tableCellMarginDefault5.Append(topMargin13);
    //            tableCellMarginDefault5.Append(tableCellLeftMargin5);
    //            tableCellMarginDefault5.Append(bottomMargin9);
    //            tableCellMarginDefault5.Append(tableCellRightMargin5);

    //            styleTableProperties4.Append(tableIndentation4);
    //            styleTableProperties4.Append(tableBorders3);
    //            styleTableProperties4.Append(tableCellMarginDefault5);

    //            style19.Append(styleName19);
    //            style19.Append(basedOn8);
    //            style19.Append(uIPriority17);
    //            style19.Append(rsid13);
    //            style19.Append(styleTableProperties4);

    //            Style style20 = new Style() { Type = StyleValues.Paragraph, StyleId = "ListParagraph" };
    //            StyleName styleName20 = new StyleName() { Val = "List Paragraph" };
    //            BasedOn basedOn9 = new BasedOn() { Val = "Normal" };
    //            UIPriority uIPriority18 = new UIPriority() { Val = 34 };
    //            PrimaryStyle primaryStyle4 = new PrimaryStyle();
    //            Rsid rsid14 = new Rsid() { Val = "00EB1E85" };

    //            StyleParagraphProperties styleParagraphProperties7 = new StyleParagraphProperties();
    //            Indentation indentation17 = new Indentation() { Left = "720" };
    //            ContextualSpacing contextualSpacing2 = new ContextualSpacing();

    //            styleParagraphProperties7.Append(indentation17);
    //            styleParagraphProperties7.Append(contextualSpacing2);

    //            style20.Append(styleName20);
    //            style20.Append(basedOn9);
    //            style20.Append(uIPriority18);
    //            style20.Append(primaryStyle4);
    //            style20.Append(rsid14);
    //            style20.Append(styleParagraphProperties7);

    //            Style style21 = new Style() { Type = StyleValues.Paragraph, StyleId = "BalloonText" };
    //            StyleName styleName21 = new StyleName() { Val = "Balloon Text" };
    //            BasedOn basedOn10 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle7 = new LinkedStyle() { Val = "BalloonTextChar" };
    //            UIPriority uIPriority19 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden9 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed12 = new UnhideWhenUsed();
    //            Rsid rsid15 = new Rsid() { Val = "00FF0A24" };

    //            StyleParagraphProperties styleParagraphProperties8 = new StyleParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines33 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties8.Append(spacingBetweenLines33);

    //            StyleRunProperties styleRunProperties9 = new StyleRunProperties();
    //            RunFonts runFonts5 = new RunFonts() { Ascii = "Tahoma", HighAnsi = "Tahoma", ComplexScript = "Tahoma" };
    //            FontSize fontSize64 = new FontSize() { Val = "16" };
    //            FontSizeComplexScript fontSizeComplexScript64 = new FontSizeComplexScript() { Val = "16" };

    //            styleRunProperties9.Append(runFonts5);
    //            styleRunProperties9.Append(fontSize64);
    //            styleRunProperties9.Append(fontSizeComplexScript64);

    //            style21.Append(styleName21);
    //            style21.Append(basedOn10);
    //            style21.Append(linkedStyle7);
    //            style21.Append(uIPriority19);
    //            style21.Append(semiHidden9);
    //            style21.Append(unhideWhenUsed12);
    //            style21.Append(rsid15);
    //            style21.Append(styleParagraphProperties8);
    //            style21.Append(styleRunProperties9);

    //            Style style22 = new Style() { Type = StyleValues.Character, StyleId = "BalloonTextChar", CustomStyle = true };
    //            StyleName styleName22 = new StyleName() { Val = "Balloon Text Char" };
    //            LinkedStyle linkedStyle8 = new LinkedStyle() { Val = "BalloonText" };
    //            UIPriority uIPriority20 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden10 = new SemiHidden();
    //            Rsid rsid16 = new Rsid() { Val = "00FF0A24" };

    //            StyleRunProperties styleRunProperties10 = new StyleRunProperties();
    //            RunFonts runFonts6 = new RunFonts() { Ascii = "Tahoma", HighAnsi = "Tahoma", ComplexScript = "Tahoma" };
    //            FontSize fontSize65 = new FontSize() { Val = "16" };
    //            FontSizeComplexScript fontSizeComplexScript65 = new FontSizeComplexScript() { Val = "16" };

    //            styleRunProperties10.Append(runFonts6);
    //            styleRunProperties10.Append(fontSize65);
    //            styleRunProperties10.Append(fontSizeComplexScript65);

    //            style22.Append(styleName22);
    //            style22.Append(linkedStyle8);
    //            style22.Append(uIPriority20);
    //            style22.Append(semiHidden10);
    //            style22.Append(rsid16);
    //            style22.Append(styleRunProperties10);

    //            Style style23 = new Style() { Type = StyleValues.Paragraph, StyleId = "Header" };
    //            StyleName styleName23 = new StyleName() { Val = "header" };
    //            BasedOn basedOn11 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle9 = new LinkedStyle() { Val = "HeaderChar" };
    //            UIPriority uIPriority21 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed13 = new UnhideWhenUsed();
    //            Rsid rsid17 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties9 = new StyleParagraphProperties();

    //            Tabs tabs3 = new Tabs();
    //            TabStop tabStop5 = new TabStop() { Val = TabStopValues.Center, Position = 4680 };
    //            TabStop tabStop6 = new TabStop() { Val = TabStopValues.Right, Position = 9360 };

    //            tabs3.Append(tabStop5);
    //            tabs3.Append(tabStop6);
    //            SpacingBetweenLines spacingBetweenLines34 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties9.Append(tabs3);
    //            styleParagraphProperties9.Append(spacingBetweenLines34);

    //            style23.Append(styleName23);
    //            style23.Append(basedOn11);
    //            style23.Append(linkedStyle9);
    //            style23.Append(uIPriority21);
    //            style23.Append(unhideWhenUsed13);
    //            style23.Append(rsid17);
    //            style23.Append(styleParagraphProperties9);

    //            Style style24 = new Style() { Type = StyleValues.Character, StyleId = "HeaderChar", CustomStyle = true };
    //            StyleName styleName24 = new StyleName() { Val = "Header Char" };
    //            BasedOn basedOn12 = new BasedOn() { Val = "DefaultParagraphFont" };
    //            LinkedStyle linkedStyle10 = new LinkedStyle() { Val = "Header" };
    //            UIPriority uIPriority22 = new UIPriority() { Val = 99 };
    //            Rsid rsid18 = new Rsid() { Val = "00EF483A" };

    //            StyleRunProperties styleRunProperties11 = new StyleRunProperties();
    //            FontSize fontSize66 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript66 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties11.Append(fontSize66);
    //            styleRunProperties11.Append(fontSizeComplexScript66);

    //            style24.Append(styleName24);
    //            style24.Append(basedOn12);
    //            style24.Append(linkedStyle10);
    //            style24.Append(uIPriority22);
    //            style24.Append(rsid18);
    //            style24.Append(styleRunProperties11);

    //            Style style25 = new Style() { Type = StyleValues.Paragraph, StyleId = "Footer" };
    //            StyleName styleName25 = new StyleName() { Val = "footer" };
    //            BasedOn basedOn13 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle11 = new LinkedStyle() { Val = "FooterChar" };
    //            UIPriority uIPriority23 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed14 = new UnhideWhenUsed();
    //            Rsid rsid19 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties10 = new StyleParagraphProperties();

    //            Tabs tabs4 = new Tabs();
    //            TabStop tabStop7 = new TabStop() { Val = TabStopValues.Center, Position = 4680 };
    //            TabStop tabStop8 = new TabStop() { Val = TabStopValues.Right, Position = 9360 };

    //            tabs4.Append(tabStop7);
    //            tabs4.Append(tabStop8);
    //            SpacingBetweenLines spacingBetweenLines35 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties10.Append(tabs4);
    //            styleParagraphProperties10.Append(spacingBetweenLines35);

    //            style25.Append(styleName25);
    //            style25.Append(basedOn13);
    //            style25.Append(linkedStyle11);
    //            style25.Append(uIPriority23);
    //            style25.Append(unhideWhenUsed14);
    //            style25.Append(rsid19);
    //            style25.Append(styleParagraphProperties10);

    //            Style style26 = new Style() { Type = StyleValues.Character, StyleId = "FooterChar", CustomStyle = true };
    //            StyleName styleName26 = new StyleName() { Val = "Footer Char" };
    //            BasedOn basedOn14 = new BasedOn() { Val = "DefaultParagraphFont" };
    //            LinkedStyle linkedStyle12 = new LinkedStyle() { Val = "Footer" };
    //            UIPriority uIPriority24 = new UIPriority() { Val = 99 };
    //            Rsid rsid20 = new Rsid() { Val = "00EF483A" };

    //            StyleRunProperties styleRunProperties12 = new StyleRunProperties();
    //            FontSize fontSize67 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript67 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties12.Append(fontSize67);
    //            styleRunProperties12.Append(fontSizeComplexScript67);

    //            style26.Append(styleName26);
    //            style26.Append(basedOn14);
    //            style26.Append(linkedStyle12);
    //            style26.Append(uIPriority24);
    //            style26.Append(rsid20);
    //            style26.Append(styleRunProperties12);

    //            styles2.Append(docDefaults2);
    //            styles2.Append(latentStyles2);
    //            styles2.Append(style14);
    //            styles2.Append(style15);
    //            styles2.Append(style16);
    //            styles2.Append(style17);
    //            styles2.Append(style18);
    //            styles2.Append(style19);
    //            styles2.Append(style20);
    //            styles2.Append(style21);
    //            styles2.Append(style22);
    //            styles2.Append(style23);
    //            styles2.Append(style24);
    //            styles2.Append(style25);
    //            styles2.Append(style26);

    //            styleDefinitionsPart1.Styles = styles2;
    //        }
    //    }

    //    private static object GenerateExtendedFilePropertiesPart1Content_LockObject = new object();
    //    public static void GenerateExtendedFilePropertiesPart1Content(ExtendedFilePropertiesPart extendedFilePropertiesPart1, Ds.DocInfo docInfo)
    //    {
    //        lock (GenerateExtendedFilePropertiesPart1Content_LockObject)
    //        {
    //            Ap.Properties properties1 = new Ap.Properties();
    //            properties1.AddNamespaceDeclaration("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes");
    //            Ap.Template template1 = new Ap.Template();
    //            template1.Text = "Normal.dotm";
    //            Ap.TotalTime totalTime1 = new Ap.TotalTime();
    //            totalTime1.Text = "6";
    //            Ap.Pages pages1 = new Ap.Pages();
    //            pages1.Text = "1";
    //            Ap.Words words1 = new Ap.Words();
    //            words1.Text = "130";
    //            Ap.Characters characters1 = new Ap.Characters();
    //            characters1.Text = "742";
    //            Ap.Application application1 = new Ap.Application();
    //            application1.Text = "Microsoft Office Word";
    //            Ap.DocumentSecurity documentSecurity1 = new Ap.DocumentSecurity();
    //            documentSecurity1.Text = "0";
    //            Ap.Lines lines1 = new Ap.Lines();
    //            lines1.Text = "6";
    //            Ap.Paragraphs paragraphs1 = new Ap.Paragraphs();

    //            paragraphs1.Text = "1";
    //            Ap.ScaleCrop scaleCrop1 = new Ap.ScaleCrop();
    //            scaleCrop1.Text = "false";

    //            Ap.HeadingPairs headingPairs1 = new Ap.HeadingPairs();

    //            Vt.VTVector vTVector1 = new Vt.VTVector() { BaseType = Vt.VectorBaseValues.Variant, Size = (UInt32Value)2U };

    //            Vt.Variant variant1 = new Vt.Variant();
    //            Vt.VTLPSTR vTLPSTR1 = new Vt.VTLPSTR();
    //            vTLPSTR1.Text = "Title";

    //            variant1.Append(vTLPSTR1);

    //            Vt.Variant variant2 = new Vt.Variant();
    //            Vt.VTInt32 vTInt321 = new Vt.VTInt32();
    //            vTInt321.Text = "1";

    //            variant2.Append(vTInt321);

    //            vTVector1.Append(variant1);
    //            vTVector1.Append(variant2);

    //            headingPairs1.Append(vTVector1);

    //            Ap.TitlesOfParts titlesOfParts1 = new Ap.TitlesOfParts();

    //            Vt.VTVector vTVector2 = new Vt.VTVector() { BaseType = Vt.VectorBaseValues.Lpstr, Size = (UInt32Value)1U };
    //            Vt.VTLPSTR vTLPSTR2 = new Vt.VTLPSTR();
    //            vTLPSTR2.Text = "";

    //            vTVector2.Append(vTLPSTR2);

    //            titlesOfParts1.Append(vTVector2);
    //            Ap.Company company1 = new Ap.Company();
    //            company1.Text = docInfo.CompanyName;
    //            Ap.LinksUpToDate linksUpToDate1 = new Ap.LinksUpToDate();
    //            linksUpToDate1.Text = "false";
    //            Ap.CharactersWithSpaces charactersWithSpaces1 = new Ap.CharactersWithSpaces();
    //            charactersWithSpaces1.Text = "871";
    //            Ap.SharedDocument sharedDocument1 = new Ap.SharedDocument();
    //            sharedDocument1.Text = "false";

    //            Ap.HyperlinkList hyperlinkList1 = new Ap.HyperlinkList();

    //            Vt.VTVector vTVector3 = new Vt.VTVector() { BaseType = Vt.VectorBaseValues.Variant, Size = (UInt32Value)6U };

    //            Vt.Variant variant3 = new Vt.Variant();
    //            Vt.VTInt32 vTInt322 = new Vt.VTInt32();
    //            vTInt322.Text = "2031648";

    //            variant3.Append(vTInt322);

    //            Vt.Variant variant4 = new Vt.Variant();
    //            Vt.VTInt32 vTInt323 = new Vt.VTInt32();
    //            vTInt323.Text = "0";

    //            variant4.Append(vTInt323);

    //            Vt.Variant variant5 = new Vt.Variant();
    //            Vt.VTInt32 vTInt324 = new Vt.VTInt32();
    //            vTInt324.Text = "0";

    //            variant5.Append(vTInt324);

    //            Vt.Variant variant6 = new Vt.Variant();
    //            Vt.VTInt32 vTInt325 = new Vt.VTInt32();
    //            vTInt325.Text = "5";

    //            variant6.Append(vTInt325);

    //            Vt.Variant variant7 = new Vt.Variant();
    //            Vt.VTLPWSTR vTLPWSTR1 = new Vt.VTLPWSTR();
    //            vTLPWSTR1.Text = "mailto:[email protected]";     //xq <-does this need to change?

    //            variant7.Append(vTLPWSTR1);

    //            Vt.Variant variant8 = new Vt.Variant();
    //            Vt.VTLPWSTR vTLPWSTR2 = new Vt.VTLPWSTR();
    //            vTLPWSTR2.Text = "";

    //            variant8.Append(vTLPWSTR2);

    //            vTVector3.Append(variant3);
    //            vTVector3.Append(variant4);
    //            vTVector3.Append(variant5);
    //            vTVector3.Append(variant6);
    //            vTVector3.Append(variant7);
    //            vTVector3.Append(variant8);

    //            hyperlinkList1.Append(vTVector3);
    //            Ap.HyperlinksChanged hyperlinksChanged1 = new Ap.HyperlinksChanged();
    //            hyperlinksChanged1.Text = "false";
    //            Ap.ApplicationVersion applicationVersion1 = new Ap.ApplicationVersion();
    //            applicationVersion1.Text = "14.0000";

    //            properties1.Append(template1);
    //            properties1.Append(totalTime1);
    //            properties1.Append(pages1);
    //            properties1.Append(words1);
    //            properties1.Append(characters1);
    //            properties1.Append(application1);
    //            properties1.Append(documentSecurity1);
    //            properties1.Append(lines1);
    //            properties1.Append(paragraphs1);
    //            properties1.Append(scaleCrop1);
    //            properties1.Append(headingPairs1);
    //            properties1.Append(titlesOfParts1);
    //            properties1.Append(company1);
    //            properties1.Append(linksUpToDate1);
    //            properties1.Append(charactersWithSpaces1);
    //            properties1.Append(sharedDocument1);
    //            properties1.Append(hyperlinkList1);
    //            properties1.Append(hyperlinksChanged1);
    //            properties1.Append(applicationVersion1);

    //            extendedFilePropertiesPart1.Properties = properties1;
    //        }
    //    }

    //    private static object GenerateStylesWithEffectsPart1Content_LockObject = new object();
    //    public static void GenerateStylesWithEffectsPart1Content(StylesWithEffectsPart stylesWithEffectsPart1)
    //    {
    //        lock (GenerateStylesWithEffectsPart1Content_LockObject)
    //        {
    //            Styles styles1 = new Styles() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
    //            styles1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
    //            styles1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            styles1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
    //            styles1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            styles1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
    //            styles1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
    //            styles1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
    //            styles1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
    //            styles1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
    //            styles1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            styles1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            styles1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
    //            styles1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
    //            styles1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
    //            styles1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");


    //            LatentStyles latentStyles1 = new LatentStyles() { DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = true, DefaultUnhideWhenUsed = true, DefaultPrimaryStyle = false, Count = 267 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo1 = new LatentStyleExceptionInfo() { Name = "Normal", UiPriority = 0, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo2 = new LatentStyleExceptionInfo() { Name = "heading 1", UiPriority = 9, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo3 = new LatentStyleExceptionInfo() { Name = "heading 2", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo4 = new LatentStyleExceptionInfo() { Name = "heading 3", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo5 = new LatentStyleExceptionInfo() { Name = "heading 4", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo6 = new LatentStyleExceptionInfo() { Name = "heading 5", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo7 = new LatentStyleExceptionInfo() { Name = "heading 6", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo8 = new LatentStyleExceptionInfo() { Name = "heading 7", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo9 = new LatentStyleExceptionInfo() { Name = "heading 8", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo10 = new LatentStyleExceptionInfo() { Name = "heading 9", UiPriority = 9, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo11 = new LatentStyleExceptionInfo() { Name = "toc 1", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo12 = new LatentStyleExceptionInfo() { Name = "toc 2", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo13 = new LatentStyleExceptionInfo() { Name = "toc 3", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo14 = new LatentStyleExceptionInfo() { Name = "toc 4", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo15 = new LatentStyleExceptionInfo() { Name = "toc 5", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo16 = new LatentStyleExceptionInfo() { Name = "toc 6", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo17 = new LatentStyleExceptionInfo() { Name = "toc 7", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo18 = new LatentStyleExceptionInfo() { Name = "toc 8", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo19 = new LatentStyleExceptionInfo() { Name = "toc 9", UiPriority = 39 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo20 = new LatentStyleExceptionInfo() { Name = "caption", UiPriority = 35, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo21 = new LatentStyleExceptionInfo() { Name = "Title", UiPriority = 10, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo22 = new LatentStyleExceptionInfo() { Name = "Default Paragraph Font", UiPriority = 1 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo23 = new LatentStyleExceptionInfo() { Name = "Subtitle", UiPriority = 11, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo24 = new LatentStyleExceptionInfo() { Name = "Strong", UiPriority = 22, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo25 = new LatentStyleExceptionInfo() { Name = "Emphasis", UiPriority = 20, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo26 = new LatentStyleExceptionInfo() { Name = "Table Grid", UiPriority = 59, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo27 = new LatentStyleExceptionInfo() { Name = "Placeholder Text", UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo28 = new LatentStyleExceptionInfo() { Name = "No Spacing", UiPriority = 1, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo29 = new LatentStyleExceptionInfo() { Name = "Light Shading", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo30 = new LatentStyleExceptionInfo() { Name = "Light List", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo31 = new LatentStyleExceptionInfo() { Name = "Light Grid", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo32 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo33 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo34 = new LatentStyleExceptionInfo() { Name = "Medium List 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo35 = new LatentStyleExceptionInfo() { Name = "Medium List 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo36 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo37 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo38 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo39 = new LatentStyleExceptionInfo() { Name = "Dark List", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo40 = new LatentStyleExceptionInfo() { Name = "Colorful Shading", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo41 = new LatentStyleExceptionInfo() { Name = "Colorful List", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo42 = new LatentStyleExceptionInfo() { Name = "Colorful Grid", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo43 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 1", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo44 = new LatentStyleExceptionInfo() { Name = "Light List Accent 1", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo45 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 1", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo46 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo47 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 1", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo48 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo49 = new LatentStyleExceptionInfo() { Name = "Revision", UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo50 = new LatentStyleExceptionInfo() { Name = "List Paragraph", UiPriority = 34, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo51 = new LatentStyleExceptionInfo() { Name = "Quote", UiPriority = 29, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo52 = new LatentStyleExceptionInfo() { Name = "Intense Quote", UiPriority = 30, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo53 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 1", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo54 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo55 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 1", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo56 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 1", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo57 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 1", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo58 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 1", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo59 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 1", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo60 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 1", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo61 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 2", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo62 = new LatentStyleExceptionInfo() { Name = "Light List Accent 2", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo63 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 2", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo64 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 2", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo65 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo66 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 2", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo67 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo68 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 2", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo69 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo70 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 2", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo71 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 2", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo72 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 2", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo73 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 2", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo74 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 2", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo75 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 3", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo76 = new LatentStyleExceptionInfo() { Name = "Light List Accent 3", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo77 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 3", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo78 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 3", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo79 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 3", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo80 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 3", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo81 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 3", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo82 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 3", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo83 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 3", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo84 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo85 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 3", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo86 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 3", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo87 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 3", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo88 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 3", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo89 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 4", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo90 = new LatentStyleExceptionInfo() { Name = "Light List Accent 4", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo91 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 4", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo92 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 4", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo93 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 4", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo94 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 4", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo95 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 4", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo96 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 4", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo97 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 4", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo98 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 4", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo99 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 4", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo100 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 4", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo101 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 4", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo102 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 4", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo103 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 5", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo104 = new LatentStyleExceptionInfo() { Name = "Light List Accent 5", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo105 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 5", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo106 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 5", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo107 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 5", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo108 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 5", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo109 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 5", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo110 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 5", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo111 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 5", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo112 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 5", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo113 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 5", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo114 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 5", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo115 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 5", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo116 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 5", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo117 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 6", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo118 = new LatentStyleExceptionInfo() { Name = "Light List Accent 6", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo119 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 6", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo120 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 6", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo121 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 6", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo122 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 6", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo123 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 6", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo124 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 6", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo125 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 6", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo126 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 6", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo127 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 6", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo128 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 6", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo129 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 6", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo130 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 6", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo131 = new LatentStyleExceptionInfo() { Name = "Subtle Emphasis", UiPriority = 19, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo132 = new LatentStyleExceptionInfo() { Name = "Intense Emphasis", UiPriority = 21, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo133 = new LatentStyleExceptionInfo() { Name = "Subtle Reference", UiPriority = 31, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo134 = new LatentStyleExceptionInfo() { Name = "Intense Reference", UiPriority = 32, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo135 = new LatentStyleExceptionInfo() { Name = "Book Title", UiPriority = 33, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo136 = new LatentStyleExceptionInfo() { Name = "Bibliography", UiPriority = 37 };
    //            LatentStyleExceptionInfo latentStyleExceptionInfo137 = new LatentStyleExceptionInfo() { Name = "TOC Heading", UiPriority = 39, PrimaryStyle = true };

    //            latentStyles1.Append(latentStyleExceptionInfo1);
    //            latentStyles1.Append(latentStyleExceptionInfo2);
    //            latentStyles1.Append(latentStyleExceptionInfo3);
    //            latentStyles1.Append(latentStyleExceptionInfo4);
    //            latentStyles1.Append(latentStyleExceptionInfo5);
    //            latentStyles1.Append(latentStyleExceptionInfo6);
    //            latentStyles1.Append(latentStyleExceptionInfo7);
    //            latentStyles1.Append(latentStyleExceptionInfo8);
    //            latentStyles1.Append(latentStyleExceptionInfo9);
    //            latentStyles1.Append(latentStyleExceptionInfo10);
    //            latentStyles1.Append(latentStyleExceptionInfo11);
    //            latentStyles1.Append(latentStyleExceptionInfo12);
    //            latentStyles1.Append(latentStyleExceptionInfo13);
    //            latentStyles1.Append(latentStyleExceptionInfo14);
    //            latentStyles1.Append(latentStyleExceptionInfo15);
    //            latentStyles1.Append(latentStyleExceptionInfo16);
    //            latentStyles1.Append(latentStyleExceptionInfo17);
    //            latentStyles1.Append(latentStyleExceptionInfo18);
    //            latentStyles1.Append(latentStyleExceptionInfo19);
    //            latentStyles1.Append(latentStyleExceptionInfo20);
    //            latentStyles1.Append(latentStyleExceptionInfo21);
    //            latentStyles1.Append(latentStyleExceptionInfo22);
    //            latentStyles1.Append(latentStyleExceptionInfo23);
    //            latentStyles1.Append(latentStyleExceptionInfo24);
    //            latentStyles1.Append(latentStyleExceptionInfo25);
    //            latentStyles1.Append(latentStyleExceptionInfo26);
    //            latentStyles1.Append(latentStyleExceptionInfo27);
    //            latentStyles1.Append(latentStyleExceptionInfo28);
    //            latentStyles1.Append(latentStyleExceptionInfo29);
    //            latentStyles1.Append(latentStyleExceptionInfo30);
    //            latentStyles1.Append(latentStyleExceptionInfo31);
    //            latentStyles1.Append(latentStyleExceptionInfo32);
    //            latentStyles1.Append(latentStyleExceptionInfo33);
    //            latentStyles1.Append(latentStyleExceptionInfo34);
    //            latentStyles1.Append(latentStyleExceptionInfo35);
    //            latentStyles1.Append(latentStyleExceptionInfo36);
    //            latentStyles1.Append(latentStyleExceptionInfo37);
    //            latentStyles1.Append(latentStyleExceptionInfo38);
    //            latentStyles1.Append(latentStyleExceptionInfo39);
    //            latentStyles1.Append(latentStyleExceptionInfo40);
    //            latentStyles1.Append(latentStyleExceptionInfo41);
    //            latentStyles1.Append(latentStyleExceptionInfo42);
    //            latentStyles1.Append(latentStyleExceptionInfo43);
    //            latentStyles1.Append(latentStyleExceptionInfo44);
    //            latentStyles1.Append(latentStyleExceptionInfo45);
    //            latentStyles1.Append(latentStyleExceptionInfo46);
    //            latentStyles1.Append(latentStyleExceptionInfo47);
    //            latentStyles1.Append(latentStyleExceptionInfo48);
    //            latentStyles1.Append(latentStyleExceptionInfo49);
    //            latentStyles1.Append(latentStyleExceptionInfo50);
    //            latentStyles1.Append(latentStyleExceptionInfo51);
    //            latentStyles1.Append(latentStyleExceptionInfo52);
    //            latentStyles1.Append(latentStyleExceptionInfo53);
    //            latentStyles1.Append(latentStyleExceptionInfo54);
    //            latentStyles1.Append(latentStyleExceptionInfo55);
    //            latentStyles1.Append(latentStyleExceptionInfo56);
    //            latentStyles1.Append(latentStyleExceptionInfo57);
    //            latentStyles1.Append(latentStyleExceptionInfo58);
    //            latentStyles1.Append(latentStyleExceptionInfo59);
    //            latentStyles1.Append(latentStyleExceptionInfo60);
    //            latentStyles1.Append(latentStyleExceptionInfo61);
    //            latentStyles1.Append(latentStyleExceptionInfo62);
    //            latentStyles1.Append(latentStyleExceptionInfo63);
    //            latentStyles1.Append(latentStyleExceptionInfo64);
    //            latentStyles1.Append(latentStyleExceptionInfo65);
    //            latentStyles1.Append(latentStyleExceptionInfo66);
    //            latentStyles1.Append(latentStyleExceptionInfo67);
    //            latentStyles1.Append(latentStyleExceptionInfo68);
    //            latentStyles1.Append(latentStyleExceptionInfo69);
    //            latentStyles1.Append(latentStyleExceptionInfo70);
    //            latentStyles1.Append(latentStyleExceptionInfo71);
    //            latentStyles1.Append(latentStyleExceptionInfo72);
    //            latentStyles1.Append(latentStyleExceptionInfo73);
    //            latentStyles1.Append(latentStyleExceptionInfo74);
    //            latentStyles1.Append(latentStyleExceptionInfo75);
    //            latentStyles1.Append(latentStyleExceptionInfo76);
    //            latentStyles1.Append(latentStyleExceptionInfo77);
    //            latentStyles1.Append(latentStyleExceptionInfo78);
    //            latentStyles1.Append(latentStyleExceptionInfo79);
    //            latentStyles1.Append(latentStyleExceptionInfo80);
    //            latentStyles1.Append(latentStyleExceptionInfo81);
    //            latentStyles1.Append(latentStyleExceptionInfo82);
    //            latentStyles1.Append(latentStyleExceptionInfo83);
    //            latentStyles1.Append(latentStyleExceptionInfo84);
    //            latentStyles1.Append(latentStyleExceptionInfo85);
    //            latentStyles1.Append(latentStyleExceptionInfo86);
    //            latentStyles1.Append(latentStyleExceptionInfo87);
    //            latentStyles1.Append(latentStyleExceptionInfo88);
    //            latentStyles1.Append(latentStyleExceptionInfo89);
    //            latentStyles1.Append(latentStyleExceptionInfo90);
    //            latentStyles1.Append(latentStyleExceptionInfo91);
    //            latentStyles1.Append(latentStyleExceptionInfo92);
    //            latentStyles1.Append(latentStyleExceptionInfo93);
    //            latentStyles1.Append(latentStyleExceptionInfo94);
    //            latentStyles1.Append(latentStyleExceptionInfo95);
    //            latentStyles1.Append(latentStyleExceptionInfo96);
    //            latentStyles1.Append(latentStyleExceptionInfo97);
    //            latentStyles1.Append(latentStyleExceptionInfo98);
    //            latentStyles1.Append(latentStyleExceptionInfo99);
    //            latentStyles1.Append(latentStyleExceptionInfo100);
    //            latentStyles1.Append(latentStyleExceptionInfo101);
    //            latentStyles1.Append(latentStyleExceptionInfo102);
    //            latentStyles1.Append(latentStyleExceptionInfo103);
    //            latentStyles1.Append(latentStyleExceptionInfo104);
    //            latentStyles1.Append(latentStyleExceptionInfo105);
    //            latentStyles1.Append(latentStyleExceptionInfo106);
    //            latentStyles1.Append(latentStyleExceptionInfo107);
    //            latentStyles1.Append(latentStyleExceptionInfo108);
    //            latentStyles1.Append(latentStyleExceptionInfo109);
    //            latentStyles1.Append(latentStyleExceptionInfo110);
    //            latentStyles1.Append(latentStyleExceptionInfo111);
    //            latentStyles1.Append(latentStyleExceptionInfo112);
    //            latentStyles1.Append(latentStyleExceptionInfo113);
    //            latentStyles1.Append(latentStyleExceptionInfo114);
    //            latentStyles1.Append(latentStyleExceptionInfo115);
    //            latentStyles1.Append(latentStyleExceptionInfo116);
    //            latentStyles1.Append(latentStyleExceptionInfo117);
    //            latentStyles1.Append(latentStyleExceptionInfo118);
    //            latentStyles1.Append(latentStyleExceptionInfo119);
    //            latentStyles1.Append(latentStyleExceptionInfo120);
    //            latentStyles1.Append(latentStyleExceptionInfo121);
    //            latentStyles1.Append(latentStyleExceptionInfo122);
    //            latentStyles1.Append(latentStyleExceptionInfo123);
    //            latentStyles1.Append(latentStyleExceptionInfo124);
    //            latentStyles1.Append(latentStyleExceptionInfo125);
    //            latentStyles1.Append(latentStyleExceptionInfo126);
    //            latentStyles1.Append(latentStyleExceptionInfo127);
    //            latentStyles1.Append(latentStyleExceptionInfo128);
    //            latentStyles1.Append(latentStyleExceptionInfo129);
    //            latentStyles1.Append(latentStyleExceptionInfo130);
    //            latentStyles1.Append(latentStyleExceptionInfo131);
    //            latentStyles1.Append(latentStyleExceptionInfo132);
    //            latentStyles1.Append(latentStyleExceptionInfo133);
    //            latentStyles1.Append(latentStyleExceptionInfo134);
    //            latentStyles1.Append(latentStyleExceptionInfo135);
    //            latentStyles1.Append(latentStyleExceptionInfo136);
    //            latentStyles1.Append(latentStyleExceptionInfo137);

    //            Style style1 = new Style() { Type = StyleValues.Paragraph, StyleId = "Normal", Default = true };
    //            StyleName styleName1 = new StyleName() { Val = "Normal" };
    //            PrimaryStyle primaryStyle1 = new PrimaryStyle();
    //            Rsid rsid1 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines26 = new SpacingBetweenLines() { After = "200", Line = "276", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties1.Append(spacingBetweenLines26);

    //            StyleRunProperties styleRunProperties1 = new StyleRunProperties();
    //            FontSize fontSize58 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript58 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties1.Append(fontSize58);
    //            styleRunProperties1.Append(fontSizeComplexScript58);

    //            style1.Append(styleName1);
    //            style1.Append(primaryStyle1);
    //            style1.Append(rsid1);
    //            style1.Append(styleParagraphProperties1);
    //            style1.Append(styleRunProperties1);

    //            Style style2 = new Style() { Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true };
    //            StyleName styleName2 = new StyleName() { Val = "Default Paragraph Font" };
    //            UIPriority uIPriority1 = new UIPriority() { Val = 1 };
    //            SemiHidden semiHidden1 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed1 = new UnhideWhenUsed();

    //            style2.Append(styleName2);
    //            style2.Append(uIPriority1);
    //            style2.Append(semiHidden1);
    //            style2.Append(unhideWhenUsed1);

    //            Style style3 = new Style() { Type = StyleValues.Table, StyleId = "TableNormal", Default = true };
    //            StyleName styleName3 = new StyleName() { Val = "Normal Table" };
    //            UIPriority uIPriority2 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden2 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed2 = new UnhideWhenUsed();

    //            StyleTableProperties styleTableProperties1 = new StyleTableProperties();
    //            TableIndentation tableIndentation1 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa };

    //            TableCellMarginDefault tableCellMarginDefault2 = new TableCellMarginDefault();
    //            TopMargin topMargin10 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellLeftMargin tableCellLeftMargin2 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa };
    //            BottomMargin bottomMargin6 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellRightMargin tableCellRightMargin2 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa };

    //            tableCellMarginDefault2.Append(topMargin10);
    //            tableCellMarginDefault2.Append(tableCellLeftMargin2);
    //            tableCellMarginDefault2.Append(bottomMargin6);
    //            tableCellMarginDefault2.Append(tableCellRightMargin2);

    //            styleTableProperties1.Append(tableIndentation1);
    //            styleTableProperties1.Append(tableCellMarginDefault2);

    //            style3.Append(styleName3);
    //            style3.Append(uIPriority2);
    //            style3.Append(semiHidden2);
    //            style3.Append(unhideWhenUsed2);
    //            style3.Append(styleTableProperties1);

    //            Style style4 = new Style() { Type = StyleValues.Numbering, StyleId = "NoList", Default = true };
    //            StyleName styleName4 = new StyleName() { Val = "No List" };
    //            UIPriority uIPriority3 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden3 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed3 = new UnhideWhenUsed();

    //            style4.Append(styleName4);
    //            style4.Append(uIPriority3);
    //            style4.Append(semiHidden3);
    //            style4.Append(unhideWhenUsed3);

    //            Style style5 = new Style() { Type = StyleValues.Character, StyleId = "Hyperlink" };
    //            StyleName styleName5 = new StyleName() { Val = "Hyperlink" };
    //            UIPriority uIPriority4 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed4 = new UnhideWhenUsed();
    //            Rsid rsid2 = new Rsid() { Val = "00E778F2" };

    //            StyleRunProperties styleRunProperties2 = new StyleRunProperties();
    //            Color color1 = new Color() { Val = "0000FF" };
    //            Underline underline1 = new Underline() { Val = UnderlineValues.Single };

    //            styleRunProperties2.Append(color1);
    //            styleRunProperties2.Append(underline1);

    //            style5.Append(styleName5);
    //            style5.Append(uIPriority4);
    //            style5.Append(unhideWhenUsed4);
    //            style5.Append(rsid2);
    //            style5.Append(styleRunProperties2);

    //            Style style6 = new Style() { Type = StyleValues.Table, StyleId = "TableGrid" };
    //            StyleName styleName6 = new StyleName() { Val = "Table Grid" };
    //            BasedOn basedOn1 = new BasedOn() { Val = "TableNormal" };
    //            UIPriority uIPriority5 = new UIPriority() { Val = 59 };
    //            Rsid rsid3 = new Rsid() { Val = "00E778F2" };

    //            StyleTableProperties styleTableProperties2 = new StyleTableProperties();
    //            TableIndentation tableIndentation2 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa };

    //            TableBorders tableBorders2 = new TableBorders();
    //            TopBorder topBorder22 = new TopBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            LeftBorder leftBorder22 = new LeftBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            BottomBorder bottomBorder22 = new BottomBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            RightBorder rightBorder22 = new RightBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            InsideHorizontalBorder insideHorizontalBorder2 = new InsideHorizontalBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
    //            InsideVerticalBorder insideVerticalBorder2 = new InsideVerticalBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };

    //            tableBorders2.Append(topBorder22);
    //            tableBorders2.Append(leftBorder22);
    //            tableBorders2.Append(bottomBorder22);
    //            tableBorders2.Append(rightBorder22);
    //            tableBorders2.Append(insideHorizontalBorder2);
    //            tableBorders2.Append(insideVerticalBorder2);

    //            TableCellMarginDefault tableCellMarginDefault3 = new TableCellMarginDefault();
    //            TopMargin topMargin11 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellLeftMargin tableCellLeftMargin3 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa };
    //            BottomMargin bottomMargin7 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
    //            TableCellRightMargin tableCellRightMargin3 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa };

    //            tableCellMarginDefault3.Append(topMargin11);
    //            tableCellMarginDefault3.Append(tableCellLeftMargin3);
    //            tableCellMarginDefault3.Append(bottomMargin7);
    //            tableCellMarginDefault3.Append(tableCellRightMargin3);

    //            styleTableProperties2.Append(tableIndentation2);
    //            styleTableProperties2.Append(tableBorders2);
    //            styleTableProperties2.Append(tableCellMarginDefault3);

    //            style6.Append(styleName6);
    //            style6.Append(basedOn1);
    //            style6.Append(uIPriority5);
    //            style6.Append(rsid3);
    //            style6.Append(styleTableProperties2);

    //            Style style7 = new Style() { Type = StyleValues.Paragraph, StyleId = "ListParagraph" };
    //            StyleName styleName7 = new StyleName() { Val = "List Paragraph" };
    //            BasedOn basedOn2 = new BasedOn() { Val = "Normal" };
    //            UIPriority uIPriority6 = new UIPriority() { Val = 34 };
    //            PrimaryStyle primaryStyle2 = new PrimaryStyle();
    //            Rsid rsid4 = new Rsid() { Val = "00EB1E85" };

    //            StyleParagraphProperties styleParagraphProperties2 = new StyleParagraphProperties();
    //            Indentation indentation16 = new Indentation() { Left = "720" };
    //            ContextualSpacing contextualSpacing1 = new ContextualSpacing();

    //            styleParagraphProperties2.Append(indentation16);
    //            styleParagraphProperties2.Append(contextualSpacing1);

    //            style7.Append(styleName7);
    //            style7.Append(basedOn2);
    //            style7.Append(uIPriority6);
    //            style7.Append(primaryStyle2);
    //            style7.Append(rsid4);
    //            style7.Append(styleParagraphProperties2);

    //            Style style8 = new Style() { Type = StyleValues.Paragraph, StyleId = "BalloonText" };
    //            StyleName styleName8 = new StyleName() { Val = "Balloon Text" };
    //            BasedOn basedOn3 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "BalloonTextChar" };
    //            UIPriority uIPriority7 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden4 = new SemiHidden();
    //            UnhideWhenUsed unhideWhenUsed5 = new UnhideWhenUsed();
    //            Rsid rsid5 = new Rsid() { Val = "00FF0A24" };

    //            StyleParagraphProperties styleParagraphProperties3 = new StyleParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines27 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties3.Append(spacingBetweenLines27);

    //            StyleRunProperties styleRunProperties3 = new StyleRunProperties();
    //            RunFonts runFonts2 = new RunFonts() { Ascii = "Tahoma", HighAnsi = "Tahoma", ComplexScript = "Tahoma" };
    //            FontSize fontSize59 = new FontSize() { Val = "16" };
    //            FontSizeComplexScript fontSizeComplexScript59 = new FontSizeComplexScript() { Val = "16" };

    //            styleRunProperties3.Append(runFonts2);
    //            styleRunProperties3.Append(fontSize59);
    //            styleRunProperties3.Append(fontSizeComplexScript59);

    //            style8.Append(styleName8);
    //            style8.Append(basedOn3);
    //            style8.Append(linkedStyle1);
    //            style8.Append(uIPriority7);
    //            style8.Append(semiHidden4);
    //            style8.Append(unhideWhenUsed5);
    //            style8.Append(rsid5);
    //            style8.Append(styleParagraphProperties3);
    //            style8.Append(styleRunProperties3);

    //            Style style9 = new Style() { Type = StyleValues.Character, StyleId = "BalloonTextChar", CustomStyle = true };
    //            StyleName styleName9 = new StyleName() { Val = "Balloon Text Char" };
    //            LinkedStyle linkedStyle2 = new LinkedStyle() { Val = "BalloonText" };
    //            UIPriority uIPriority8 = new UIPriority() { Val = 99 };
    //            SemiHidden semiHidden5 = new SemiHidden();
    //            Rsid rsid6 = new Rsid() { Val = "00FF0A24" };

    //            StyleRunProperties styleRunProperties4 = new StyleRunProperties();
    //            RunFonts runFonts3 = new RunFonts() { Ascii = "Tahoma", HighAnsi = "Tahoma", ComplexScript = "Tahoma" };
    //            FontSize fontSize60 = new FontSize() { Val = "16" };
    //            FontSizeComplexScript fontSizeComplexScript60 = new FontSizeComplexScript() { Val = "16" };

    //            styleRunProperties4.Append(runFonts3);
    //            styleRunProperties4.Append(fontSize60);
    //            styleRunProperties4.Append(fontSizeComplexScript60);

    //            style9.Append(styleName9);
    //            style9.Append(linkedStyle2);
    //            style9.Append(uIPriority8);
    //            style9.Append(semiHidden5);
    //            style9.Append(rsid6);
    //            style9.Append(styleRunProperties4);

    //            Style style10 = new Style() { Type = StyleValues.Paragraph, StyleId = "Header" };
    //            StyleName styleName10 = new StyleName() { Val = "header" };
    //            BasedOn basedOn4 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle3 = new LinkedStyle() { Val = "HeaderChar" };
    //            UIPriority uIPriority9 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed6 = new UnhideWhenUsed();
    //            Rsid rsid7 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties4 = new StyleParagraphProperties();

    //            Tabs tabs1 = new Tabs();
    //            TabStop tabStop1 = new TabStop() { Val = TabStopValues.Center, Position = 4680 };
    //            TabStop tabStop2 = new TabStop() { Val = TabStopValues.Right, Position = 9360 };

    //            tabs1.Append(tabStop1);
    //            tabs1.Append(tabStop2);
    //            SpacingBetweenLines spacingBetweenLines28 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties4.Append(tabs1);
    //            styleParagraphProperties4.Append(spacingBetweenLines28);

    //            style10.Append(styleName10);
    //            style10.Append(basedOn4);
    //            style10.Append(linkedStyle3);
    //            style10.Append(uIPriority9);
    //            style10.Append(unhideWhenUsed6);
    //            style10.Append(rsid7);
    //            style10.Append(styleParagraphProperties4);

    //            Style style11 = new Style() { Type = StyleValues.Character, StyleId = "HeaderChar", CustomStyle = true };
    //            StyleName styleName11 = new StyleName() { Val = "Header Char" };
    //            BasedOn basedOn5 = new BasedOn() { Val = "DefaultParagraphFont" };
    //            LinkedStyle linkedStyle4 = new LinkedStyle() { Val = "Header" };
    //            UIPriority uIPriority10 = new UIPriority() { Val = 99 };
    //            Rsid rsid8 = new Rsid() { Val = "00EF483A" };

    //            StyleRunProperties styleRunProperties5 = new StyleRunProperties();
    //            FontSize fontSize61 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript61 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties5.Append(fontSize61);
    //            styleRunProperties5.Append(fontSizeComplexScript61);

    //            style11.Append(styleName11);
    //            style11.Append(basedOn5);
    //            style11.Append(linkedStyle4);
    //            style11.Append(uIPriority10);
    //            style11.Append(rsid8);
    //            style11.Append(styleRunProperties5);

    //            Style style12 = new Style() { Type = StyleValues.Paragraph, StyleId = "Footer" };
    //            StyleName styleName12 = new StyleName() { Val = "footer" };
    //            BasedOn basedOn6 = new BasedOn() { Val = "Normal" };
    //            LinkedStyle linkedStyle5 = new LinkedStyle() { Val = "FooterChar" };
    //            UIPriority uIPriority11 = new UIPriority() { Val = 99 };
    //            UnhideWhenUsed unhideWhenUsed7 = new UnhideWhenUsed();
    //            Rsid rsid9 = new Rsid() { Val = "00EF483A" };

    //            StyleParagraphProperties styleParagraphProperties5 = new StyleParagraphProperties();

    //            Tabs tabs2 = new Tabs();
    //            TabStop tabStop3 = new TabStop() { Val = TabStopValues.Center, Position = 4680 };
    //            TabStop tabStop4 = new TabStop() { Val = TabStopValues.Right, Position = 9360 };

    //            tabs2.Append(tabStop3);
    //            tabs2.Append(tabStop4);
    //            SpacingBetweenLines spacingBetweenLines29 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            styleParagraphProperties5.Append(tabs2);
    //            styleParagraphProperties5.Append(spacingBetweenLines29);

    //            style12.Append(styleName12);
    //            style12.Append(basedOn6);
    //            style12.Append(linkedStyle5);
    //            style12.Append(uIPriority11);
    //            style12.Append(unhideWhenUsed7);
    //            style12.Append(rsid9);
    //            style12.Append(styleParagraphProperties5);

    //            Style style13 = new Style() { Type = StyleValues.Character, StyleId = "FooterChar", CustomStyle = true };
    //            StyleName styleName13 = new StyleName() { Val = "Footer Char" };
    //            BasedOn basedOn7 = new BasedOn() { Val = "DefaultParagraphFont" };
    //            LinkedStyle linkedStyle6 = new LinkedStyle() { Val = "Footer" };
    //            UIPriority uIPriority12 = new UIPriority() { Val = 99 };
    //            Rsid rsid10 = new Rsid() { Val = "00EF483A" };

    //            StyleRunProperties styleRunProperties6 = new StyleRunProperties();
    //            FontSize fontSize62 = new FontSize() { Val = "22" };
    //            FontSizeComplexScript fontSizeComplexScript62 = new FontSizeComplexScript() { Val = "22" };

    //            styleRunProperties6.Append(fontSize62);
    //            styleRunProperties6.Append(fontSizeComplexScript62);

    //            style13.Append(styleName13);
    //            style13.Append(basedOn7);
    //            style13.Append(linkedStyle6);
    //            style13.Append(uIPriority12);
    //            style13.Append(rsid10);
    //            style13.Append(styleRunProperties6);

    //            //styles1.Append(docDefaults1);
    //            styles1.Append(latentStyles1);
    //            styles1.Append(style1);
    //            styles1.Append(style2);
    //            styles1.Append(style3);
    //            styles1.Append(style4);
    //            styles1.Append(style5);
    //            styles1.Append(style6);
    //            styles1.Append(style7);
    //            styles1.Append(style8);
    //            styles1.Append(style9);
    //            styles1.Append(style10);
    //            styles1.Append(style11);
    //            styles1.Append(style12);
    //            styles1.Append(style13);

    //            stylesWithEffectsPart1.Styles = styles1;
    //        }
    //    }

    //    private static object GenerateEndnotesPart1Content_LockObject = new object();
    //    public static void GenerateEndnotesPart1Content(EndnotesPart endnotesPart1)
    //    {
    //        lock (GenerateEndnotesPart1Content_LockObject)
    //        {
    //            Endnotes endnotes1 = new Endnotes() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
    //            endnotes1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
    //            endnotes1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            endnotes1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
    //            endnotes1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            endnotes1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
    //            endnotes1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
    //            endnotes1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
    //            endnotes1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
    //            endnotes1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
    //            endnotes1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            endnotes1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            endnotes1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
    //            endnotes1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
    //            endnotes1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
    //            endnotes1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

    //            Endnote endnote1 = new Endnote() { Type = FootnoteEndnoteValues.Separator, Id = -1 };

    //            Paragraph paragraph42 = new Paragraph() { RsidParagraphAddition = "00B2636C", RsidParagraphProperties = "00EF483A", RsidRunAdditionDefault = "00B2636C" };

    //            ParagraphProperties paragraphProperties37 = new ParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines30 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            paragraphProperties37.Append(spacingBetweenLines30);

    //            Run run31 = new Run();
    //            SeparatorMark separatorMark1 = new SeparatorMark();

    //            run31.Append(separatorMark1);

    //            paragraph42.Append(paragraphProperties37);
    //            paragraph42.Append(run31);

    //            endnote1.Append(paragraph42);

    //            Endnote endnote2 = new Endnote() { Type = FootnoteEndnoteValues.ContinuationSeparator, Id = 0 };

    //            Paragraph paragraph43 = new Paragraph() { RsidParagraphAddition = "00B2636C", RsidParagraphProperties = "00EF483A", RsidRunAdditionDefault = "00B2636C" };

    //            ParagraphProperties paragraphProperties38 = new ParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines31 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            paragraphProperties38.Append(spacingBetweenLines31);

    //            Run run32 = new Run();
    //            ContinuationSeparatorMark continuationSeparatorMark1 = new ContinuationSeparatorMark();

    //            run32.Append(continuationSeparatorMark1);

    //            paragraph43.Append(paragraphProperties38);
    //            paragraph43.Append(run32);

    //            endnote2.Append(paragraph43);

    //            endnotes1.Append(endnote1);
    //            endnotes1.Append(endnote2);

    //            endnotesPart1.Endnotes = endnotes1;
    //        }
    //    }

    //    private static object GenerateNumberingDefinitionsPart1Content_LockObject = new object();
    //    public static void GenerateNumberingDefinitionsPart1Content(NumberingDefinitionsPart numberingDefinitionsPart1)
    //    {
    //        lock (GenerateNumberingDefinitionsPart1Content_LockObject)
    //        {
    //            Numbering numbering1 = new Numbering() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
    //            numbering1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
    //            numbering1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            numbering1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
    //            numbering1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            numbering1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
    //            numbering1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
    //            numbering1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
    //            numbering1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
    //            numbering1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
    //            numbering1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            numbering1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            numbering1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
    //            numbering1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
    //            numbering1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
    //            numbering1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

    //            AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 };
    //            Nsid nsid1 = new Nsid() { Val = "73E03B5C" };
    //            MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel };
    //            TemplateCode templateCode1 = new TemplateCode() { Val = "D36EB1F2" };

    //            Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04090001" };
    //            StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText1 = new LevelText() { Val = "·" };
    //            LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties();
    //            Indentation indentation18 = new Indentation() { Left = "360", Hanging = "360" };

    //            previousParagraphProperties1.Append(indentation18);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts7 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" };

    //            numberingSymbolRunProperties1.Append(runFonts7);

    //            level1.Append(startNumberingValue1);
    //            level1.Append(numberingFormat1);
    //            level1.Append(levelText1);
    //            level1.Append(levelJustification1);
    //            level1.Append(previousParagraphProperties1);
    //            level1.Append(numberingSymbolRunProperties1);

    //            Level level2 = new Level() { LevelIndex = 1, TemplateCode = "04090003", Tentative = true };
    //            StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText2 = new LevelText() { Val = "o" };
    //            LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties();
    //            Indentation indentation19 = new Indentation() { Left = "1080", Hanging = "360" };

    //            previousParagraphProperties2.Append(indentation19);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts8 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" };

    //            numberingSymbolRunProperties2.Append(runFonts8);

    //            level2.Append(startNumberingValue2);
    //            level2.Append(numberingFormat2);
    //            level2.Append(levelText2);
    //            level2.Append(levelJustification2);
    //            level2.Append(previousParagraphProperties2);
    //            level2.Append(numberingSymbolRunProperties2);

    //            Level level3 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true };
    //            StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText3 = new LevelText() { Val = "§" };
    //            LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties();
    //            Indentation indentation20 = new Indentation() { Left = "1800", Hanging = "360" };

    //            previousParagraphProperties3.Append(indentation20);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts9 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" };

    //            numberingSymbolRunProperties3.Append(runFonts9);

    //            level3.Append(startNumberingValue3);
    //            level3.Append(numberingFormat3);
    //            level3.Append(levelText3);
    //            level3.Append(levelJustification3);
    //            level3.Append(previousParagraphProperties3);
    //            level3.Append(numberingSymbolRunProperties3);

    //            Level level4 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true };
    //            StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText4 = new LevelText() { Val = "·" };
    //            LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties();
    //            Indentation indentation21 = new Indentation() { Left = "2520", Hanging = "360" };

    //            previousParagraphProperties4.Append(indentation21);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts10 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" };

    //            numberingSymbolRunProperties4.Append(runFonts10);

    //            level4.Append(startNumberingValue4);
    //            level4.Append(numberingFormat4);
    //            level4.Append(levelText4);
    //            level4.Append(levelJustification4);
    //            level4.Append(previousParagraphProperties4);
    //            level4.Append(numberingSymbolRunProperties4);

    //            Level level5 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true };
    //            StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText5 = new LevelText() { Val = "o" };
    //            LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties();
    //            Indentation indentation22 = new Indentation() { Left = "3240", Hanging = "360" };

    //            previousParagraphProperties5.Append(indentation22);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts11 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" };

    //            numberingSymbolRunProperties5.Append(runFonts11);

    //            level5.Append(startNumberingValue5);
    //            level5.Append(numberingFormat5);
    //            level5.Append(levelText5);
    //            level5.Append(levelJustification5);
    //            level5.Append(previousParagraphProperties5);
    //            level5.Append(numberingSymbolRunProperties5);

    //            Level level6 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true };
    //            StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText6 = new LevelText() { Val = "§" };
    //            LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties();
    //            Indentation indentation23 = new Indentation() { Left = "3960", Hanging = "360" };

    //            previousParagraphProperties6.Append(indentation23);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts12 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" };

    //            numberingSymbolRunProperties6.Append(runFonts12);

    //            level6.Append(startNumberingValue6);
    //            level6.Append(numberingFormat6);
    //            level6.Append(levelText6);
    //            level6.Append(levelJustification6);
    //            level6.Append(previousParagraphProperties6);
    //            level6.Append(numberingSymbolRunProperties6);

    //            Level level7 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true };
    //            StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText7 = new LevelText() { Val = "·" };
    //            LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties();
    //            Indentation indentation24 = new Indentation() { Left = "4680", Hanging = "360" };

    //            previousParagraphProperties7.Append(indentation24);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts13 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" };

    //            numberingSymbolRunProperties7.Append(runFonts13);

    //            level7.Append(startNumberingValue7);
    //            level7.Append(numberingFormat7);
    //            level7.Append(levelText7);
    //            level7.Append(levelJustification7);
    //            level7.Append(previousParagraphProperties7);
    //            level7.Append(numberingSymbolRunProperties7);

    //            Level level8 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true };
    //            StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText8 = new LevelText() { Val = "o" };
    //            LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties();
    //            Indentation indentation25 = new Indentation() { Left = "5400", Hanging = "360" };

    //            previousParagraphProperties8.Append(indentation25);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts14 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" };

    //            numberingSymbolRunProperties8.Append(runFonts14);

    //            level8.Append(startNumberingValue8);
    //            level8.Append(numberingFormat8);
    //            level8.Append(levelText8);
    //            level8.Append(levelJustification8);
    //            level8.Append(previousParagraphProperties8);
    //            level8.Append(numberingSymbolRunProperties8);

    //            Level level9 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true };
    //            StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 };
    //            NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Bullet };
    //            LevelText levelText9 = new LevelText() { Val = "§" };
    //            LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left };

    //            PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties();
    //            Indentation indentation26 = new Indentation() { Left = "6120", Hanging = "360" };

    //            previousParagraphProperties9.Append(indentation26);

    //            NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties();
    //            RunFonts runFonts15 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" };

    //            numberingSymbolRunProperties9.Append(runFonts15);

    //            level9.Append(startNumberingValue9);
    //            level9.Append(numberingFormat9);
    //            level9.Append(levelText9);
    //            level9.Append(levelJustification9);
    //            level9.Append(previousParagraphProperties9);
    //            level9.Append(numberingSymbolRunProperties9);

    //            abstractNum1.Append(nsid1);
    //            abstractNum1.Append(multiLevelType1);
    //            abstractNum1.Append(templateCode1);
    //            abstractNum1.Append(level1);
    //            abstractNum1.Append(level2);
    //            abstractNum1.Append(level3);
    //            abstractNum1.Append(level4);
    //            abstractNum1.Append(level5);
    //            abstractNum1.Append(level6);
    //            abstractNum1.Append(level7);
    //            abstractNum1.Append(level8);
    //            abstractNum1.Append(level9);

    //            NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 };
    //            AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 };

    //            numberingInstance1.Append(abstractNumId1);

    //            numbering1.Append(abstractNum1);
    //            numbering1.Append(numberingInstance1);

    //            numberingDefinitionsPart1.Numbering = numbering1;
    //        }
    //    }

    //    private static object GenerateFootnotesPart1Content_LockObject = new object();
    //    public static void GenerateFootnotesPart1Content(FootnotesPart footnotesPart1)
    //    {
    //        lock (GenerateFootnotesPart1Content_LockObject)
    //        {
    //            Footnotes footnotes1 = new Footnotes() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
    //            footnotes1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
    //            footnotes1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            footnotes1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
    //            footnotes1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            footnotes1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
    //            footnotes1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
    //            footnotes1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
    //            footnotes1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
    //            footnotes1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
    //            footnotes1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            footnotes1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            footnotes1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
    //            footnotes1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
    //            footnotes1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
    //            footnotes1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

    //            Footnote footnote1 = new Footnote() { Type = FootnoteEndnoteValues.Separator, Id = -1 };

    //            Paragraph paragraph44 = new Paragraph() { RsidParagraphAddition = "00B2636C", RsidParagraphProperties = "00EF483A", RsidRunAdditionDefault = "00B2636C" };

    //            ParagraphProperties paragraphProperties39 = new ParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines36 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            paragraphProperties39.Append(spacingBetweenLines36);

    //            Run run33 = new Run();
    //            SeparatorMark separatorMark2 = new SeparatorMark();

    //            run33.Append(separatorMark2);

    //            paragraph44.Append(paragraphProperties39);
    //            paragraph44.Append(run33);

    //            footnote1.Append(paragraph44);

    //            Footnote footnote2 = new Footnote() { Type = FootnoteEndnoteValues.ContinuationSeparator, Id = 0 };

    //            Paragraph paragraph45 = new Paragraph() { RsidParagraphAddition = "00B2636C", RsidParagraphProperties = "00EF483A", RsidRunAdditionDefault = "00B2636C" };

    //            ParagraphProperties paragraphProperties40 = new ParagraphProperties();
    //            SpacingBetweenLines spacingBetweenLines37 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

    //            paragraphProperties40.Append(spacingBetweenLines37);

    //            Run run34 = new Run();
    //            ContinuationSeparatorMark continuationSeparatorMark2 = new ContinuationSeparatorMark();

    //            run34.Append(continuationSeparatorMark2);

    //            paragraph45.Append(paragraphProperties40);
    //            paragraph45.Append(run34);

    //            footnote2.Append(paragraph45);

    //            footnotes1.Append(footnote1);
    //            footnotes1.Append(footnote2);

    //            footnotesPart1.Footnotes = footnotes1;
    //        }
    //    }

    //    private static object GenerateWebSettingsPart1Content_LockObject = new object();
    //    public static void GenerateWebSettingsPart1Content(WebSettingsPart webSettingsPart1)
    //    {
    //        lock (GenerateWebSettingsPart1Content_LockObject)
    //        {
    //            WebSettings webSettings1 = new WebSettings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
    //            webSettings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            webSettings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            webSettings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            webSettings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser();
    //            RelyOnVML relyOnVML1 = new RelyOnVML();
    //            AllowPNG allowPNG1 = new AllowPNG();

    //            webSettings1.Append(optimizeForBrowser1);
    //            webSettings1.Append(relyOnVML1);
    //            webSettings1.Append(allowPNG1);

    //            webSettingsPart1.WebSettings = webSettings1;
    //        }
    //    }

    //    private static object GenerateThemePart1Content_LockObject = new object();
    //    public static void GenerateThemePart1Content(ThemePart themePart1)
    //    {
    //        lock (GenerateThemePart1Content_LockObject)
    //        {
    //            A.Theme theme1 = new A.Theme() { Name = "Office Theme" };
    //            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

    //            A.ThemeElements themeElements1 = new A.ThemeElements();

    //            A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" };

    //            A.Dark1Color dark1Color1 = new A.Dark1Color();
    //            A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" };

    //            dark1Color1.Append(systemColor1);

    //            A.Light1Color light1Color1 = new A.Light1Color();
    //            A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

    //            light1Color1.Append(systemColor2);

    //            A.Dark2Color dark2Color1 = new A.Dark2Color();
    //            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "1F497D" };

    //            dark2Color1.Append(rgbColorModelHex1);

    //            A.Light2Color light2Color1 = new A.Light2Color();
    //            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "EEECE1" };

    //            light2Color1.Append(rgbColorModelHex2);

    //            A.Accent1Color accent1Color1 = new A.Accent1Color();
    //            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "4F81BD" };

    //            accent1Color1.Append(rgbColorModelHex3);

    //            A.Accent2Color accent2Color1 = new A.Accent2Color();
    //            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "C0504D" };

    //            accent2Color1.Append(rgbColorModelHex4);

    //            A.Accent3Color accent3Color1 = new A.Accent3Color();
    //            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "9BBB59" };

    //            accent3Color1.Append(rgbColorModelHex5);

    //            A.Accent4Color accent4Color1 = new A.Accent4Color();
    //            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "8064A2" };

    //            accent4Color1.Append(rgbColorModelHex6);

    //            A.Accent5Color accent5Color1 = new A.Accent5Color();
    //            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4BACC6" };

    //            accent5Color1.Append(rgbColorModelHex7);

    //            A.Accent6Color accent6Color1 = new A.Accent6Color();
    //            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "F79646" };

    //            accent6Color1.Append(rgbColorModelHex8);

    //            A.Hyperlink hyperlink2 = new A.Hyperlink();
    //            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0000FF" };

    //            hyperlink2.Append(rgbColorModelHex9);

    //            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
    //            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "800080" };

    //            followedHyperlinkColor1.Append(rgbColorModelHex10);

    //            colorScheme1.Append(dark1Color1);
    //            colorScheme1.Append(light1Color1);
    //            colorScheme1.Append(dark2Color1);
    //            colorScheme1.Append(light2Color1);
    //            colorScheme1.Append(accent1Color1);
    //            colorScheme1.Append(accent2Color1);
    //            colorScheme1.Append(accent3Color1);
    //            colorScheme1.Append(accent4Color1);
    //            colorScheme1.Append(accent5Color1);
    //            colorScheme1.Append(accent6Color1);
    //            colorScheme1.Append(hyperlink2);
    //            colorScheme1.Append(followedHyperlinkColor1);

    //            A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" };

    //            A.MajorFont majorFont1 = new A.MajorFont();
    //            A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Cambria" };
    //            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" };
    //            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" };
    //            A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS ゴシック" };
    //            A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
    //            A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
    //            A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
    //            A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" };
    //            A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" };
    //            A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Angsana New" };
    //            A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
    //            A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
    //            A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
    //            A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" };
    //            A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
    //            A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
    //            A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
    //            A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
    //            A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
    //            A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
    //            A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
    //            A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
    //            A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
    //            A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
    //            A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
    //            A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
    //            A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
    //            A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
    //            A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
    //            A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
    //            A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" };
    //            A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };
    //            A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" };

    //            majorFont1.Append(latinFont1);
    //            majorFont1.Append(eastAsianFont1);
    //            majorFont1.Append(complexScriptFont1);
    //            majorFont1.Append(supplementalFont1);
    //            majorFont1.Append(supplementalFont2);
    //            majorFont1.Append(supplementalFont3);
    //            majorFont1.Append(supplementalFont4);
    //            majorFont1.Append(supplementalFont5);
    //            majorFont1.Append(supplementalFont6);
    //            majorFont1.Append(supplementalFont7);
    //            majorFont1.Append(supplementalFont8);
    //            majorFont1.Append(supplementalFont9);
    //            majorFont1.Append(supplementalFont10);
    //            majorFont1.Append(supplementalFont11);
    //            majorFont1.Append(supplementalFont12);
    //            majorFont1.Append(supplementalFont13);
    //            majorFont1.Append(supplementalFont14);
    //            majorFont1.Append(supplementalFont15);
    //            majorFont1.Append(supplementalFont16);
    //            majorFont1.Append(supplementalFont17);
    //            majorFont1.Append(supplementalFont18);
    //            majorFont1.Append(supplementalFont19);
    //            majorFont1.Append(supplementalFont20);
    //            majorFont1.Append(supplementalFont21);
    //            majorFont1.Append(supplementalFont22);
    //            majorFont1.Append(supplementalFont23);
    //            majorFont1.Append(supplementalFont24);
    //            majorFont1.Append(supplementalFont25);
    //            majorFont1.Append(supplementalFont26);
    //            majorFont1.Append(supplementalFont27);
    //            majorFont1.Append(supplementalFont28);
    //            majorFont1.Append(supplementalFont29);
    //            majorFont1.Append(supplementalFont30);

    //            A.MinorFont minorFont1 = new A.MinorFont();
    //            A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Calibri" };
    //            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "" };
    //            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" };
    //            A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS 明朝" };
    //            A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
    //            A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
    //            A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
    //            A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" };
    //            A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" };
    //            A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Thai", Typeface = "Cordia New" };
    //            A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
    //            A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
    //            A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
    //            A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" };
    //            A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
    //            A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
    //            A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
    //            A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
    //            A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
    //            A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
    //            A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
    //            A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
    //            A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
    //            A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
    //            A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
    //            A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
    //            A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
    //            A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
    //            A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
    //            A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
    //            A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" };
    //            A.SupplementalFont supplementalFont59 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };
    //            A.SupplementalFont supplementalFont60 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" };

    //            minorFont1.Append(latinFont2);
    //            minorFont1.Append(eastAsianFont2);
    //            minorFont1.Append(complexScriptFont2);
    //            minorFont1.Append(supplementalFont31);
    //            minorFont1.Append(supplementalFont32);
    //            minorFont1.Append(supplementalFont33);
    //            minorFont1.Append(supplementalFont34);
    //            minorFont1.Append(supplementalFont35);
    //            minorFont1.Append(supplementalFont36);
    //            minorFont1.Append(supplementalFont37);
    //            minorFont1.Append(supplementalFont38);
    //            minorFont1.Append(supplementalFont39);
    //            minorFont1.Append(supplementalFont40);
    //            minorFont1.Append(supplementalFont41);
    //            minorFont1.Append(supplementalFont42);
    //            minorFont1.Append(supplementalFont43);
    //            minorFont1.Append(supplementalFont44);
    //            minorFont1.Append(supplementalFont45);
    //            minorFont1.Append(supplementalFont46);
    //            minorFont1.Append(supplementalFont47);
    //            minorFont1.Append(supplementalFont48);
    //            minorFont1.Append(supplementalFont49);
    //            minorFont1.Append(supplementalFont50);
    //            minorFont1.Append(supplementalFont51);
    //            minorFont1.Append(supplementalFont52);
    //            minorFont1.Append(supplementalFont53);
    //            minorFont1.Append(supplementalFont54);
    //            minorFont1.Append(supplementalFont55);
    //            minorFont1.Append(supplementalFont56);
    //            minorFont1.Append(supplementalFont57);
    //            minorFont1.Append(supplementalFont58);
    //            minorFont1.Append(supplementalFont59);
    //            minorFont1.Append(supplementalFont60);

    //            fontScheme1.Append(majorFont1);
    //            fontScheme1.Append(minorFont1);

    //            A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" };

    //            A.FillStyleList fillStyleList1 = new A.FillStyleList();

    //            A.SolidFill solidFill1 = new A.SolidFill();
    //            A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

    //            solidFill1.Append(schemeColor1);

    //            A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true };

    //            A.GradientStopList gradientStopList1 = new A.GradientStopList();

    //            A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 };

    //            A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint1 = new A.Tint() { Val = 50000 };
    //            A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 300000 };

    //            schemeColor2.Append(tint1);
    //            schemeColor2.Append(saturationModulation1);

    //            gradientStop1.Append(schemeColor2);

    //            A.GradientStop gradientStop2 = new A.GradientStop() { Position = 35000 };

    //            A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint2 = new A.Tint() { Val = 37000 };
    //            A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 300000 };

    //            schemeColor3.Append(tint2);
    //            schemeColor3.Append(saturationModulation2);

    //            gradientStop2.Append(schemeColor3);

    //            A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 };

    //            A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint3 = new A.Tint() { Val = 15000 };
    //            A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 350000 };

    //            schemeColor4.Append(tint3);
    //            schemeColor4.Append(saturationModulation3);

    //            gradientStop3.Append(schemeColor4);

    //            gradientStopList1.Append(gradientStop1);
    //            gradientStopList1.Append(gradientStop2);
    //            gradientStopList1.Append(gradientStop3);
    //            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 16200000, Scaled = true };

    //            gradientFill1.Append(gradientStopList1);
    //            gradientFill1.Append(linearGradientFill1);

    //            A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true };

    //            A.GradientStopList gradientStopList2 = new A.GradientStopList();

    //            A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 };

    //            A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade1 = new A.Shade() { Val = 51000 };
    //            A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 130000 };

    //            schemeColor5.Append(shade1);
    //            schemeColor5.Append(saturationModulation4);

    //            gradientStop4.Append(schemeColor5);

    //            A.GradientStop gradientStop5 = new A.GradientStop() { Position = 80000 };

    //            A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade2 = new A.Shade() { Val = 93000 };
    //            A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 130000 };

    //            schemeColor6.Append(shade2);
    //            schemeColor6.Append(saturationModulation5);

    //            gradientStop5.Append(schemeColor6);

    //            A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 };

    //            A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade3 = new A.Shade() { Val = 94000 };
    //            A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 135000 };

    //            schemeColor7.Append(shade3);
    //            schemeColor7.Append(saturationModulation6);

    //            gradientStop6.Append(schemeColor7);

    //            gradientStopList2.Append(gradientStop4);
    //            gradientStopList2.Append(gradientStop5);
    //            gradientStopList2.Append(gradientStop6);
    //            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 16200000, Scaled = false };

    //            gradientFill2.Append(gradientStopList2);
    //            gradientFill2.Append(linearGradientFill2);

    //            fillStyleList1.Append(solidFill1);
    //            fillStyleList1.Append(gradientFill1);
    //            fillStyleList1.Append(gradientFill2);

    //            A.LineStyleList lineStyleList1 = new A.LineStyleList();

    //            A.Outline outline1 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

    //            A.SolidFill solidFill2 = new A.SolidFill();

    //            A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade4 = new A.Shade() { Val = 95000 };
    //            A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 105000 };

    //            schemeColor8.Append(shade4);
    //            schemeColor8.Append(saturationModulation7);

    //            solidFill2.Append(schemeColor8);
    //            A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

    //            outline1.Append(solidFill2);
    //            outline1.Append(presetDash1);

    //            A.Outline outline2 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

    //            A.SolidFill solidFill3 = new A.SolidFill();
    //            A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

    //            solidFill3.Append(schemeColor9);
    //            A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

    //            outline2.Append(solidFill3);
    //            outline2.Append(presetDash2);

    //            A.Outline outline3 = new A.Outline() { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

    //            A.SolidFill solidFill4 = new A.SolidFill();
    //            A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

    //            solidFill4.Append(schemeColor10);
    //            A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

    //            outline3.Append(solidFill4);
    //            outline3.Append(presetDash3);

    //            lineStyleList1.Append(outline1);
    //            lineStyleList1.Append(outline2);
    //            lineStyleList1.Append(outline3);

    //            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

    //            A.EffectStyle effectStyle1 = new A.EffectStyle();

    //            A.EffectList effectList1 = new A.EffectList();

    //            A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false };

    //            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" };
    //            A.Alpha alpha1 = new A.Alpha() { Val = 38000 };

    //            rgbColorModelHex11.Append(alpha1);

    //            outerShadow1.Append(rgbColorModelHex11);

    //            effectList1.Append(outerShadow1);

    //            effectStyle1.Append(effectList1);

    //            A.EffectStyle effectStyle2 = new A.EffectStyle();

    //            A.EffectList effectList2 = new A.EffectList();

    //            A.OuterShadow outerShadow2 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

    //            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex() { Val = "000000" };
    //            A.Alpha alpha2 = new A.Alpha() { Val = 35000 };

    //            rgbColorModelHex12.Append(alpha2);

    //            outerShadow2.Append(rgbColorModelHex12);

    //            effectList2.Append(outerShadow2);

    //            effectStyle2.Append(effectList2);

    //            A.EffectStyle effectStyle3 = new A.EffectStyle();

    //            A.EffectList effectList3 = new A.EffectList();

    //            A.OuterShadow outerShadow3 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

    //            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex() { Val = "000000" };
    //            A.Alpha alpha3 = new A.Alpha() { Val = 35000 };

    //            rgbColorModelHex13.Append(alpha3);

    //            outerShadow3.Append(rgbColorModelHex13);

    //            effectList3.Append(outerShadow3);

    //            A.Scene3DType scene3DType1 = new A.Scene3DType();

    //            A.Camera camera1 = new A.Camera() { Preset = A.PresetCameraValues.OrthographicFront };
    //            A.Rotation rotation1 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 0 };

    //            camera1.Append(rotation1);

    //            A.LightRig lightRig1 = new A.LightRig() { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };
    //            A.Rotation rotation2 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 1200000 };

    //            lightRig1.Append(rotation2);

    //            scene3DType1.Append(camera1);
    //            scene3DType1.Append(lightRig1);

    //            A.Shape3DType shape3DType1 = new A.Shape3DType();
    //            A.BevelTop bevelTop1 = new A.BevelTop() { Width = 63500L, Height = 25400L };

    //            shape3DType1.Append(bevelTop1);

    //            effectStyle3.Append(effectList3);
    //            effectStyle3.Append(scene3DType1);
    //            effectStyle3.Append(shape3DType1);

    //            effectStyleList1.Append(effectStyle1);
    //            effectStyleList1.Append(effectStyle2);
    //            effectStyleList1.Append(effectStyle3);

    //            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

    //            A.SolidFill solidFill5 = new A.SolidFill();
    //            A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

    //            solidFill5.Append(schemeColor11);

    //            A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true };

    //            A.GradientStopList gradientStopList3 = new A.GradientStopList();

    //            A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 };

    //            A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint4 = new A.Tint() { Val = 40000 };
    //            A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 350000 };

    //            schemeColor12.Append(tint4);
    //            schemeColor12.Append(saturationModulation8);

    //            gradientStop7.Append(schemeColor12);

    //            A.GradientStop gradientStop8 = new A.GradientStop() { Position = 40000 };

    //            A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint5 = new A.Tint() { Val = 45000 };
    //            A.Shade shade5 = new A.Shade() { Val = 99000 };
    //            A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 350000 };

    //            schemeColor13.Append(tint5);
    //            schemeColor13.Append(shade5);
    //            schemeColor13.Append(saturationModulation9);

    //            gradientStop8.Append(schemeColor13);

    //            A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 };

    //            A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade6 = new A.Shade() { Val = 20000 };
    //            A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 255000 };

    //            schemeColor14.Append(shade6);
    //            schemeColor14.Append(saturationModulation10);

    //            gradientStop9.Append(schemeColor14);

    //            gradientStopList3.Append(gradientStop7);
    //            gradientStopList3.Append(gradientStop8);
    //            gradientStopList3.Append(gradientStop9);

    //            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle };
    //            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle() { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 };

    //            pathGradientFill1.Append(fillToRectangle1);

    //            gradientFill3.Append(gradientStopList3);
    //            gradientFill3.Append(pathGradientFill1);

    //            A.GradientFill gradientFill4 = new A.GradientFill() { RotateWithShape = true };

    //            A.GradientStopList gradientStopList4 = new A.GradientStopList();

    //            A.GradientStop gradientStop10 = new A.GradientStop() { Position = 0 };

    //            A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Tint tint6 = new A.Tint() { Val = 80000 };
    //            A.SaturationModulation saturationModulation11 = new A.SaturationModulation() { Val = 300000 };

    //            schemeColor15.Append(tint6);
    //            schemeColor15.Append(saturationModulation11);

    //            gradientStop10.Append(schemeColor15);

    //            A.GradientStop gradientStop11 = new A.GradientStop() { Position = 100000 };

    //            A.SchemeColor schemeColor16 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
    //            A.Shade shade7 = new A.Shade() { Val = 30000 };
    //            A.SaturationModulation saturationModulation12 = new A.SaturationModulation() { Val = 200000 };

    //            schemeColor16.Append(shade7);
    //            schemeColor16.Append(saturationModulation12);

    //            gradientStop11.Append(schemeColor16);

    //            gradientStopList4.Append(gradientStop10);
    //            gradientStopList4.Append(gradientStop11);

    //            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle };
    //            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle() { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

    //            pathGradientFill2.Append(fillToRectangle2);

    //            gradientFill4.Append(gradientStopList4);
    //            gradientFill4.Append(pathGradientFill2);

    //            backgroundFillStyleList1.Append(solidFill5);
    //            backgroundFillStyleList1.Append(gradientFill3);
    //            backgroundFillStyleList1.Append(gradientFill4);

    //            formatScheme1.Append(fillStyleList1);
    //            formatScheme1.Append(lineStyleList1);
    //            formatScheme1.Append(effectStyleList1);
    //            formatScheme1.Append(backgroundFillStyleList1);

    //            themeElements1.Append(colorScheme1);
    //            themeElements1.Append(fontScheme1);
    //            themeElements1.Append(formatScheme1);
    //            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
    //            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

    //            theme1.Append(themeElements1);
    //            theme1.Append(objectDefaults1);
    //            theme1.Append(extraColorSchemeList1);

    //            themePart1.Theme = theme1;
    //        }
    //    }


    //    private static object GenerateDocumentSettingsPart1Content_LockObject = new object();
    //    public static void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
    //    {
    //        lock (GenerateDocumentSettingsPart1Content_LockObject)
    //        {
    //            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
    //            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
    //            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
    //            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
    //            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
    //            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
    //            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
    //            Zoom zoom1 = new Zoom() { Percent = "190" };
    //            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
    //            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
    //            DrawingGridHorizontalSpacing drawingGridHorizontalSpacing1 = new DrawingGridHorizontalSpacing() { Val = "110" };
    //            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid() { Val = 2 };
    //            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

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

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

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

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

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

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

    //            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 leftMargin3 = new M.LeftMargin() { Val = (UInt32Value)0U };
    //            M.RightMargin rightMargin3 = 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(leftMargin3);
    //            mathProperties1.Append(rightMargin3);
    //            mathProperties1.Append(defaultJustification1);
    //            mathProperties1.Append(wrapIndent1);
    //            mathProperties1.Append(integralLimitLocation1);
    //            mathProperties1.Append(naryLimitLocation1);
    //            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US" };
    //            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

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

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

    //            shapeLayout1.Append(shapeIdMap1);

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

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

    //            documentSettingsPart1.Settings = settings1;
    //        }
    //    }

    //    private static object GenerateFontTablePart1Content_LockObject = new object();
    //    public static void GenerateFontTablePart1Content(FontTablePart fontTablePart1)
    //    {
    //        lock (GenerateFontTablePart1Content_LockObject)
    //        {

    //            Fonts fonts1 = new Fonts() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
    //            fonts1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
    //            fonts1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
    //            fonts1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
    //            fonts1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");

    //            Font font1 = new Font() { Name = "Symbol" };
    //            Panose1Number panose1Number1 = new Panose1Number() { Val = "05050102010706020507" };
    //            FontCharSet fontCharSet1 = new FontCharSet() { Val = "02" };
    //            FontFamily fontFamily1 = new FontFamily() { Val = FontFamilyValues.Roman };
    //            Pitch pitch1 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature1 = new FontSignature() { UnicodeSignature0 = "00000000", UnicodeSignature1 = "10000000", UnicodeSignature2 = "00000000", UnicodeSignature3 = "00000000", CodePageSignature0 = "80000000", CodePageSignature1 = "00000000" };

    //            font1.Append(panose1Number1);
    //            font1.Append(fontCharSet1);
    //            font1.Append(fontFamily1);
    //            font1.Append(pitch1);
    //            font1.Append(fontSignature1);

    //            Font font2 = new Font() { Name = "Times New Roman" };
    //            Panose1Number panose1Number2 = new Panose1Number() { Val = "02020603050405020304" };
    //            FontCharSet fontCharSet2 = new FontCharSet() { Val = "00" };
    //            FontFamily fontFamily2 = new FontFamily() { Val = FontFamilyValues.Roman };
    //            Pitch pitch2 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature2 = new FontSignature() { UnicodeSignature0 = "E0002AFF", UnicodeSignature1 = "C0007841", UnicodeSignature2 = "00000009", UnicodeSignature3 = "00000000", CodePageSignature0 = "000001FF", CodePageSignature1 = "00000000" };

    //            font2.Append(panose1Number2);
    //            font2.Append(fontCharSet2);
    //            font2.Append(fontFamily2);
    //            font2.Append(pitch2);
    //            font2.Append(fontSignature2);

    //            Font font3 = new Font() { Name = "Courier New" };
    //            Panose1Number panose1Number3 = new Panose1Number() { Val = "02070309020205020404" };
    //            FontCharSet fontCharSet3 = new FontCharSet() { Val = "00" };
    //            FontFamily fontFamily3 = new FontFamily() { Val = FontFamilyValues.Modern };
    //            Pitch pitch3 = new Pitch() { Val = FontPitchValues.Fixed };
    //            FontSignature fontSignature3 = new FontSignature() { UnicodeSignature0 = "E0002AFF", UnicodeSignature1 = "C0007843", UnicodeSignature2 = "00000009", UnicodeSignature3 = "00000000", CodePageSignature0 = "000001FF", CodePageSignature1 = "00000000" };

    //            font3.Append(panose1Number3);
    //            font3.Append(fontCharSet3);
    //            font3.Append(fontFamily3);
    //            font3.Append(pitch3);
    //            font3.Append(fontSignature3);

    //            Font font4 = new Font() { Name = "Wingdings" };
    //            Panose1Number panose1Number4 = new Panose1Number() { Val = "05000000000000000000" };
    //            FontCharSet fontCharSet4 = new FontCharSet() { Val = "02" };
    //            FontFamily fontFamily4 = new FontFamily() { Val = FontFamilyValues.Auto };
    //            Pitch pitch4 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature4 = new FontSignature() { UnicodeSignature0 = "00000000", UnicodeSignature1 = "10000000", UnicodeSignature2 = "00000000", UnicodeSignature3 = "00000000", CodePageSignature0 = "80000000", CodePageSignature1 = "00000000" };

    //            font4.Append(panose1Number4);
    //            font4.Append(fontCharSet4);
    //            font4.Append(fontFamily4);
    //            font4.Append(pitch4);
    //            font4.Append(fontSignature4);

    //            Font font5 = new Font() { Name = "Calibri" };
    //            Panose1Number panose1Number5 = new Panose1Number() { Val = "020F0502020204030204" };
    //            FontCharSet fontCharSet5 = new FontCharSet() { Val = "00" };
    //            FontFamily fontFamily5 = new FontFamily() { Val = FontFamilyValues.Swiss };
    //            Pitch pitch5 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature5 = new FontSignature() { UnicodeSignature0 = "E10002FF", UnicodeSignature1 = "4000ACFF", UnicodeSignature2 = "00000009", UnicodeSignature3 = "00000000", CodePageSignature0 = "0000019F", CodePageSignature1 = "00000000" };

    //            font5.Append(panose1Number5);
    //            font5.Append(fontCharSet5);
    //            font5.Append(fontFamily5);
    //            font5.Append(pitch5);
    //            font5.Append(fontSignature5);

    //            Font font6 = new Font() { Name = "Tahoma" };
    //            Panose1Number panose1Number6 = new Panose1Number() { Val = "020B0604030504040204" };
    //            FontCharSet fontCharSet6 = new FontCharSet() { Val = "00" };
    //            FontFamily fontFamily6 = new FontFamily() { Val = FontFamilyValues.Swiss };
    //            Pitch pitch6 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature6 = new FontSignature() { UnicodeSignature0 = "E1002EFF", UnicodeSignature1 = "C000605B", UnicodeSignature2 = "00000029", UnicodeSignature3 = "00000000", CodePageSignature0 = "000101FF", CodePageSignature1 = "00000000" };

    //            font6.Append(panose1Number6);
    //            font6.Append(fontCharSet6);
    //            font6.Append(fontFamily6);
    //            font6.Append(pitch6);
    //            font6.Append(fontSignature6);

    //            Font font7 = new Font() { Name = "Cambria" };
    //            Panose1Number panose1Number7 = new Panose1Number() { Val = "02040503050406030204" };
    //            FontCharSet fontCharSet7 = new FontCharSet() { Val = "00" };
    //            FontFamily fontFamily7 = new FontFamily() { Val = FontFamilyValues.Roman };
    //            Pitch pitch7 = new Pitch() { Val = FontPitchValues.Variable };
    //            FontSignature fontSignature7 = new FontSignature() { UnicodeSignature0 = "E00002FF", UnicodeSignature1 = "400004FF", UnicodeSignature2 = "00000000", UnicodeSignature3 = "00000000", CodePageSignature0 = "0000019F", CodePageSignature1 = "00000000" };

    //            font7.Append(panose1Number7);
    //            font7.Append(fontCharSet7);
    //            font7.Append(fontFamily7);
    //            font7.Append(pitch7);
    //            font7.Append(fontSignature7);

    //            fonts1.Append(font1);
    //            fonts1.Append(font2);
    //            fonts1.Append(font3);
    //            fonts1.Append(font4);
    //            fonts1.Append(font5);
    //            fonts1.Append(font6);
    //            fonts1.Append(font7);

    //            fontTablePart1.Fonts = fonts1;
    //        }
    //    }

  }
}

DocumentFormat.OpenXml.Wordprocessing.NumberingSymbolRunProperties : IEnumerable

Constructors :

public NumberingSymbolRunProperties()
public NumberingSymbolRunProperties(IEnumerable<OpenXmlElement> childElements = )
public NumberingSymbolRunProperties(OpenXmlElement[] childElements = )
public NumberingSymbolRunProperties(String outerXml = )

Methods :

public RunFonts get_RunFonts()
public Void set_RunFonts(RunFonts value = )
public Bold get_Bold()
public Void set_Bold(Bold value = )
public BoldComplexScript get_BoldComplexScript()
public Void set_BoldComplexScript(BoldComplexScript value = )
public Italic get_Italic()
public Void set_Italic(Italic value = )
public ItalicComplexScript get_ItalicComplexScript()
public Void set_ItalicComplexScript(ItalicComplexScript value = )
public Caps get_Caps()
public Void set_Caps(Caps value = )
public SmallCaps get_SmallCaps()
public Void set_SmallCaps(SmallCaps value = )
public Strike get_Strike()
public Void set_Strike(Strike value = )
public DoubleStrike get_DoubleStrike()
public Void set_DoubleStrike(DoubleStrike value = )
public Outline get_Outline()
public Void set_Outline(Outline value = )
public Shadow get_Shadow()
public Void set_Shadow(Shadow value = )
public Emboss get_Emboss()
public Void set_Emboss(Emboss value = )
public Imprint get_Imprint()
public Void set_Imprint(Imprint value = )
public NoProof get_NoProof()
public Void set_NoProof(NoProof value = )
public SnapToGrid get_SnapToGrid()
public Void set_SnapToGrid(SnapToGrid value = )
public Vanish get_Vanish()
public Void set_Vanish(Vanish value = )
public WebHidden get_WebHidden()
public Void set_WebHidden(WebHidden value = )
public Color get_Color()
public Void set_Color(Color value = )
public Spacing get_Spacing()
public Void set_Spacing(Spacing value = )
public CharacterScale get_CharacterScale()
public Void set_CharacterScale(CharacterScale value = )
public Kern get_Kern()
public Void set_Kern(Kern value = )
public Position get_Position()
public Void set_Position(Position value = )
public FontSize get_FontSize()
public Void set_FontSize(FontSize value = )
public FontSizeComplexScript get_FontSizeComplexScript()
public Void set_FontSizeComplexScript(FontSizeComplexScript value = )
public Underline get_Underline()
public Void set_Underline(Underline value = )
public TextEffect get_TextEffect()
public Void set_TextEffect(TextEffect value = )
public Border get_Border()
public Void set_Border(Border value = )
public Shading get_Shading()
public Void set_Shading(Shading value = )
public FitText get_FitText()
public Void set_FitText(FitText value = )
public VerticalTextAlignment get_VerticalTextAlignment()
public Void set_VerticalTextAlignment(VerticalTextAlignment value = )
public RightToLeftText get_RightToLeftText()
public Void set_RightToLeftText(RightToLeftText value = )
public ComplexScript get_ComplexScript()
public Void set_ComplexScript(ComplexScript value = )
public Emphasis get_Emphasis()
public Void set_Emphasis(Emphasis value = )
public Languages get_Languages()
public Void set_Languages(Languages value = )
public EastAsianLayout get_EastAsianLayout()
public Void set_EastAsianLayout(EastAsianLayout value = )
public SpecVanish get_SpecVanish()
public Void set_SpecVanish(SpecVanish value = )
public OpenXmlElement CloneNode(Boolean deep = )
public OpenXmlElement get_FirstChild()
public OpenXmlElement get_LastChild()
public Boolean get_HasChildren()
public String get_InnerText()
public Void set_InnerXml(String value = )
public Boolean AddChild(OpenXmlElement newChild = , Boolean throwOnError = True)
public T AppendChild(T newChild = )
public T InsertAfter(T newChild = , OpenXmlElement referenceChild = )
public T InsertBefore(T newChild = , OpenXmlElement referenceChild = )
public T InsertAt(T newChild = , Int32 index = )
public T PrependChild(T newChild = )
public T RemoveChild(T child = )
public Void RemoveAllChildren()
public T ReplaceChild(OpenXmlElement newChild = , T oldChild = )
public Void RemoveAllChildren()
public Void Remove()
public Boolean IsAfter(OpenXmlElement element = )
public Boolean IsBefore(OpenXmlElement element = )
public Void AddAnnotation(Object annotation = )
public T Annotation()
public Object Annotation(Type type = )
public IEnumerable<T> Annotations()
public IEnumerable<Object> Annotations(Type type = )
public Void RemoveAnnotations()
public Void RemoveAnnotations(Type type = )
public IEnumerator<OpenXmlElement> GetEnumerator()
public Object Clone()
public MarkupCompatibilityAttributes get_MCAttributes()
public Void set_MCAttributes(MarkupCompatibilityAttributes value = )
public String LookupNamespace(String prefix = )
public String LookupPrefix(String namespaceUri = )
public IFeatureCollection get_Features()
public OpenXmlElementContext get_OpenXmlElementContext()
public Boolean get_HasAttributes()
public IEnumerable<OpenXmlAttribute> get_ExtendedAttributes()
public OpenXmlElementList get_ChildElements()
public OpenXmlElement get_Parent()
public String get_NamespaceUri()
public String get_LocalName()
public String get_Prefix()
public IEnumerable<KeyValuePair<StringString>> get_NamespaceDeclarations()
public XmlQualifiedName get_XmlQualifiedName()
public XName get_XName()
public String get_InnerXml()
public String get_OuterXml()
public OpenXmlAttribute GetAttribute(String localName = , String namespaceUri = )
public IList<OpenXmlAttribute> GetAttributes()
public Void SetAttribute(OpenXmlAttribute openXmlAttribute = )
public Void RemoveAttribute(String localName = , String namespaceUri = )
public Void SetAttributes(IEnumerable<OpenXmlAttribute> openXmlAttributes = )
public Void ClearAllAttributes()
public Void AddNamespaceDeclaration(String prefix = , String uri = )
public Void RemoveNamespaceDeclaration(String prefix = )
public T GetFirstChild()
public OpenXmlElement PreviousSibling()
public T PreviousSibling()
public OpenXmlElement NextSibling()
public T NextSibling()
public IEnumerable<OpenXmlElement> Ancestors()
public IEnumerable<T> Ancestors()
public IEnumerable<T> Elements()
public IEnumerable<OpenXmlElement> Elements()
public IEnumerable<T> Descendants()
public IEnumerable<OpenXmlElement> Descendants()
public IEnumerable<OpenXmlElement> ElementsBefore()
public IEnumerable<OpenXmlElement> ElementsAfter()
public Void WriteTo(XmlWriter xmlWriter = )
public Void Append(IEnumerable<OpenXmlElement> newChildren = )
public Void Append(OpenXmlElement[] newChildren = )
public T InsertAfterSelf(T newElement = )
public T InsertBeforeSelf(T newElement = )
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()