Exemple #1
0
    private static bool smethod_11(Class857 A_0, DocumentObject A_1)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();

        if (class2.method_0() != BookmarkStart.b("丩師伭䜯", 4))
        {
            return(false);
        }
        string str3 = "";
        string str  = "";

        while (class2.method_19())
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䈩師䬭嘯", num)))
                {
                    if (str2 == BookmarkStart.b("帩䴫尭圯圱䀳ᬵ帷䠹崻匽┿潁⩃❅╇⽉", num))
                    {
                        str = class2.method_3();
                    }
                }
                else
                {
                    str3 = Class576.smethod_91(class2.method_3());
                }
            }
        }
        A_0.method_49(str3);
        A_0.method_51(str);
        while (class2.method_9(BookmarkStart.b("䬩", num)))
        {
            if (class2.method_1() == BookmarkStart.b("䰩師伭崯圱", num))
            {
                Class746.smethod_0(A_0, A_1, null);
            }
            else
            {
                class2.vmethod_1();
            }
        }
        A_0.method_49(null);
        A_0.method_51(null);
        return(true);
    }
Exemple #2
0
    internal static bool smethod_10(Class857 A_0, DocumentObject A_1, CharacterFormat A_2, Style A_3)
    {
        int num = 3;

        if (!(A_1 is ShapeObject) || (A_1 is ShapeGroup))
        {
            Class396       class3        = A_0.method_11();
            DocumentObject lastParagraph = A_1;
            string         str3          = class3.method_0();
            string         str           = class3.method_1();
            if ((A_1 is Body) && (((str3 == BookmarkStart.b("䴨太䰬堮", num)) && (str == BookmarkStart.b("䠨", num))) || (((((str == BookmarkStart.b("丨", num)) || (str == BookmarkStart.b("䔨䈪䌬䨮", num))) || ((str == BookmarkStart.b("䨨䐪䌬䄮吰倲䄴堶䬸", num)) || (str == BookmarkStart.b("嬨个丬嬮", num)))) || (((str == BookmarkStart.b("䨨䈪弬䰮崰嘲", num)) || (str == BookmarkStart.b("䰨䜪䄬䘮䄰䀲倴", num))) || ((str == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num)) || (str == BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num))))) || ((((str == BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num)) || (str == BookmarkStart.b("夨䨪夬䜮", num))) || ((str == BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num)) || (str == BookmarkStart.b("䐨个䰬尮䐰䄲倴", num)))) || (((str == BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num)) || (str == BookmarkStart.b("娨䠪䠬䄮吰", num))) || (str == BookmarkStart.b("䨨帪帬嬮帰帲ᠴ䐶儸娺䴼娾", num)))))))
            {
                if (A_0.method_36().Count == 0)
                {
                    Body body = (Body)A_1;
                    if (body.LastParagraph == null)
                    {
                        body.method_13(new Paragraph(A_0.method_9()));
                        A_0.method_36().Add(body.LastParagraph);
                    }
                    lastParagraph = (DocumentObject)body.LastParagraph;
                }
                else
                {
                    lastParagraph = (Paragraph)A_0.method_36()[A_0.method_36().Count - 1];
                }
            }
            string key = class3.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_174 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x12);
                    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);
                    dictionary1.Add(BookmarkStart.b("䨨䈪弬䰮崰嘲", num), 7);
                    dictionary1.Add(BookmarkStart.b("䰨䜪䄬䘮䄰䀲倴", num), 8);
                    dictionary1.Add(BookmarkStart.b("䨨帪帬嬮帰帲ᠴ䐶儸娺䴼娾", num), 9);
                    dictionary1.Add(BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num), 10);
                    dictionary1.Add(BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num), 11);
                    dictionary1.Add(BookmarkStart.b("夨䨪夬䜮", num), 12);
                    dictionary1.Add(BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num), 13);
                    dictionary1.Add(BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num), 14);
                    dictionary1.Add(BookmarkStart.b("䐨个䰬尮䐰䄲倴", num), 15);
                    dictionary1.Add(BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num), 0x10);
                    dictionary1.Add(BookmarkStart.b("娨䠪䠬䄮吰", num), 0x11);
                    Class1160.dictionary_174 = dictionary1;
                }
                if (Class1160.dictionary_174.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        Class745.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 1:
                        return(smethod_11(A_0, lastParagraph));

                    case 2:
                        Class746.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 3:
                        Class1144.smethod_0(A_0, lastParagraph, A_2, A_3);
                        return(true);

                    case 4:
                        Class244.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 5:
                        Class245.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 6:
                        A_0.method_56(true);
                        Class1051.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 7:
                    case 8:
                        A_0.method_56(true);
                        Class473.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 9:
                    case 10:
                    case 11:
                    {
                        A_0.method_56(true);
                        Class1097 class2 = new Class1097();
                        class2.method_23(class3.method_1() == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num));
                        class2.method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);
                    }

                    case 12:
                        A_0.method_56(true);
                        new Class1143().method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 14:
                    case 15:
                    case 0x10:
                    case 0x11:
                        return(true);
                    }
                }
            }
        }
        return(false);
    }