internal static void smethod_1(Class857 A_0, string A_1, DocumentObject A_2, Class106 A_3)
    {
        int      num    = 0x10;
        Class396 class2 = A_0.method_11();

        while (class2.method_9(A_1))
        {
            A_0.method_17(class2.method_12(BookmarkStart.b("䔵䰷䌹倻嬽洿ⱁ╃⭅ⵇ", num), BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)));
            Class108 class3 = smethod_10(A_0);
            A_2 = smethod_4(A_0, class3, A_2);
            if (!smethod_3(A_0, A_2, A_3, class3))
            {
                class2.vmethod_1();
            }
        }
    }
Exemple #2
0
    private static void smethod_4(Class857 A_0)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();

        if (class2.method_12(BookmarkStart.b("䐩䴫䌭唯", 4), "") == BookmarkStart.b("簩䔫䬭䜯䄱", 4))
        {
            while (class2.method_9(BookmarkStart.b("䤩䌫䀭嘯嬱匳ᬵ儷丹夻匽洿⽁╃㙅敇⍉≋⩍㕏⩑ㅓ㉕", num)))
            {
                string str;
                if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䤩䌫䀭嘯嬱匳ᬵ儷丹夻匽洿⽁╃㙅敇⽉≋㩍≏⭑", num)))
                {
                    smethod_3(A_0);
                }
                else
                {
                    A_0.method_11().vmethod_1();
                }
            }
        }
    }
Exemple #3
0
    private static void smethod_4(Class857 A_0, Class101 A_1)
    {
        int       num       = 5;
        Class396  class2    = A_0.method_11();
        int       num2      = Class1041.smethod_11(class2.method_12(BookmarkStart.b("䜪䠬央吰弲", 5), BookmarkStart.b("ᨪ", 5))) - 1;
        ListStyle listStyle = A_1.method_21();
        ListLevel level     = new ListLevel(listStyle);

        listStyle.Levels.method_5(level);
        class2.method_18();
        if (ListLevel.smethod_0(num2))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⍌㩎㱐ㅒご╖", num))
                {
                    if (!(str == BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⽌㩎㵐㽒ご⍖", num)))
                    {
                        if (str == BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⑌≎ぐ㑒ご", num))
                        {
                            smethod_9(A_0, A_1, level);
                        }
                    }
                    else
                    {
                        smethod_8(A_0, A_1, level);
                    }
                }
                else
                {
                    smethod_5(A_0, A_1, level, BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⍌㩎㱐ㅒご╖", num));
                }
            }
            if (A_1.method_13() != null)
            {
                A_1.method_13().method_37(level.CharacterFormat);
            }
        }
    }
Exemple #4
0
    internal static void smethod_0(Class857 A_0, Class98 A_1)
    {
        int      num    = 9;
        Class396 class2 = A_0.method_11();
        Class43  class3 = new Class43();

        if (Class567.smethod_16(A_1.method_8()))
        {
            Class91 class4 = A_0.method_13().method_4(A_1.method_8(), BookmarkStart.b("䠮䌰刲䔴弶倸堺", num));
            if (class4 is Class98)
            {
                Class98 class7 = (Class98)class4;
                if (class7.method_45() != null)
                {
                    class3 = (Class43)class7.method_45().Clone();
                }
            }
        }
        string str2 = null;
        string str  = null;
        string str3 = "";
        string str4 = "";
        string str5 = null;
        string str6 = null;
        ShapeVerticalAlignment none = ShapeVerticalAlignment.None;

        class3.SetAttr(0x1001, TextWrappingStyle.Square);
        string str8  = class2.method_12(BookmarkStart.b("堮䌰刲䔴ᨶ娸吺匼䬾⹀㙂㝄", num), "");
        string str9  = class2.method_12(BookmarkStart.b("堮䌰刲䔴ᨶ娸吺匼䬾⹀㙂㝄橆⑈⑊⥌⩎", num), "");
        string str10 = class2.method_12(BookmarkStart.b("崮䐰崲ᠴ䌶儸䤺刼䨾♀⭂", num), BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀", num));

        while (class2.method_19())
        {
            string str7;
            if ((!Class857.smethod_1(class2, A_1.method_37()) && !Class857.smethod_9(class2, A_1.method_35())) && (!Class857.smethod_2(class2, A_1.method_39()) && ((str7 = class2.method_1()) != null)))
            {
                int num2;
                if (Class1160.dictionary_143 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x25);
                    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);
                    dictionary1.Add(BookmarkStart.b("尮䔰䄲娴尶尸ᘺ夼帾㉀⭂", num), 0x12);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ", num), 0x13);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀", num), 20);
                    dictionary1.Add(BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀湂♄⡆╈⑊㽌", num), 0x15);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头ᨶ娸吺儼倾㍀", num), 0x16);
                    dictionary1.Add(BookmarkStart.b("尮吰倲娴夶崸娺似䘾汀╂ⱄ⭆╈晊⹌⁎㵐㱒❔", num), 0x17);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头ᨶ常䤺尼嬾⡀♂⭄㍆摈╊ⱌ≎㑐", num), 0x18);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头", num), 0x19);
                    dictionary1.Add(BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀湂ㅄ㕆⡈╊㹌㽎ぐ⅒ご㥖㩘≚", num), 0x1a);
                    dictionary1.Add(BookmarkStart.b("䀮䄰刲嘴帶䴸䈺", num), 0x1b);
                    dictionary1.Add(BookmarkStart.b("䌮䐰帲尴夶堸唺帼娾", num), 0x1c);
                    dictionary1.Add(BookmarkStart.b("䰮帰崲䄴䔶堸䠺䤼", num), 0x1d);
                    dictionary1.Add(BookmarkStart.b("䰮帰弲娴䔶ᐸ嘺刼嬾⑀", num), 30);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ橆㹈≊⥌㭎㥐", num), 0x1f);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀湂㉄⹆ⵈ㽊╌", num), 0x20);
                    dictionary1.Add(BookmarkStart.b("堮䌰刲䔴ᨶ嘸䬺䤼嘾⹀ⵂ", num), 0x21);
                    dictionary1.Add(BookmarkStart.b("尮䔰䄲娴尶尸ᘺ夼帾㉀⭂桄⥆⡈♊⡌㱎", num), 0x22);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ橆⩈⹊⍌㭎㑐⅒", num), 0x23);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀湂♄≆❈㽊⡌㵎", num), 0x24);
                    Class1160.dictionary_143 = dictionary1;
                }
                if (Class1160.dictionary_143.TryGetValue(str7, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    case 1:
                        if (!(class2.method_3() == BookmarkStart.b("嬮䌰䘲倴", num)))
                        {
                            goto Label_04DD;
                        }
                        class3.SetAttr(190, true);
                        break;

                    case 2:
                    {
                        string[] strArray = class2.method_3().Replace(BookmarkStart.b("崮吰倲䄴", num), "").Replace(BookmarkStart.b("ܮ", num), "").Replace(BookmarkStart.b("خ", num), "").Replace(BookmarkStart.b("̮", num), BookmarkStart.b("༮", num)).Replace(BookmarkStart.b("༮ᄰ", num), BookmarkStart.b("༮", num)).Trim(new char[] { ' ' }).Split(new char[] { ' ' });
                        A_1.method_50(Class576.smethod_41(strArray[0]));
                        A_1.method_48(Class576.smethod_41(strArray[1]));
                        A_1.method_54(Class576.smethod_41(strArray[2]));
                        A_1.method_52(Class576.smethod_41(strArray[3]));
                        break;
                    }

                    case 3:
                        class3.SetAttr(0x1001, Class922.smethod_32(class2.method_3(), str8, str9, str10));
                        class3.SetAttr(0x1002, Class922.smethod_33(class2.method_3()));
                        break;

                    case 4:
                        class3.SetAttr(0x38f, Class922.smethod_47(class2.method_3()));
                        break;

                    case 5:
                        class3.SetAttr(0x390, Class922.smethod_45(class2.method_3()));
                        break;

                    case 6:
                        none = Class922.smethod_41(class2.method_3());
                        class3.Remove(0x391);
                        break;

                    case 7:
                        class3.SetAttr(0x392, Class922.smethod_39(class2.method_3()));
                        break;

                    case 8:
                        class3.SetAttr(0x1cb, Class576.smethod_55(class2.method_3()));
                        break;

                    case 9:
                        class3.SetAttr(0x1c0, Class576.smethod_76(class2.method_3()));
                        break;

                    case 10:
                        class3.SetAttr(0x1c1, Class576.smethod_78(class2.method_3()));
                        break;

                    case 11:
                        class3.SetAttr(0x201, Class576.smethod_76(class2.method_3()));
                        break;

                    case 12:
                        if (!(class2.method_3() == BookmarkStart.b("央堰䀲尴唶唸帺", num)))
                        {
                            goto Label_0747;
                        }
                        class3.SetAttr(0x23e, true);
                        break;

                    case 13:
                        class3.SetAttr(0x204, Class576.smethod_78(class2.method_3()));
                        break;

                    case 14:
                        class3.SetAttr(0x205, Class576.smethod_55(class2.method_3()));
                        break;

                    case 15:
                        class3.SetAttr(0x206, Class576.smethod_55(class2.method_3()));
                        break;

                    case 0x10:
                        class3.SetAttr(0x3ba, class2.method_3() == BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀", num));
                        break;

                    case 0x11:
                    {
                        str2 = class2.method_3();
                        string str11 = str2;
                        if (str11 != null)
                        {
                            if (str11 == BookmarkStart.b("䄮帰崲倴", num))
                            {
                                goto Label_0856;
                            }
                            if (str11 == BookmarkStart.b("尮帰弲尴匶", num))
                            {
                                class3.SetAttr(0x1fc, true);
                            }
                        }
                        break;
                    }

                    case 0x12:
                        str = Class576.smethod_87(class2.method_3());
                        break;

                    case 0x13:
                        Class922.smethod_17(A_0, class2.method_3(), class3, true);
                        break;

                    case 20:
                        Class922.smethod_17(A_0, class2.method_3(), class3, false);
                        break;

                    case 0x15:
                        if (class3.method_31(0x181) == null)
                        {
                            class3.SetAttr(0x181, Class576.smethod_76(class2.method_3()));
                        }
                        break;

                    case 0x16:
                        class3.SetAttr(0x181, Class576.smethod_76(class2.method_3()));
                        break;

                    case 0x17:
                        class3.SetAttr(0x287, Class576.smethod_76(class2.method_3()));
                        break;

                    case 0x18:
                        str5 = class2.method_3();
                        break;

                    case 0x19:
                        str6 = class2.method_3();
                        break;

                    case 0x1a:
                        class3.SetAttr(0x182, Class576.smethod_79(class2.method_3()));
                        break;

                    case 0x1b:
                        class3.SetAttr(0x182, Class576.smethod_78(class2.method_3()));
                        break;

                    case 0x1c:
                        class3.SetAttr(0x109, Class576.smethod_26(class2.method_3()));
                        break;

                    case 0x1d:
                        class3.SetAttr(0x108, Class576.smethod_24(class2.method_3()));
                        break;

                    case 30:
                        if (!(class2.method_3() == BookmarkStart.b("䠮䌰嘲䰴䐶娸娺儼娾", num)))
                        {
                            goto Label_09D9;
                        }
                        class3.SetAttr(0x13d, true);
                        break;

                    case 0x1f:
                        str3 = class2.method_3();
                        break;

                    case 0x20:
                        str4 = class2.method_3();
                        break;

                    case 0x21:
                        if (!(class2.method_3() == BookmarkStart.b("䄮帰Ḳ䈴䔶堸䬺", num)))
                        {
                            goto Label_0A43;
                        }
                        class3.SetAttr(0x85, TextBoxWrapMode.None);
                        break;
                    }
                }
            }
            continue;
Label_04DD:
            class3.SetAttr(190, false);
            continue;
Label_0747:
            if (class2.method_3() == BookmarkStart.b("䜮堰圲儴制圸", num))
            {
                class3.SetAttr(0x23e, false);
            }
            continue;
Label_0856:
            class3.SetAttr(0x1fc, false);
            continue;
Label_09D9:
            if (class2.method_3() == BookmarkStart.b("䈮帰崲娴", num))
            {
                class3.SetAttr(0x13e, true);
            }
            continue;
Label_0A43:
            class3.SetAttr(0x85, TextBoxWrapMode.Square);
        }
        object obj2 = class3.method_31(0x392);

        if ((obj2 == null) || (((RelativeVerticalPosition)obj2) != RelativeVerticalPosition.Line))
        {
            class3.SetAttr(0x391, none);
        }
        Class109    class5  = A_0.method_13().method_2(str, null, false, false) as Class109;
        LineDashing dashing = Class922.smethod_16(str2, class5);

        if ((dashing != LineDashing.Solid) && (dashing != LineDashing.Solid))
        {
            class3.SetAttr(0x1ce, dashing);
        }
        if (class5 != null)
        {
            if (class5.method_4() == BookmarkStart.b("崮帰䘲嬴匶", num))
            {
                class3.SetAttr(0x1d7, LineCap.Round);
            }
            else if (Class567.smethod_16(class5.method_4()))
            {
                class3.SetAttr(0x1d7, LineCap.Flat);
            }
        }
        smethod_3(class3, A_1, str2 != BookmarkStart.b("䄮帰崲倴", num));
        smethod_2(str3, class3, true);
        smethod_2(str4, class3, false);
        Class111 class6 = A_0.method_13().method_2(str5, null, false, false) as Class111;

        smethod_1(class3, str6, class6);
        if (class3.Count > 0)
        {
            A_1.method_46(class3);
        }
    }
    internal static void smethod_0(Class857 A_0, bool A_1)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_1();
        Class93  class3 = smethod_1(class2.method_12(BookmarkStart.b("䰩䴫䌭夯帱䴳", 4), null));

        smethod_2(A_0, class3);
        while (class2.method_9(str))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_185 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11);
                    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);
                    Class1160.dictionary_185 = dictionary1;
                }
                if (Class1160.dictionary_185.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        goto Label_0175;

                    case 1:
                    {
                        if (class3 is Class97)
                        {
                            Class413.smethod_0(A_0, (Class97)class3);
                        }
                        continue;
                    }

                    case 2:
                    {
                        if (class3 is Class95)
                        {
                            Class242.smethod_0(A_0, (Class95)class3);
                        }
                        continue;
                    }

                    case 3:
                    {
                        if (class3 is Class106)
                        {
                            Class853.smethod_0(A_0, (Class106)class3);
                        }
                        continue;
                    }

                    case 4:
                    {
                        if (class3 is Class94)
                        {
                            Class853.smethod_5(A_0, (Class94)class3);
                        }
                        continue;
                    }

                    case 5:
                    {
                        if (class3 is Class103)
                        {
                            Class853.smethod_1(A_0, (Class103)class3);
                        }
                        continue;
                    }

                    case 6:
                    {
                        if (class3 is Class100)
                        {
                            Class853.smethod_2(A_0, (Class100)class3);
                        }
                        continue;
                    }

                    case 7:
                    {
                        if (class3 is Class98)
                        {
                            Class794.smethod_0(A_0, (Class98)class3);
                        }
                        continue;
                    }

                    case 8:
                    {
                        if (class3 is Class105)
                        {
                            Class1095.smethod_0(A_0, (Class105)class3);
                        }
                        continue;
                    }

                    case 9:
                    {
                        if (class3 is Class104)
                        {
                            Class529.smethod_0(A_0, (Class104)class3);
                        }
                        continue;
                    }

                    case 10:
                    {
                        if (class3 is Class99)
                        {
                            Class648.smethod_0(A_0, (Class99)class3);
                        }
                        continue;
                    }
                    }
                }
            }
            goto Label_02BD;
Label_0175:
            if (class3 is Class96)
            {
                Class96         class4 = (Class96)class3;
                CharacterFormat format = Class1141.smethod_0(A_0, (Class96)class3);
                if (format.Count > 0)
                {
                    class4.method_14(format);
                }
                if (class3.method_8() != null)
                {
                    format.CharStyleName = class3.method_8();
                }
            }
            continue;
Label_02BD:
            class2.vmethod_1();
        }
        A_0.method_13().method_1(class3, A_0.method_20(), A_1);
    }
    internal static CharacterFormat smethod_0(Class857 A_0, Class96 A_1)
    {
        int             num    = 1;
        Class396        class2 = A_0.method_11();
        CharacterFormat format = new CharacterFormat(A_0.method_9());
        string          str    = class2.method_12(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰娲伴制", 1), BookmarkStart.b("ᘦᤨ嬪夬", 1));

        if (str.EndsWith(BookmarkStart.b("Ȧ", 1)))
        {
            str = BookmarkStart.b("ᘦᤨ嬪夬", num);
        }
        float    num3   = Class576.smethod_68(str);
        string   str3   = "";
        string   str4   = "";
        string   str5   = "";
        string   str6   = "";
        string   str7   = "";
        string   str8   = "";
        string   str12  = "";
        string   str9   = "";
        string   str10  = "";
        string   str13  = "";
        Color    black  = Color.Black;
        Class340 class3 = null;
        bool     flag   = true;
        string   str14  = string.Empty;
        string   str15  = string.Empty;
        bool     flag2  = false;
        bool     flag3  = false;

        class2.method_18();
        while (class2.method_19())
        {
            int      num2;
            string[] strArray;
            bool     flag4;
            string   str2 = class2.method_3();
            string   key  = class2.method_1();
            if (key != null)
            {
                int num4;
                if (Class1160.dictionary_231 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x2b);
                    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);
                    dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䘰嘲尴倶儸伺ြ尾⹀⹂㕄⭆ⱈ㍊", num), 0x12);
                    dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸", num), 0x13);
                    dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸ᘺ尼䰾⡀≂⭄", num), 20);
                    dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸ᘺ帼倾ⱀ㍂⥄≆ㅈ", num), 0x15);
                    dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴", num), 0x16);
                    dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲", num), 0x17);
                    dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴ᨶ堸䠺吼帾⽀", num), 0x18);
                    dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲ᠴ嘶䨸刺尼儾", num), 0x19);
                    dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴ᨶ娸吺值伾ⵀ♂㵄", num), 0x1a);
                    dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲ᠴ吶嘸嘺䴼匾⑀㭂", num), 0x1b);
                    dictionary1.Add(BookmarkStart.b("䔦䠨䠪䘬䠮䌰尲䀴夶崸ᘺ帼倾ⵀⱂ㝄", num), 0x1c);
                    dictionary1.Add(BookmarkStart.b("䬦䰨弪夬䨮䌰Ḳ䘴䜶堸堺吼儾♀", num), 0x1d);
                    dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䌰嘲头帶尸崺", num), 30);
                    dictionary1.Add(BookmarkStart.b("䌦䀨堪崬䌮倰䨲", num), 0x1f);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ匰弲尴夶券刺匼堾", num), 0x20);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䈰倲吴嬶尸", num), 0x21);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䈰嬲吴匶嘸䰺", num), 0x22);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂㉄⹆ⵈ㽊╌", num), 0x23);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂㙄㍆え❊⡌", num), 0x24);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂ㅄ㹆㥈⹊", num), 0x25);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂⡄⡆ⵈ⹊", num), 0x26);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂♄⡆╈⑊㽌", num), 0x27);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䌰尲䄴嘶䴸刺刼儾汀あ♄♆╈⹊", num), 40);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䌰尲䄴嘶䴸刺刼儾汀≂⭄⁆╈⹊", num), 0x29);
                    dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ吰帲䔴弶堸䠺吼䔾⑀", num), 0x2a);
                    Class1160.dictionary_231 = dictionary1;
                }
                if (Class1160.dictionary_231.TryGetValue(key, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                        goto Label_04F5;

                    case 1:
                        if (str2 == BookmarkStart.b("否䐨䨪䄬䌮ᰰ倲吴䜶䨸", num))
                        {
                            format.SetAttr(110, Class650.class650_1);
                        }
                        break;

                    case 2:
                        if (str2 == BookmarkStart.b("刦夨嬪䠬崮到刲䘴制", num))
                        {
                            format.SetAttr(120, Class650.class650_1);
                        }
                        break;

                    case 3:
                        format.SetAttr(160, Class576.smethod_76(str2));
                        break;

                    case 4:
                        if (str2 == BookmarkStart.b("匦嬨帪䠬", num))
                        {
                            format.SetAttr(90, Class650.class650_1);
                        }
                        break;

                    case 5:
                        goto Label_05F1;

                    case 6:
                        if (str2 == "")
                        {
                            flag = false;
                        }
                        break;

                    case 7:
                        if (!(str2 == BookmarkStart.b("否䘨䜪䐬䬮", num)))
                        {
                            goto Label_067D;
                        }
                        format.SetAttr(80, Class650.class650_1);
                        break;

                    case 8:
                        format.SetAttr(220, 1.5f);
                        if (str2 != BookmarkStart.b("匦嬨帪䠬", num))
                        {
                            format.SetAttr(220, 0f);
                        }
                        break;

                    case 9:
                        strArray = str2.Split(new char[] { ' ' });
                        if (!(strArray[0] == BookmarkStart.b("否尨嬪䠬崮", num)))
                        {
                            goto Label_072E;
                        }
                        format.SetAttr(210, SubSuperScript.SuperScript);
                        goto Label_0755;

                    case 10:
                    {
                        string str11 = (string)A_0.method_54()[class2.method_3()];
                        if (Class567.smethod_16(str11))
                        {
                            format.FontNameAscii      = str11;
                            format.FontNameNonFarEast = str11;
                        }
                        break;
                    }

                    case 11:
                    {
                        string str17 = (string)A_0.method_54()[class2.method_3()];
                        if (Class567.smethod_16(str17))
                        {
                            format.FontNameBidi = (string)A_0.method_54()[class2.method_3()];
                        }
                        break;
                    }

                    case 12:
                    {
                        string str16 = (string)A_0.method_54()[class2.method_3()];
                        if (Class567.smethod_16(str16))
                        {
                            format.FontNameFarEast = (string)A_0.method_54()[class2.method_3()];
                        }
                        break;
                    }

                    case 13:
                        Class576.smethod_66(class2.method_3(), A_1, format, 190);
                        break;

                    case 14:
                    case 15:
                        Class576.smethod_66(class2.method_3(), A_1, format, 350);
                        break;

                    case 0x10:
                        str14 = smethod_4(str2);
                        break;

                    case 0x11:
                        str15 = smethod_4(str2);
                        break;

                    case 0x12:
                        format.SetAttr(250, new Class650(Class576.smethod_70(class2.method_3())));
                        break;

                    case 0x13:
                        flag2 = Class576.smethod_69(class2.method_3());
                        break;

                    case 20:
                        flag3 = Class576.smethod_69(class2.method_3());
                        break;

                    case 0x15:
                        format.SetAttr(260, new Class650(Class576.smethod_69(class2.method_3())));
                        break;

                    case 0x16:
                        str3 = class2.method_3();
                        break;

                    case 0x17:
                        str4 = class2.method_3();
                        break;

                    case 0x18:
                        str5 = class2.method_3();
                        break;

                    case 0x19:
                        str6 = class2.method_3();
                        break;

                    case 0x1a:
                        str7 = class2.method_3();
                        break;

                    case 0x1b:
                        str8 = class2.method_3();
                        break;

                    case 0x1c:
                        format.SetAttr(370, Class576.smethod_62(str2, (Class16)format.method_31(370)));
                        break;

                    case 0x1d:
                        format.SetAttr(150, (class2.method_3() == BookmarkStart.b("䤦䘨太䀬丮崰", num)) ? 0f : (((float)Class576.smethod_36(class2.method_3())) / 20f));
                        break;

                    case 30:
                        goto Label_09A1;

                    case 0x1f:
                        goto Label_09F9;

                    case 0x20:
                        smethod_3(class2.method_3(), black);
                        break;

                    case 0x21:
                        format.SetAttr(290, smethod_2(class2.method_3()));
                        break;

                    case 0x22:
                        if (class2.method_3() != BookmarkStart.b("䤦䘨䔪䠬", num))
                        {
                            format.SetAttr(100, Class650.class650_1);
                        }
                        break;

                    case 0x23:
                        str12 = class2.method_3();
                        break;

                    case 0x24:
                        str9 = class2.method_3();
                        break;

                    case 0x25:
                        str13 = class2.method_3();
                        break;

                    case 0x26:
                        str10 = class2.method_3();
                        break;

                    case 0x27:
                        if (class2.method_3() != BookmarkStart.b("䄦䘨䔪夬Ȯ到尲头堶䬸", num))
                        {
                            format.SetAttr(450, Class576.smethod_76(class2.method_3()));
                        }
                        break;

                    case 40:
                        goto Label_0B20;

                    case 0x29:
                        goto Label_0B51;

                    case 0x2a:
                        format.SetAttr(770, smethod_5(str2));
                        break;
                    }
                }
            }
            continue;
Label_04F5:
            flag4 = str2 == BookmarkStart.b("匦嬨帪䠬", num);
            if ((A_1.method_4() == BookmarkStart.b("圦䠨太䰬䠮䌰刲䔴弶", num)) && (A_1.method_0() == null))
            {
                A_0.method_9().Settings.bool_27 = flag4;
            }
            A_1.method_15().SetAttr(0x582, !flag4);
            continue;
Label_05F1:
            if (str2 == BookmarkStart.b("䌦䘨帪伬䌮吰", num))
            {
                format.SetAttr(300, Class650.class650_1);
            }
            if (str2 == BookmarkStart.b("否䀨䔪䨬䌮吰", num))
            {
                format.SetAttr(80, Class650.class650_1);
            }
            continue;
Label_067D:
            if (str2 == BookmarkStart.b("䤦䘨䔪䠬", num))
            {
                format.SetAttr(80, Class650.class650_0);
            }
            continue;
Label_072E:
            if (strArray[0] == BookmarkStart.b("否尨䤪", num))
            {
                format.SetAttr(210, SubSuperScript.SubScript);
            }
Label_0755:
            format.SetAttr(200, Class576.smethod_73(format, str2, num3));
            continue;
Label_09A1:
            if (class2.method_3() == BookmarkStart.b("䈦䜨䰪弬丮䜰嘲儴", num))
            {
                format.SetAttr(180, Class650.class650_1);
            }
            if (class2.method_3() == BookmarkStart.b("䈦䐨䤪䈬尮䈰嘲儴", num))
            {
                format.SetAttr(170, Class650.class650_1);
            }
            continue;
Label_09F9:
            if (class2.method_3() == BookmarkStart.b("䤦䘨䔪䠬", num))
            {
                format.SetAttr(130, Class650.class650_1);
            }
            if (class2.method_3() == BookmarkStart.b("匦嬨帪䠬", num))
            {
                format.SetAttr(130, Class650.class650_0);
            }
            continue;
Label_0B20:
            if (class2.method_3() == BookmarkStart.b("䬦䀨䔪䠬Ȯ夰嘲尴倶儸伺", num))
            {
                if (class3 == null)
                {
                    class3 = smethod_1(A_0);
                }
                class3.method_7(true);
            }
            continue;
Label_0B51:
            num2 = Class1041.smethod_23(str2) % 360;
            if (((num2 >= 0x2d) && (num2 < 180)) || ((num2 >= -315) && (num2 < -180)))
            {
                if (class3 == null)
                {
                    class3 = smethod_1(A_0);
                }
                class3.method_1(true);
            }
            if (class3 == null)
            {
                A_1.method_20(Class922.smethod_70(class2.method_3()));
            }
        }
        if (!flag)
        {
            format.SetAttr(80, Class650.class650_0);
            format.SetAttr(300, Class650.class650_0);
        }
        if ((str14 != string.Empty) || (str15 != string.Empty))
        {
            if (!(str14 == BookmarkStart.b("匦嬨帪䠬", num)) && !(str15 == BookmarkStart.b("匦嬨帪䠬", num)))
            {
                format.SetAttr(60, Class650.class650_0);
            }
            else
            {
                format.SetAttr(60, Class650.class650_1);
            }
        }
        if (flag2 || flag3)
        {
            format.SetAttr(70, Class650.class650_1);
        }
        if (class3 != null)
        {
            format.SetAttr(780, class3);
        }
        format.SetAttr(380, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str3, str4)));
        format.SetAttr(390, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str5, str6)));
        format.SetAttr(340, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str7, str8)));
        if ((Class567.smethod_16(str9) || (str10 == BookmarkStart.b("否䈨䈪崬Ȯ䘰嬲尴䌶尸ᘺ丼伾⁀⁂⁄", num))) || (str12 == BookmarkStart.b("匦䄨䈪丬䐮", num)))
        {
            format.SetAttr(140, Class922.smethod_68(str9, str12, str10, str13));
        }
        return(format);
    }
Exemple #7
0
    private static void smethod_6(Class857 A_0)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_12(BookmarkStart.b("䐩䌫娭唯ἱ圳娵夷䤹伻", 4), "");

        if (str != "")
        {
            bool flag;
            FootEndnoteOptions options = (flag = str == BookmarkStart.b("伩䈫䨭帯崱䀳匵", num)) ? A_0.method_9().EndnoteOptions : A_0.method_9().FootnoteOptions;
            options.method_53(FootnoteNumberFormat.None);
            options.method_56(0);
            class2.method_18();
            while (class2.method_19())
            {
                string key = class2.method_1();
                if (key != null)
                {
                    int num2;
                    if (Class1160.dictionary_148 == null)
                    {
                        Dictionary <string, int> dictionary1 = new Dictionary <string, int>(13);
                        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);
                        Class1160.dictionary_148 = dictionary1;
                    }
                    if (Class1160.dictionary_148.TryGetValue(key, out num2))
                    {
                        switch (num2)
                        {
                        case 0:
                            smethod_7(A_0, class2.method_3(), flag, false);
                            break;

                        case 1:
                            smethod_7(A_0, class2.method_3(), flag, true);
                            break;

                        case 2:
                            options.method_56(class2.method_4() + 1);
                            break;

                        case 3:
                            options.method_54(Class922.smethod_29(class2.method_3()));
                            break;

                        case 4:
                            options.method_53(Class922.smethod_59(class2.method_3()));
                            break;

                        case 5:
                            options.method_55(Class922.smethod_24(class2.method_3()));
                            break;
                        }
                    }
                }
            }
        }
    }
Exemple #8
0
    internal static bool smethod_0(Class857 A_0, DocumentObject A_1, Class108 A_2)
    {
        int num = 14;

        A_0.method_39(new Class1052());
        A_0.method_38().method_1(A_0.method_11().method_1());
        A_0.method_38().method_13(string.Format(BookmarkStart.b("伳ص䔷᜹伻儽㔿ぁ❃⍅", 14), A_0.method_38().method_0()));
        string str = A_0.method_38().method_0();

        if (str != null)
        {
            if (!(str == BookmarkStart.b("䀳圵娷嘹夻ጽ⼿⑁楃╅❇⑉㡋⭍㹏♑", num)))
            {
                if (!(str == BookmarkStart.b("唳娵䠷刹崻尽┿㙁ⵃ╅⥇♉態❍㹏㙑ㅓ⹕", num)))
                {
                    goto Label_020E;
                }
                A_0.method_38().method_7(FieldType.FieldIndex);
                A_0.method_38().method_9(BookmarkStart.b("紳砵簷缹搻", num));
            }
            else
            {
                A_0.method_38().method_7(FieldType.FieldTOC);
                A_0.method_38().method_9(BookmarkStart.b("怳礵笷", num));
            }
            Class396 class3 = A_0.method_11();
            A_0.method_38().method_5(class3.method_12(BookmarkStart.b("䜳䈵䄷嘹夻ጽ⸿⍁⥃⍅", num), null));
            if (Class567.smethod_16(A_0.method_38().method_4()))
            {
                Section section = A_2.method_8().Clone();
                section.SectPr.method_57(SectionBreakType.NoBreak);
                Class95 class4 = (Class95)A_0.method_13().method_3(A_0.method_38().method_4(), BookmarkStart.b("䜳匵嬷丹唻儽⸿", num), A_0.method_20());
                if ((class4 != null) && (class4.method_12() != null))
                {
                    ((Class17)section.SectPr.Clone()).method_37(section.SectPr);
                }
                A_0.method_29().Push(section);
                A_0.method_31(true);
            }
            smethod_2(A_0, A_1);
            smethod_1(A_0);
            if (A_1 == null)
            {
                A_1 = A_0.method_9().LastSection.Body;
            }
            List <DocumentObject> childElements = A_1.GetChildElements(DocumentObjectType.Paragraph, false);
            if (childElements.Count != 0)
            {
                Paragraph paragraph1 = (Paragraph)childElements[childElements.Count - 1];
            }
            else
            {
                new Paragraph(A_0.method_9());
            }
            if (Class567.smethod_16(A_0.method_38().method_4()))
            {
                A_0.method_33(true);
                A_0.method_29().Pop();
            }
            return(true);
        }
Label_020E:
        A_0.method_38().method_11(true);
        smethod_2(A_0, A_1);
        return(false);
    }
Exemple #9
0
 internal static void smethod_8(Class857 A_0, Paragraph A_1, string A_2, Class97 A_3, DocumentObject A_4)
 {
     int num = 14;
     Class396 class2 = A_0.method_11();
     string str = (A_2 == BookmarkStart.b("䜳䘵夷吹", 14)) ? BookmarkStart.b("䀳匵䀷丹", num) : BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num);
     Class96 class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), true);
     if (class3 == null)
     {
         class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), false);
     }
     CharacterFormat format = new CharacterFormat();
     if (((str == BookmarkStart.b("䀳匵䀷丹", num)) && (A_3 != null)) && (A_3.method_13() != null))
     {
         format.method_73(A_3.method_13());
     }
     Style style = null;
     if (class3 != null)
     {
         if (class3.method_13() != null)
         {
             format.method_73(class3.method_13());
         }
         if ((str == BookmarkStart.b("䀳匵䀷丹", num)) && Class567.smethod_16(class3.method_8()))
         {
             style = (Style) A_0.method_9().Styles[class3.method_8()];
         }
     }
     A_0.method_41(true);
     while (class2.method_10(A_2, XmlDocumentTextHandling.TextAndSignificantAndIgnorable))
     {
         if (!Class857.smethod_10(A_0, A_1, format, style))
         {
             string key = class2.method_1();
             if (key != null)
             {
                 int num2;
                 if (Class1160.dictionary_229 == null)
                 {
                     Dictionary<string, int> dictionary1 = new Dictionary<string, int>(12);
                     dictionary1.Add("", 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);
                     Class1160.dictionary_229 = dictionary1;
                 }
                 if (Class1160.dictionary_229.TryGetValue(key, out num2))
                 {
                     switch (num2)
                     {
                         case 0:
                         {
                             smethod_23(A_0, A_1, format, style);
                             continue;
                         }
                         case 1:
                         {
                             smethod_16(A_0, A_1, format, style);
                             continue;
                         }
                         case 2:
                         {
                             smethod_17(A_0, A_1, format, style);
                             continue;
                         }
                         case 3:
                         {
                             smethod_12(A_0, A_1, format, Class816.string_6, style);
                             continue;
                         }
                         case 4:
                         {
                             smethod_9(A_0, A_1);
                             continue;
                         }
                         case 5:
                         {
                             smethod_18(A_0, A_1, A_3, A_4);
                             A_0.method_41(true);
                             continue;
                         }
                         case 6:
                         {
                             smethod_19(A_0, A_1, format);
                             A_0.method_41(true);
                             continue;
                         }
                         case 7:
                         {
                             smethod_21(A_0, A_1, format);
                             A_0.method_41(true);
                             continue;
                         }
                         case 8:
                         {
                             A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 9:
                         {
                             A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 10:
                         {
                             A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 11:
                         {
                             smethod_10(A_0, A_1, format, style);
                             continue;
                         }
                     }
                 }
             }
             if (Class567.smethod_16(Class857.string_4) && !smethod_27(A_1.Text))
             {
                 smethod_12(A_0, A_1, format, BookmarkStart.b("ᐳ", num), style);
                 Class857.string_4 = "";
             }
             if (Class797.smethod_0(A_0, A_1, format, style, A_3, A_4))
             {
                 A_0.method_41(true);
             }
             else
             {
                 smethod_8(A_0, A_1, class2.method_1(), A_3, A_4);
             }
         }
         else
         {
             A_0.method_41(true);
         }
     }
     if (((class3 != null) && (!A_1.HasChildElements || bool_0)) && ((class3.method_13() != null) && ((A_2 == BookmarkStart.b("䐳", num)) || (A_2 == BookmarkStart.b("尳", num)))))
     {
         A_1.BreakCharacterFormat.method_25(class3.method_13());
     }
 }
 private static bool smethod_5(Class396 A_0)
 {
     return(A_0.method_12(BookmarkStart.b("䄴制䄸伺䠼帾ⵀ", 15), BookmarkStart.b("匴嘶唸䠺堼", 15)).ToLower() == BookmarkStart.b("䄴䔶䰸帺", 15));
 }
 private static bool smethod_4(Class396 A_0)
 {
     return(A_0.method_12(BookmarkStart.b("䨸伺䐼匾⑀", 0x13), BookmarkStart.b("䨸区刼䴾㕀", 0x13)).ToLower() == BookmarkStart.b("唸吺匼堾", 0x13));
 }
    internal static void smethod_0(Class857 A_0, bool A_1)
    {
        int      num    = 1;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_1();
        Class102 class3 = new Class102();

        smethod_3(A_0, class3);
        bool flag = false;

        class2.method_18();
        bool flag2 = true;

        if (class2.method_12(BookmarkStart.b("匦嬨䨪䌬尮崰娲䄴制䬸娺䤼嘾⹀ⵂ桄ⅆ♈㥊⁌⹎═", 1), "") == BookmarkStart.b("❨", 1))
        {
            flag2 = false;
        }
        string str2 = class2.method_12(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴", num), "").ToLower();
        string str3 = class2.method_12(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲", num), "").ToUpper();

        if (!string.IsNullOrEmpty(str2) && !string.IsNullOrEmpty(str3))
        {
            class3.method_13().LocaleIdASCII = (short)((LocaleIDs)Enum.Parse(typeof(LocaleIDs), str2 + BookmarkStart.b("砦", num) + str3));
        }
        CultureInfo info = new CultureInfo(str2 + BookmarkStart.b("ਦ", num) + str3);

        string[] strArray = info.DateTimeFormat.SortableDateTimePattern.Replace(BookmarkStart.b("ਦ", num), "").Replace(BookmarkStart.b("ᴦ", num), "").Replace(BookmarkStart.b("&ศ", num), BookmarkStart.b("&", num)).Split(new char[] { '\'' });
        for (int i = 0; i < strArray.Length; i++)
        {
            strArray[i] = strArray[i].Substring(0, strArray[i].Length / 2);
        }
        while (class2.method_9(str))
        {
            CharacterFormat format;
            string          key = class2.method_1();
            if (key != null)
            {
                int num3;
                if (Class1160.dictionary_222 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11);
                    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);
                    Class1160.dictionary_222 = dictionary1;
                }
                if (Class1160.dictionary_222.TryGetValue(key, out num3))
                {
                    switch (num3)
                    {
                    case 0:
                        goto Label_02D1;

                    case 1:
                    {
                        class3.method_22(string.Format(BookmarkStart.b("尦ᤨ嘪嘬Ḯ䰰", num), class3.method_21(), class2.method_21()));
                        continue;
                    }

                    case 2:
                    {
                        smethod_1(class3, flag2 ? strArray[2] : BookmarkStart.b("昦", num));
                        continue;
                    }

                    case 3:
                    {
                        if (!flag2)
                        {
                            goto Label_0386;
                        }
                        smethod_1(class3, smethod_5(class2) ? (strArray[1] + smethod_6(class2, strArray[1])) : smethod_6(class2, strArray[1]));
                        continue;
                    }

                    case 4:
                    {
                        smethod_1(class3, flag2 ? smethod_6(class2, strArray[0]) : smethod_6(class2, BookmarkStart.b("戦氨", num)));
                        continue;
                    }

                    case 5:
                    {
                        smethod_1(class3, BookmarkStart.b("䀦", num));
                        continue;
                    }

                    case 6:
                    {
                        smethod_1(class3, smethod_6(class2, smethod_2(class3)));
                        continue;
                    }

                    case 7:
                    {
                        smethod_1(class3, smethod_6(class2, strArray[4]));
                        continue;
                    }

                    case 8:
                    {
                        smethod_1(class3, (class3.method_13().LocaleIdASCII == 0x804) ? BookmarkStart.b("䘦䐨嬪䀬", num) : BookmarkStart.b("䘦䐨Ъ崬䈮", num));
                        flag = true;
                        continue;
                    }

                    case 9:
                    {
                        smethod_1(class3, smethod_6(class2, strArray[5]));
                        continue;
                    }

                    case 10:
                    {
                        smethod_1(class3, smethod_6(class2, strArray[6]));
                        continue;
                    }
                    }
                }
            }
            goto Label_045D;
Label_02D1:
            format = Class1141.smethod_0(A_0, class3);
            if (format.Count > 0)
            {
                if (class3.method_13() != null)
                {
                    class3.method_13().method_37(format);
                }
                class3.method_14(format);
            }
            continue;
Label_0386:
            smethod_1(class3, BookmarkStart.b("栦", num));
            continue;
Label_045D:
            class2.vmethod_1();
        }
        if (flag)
        {
            class3.method_22(class3.method_21().Replace(BookmarkStart.b("漦", num), BookmarkStart.b("伦", num)));
        }
        A_0.method_13().method_1(class3, A_0.method_20(), A_1);
    }
    private static string smethod_10(Class857 A_0)
    {
        int      num    = 1;
        Class396 class2 = A_0.method_11();

        class2.method_18();
        string key = class2.method_12(BookmarkStart.b("䤦尨䘪,䤮帰䄲場嘶䴸", 1), "");

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_150 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x1f);
                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);
                dictionary1.Add(BookmarkStart.b("ᕓ祳ܪബ癠⁾ἲᔴ⹸ﱣ᜺ᴼᄾ潀浂", num), 0x12);
                dictionary1.Add(BookmarkStart.b("꼂Ԩପꐈ̮ᄰ뤖ᤴ᜶᜸ᔺጼ", num), 0x13);
                dictionary1.Add(BookmarkStart.b("匂Ԩପ堈̮ᄰ䔖ᤴ᜶᜸ᔺጼ", num), 20);
                dictionary1.Add(BookmarkStart.b("ܔԨପఞ̮ᄰᄀᤴ᜶᜸ᔺጼ", num), 0x15);
                dictionary1.Add(BookmarkStart.b("㈯Ԩପ㬥̮ᄰ␻ᤴ᜶᜸ᔺጼ", num), 0x16);
                dictionary1.Add(BookmarkStart.b("∯Ԩପ⬥̮ᄰ㐻ᤴ᜶᜸ᔺጼ", num), 0x17);
                dictionary1.Add(BookmarkStart.b("䀯Ԩପ䔥̮ᄰ娻ᤴ᜶᜸ᔺጼ", num), 0x18);
                dictionary1.Add(BookmarkStart.b("⠯㰡ܪബध稹ἲᔴጿ礱ጳᄼἾ潀浂歄", num), 0x19);
                dictionary1.Add(BookmarkStart.b("䨦\udd28\u0829夬̮ᄰ嬲吴帶ᔸᬺ弼帾浀捂歄楆杈", num), 0x1a);
                dictionary1.Add(BookmarkStart.b("ᘦ娨弪Ĭ༮̰崲儴ᬶᤸ࠺似嬾浀捂歄楆杈", num), 0x1b);
                dictionary1.Add(BookmarkStart.b("栦䜨个Ĭ༮攰䐲娴ᬶᤸ漺唼䴾⑀♂楄杆杈敊捌", num), 0x1c);
                dictionary1.Add(BookmarkStart.b("愦䀨太帬嬮ᴰጲ昴制娸吺匼嬾浀捂ᅄ⽆⁈㥊⥌捎煐絒答祖", num), 0x1d);
                dictionary1.Add(BookmarkStart.b("ᘦԨପ氬̮ᄰ焲ᤴ᜶᜸ᔺጼ", num), 30);
                Class1160.dictionary_150 = dictionary1;
            }
            if (Class1160.dictionary_150.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    return(BookmarkStart.b("昦笨横漬昮爰", num));

                case 1:
                    return(BookmarkStart.b("昦攨笪攬渮猰瘲愴縶稸", num));

                case 2:
                    return(BookmarkStart.b("昦笨横漬昮爰眲琴搶焸", num));

                case 3:
                    return(BookmarkStart.b("䘦䔨嬪䔬丮匰嘲䄴帶娸", num));

                case 4:
                    return(BookmarkStart.b("昦攨笪攬渮猰瘲愴縶稸", num));

                case 5:
                    return(BookmarkStart.b("唦䘨䘪䰬䄮", num));

                case 6:
                    return(BookmarkStart.b("挦欨株攬渮挰", num));

                case 7:
                    return(BookmarkStart.b("挦欨攪砬戮0", num));

                case 8:
                    return(BookmarkStart.b("挦欨攪砬戮̰", num));

                case 9:
                    return(BookmarkStart.b("挦欨攪砬戮Ȱ", num));

                case 10:
                    return(BookmarkStart.b("挦欨攪砬戮԰", num));

                case 11:
                    return(BookmarkStart.b("昦怨縪栬怮", num));

                case 12:
                    return(BookmarkStart.b("渦笨搪攬渮", num));

                case 13:
                    return(BookmarkStart.b("搦怨礪測挮琰紲怴稶", num));

                case 14:
                    return(BookmarkStart.b("搦愨截挬樮戰瘲笴戶琸࠺", num));

                case 15:
                    return(BookmarkStart.b("\ude7e\u0528ପ麠̮ᄰᤴ᜶᜸ᔺጼ", num));

                case 0x10:
                    return(BookmarkStart.b("紦昨漪搬渮爰Ȳ", num));

                case 0x11:
                    return(BookmarkStart.b("紦昨漪搬渮爰IJ", num));

                case 0x12:
                    return(BookmarkStart.b("紦昨漪搬渮爰2", num));

                case 0x13:
                    return(BookmarkStart.b("怦欨ᨪ", num));

                case 20:
                    return(BookmarkStart.b("怦欨ᤪ", num));

                case 0x15:
                    return(BookmarkStart.b("怦欨Ἢ", num));

                case 0x16:
                    return(BookmarkStart.b("漦怨攪椬昮細瘲愴挶簸椺఼", num));

                case 0x17:
                    return(BookmarkStart.b("漦怨攪椬昮細瘲愴挶簸椺༼", num));

                case 0x18:
                    return(BookmarkStart.b("漦怨攪椬昮瀰愲琴甶瀸砺", num));

                case 0x19:
                    return(BookmarkStart.b("漦怨攪椬昮爰爲朴猶洸縺攼款", num));

                case 0x1a:
                    return(BookmarkStart.b("焦怨渪礬氮瀰愲焴挶簸挺椼", num));

                case 0x1b:
                    return(BookmarkStart.b("栦笨漪搬愮瀰缲", num));

                case 0x1c:
                    return(BookmarkStart.b("搦栨礪椬笮琰欲愴", num));

                case 0x1d:
                    return(BookmarkStart.b("栦笨漪礬樮椰朲", num));

                case 30:
                    return(BookmarkStart.b("漦氨猪", num));
                }
            }
        }
        return("");
    }
    internal static bool smethod_0(Class857 A_0, Paragraph A_1, CharacterFormat A_2, Style A_3, Class97 A_4, DocumentObject A_5)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_149 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x25);
                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);
                dictionary1.Add(BookmarkStart.b("䌩䈫䜭䐯嬱唳娵ᔷ夹主嬽ℿ㙁⭃㑅", num), 0x12);
                dictionary1.Add(BookmarkStart.b("丩䴫娭唯", num), 0x13);
                dictionary1.Add(BookmarkStart.b("帩䔫䌭唯", num), 20);
                dictionary1.Add(BookmarkStart.b("娩師䜭帯䘱ᤳ刵夷丹夻", num), 0x15);
                dictionary1.Add(BookmarkStart.b("娩師䜭帯䘱ᤳ䈵儷圹夻", num), 0x16);
                dictionary1.Add(BookmarkStart.b("䤩師䬭儯䘱崳夵嘷᜹堻弽㐿❁", num), 0x17);
                dictionary1.Add(BookmarkStart.b("䤩師䬭儯䘱崳夵嘷᜹䠻圽ⴿ❁", num), 0x18);
                dictionary1.Add(BookmarkStart.b("帩䔫娭尯圱", num), 0x19);
                dictionary1.Add(BookmarkStart.b("䜩䌫䨭夯吱崳唵夷丹唻儽⸿潁ぃ⽅╇⽉", num), 0x1a);
                dictionary1.Add(BookmarkStart.b("䜩䌫䨭夯吱崳唵夷丹唻儽⸿潁⁃❅㱇⽉", num), 0x1b);
                dictionary1.Add(BookmarkStart.b("䤩師䬭儯䘱嬳䐵", num), 0x1c);
                dictionary1.Add(BookmarkStart.b("娩䴫尭儯唱䘳圵䠷刹ᄻ崽⼿㝁⩃㉅", num), 0x1d);
                dictionary1.Add(BookmarkStart.b("䤩䐫伭䈯匱圳䈵崷䠹ᄻ崽⼿㝁⩃㉅", num), 30);
                dictionary1.Add(BookmarkStart.b("娩䴫䤭唯ἱ圳夵䴷吹䠻", num), 0x1f);
                dictionary1.Add(BookmarkStart.b("崩䌫尭启ἱ圳夵䴷吹䠻", num), 0x20);
                dictionary1.Add(BookmarkStart.b("帩䤫嘭䐯ἱ崳堵䠷伹䠻", num), 0x21);
                dictionary1.Add(BookmarkStart.b("丩師䄭䀯ἱ倳夵伷吹", num), 0x22);
                dictionary1.Add(BookmarkStart.b("弩弫䬭䈯ἱ倳匵帷匹刻嬽␿", num), 0x23);
                dictionary1.Add(BookmarkStart.b("䬩䀫席堯匱嘳匵䰷匹弻弽ⰿ潁ⵃ⡅ⱇ⽉㑋捍㵏㍑♓㵕", num), 0x24);
                Class1160.dictionary_149 = dictionary1;
            }
            if (Class1160.dictionary_149.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    smethod_2(A_0, A_1, A_2, A_3);
                    return(true);

                case 1:
                    smethod_11(A_0, A_1, FieldType.FieldRevisionNum, BookmarkStart.b("砩椫砭縯朱礳", num), A_2, A_3);
                    return(true);

                case 2:
                    smethod_11(A_0, A_1, FieldType.FieldEditTime, BookmarkStart.b("漩栫札搯昱紳笵紷", num), A_2, A_3);
                    return(true);

                case 3:
                    smethod_11(A_0, A_1, FieldType.FieldKeyWord, BookmarkStart.b("愩椫眭术紱昳爵欷", num), A_2, A_3);
                    return(true);

                case 4:
                    smethod_11(A_0, A_1, FieldType.FieldSubject, BookmarkStart.b("礩礫氭稯眱眳戵", num), A_2, A_3);
                    return(true);

                case 5:
                    smethod_11(A_0, A_1, FieldType.FieldComments, BookmarkStart.b("椩挫挭累眱稳戵欷", num), A_2, A_3);
                    return(true);

                case 6:
                    smethod_3(A_0, A_1, A_4, A_5, A_2, A_3);
                    return(true);

                case 7:
                    smethod_11(A_0, A_1, FieldType.FieldMergeField, string.Format(BookmarkStart.b("朩椫簭眯眱爳缵紷瘹砻ḽ㬿牁㥃", num), class2.method_12(BookmarkStart.b("䤩䌫䈭䔯弱娳ᬵ嘷嬹儻嬽", num), null)), A_2, A_3);
                    return(true);

                case 8:
                    smethod_11(A_0, A_1, FieldType.FieldNext, BookmarkStart.b("搩椫瘭搯", num), A_2, A_3);
                    return(true);

                case 9:
                    smethod_11(A_0, A_1, FieldType.FieldMergeRec, BookmarkStart.b("朩椫簭眯眱昳猵笷", num), A_2, A_3);
                    return(true);

                case 10:
                    smethod_11(A_0, A_1, FieldType.FieldSequence, string.Format(BookmarkStart.b("礩椫缭ု䤱г䬵", num), class2.method_12(BookmarkStart.b("䐩䴫䌭唯", num), "")), A_2, A_3);
                    return(true);

                case 11:
                {
                    string str2 = class2.method_12(BookmarkStart.b("丩䔫崭䀯帱唳伵", num), BookmarkStart.b("䐩䴫䌭唯ἱ唳堵尷᜹夻䘽㐿❁⩃㕅ⅇ╉≋", num));
                    smethod_11(A_0, A_1, FieldType.FieldFileName, Class576.smethod_19(str2), A_2, A_3);
                    return(true);
                }

                case 12:
                {
                    string str3 = class2.method_12(BookmarkStart.b("丩䔫崭䀯帱唳伵", num), BookmarkStart.b("䐩䴫䌭唯ἱ唳堵尷᜹夻䘽㐿❁⩃㕅ⅇ╉≋", num));
                    smethod_11(A_0, A_1, FieldType.FieldTemplate, Class576.smethod_19(str3), A_2, A_3);
                    return(true);
                }

                case 13:
                    smethod_4(A_0, A_1, A_2, A_3);
                    return(true);

                case 14:
                    smethod_5(A_0, A_1, A_2, A_3);
                    return(true);

                case 15:
                    smethod_11(A_0, A_1, FieldType.FieldPage, string.Format(BookmarkStart.b("਩簫漭眯眱ᐳ樵ሷᨹ䜻฽㴿扁", num), smethod_10(A_0)), A_2, A_3);
                    return(true);

                case 0x10:
                    smethod_11(A_0, A_1, FieldType.FieldUserName, BookmarkStart.b("缩缫欭戯簱申笵紷", num), A_2, A_3);
                    return(true);

                case 0x11:
                    smethod_11(A_0, A_1, FieldType.FieldUserInitials, BookmarkStart.b("缩缫欭戯笱稳缵氷猹紻爽ጿ", num), A_2, A_3);
                    return(true);

                case 0x12:
                    smethod_11(A_0, A_1, FieldType.FieldAuthor, BookmarkStart.b("欩礫稭砯紱昳", num), A_2, A_3);
                    return(true);

                case 0x13:
                    smethod_9(A_0, A_1, BookmarkStart.b("温洫稭甯", num), FieldType.FieldDate, A_2, A_3);
                    return(true);

                case 20:
                    smethod_9(A_0, A_1, BookmarkStart.b("縩攫挭甯", num), FieldType.FieldDate, A_2, A_3);
                    return(true);

                case 0x15:
                case 0x16:
                    smethod_9(A_0, A_1, BookmarkStart.b("稩縫札縯昱瀳眵氷缹", num), FieldType.FieldPrintDate, A_2, A_3);
                    return(true);

                case 0x17:
                case 0x18:
                    smethod_9(A_0, A_1, BookmarkStart.b("椩縫欭焯昱焳爵礷渹礻", num), FieldType.FieldCreateDate, A_2, A_3);
                    return(true);

                case 0x19:
                    smethod_11(A_0, A_1, FieldType.FieldTitle, BookmarkStart.b("縩攫稭簯眱", num), A_2, A_3);
                    return(true);

                case 0x1a:
                case 0x1b:
                    smethod_9(A_0, A_1, BookmarkStart.b("礩洫砭甯瘱申戵紷", num), FieldType.FieldSaveDate, A_2, A_3);
                    return(true);

                case 0x1c:
                    smethod_11(A_0, A_1, FieldType.FieldLastSavedBy, BookmarkStart.b("昩洫紭搯愱申怵紷縹縻朽", num), A_2, A_3);
                    return(true);

                case 0x1d:
                    smethod_11(A_0, A_1, FieldType.FieldDocProperty, BookmarkStart.b("温挫洭怯怱笳昵紷根栻朽怿ቁՃᑅे൉ṋཌྷOᩑݓ", num), A_2, A_3);
                    return(true);

                case 30:
                    smethod_11(A_0, A_1, FieldType.FieldDocProperty, BookmarkStart.b("温挫洭怯怱笳昵紷根栻朽怿Łృ݅ᩇ୉ཋᩍᕏQݓŕᅗ๙ᑛ൝た⍡❣⍥㭧", num), A_2, A_3);
                    return(true);

                case 0x1f:
                    smethod_11(A_0, A_1, FieldType.FieldNumPages, string.Format(BookmarkStart.b("搩礫挭怯猱猳猵欷䄹఻䌽", num), smethod_10(A_0)), A_2, A_3);
                    return(true);

                case 0x20:
                    smethod_11(A_0, A_1, FieldType.FieldNumWords, string.Format(BookmarkStart.b("਩戫笭累攱笳搵簷椹᰻戽樿扁㽃癅㕇橉", num), smethod_10(A_0)), A_2, A_3);
                    return(true);

                case 0x21:
                    smethod_8(A_0, A_1, A_2, A_3);
                    return(true);

                case 0x22:
                    smethod_6(A_0, A_1, A_2, A_3);
                    return(true);

                case 0x23:
                {
                    string str4 = class2.method_12(BookmarkStart.b("䐩䴫䌭唯", num), "");
                    smethod_11(A_0, A_1, FieldType.FieldDocProperty, string.Format(BookmarkStart.b("温挫洭怯怱笳昵紷根栻朽怿恁㽃癅㕇桉", num), str4), A_2, A_3);
                    return(true);
                }

                case 0x24:
                    smethod_1(A_0, A_1, class2);
                    return(true);
                }
            }
        }
        return(false);
    }