Ejemplo n.º 1
0
 private static void smethod_12(Class581 A_0)
 {
     A_0.method_5(DocumentObjectType.Paragraph);
     if (!A_0.vmethod_5())
     {
         Class1080.smethod_0(A_0);
     }
     A_0.method_3(new Paragraph(A_0.Interface50.imethod_0()));
 }
Ejemplo n.º 2
0
    internal static void smethod_2(Class581 A_0)
    {
        int      num    = 4;
        bool     flag   = false;
        Class394 class2 = A_0.imethod_1();

        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Block);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_2(A_0);
            }
            if (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
            {
                A_0.method_5(DocumentObjectType.CustomXml);
                return;
            }
            return;
        }
        string key = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_115 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(7);
                dictionary1.Add(BookmarkStart.b("娩", num), 0);
                dictionary1.Add(BookmarkStart.b("帩丫䈭", num), 1);
                dictionary1.Add(BookmarkStart.b("䬩䈫䀭弯䘱唳䈵儷唹刻", num), 2);
                dictionary1.Add(BookmarkStart.b("天䤫䴭䐯戱䘳", num), 3);
                dictionary1.Add(BookmarkStart.b("䠩䔫䀭琯匱䀳圵", num), 4);
                dictionary1.Add(BookmarkStart.b("娩䤫尭崯愱䀳圵䨷丹", num), 5);
                dictionary1.Add(BookmarkStart.b("娩䤫尭崯眱娳刵", num), 6);
                Class1160.dictionary_115 = dictionary1;
            }
            if (Class1160.dictionary_115.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    flag = Class518.smethod_0(A_0, list_0, list_1, list_2, list_3);
                    goto Label_01C9;

                case 1:
                    Class1080.smethod_0(A_0);
                    goto Label_01C9;

                case 2:
                    Class519.smethod_2(A_0, A_0.Interface50.imethod_0().LastParagraph, list_0, list_1);
                    goto Label_01C9;

                case 3:
                    if (A_0.method_13().DocumentObjectType == DocumentObjectType.Body)
                    {
                        Body body = (Body)A_0.method_13();
                        Class980.smethod_0(A_0, body.ParentSection);
                    }
                    smethod_1(A_0);
                    goto Label_01C9;

                case 4:
                    A_0.imethod_9();
                    goto Label_01C9;

                case 5:
                    smethod_3(A_0);
                    goto Label_01C9;

                case 6:
                    smethod_4(A_0);
                    goto Label_01C9;
                }
            }
        }
        smethod_1(A_0);
Label_01C9:
        if (flag)
        {
            if (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
            {
                while (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
                {
                    Class9 class4 = (Class9)A_0.method_13();
                    A_0.method_5(DocumentObjectType.CustomXml);
                    while (class4.HasChildElements)
                    {
                        class4.Owner.method_17(class4.LastChild, class4);
                    }
                    class4.method_19();
                }
            }
            A_0.method_5(DocumentObjectType.Body);
            A_0.method_5(DocumentObjectType.Section);
            Section section = A_0.Interface50.imethod_0().AddSection();
            A_0.method_4(section);
            A_0.method_4(section.Body);
        }
    }