Exemplo n.º 1
0
    internal static bool smethod_13(Class857 A_0, ShapeObject A_1)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_1();

        if (str != null)
        {
            if (str == BookmarkStart.b("尫", num))
            {
                Class1099.smethod_1(A_0, class2.method_1(), A_1);
                return(true);
            }
            if (str == BookmarkStart.b("䀫䜭䌯䘱", num))
            {
                Class530.smethod_0(A_0, A_1, null);
                return(true);
            }
        }
        return(false);
    }
Exemplo n.º 2
0
 private static void smethod_21(Class857 A_0, Paragraph A_1, CharacterFormat A_2)
 {
     int num = 6;
     if (Class567.smethod_16(Class857.string_4))
     {
         TextRange lastChild = (TextRange) A_1.LastChild;
         if (lastChild != null)
         {
             lastChild.Text = string.Format(BookmarkStart.b("圫ḭ䴯ሱ", num), lastChild.Text);
         }
         Class857.string_4 = "";
     }
     Class396 class2 = A_0.method_11();
     Comment comment = new Comment(A_0.method_9());
     while (class2.method_9(BookmarkStart.b("䴫䀭帯崱䀳圵䰷匹医倽", num)))
     {
         string str = A_0.method_11().method_1();
         if (str != null)
         {
             if (!(str == BookmarkStart.b("尫", num)))
             {
                 if (!(str == BookmarkStart.b("䀫䜭䌯䘱", num)))
                 {
                     goto Label_00B2;
                 }
                 Class530.smethod_0(A_0, comment.Body, null);
             }
             else
             {
                 smethod_1(A_0, class2.method_1(), comment);
             }
             continue;
         }
     Label_00B2:
         A_0.method_11().vmethod_1();
     }
     A_1.method_13(comment);
 }
Exemplo n.º 3
0
    private static bool smethod_3(Class857 A_0, DocumentObject A_1, Class106 A_2, Class108 A_3)
    {
        int      num    = 10;
        Class396 class2 = A_0.method_11();

        if (Class857.smethod_10(A_0, A_1, null, null))
        {
            return(true);
        }
        string key = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_108 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(15);
                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);
                Class1160.dictionary_108 = dictionary1;
            }
            if (Class1160.dictionary_108.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                case 1:
                    Class1099.smethod_1(A_0, class2.method_1(), A_1);
                    return(true);

                case 2:
                    Class530.smethod_0(A_0, A_1, null);
                    return(true);

                case 3:
                    Class90.smethod_1(A_0, A_1, A_2);
                    return(true);

                case 4:
                case 5:
                case 6:
                case 7:
                case 8:
                case 9:
                case 10:
                    return(Class246.smethod_0(A_0, A_1, A_3));

                case 11:
                    smethod_0(A_0, BookmarkStart.b("夯就倳匵䀷᜹䠻圽㐿⹁⅃", num), A_1);
                    return(true);

                case 12:
                    Class1098.smethod_0(A_0, A_3);
                    return(true);

                case 13:
                    Class1144.smethod_0(A_0, A_1, null, null);
                    return(true);

                case 14:
                    bool_0 = true;
                    return(true);
                }
            }
        }
        return(false);
    }
Exemplo n.º 4
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();
            }
        }
    }