Пример #1
0
    internal static void smethod_3(Class857 A_0, Paragraph A_1, Class97 A_2, DocumentObject A_3, CharacterFormat A_4, Style A_5)
    {
        int      num    = 11;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_0();
        Field    field  = new Field(A_0.method_9())
        {
            Type = FieldType.FieldHyperlink
        };
        Hyperlink hyperlink = new Hyperlink(field);

        A_1.method_13(field);
        string str2 = "";
        string str3 = "";

        while (class2.method_19())
        {
            string str5 = class2.method_1();
            if (str5 != null)
            {
                if (!(str5 == BookmarkStart.b("夰䄲倴儶", num)))
                {
                    if (str5 == BookmarkStart.b("䔰刲䜴倶尸伺ြ夾㍀≂⡄≆摈╊ⱌ≎㑐", num))
                    {
                        str3 = class2.method_3();
                    }
                }
                else
                {
                    str2 = Class576.smethod_91(class2.method_3());
                }
            }
        }
        if ((str == BookmarkStart.b("䔰嘲䴴䌶", num)) && Class567.smethod_16(str2))
        {
            string.Format(BookmarkStart.b("礰樲攴父欸眺琼焾ੀ捂杄㱆祈㙊潌", num), str2);
            if (str2.StartsWith(BookmarkStart.b("ሰ", num)))
            {
                hyperlink.Type = HyperlinkType.Bookmark;
                string str4 = str2.Replace(BookmarkStart.b("ሰ", num), string.Empty);
                hyperlink.BookmarkName = str4;
                field.m_fieldValue     = str4;
            }
            else
            {
                field.m_fieldValue = BookmarkStart.b("ጰ", num) + str2.Replace(BookmarkStart.b("洰", num), BookmarkStart.b("洰漲", num)) + BookmarkStart.b("ጰ", num);
                field.Code         = string.Format(BookmarkStart.b("礰樲攴父欸眺琼焾ੀ捂㹄睆㑈", num), field.m_fieldValue);
            }
            FieldMark mark = new FieldMark(A_0.method_9(), FieldMarkType.FieldSeparator);
            A_1.method_13(mark);
            field.Separator = mark;
        }
        if (str == BookmarkStart.b("唰䄲吴䀶", num))
        {
            A_0.method_49(str2);
            A_0.method_51(str3);
        }
        Class1099.smethod_8(A_0, A_1, BookmarkStart.b("倰", num), A_2, A_3);
        if (str == BookmarkStart.b("唰䄲吴䀶", num))
        {
            A_0.method_49(null);
            A_0.method_51(null);
        }
        if ((A_2 != null) && (A_2.method_13() != null))
        {
            A_4.method_73(A_2.method_13());
        }
        FieldMark mark2 = new FieldMark(A_0.method_9(), FieldMarkType.FieldEnd);

        A_1.method_13(mark2);
        field.End = mark2;
    }
Пример #2
0
    private static void smethod_11(Class857 A_0, Paragraph A_1, FieldType A_2, string A_3, CharacterFormat A_4, Style A_5)
    {
        string str = A_0.method_11().method_21();

        smethod_12(A_0, A_1, A_2, A_3, str, A_4, A_5);
    }
Пример #3
0
    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);
    }
Пример #4
0
    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("");
    }
Пример #5
0
    internal static void smethod_0(Class857 A_0, Class108 A_1, string A_2)
    {
        int              num        = 6;
        Class92          class2     = A_0.method_13().method_2(A_1.method_4(), null, A_0.method_20(), true) as Class92;
        HeaderFooterType type       = smethod_1(A_1, A_2);
        HeaderFooter     evenHeader = null;

        switch (type)
        {
        case HeaderFooterType.HeaderEven:
            evenHeader = A_1.method_8().HeadersFooters.EvenHeader;
            break;

        case HeaderFooterType.HeaderOdd:
            evenHeader = A_1.method_8().HeadersFooters.OddHeader;
            break;

        case HeaderFooterType.FooterEven:
            evenHeader = A_1.method_8().HeadersFooters.EvenFooter;
            break;

        case HeaderFooterType.FooterOdd:
            evenHeader = A_1.method_8().HeadersFooters.OddFooter;
            break;

        case HeaderFooterType.HeaderFirstPage:
            evenHeader = A_1.method_8().HeadersFooters.FirstPageHeader;
            break;

        case HeaderFooterType.FooterFirstPage:
            evenHeader = A_1.method_8().HeadersFooters.FirstPageFooter;
            break;
        }
        Class17 class3 = null;

        if (class2 != null)
        {
            Class107 class4 = A_2.StartsWith(BookmarkStart.b("䐫䬭儯嘱儳䐵", num)) ? class2.method_12() : class2.method_14();
            if (class4 != null)
            {
                class3 = class4.method_4();
            }
            if (A_2.EndsWith(BookmarkStart.b("ī䈭唯吱䀳", num)))
            {
                A_0.method_9().Settings.bool_37 = true;
            }
            if (class3 != null)
            {
                class3.method_37(A_1.method_8().SectPr);
            }
            while (A_0.method_11().method_9(A_2))
            {
                string key = A_0.method_11().method_1();
                if (key != null)
                {
                    int num2;
                    if (Class1160.dictionary_109 == 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_109 = dictionary1;
                    }
                    if (Class1160.dictionary_109.TryGetValue(key, out num2))
                    {
                        switch (num2)
                        {
                        case 0:
                        case 1:
                        {
                            Class1099.smethod_1(A_0, A_0.method_11().method_1(), evenHeader);
                            continue;
                        }

                        case 2:
                        {
                            Class530.smethod_0(A_0, evenHeader, null);
                            continue;
                        }

                        case 3:
                        {
                            Class90.smethod_0(A_0, evenHeader);
                            continue;
                        }

                        case 4:
                        case 5:
                        case 6:
                        case 7:
                        case 8:
                        case 9:
                        case 10:
                        {
                            if (!Class246.smethod_0(A_0, evenHeader, A_1))
                            {
                                A_0.method_11().vmethod_1();
                            }
                            continue;
                        }
                        }
                    }
                }
                A_0.method_11().vmethod_1();
            }
        }
    }