Exemplo n.º 1
0
    private static void smethod_2(Class857 A_0, DocumentObject A_1, Class101 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        int      num2   = 1;

        while (class2.method_19())
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("弫娭儯䀱䀳ᬵ丷嬹倻䬽┿", num)))
            {
                if (A_2 != null)
                {
                    A_2.method_21().Levels[A_0.method_24()].StartAt = class2.method_4();
                }
                num2 = class2.method_4();
            }
        }
        if (A_2.method_27() != null)
        {
            string              str2   = A_2.method_27();
            Class12             class3 = A_0.method_9().ListOverrides.method_35(str2);
            OverrideLevelFormat format = new OverrideLevelFormat(A_0.method_9());
            class3.method_23().method_9(A_0.method_24(), format);
            format.OverrideStartAtValue = true;
            format.OverrideListLevel    = A_0.method_9().ListStyles.FindByName(A_2.method_0()).Levels[A_0.method_24()];
            class3.method_23().method_5(A_0.method_24()).StartAt = num2;
        }
        smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num), A_2);
    }
Exemplo n.º 2
0
    private static void smethod_5(Class857 A_0, Class1140 A_1)
    {
        int      num    = 12;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!A_0.method_4(class2) && ((str = class2.method_1()) != null))
            {
                if (!(str == BookmarkStart.b("就䄳嬵娷弹主ጽ⌿ⵁ⡃㍅╇⑉㽋捍⍏≑㕓㡕㙗㽙㡛", num)))
                {
                    if (str == BookmarkStart.b("就䄳嬵娷弹主ጽ㈿ⵁ㍃㕅敇㥉㱋⽍㹏㱑ㅓ㉕", num))
                    {
                        A_1.method_3(class2.method_4());
                        A_1.method_7(CellMerge.Start);
                    }
                }
                else
                {
                    A_1.method_1(class2.method_4());
                    A_1.method_5(CellMerge.Start);
                }
            }
        }
    }
Exemplo n.º 3
0
    internal static void smethod_0(Class857 A_0, Class106 A_1)
    {
        int num = 12;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();
        int      num2   = 1;

        while (class2.method_19())
        {
            string str;
            if ((!A_0.method_4(class2) && ((str = class2.method_1()) != null)) && (str == BookmarkStart.b("就䄳嬵娷弹主ጽ⌿ⵁ⡃㍅╇⑉㽋捍≏㝑⑓㍕㥗⹙㥛㩝", num)))
            {
                num2 = class2.method_4();
            }
        }
        if (A_1 != null)
        {
            while (num2-- > 0)
            {
                Class94 class3 = A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䘱唳吵吷弹ᄻ崽⼿⹁ㅃ⭅♇", num), A_0.method_20(), true) as Class94;
                if (class3 == null)
                {
                    class3 = new Class94();
                }
                A_1.method_20().Add(class3);
            }
        }
    }
Exemplo n.º 4
0
    private static void smethod_2(Class857 A_0, ShapeGroup A_1)
    {
        int      num    = 1;
        Class396 class2 = A_0.method_11();
        string   str    = "";

        while (class2.method_19())
        {
            string str2;
            if ((!A_0.method_4(class2) && !Class857.smethod_6(A_0, A_1.ShapePr)) && ((str2 = class2.method_1()) != null))
            {
                if (!(str2 == BookmarkStart.b("崦Ш䈪䌬䬮吰䬲", num)))
                {
                    if (str2 == BookmarkStart.b("匦嬨䨪䌬尮地尲䜴娶", num))
                    {
                        str = class2.method_3();
                    }
                }
                else
                {
                    A_1.ShapePr.SetAttr(0x103a, (long)class2.method_4());
                }
            }
        }
        Class857.smethod_4(A_1.ShapePr, str);
    }
Exemplo n.º 5
0
    internal static bool smethod_7(Class857 A_0, Class43 A_1)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();

        if (A_0.method_4(class2))
        {
            return(true);
        }
        string key = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_173 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(12);
                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);
                Class1160.dictionary_173 = dictionary1;
            }
            if (Class1160.dictionary_173.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    A_1.SetAttr(0x103a, (long)class2.method_4());
                    return(true);

                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                case 6:
                case 7:
                case 8:
                case 9:
                case 10:
                case 11:
                    return(false);
                }
            }
        }
        return(false);
    }
Exemplo n.º 6
0
    private static void smethod_8(Class857 A_0, ParagraphFormat A_1, Class97 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("䀫䜭帯圱䜳", num))
                {
                    if (str != BookmarkStart.b("䠫䜭䌯䘱唳堵嬷弹", num))
                    {
                        if (!(str == BookmarkStart.b("䀫䬭帯唱䀳帵", num)))
                        {
                            if (str == BookmarkStart.b("弫娭䤯帱儳ᬵ嘷嬹儻嬽", num))
                            {
                            }
                        }
                        else if (class2.method_3() == BookmarkStart.b("嬫䄭䈯嘱", num))
                        {
                            A_2.method_24(true);
                        }
                        else
                        {
                            A_2.method_22(class2.method_4());
                        }
                    }
                    else
                    {
                        A_1.SetAttr(0x5dc, Class576.smethod_36(class2.method_3()));
                    }
                }
                else
                {
                    A_1.DropCapLinesToDrop = class2.method_4();
                }
            }
        }
    }
Exemplo n.º 7
0
    private static void smethod_2(Class857 A_0, Class93 A_1)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();

        class2.method_18();
        while (class2.method_19())
        {
            string str;
            if (!Class857.smethod_8(class2, A_1) && ((str = class2.method_1()) != null))
            {
                if (str != BookmarkStart.b("䨫伭崯嬱堳伵", num))
                {
                    if (str != BookmarkStart.b("䄫伭䌯䘱儳䐵ᔷ䨹崻夽┿潁⩃❅╇⽉", num))
                    {
                        if (str != BookmarkStart.b("䠫䬭嘯匱䄳娵䰷᜹医䬽㐿⹁ⵃ⡅ⵇ杉⁋⭍♏㝑㡓", num))
                        {
                            if (!(str == BookmarkStart.b("尫伭䈯圱娳䈵ᔷ䤹䠻䜽ⰿ❁楃⡅⥇❉⥋", num)))
                            {
                                if (str == BookmarkStart.b("䀫䜭䌯䘱ᤳ䔵䰷䌹倻嬽洿ⱁ╃⭅ⵇ", num))
                                {
                                    A_1.method_11(Class576.smethod_87(class2.method_3()));
                                }
                            }
                            else
                            {
                                A_1.method_9(Class576.smethod_87(class2.method_3()));
                            }
                        }
                        else if ((A_1 is Class97) && Class567.smethod_16(class2.method_3()))
                        {
                            ((Class97)A_1).method_26(class2.method_4() - 1);
                        }
                    }
                    else
                    {
                        A_1.method_7(Class576.smethod_87(class2.method_3()));
                    }
                }
                else
                {
                    A_1.method_5(class2.method_3());
                }
            }
        }
    }
Exemplo n.º 8
0
    private static void smethod_5(Class857 A_0)
    {
        int      num    = 12;
        Class396 class2 = A_0.method_11();
        BuiltinDocumentProperties properties = A_0.method_9().builtinDocumentProperties_0;

        while (class2.method_19())
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("䈱唳儵崷᜹弻儽㔿ⱁぃ", num))
                {
                    if (str != BookmarkStart.b("䈱唳䐵夷崹主弽〿⩁楃╅❇㽉≋㩍", num))
                    {
                        if (str != BookmarkStart.b("䀱嬳䄵ᔷ夹医䬽⸿㙁", num))
                        {
                            if (str != BookmarkStart.b("䔱嬳䐵尷᜹弻儽㔿ⱁぃ", num))
                            {
                                if (!(str == BookmarkStart.b("儱尳圵䨷嬹弻䨽┿ぁ楃╅❇㽉≋㩍", num)))
                                {
                                    if (str == BookmarkStart.b("就嬳堵ᔷ䴹吻圽㐿❁㝃㙅⥇⥉⥋捍㍏㩑㕓⑕㥗㥙⡛㭝቟佡ݣ॥ᵧѩᡫ", num))
                                    {
                                        properties.CharCount = class2.method_4();
                                    }
                                }
                                else
                                {
                                    properties.CharCountWithSpace = class2.method_4();
                                }
                            }
                            else
                            {
                                properties.WordCount = class2.method_4();
                            }
                        }
                        else
                        {
                            properties.LinesCount = class2.method_4();
                        }
                    }
                    else
                    {
                        properties.ParagraphCount = class2.method_4();
                    }
                }
                else
                {
                    properties.PageCount = class2.method_4();
                }
            }
        }
    }
Exemplo n.º 9
0
 private static void smethod_16(Class857 A_0, Paragraph A_1, CharacterFormat A_2, Style A_3)
 {
     int num = 9;
     Class396 class2 = A_0.method_11();
     string str = Class816.string_11;
     while (class2.method_19())
     {
         string str2;
         if (((str2 = class2.method_1()) != null) && (str2 == BookmarkStart.b("䰮", num)))
         {
             str = new string(' ', class2.method_4());
         }
     }
     if (Class567.smethod_16(Class857.string_4))
     {
         str = string.Format(BookmarkStart.b("༮䨰̲䠴", num), str);
         Class857.string_4 = "";
     }
     smethod_12(A_0, A_1, A_2, str, A_3);
 }
Exemplo n.º 10
0
    private static void smethod_2(Class857 A_0, Class571 A_1)
    {
        int      num    = 14;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!A_0.method_4(class2) && ((str = class2.method_1()) != null))
            {
                if (!(str == BookmarkStart.b("娳䌵唷堹夻䰽洿ぁ⭃ㅅ㭇杉㹋⭍⁏㝑㕓≕㵗㹙", num)))
                {
                    if (str == BookmarkStart.b("倳匵帷嬹䤻刽㐿潁❃⍅⑇♉態㵍⑏⭑㡓㍕畗㑙㵛㍝՟", num))
                    {
                        A_1.method_7(class2.method_3());
                    }
                }
                else
                {
                    A_1.method_5(class2.method_4());
                }
            }
        }
    }
Exemplo n.º 11
0
    private static void smethod_1(Class857 A_0, Class97 A_1, ParagraphFormat A_2)
    {
        int      num    = 0x10;
        Class396 class2 = A_0.method_11();
        bool     flag   = false;
        int      num2   = 0;
        int      num3   = 0;
        string   str    = null;
        string   str2   = null;
        bool     flag2  = false;

        while (class2.method_19())
        {
            string str3;
            if (((!Class857.smethod_0(class2, A_1, A_2) && !Class857.smethod_9(class2, A_1.method_35())) && (!Class857.smethod_1(class2, A_1.method_37()) && !Class857.smethod_2(class2, A_1.method_39()))) && ((str3 = class2.method_1()) != null))
            {
                int num4;
                if (Class1160.dictionary_27 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x16);
                    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);
                    Class1160.dictionary_27 = dictionary1;
                }
                if (Class1160.dictionary_27.TryGetValue(str3, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                        if (class2.method_3() != BookmarkStart.b("圵䴷丹医", num))
                        {
                            A_1.method_44(class2.method_3());
                        }
                        break;

                    case 1:
                        str = class2.method_3();
                        break;

                    case 2:
                        A_1.method_42(class2.method_4());
                        break;

                    case 3:
                        if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num))
                        {
                            A_2.SuppressLineNumbers = false;
                        }
                        break;

                    case 4:
                        if (!Class567.smethod_16(A_1.method_6()))
                        {
                            A_1.method_7(Class576.smethod_87(class2.method_3()));
                        }
                        break;

                    case 5:
                        str2 = class2.method_3();
                        break;

                    case 6:
                        goto Label_0340;

                    case 7:
                        A_2.FirstLineIndent = ((float)Class576.smethod_36(class2.method_3())) / 20f;
                        break;

                    case 8:
                        if (class2.method_3() != BookmarkStart.b("堵圷䠹儻弽ⰿ", num))
                        {
                            A_2.LineSpacing     = ((float)Class576.smethod_52(class2.method_3())) / 20f;
                            A_2.LineSpacingRule = class2.method_3().EndsWith(BookmarkStart.b("ጵ", num)) ? LineSpacingRule.Multiple : LineSpacingRule.Exactly;
                        }
                        break;

                    case 9:
                        A_2.LineSpacingRule = LineSpacingRule.AtLeast;
                        A_2.LineSpacing     = ((float)Class576.smethod_36(class2.method_3())) / 20f;
                        break;

                    case 10:
                        if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num))
                        {
                            A_2.SetAttr(0x410, true);
                        }
                        break;

                    case 11:
                        if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num))
                        {
                            A_2.SetAttr(0x41a, true);
                        }
                        break;

                    case 12:
                        if (class2.method_3() != BookmarkStart.b("䈵䨷嬹刻䴽〿⍁㙃⍅♇㹉", num))
                        {
                            A_2.SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4)));
                            A_1.method_15().SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4)));
                        }
                        break;

                    case 13:
                        A_2.SetAttr(0x4d8, class2.method_3() == BookmarkStart.b("張尷弹医夽㈿⍁㑃⹅敇⭉⁋㹍㡏㍑", num));
                        break;

                    case 14:
                        if (class2.method_3() == BookmarkStart.b("䔵儷圹䰻刽┿", num))
                        {
                            A_2.SetAttr(0x442, false);
                        }
                        break;

                    case 15:
                    {
                        BaselineAlignment alignment = Class922.smethod_43(class2.method_3());
                        if (alignment != BaselineAlignment.Baseline)
                        {
                            A_2.SetAttr(0x5e6, alignment);
                        }
                        break;
                    }

                    case 0x10:
                        if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num))
                        {
                            A_2.SetAttr(0x4ec, true);
                        }
                        break;

                    case 0x11:
                        if (class2.method_3() == BookmarkStart.b("堵圷᜹倻圽ⴿ⭁ぃ", num))
                        {
                            A_2.SetAttr(0x582, true);
                        }
                        break;

                    case 0x12:
                        if (A_1.method_0() == null)
                        {
                            A_0.method_9().Settings.float_0 = Class576.smethod_36(class2.method_3());
                        }
                        break;

                    case 0x13:
                        flag = Class576.smethod_90(class2.method_3());
                        break;

                    case 20:
                        num2 = class2.method_4();
                        break;

                    case 0x15:
                        num3 = class2.method_4();
                        break;
                    }
                }
            }
            continue;
Label_0340:
            flag2 = class2.method_3() == BookmarkStart.b("䐵吷᜹䠻尽", num);
            if ((class2.method_3() == BookmarkStart.b("䐵吷᜹䠻尽", num)) || (class2.method_3() == BookmarkStart.b("䐵吷", num)))
            {
                A_2.SetAttr(0x618, true);
            }
            if ((class2.method_3() == BookmarkStart.b("娵䨷᜹䠻尽", num)) || (class2.method_3() == BookmarkStart.b("娵䨷", num)))
            {
                A_2.SetAttr(0x618, false);
            }
        }
        if (str2 != null)
        {
            A_2.HorizontalAlignment = Class922.smethod_65(str2, flag2);
        }
        bool flag3 = (num2 == 2) && (num3 == 2);

        if ((A_1.method_0() != null) && (A_1.method_0() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)))
        {
            if (flag3)
            {
                A_2.SetAttr(0x5be, true);
            }
            else if (!flag3)
            {
                A_2.SetAttr(0x5be, false);
            }
        }
        else if ((num2 >= 2) && (num3 >= 2))
        {
            if (flag3)
            {
                A_0.method_9().Settings.bool_67 = true;
            }
        }
        else
        {
            A_0.method_9().Settings.bool_67 = false;
        }
        if (str == BookmarkStart.b("尵䴷䤹䠻圽☿㭁", num))
        {
            A_2.SetAttr(0x3fc, HorizontalAlignment.Distribute);
        }
        smethod_2(A_2, A_1, flag);
    }
Exemplo n.º 12
0
    private static void smethod_5(Class857 A_0, Class101 A_1, ListLevel A_2, string A_3)
    {
        int      num    = 14;
        Class396 class2 = A_0.method_11();

        A_2.PatternType = ListPatternType.None;
        string str  = "";
        string str2 = "";
        int    num2 = 0;
        int    num3 = 1;
        int    key  = -1;

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                int num6;
                if (Class1160.dictionary_107 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(7);
                    dictionary1.Add(BookmarkStart.b("堳匵丷弹倻", num), 0);
                    dictionary1.Add(BookmarkStart.b("娳䌵唷᜹娻儽㈿⽁╃㉅", num), 1);
                    dictionary1.Add(BookmarkStart.b("倳張䬷䨹倻弽㤿潁⡃⍅㹇⽉⁋㵍", num), 2);
                    dictionary1.Add(BookmarkStart.b("䜳䈵䄷嘹夻ጽ⸿⍁⥃⍅", num), 3);
                    dictionary1.Add(BookmarkStart.b("䜳䈵夷䠹䠻ጽ㘿⍁⡃㍅ⵇ", num), 4);
                    dictionary1.Add(BookmarkStart.b("娳䌵唷᜹伻䬽☿⑁ⵃ㹅", num), 5);
                    dictionary1.Add(BookmarkStart.b("娳䌵唷᜹䰻䰽┿⑁ⵃ㹅", num), 6);
                    Class1160.dictionary_107 = dictionary1;
                }
                if (Class1160.dictionary_107.TryGetValue(str3, out num6))
                {
                    switch (num6)
                    {
                    case 0:
                        key = class2.method_4();
                        break;

                    case 1:
                        A_2.PatternType = Class922.smethod_57(class2.method_3());
                        break;

                    case 2:
                        num2 = class2.method_4();
                        break;

                    case 3:
                        A_1.method_23()[A_2.LevelNumber] = Class576.smethod_87(class2.method_3());
                        break;

                    case 4:
                        num3 = class2.method_4();
                        break;

                    case 5:
                        str = class2.method_3();
                        break;

                    case 6:
                        str2 = class2.method_3();
                        break;
                    }
                }
            }
        }
        A_2.StartAt = num3;
        int num5 = A_2.LevelNumber + 1;

        if (num2 != 0)
        {
            smethod_6(num2, A_2);
        }
        else
        {
            A_2.NumberPrefix = str2;
            A_2.NumberSufix  = str;
            A_2.LevelText    = str2 + BookmarkStart.b("ᄳ", num) + num5.ToString() + str;
        }
        bool flag = false;

        while (class2.method_9(A_3))
        {
            string str4 = class2.method_1();
            if (str4 != null)
            {
                if (!(str4 == BookmarkStart.b("堳張䬷丹ᄻ刽┿㑁⅃⩅敇㩉㹋⅍⁏㝑♓≕ㅗ㽙⽛", num)))
                {
                    if (!(str4 == BookmarkStart.b("䀳匵䀷丹ᄻ丽㈿ⵁ㑃⍅㩇㹉╋⭍⍏", num)))
                    {
                        goto Label_022E;
                    }
                    CharacterFormat format = Class1141.smethod_0(A_0, A_1);
                    if (format.Count > 0)
                    {
                        format.method_37(A_2.CharacterFormat);
                    }
                }
                else
                {
                    Class693.smethod_0(A_0, A_2);
                    flag = true;
                }
                continue;
            }
Label_022E:
            class2.vmethod_1();
        }
        if (key != -1)
        {
            A_1.hashtable_0.Add(key, flag);
        }
    }
Exemplo n.º 13
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;
                        }
                    }
                }
            }
        }
    }
Exemplo n.º 14
0
    internal static void smethod_1(Class857 A_0, Class17 A_1)
    {
        int      num    = 5;
        Class396 class2 = A_0.method_11();

        A_1.method_121(0);
        A_1.method_123(new ColumnCollection(A_0.method_9()));
        A_1.method_119(false);
        while (class2.method_19())
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䠪䈬䌮䐰帲嬴ᨶ娸吺䠼儾㕀", num)))
                {
                    if (str2 == BookmarkStart.b("䠪䈬䌮䐰帲嬴ᨶ常娺䴼", num))
                    {
                        A_1.method_121(Class576.smethod_36(class2.method_3()));
                        A_1.method_119(true);
                    }
                }
                else
                {
                    A_1.method_117(class2.method_4());
                }
            }
        }
        ArrayList list = new ArrayList();
        float     num4 = 0f;
        float     num5 = 0f;

        while (class2.method_9(BookmarkStart.b("䠪䈬䌮䐰帲嬴䐶", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䠪䈬䌮䐰帲嬴", num)))
                {
                    if (!(str == BookmarkStart.b("䠪䈬䌮䐰帲嬴ᨶ䨸帺䴼", num)))
                    {
                        goto Label_0113;
                    }
                    A_1.method_63(true);
                    smethod_3(A_0);
                }
                else
                {
                    Column column3 = smethod_2(A_0, A_1, list, ref num5);
                    A_1.method_122().Add(column3);
                    num4 += (int)column3.Width;
                }
                continue;
            }
Label_0113:
            class2.vmethod_1();
        }
        if (A_1.method_122().Count > 0)
        {
            Column column1 = A_1.method_122()[A_1.method_122().Count - 1];
            column1.Space -= num5;
        }
        double num2 = num4 / ((A_1.method_96() - A_1.method_50().Left) - A_1.method_50().Right);

        num2 = (num2 > 0.0) ? num2 : 1.0;
        for (int i = 0; i < A_1.method_122().Count; i++)
        {
            Column column = A_1.method_122()[i];
            float  num6   = (float)((((double)column.Width) / num2) / 20.0);
            float  num7   = 0f;
            if (i < (A_1.method_122().Count - 1))
            {
                num7 = column.Space - ((float)list[i + 1]);
            }
            column.Width = (num6 - ((float)list[i])) - num7;
        }
        if (A_1.method_122().Count == 0)
        {
            for (int j = 0; j < A_1.method_116(); j++)
            {
                Column column2 = new Column(A_0.method_9())
                {
                    Space = ((float)A_1.method_120()) / 20f,
                    Width = (((((A_1.method_96() - A_1.method_102()) - A_1.method_100()) - ((A_1.method_116() - 1) * A_1.method_120())) - (A_1.method_50().Gutter * 20f)) / ((float)A_1.method_116())) / 20f
                };
                A_1.method_122().Add(column2);
            }
        }
    }