Example #1
0
    private static void smethod_8(Class857 A_0, Class101 A_1, ListLevel A_2)
    {
        int      num    = 8;
        Class396 class2 = A_0.method_11();

        A_2.PatternType = ListPatternType.Bullet;
        string str = "";

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("崭䐯䬱堳匵ᔷ吹崻匽┿", num)))
                {
                    if (str3 == BookmarkStart.b("䰭䔯帱堳匵䰷᜹弻嘽ℿぁ", num))
                    {
                        str = class2.method_3();
                    }
                }
                else
                {
                    A_1.method_23()[A_2.LevelNumber] = Class576.smethod_87(class2.method_3());
                }
            }
        }
        A_2.BulletCharacter = str;
        while (class2.method_9(BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㝃㉅ㅇ♉⥋捍㉏❑㡓㩕㵗⹙", num)))
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num)))
                {
                    if (!(str2 == BookmarkStart.b("娭唯䨱䀳ᬵ䠷䠹医丽┿ぁぃ⽅ⵇ㥉", num)))
                    {
                        goto Label_00E1;
                    }
                    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);
                }
                continue;
            }
Label_00E1:
            class2.vmethod_1();
        }
    }
Example #2
0
    private static void smethod_13(Class857 A_0)
    {
        int num = 6;

        for (int i = 0; i < A_0.method_9().Styles.Count; i++)
        {
            Style style4 = (Style)A_0.method_9().Styles[i];
            if ((style4.StyleIdentifier != StyleIdentifier.Normal) && (style4.StyleIdentifier != StyleIdentifier.DefaultParagraphFont))
            {
                Class91 class4 = A_0.method_13().method_2(style4.Name, null, false, false);
                if (class4 is Class93)
                {
                    Class93 class3 = class4 as Class93;
                    if (class3.method_8() != null)
                    {
                        Style style = A_0.method_9().Styles.method_12(class3.method_8(), false);
                        if (((style != null) && (style.StyleType == style4.StyleType)) && (class3.method_0() != class3.method_8()))
                        {
                            style4.BasedOnIstd = A_0.method_9().Styles.method_12(class3.method_8(), false).Istd;
                        }
                    }
                }
            }
        }
        for (int j = 0; j < A_0.method_13().method_8(); j++)
        {
            Class91 class5 = A_0.method_13().method_5(j);
            if ((class5 != null) && (class5 is Class101))
            {
                Class101 class6 = class5 as Class101;
                string   str    = (string)class6.method_23()[0];
                Class93  class2 = (Class93)A_0.method_13().method_2(str, BookmarkStart.b("堫䬭䠯䘱", num), false, false);
                if ((class2 != null) && (class2.method_8() != null))
                {
                    Style     style3 = A_0.method_9().Styles.method_12(class2.method_8(), false);
                    ListStyle style2 = A_0.method_9().ListStyles[class6.method_21().ListDefId];
                    if (style3.StyleIdentifier != StyleIdentifier.NoList)
                    {
                        style2.ListStyleIstd = style3.Istd;
                    }
                }
            }
        }
    }
Example #3
0
    internal static void smethod_0(Class857 A_0, bool A_1)
    {
        Class101 class2 = new Class101();

        class2.method_22(new ListStyle(A_0.method_9()));
        smethod_2(A_0, class2);
        smethod_3(A_0, class2);
        for (int i = 0; i < 9; i++)
        {
            Class91 class3 = A_0.method_13().method_3((string)class2.method_23()[i], null, A_0.method_20());
            if ((class3 != null) && (class3 is Class96))
            {
                CharacterFormat format = (class3 as Class96).method_13();
                if ((format != null) && (format.Count > 0))
                {
                    format.method_37(class2.method_21().Levels[i].CharacterFormat);
                }
            }
        }
        A_0.method_13().method_1(class2, A_0.method_20(), A_1);
    }
Example #4
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);
        }
    }