예제 #1
0
    private static Class13 smethod_7(Class582 A_0)
    {
        int      num    = 2;
        Class394 class2 = A_0.imethod_1();
        Class13  class3 = new Class13(A_0.Interface50.imethod_0());

        while (class2.method_19())
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                bool flag1 = str2 == BookmarkStart.b("尧匩尫䬭", num);
            }
        }
        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))
                    {
                        if (str != BookmarkStart.b("尧䠩䀫縭䈯", num))
                        {
                            if (!(str == BookmarkStart.b("尧堩簫尭", num)))
                            {
                                if (str == BookmarkStart.b("尧䤩簫尭", num))
                                {
                                    Class419.smethod_0(A_0, class3.Interface8.imethod_1());
                                }
                            }
                            else
                            {
                                Class1131.smethod_0(class3.Interface8.imethod_2(), A_0);
                            }
                        }
                        else
                        {
                            Class829.smethod_0(class3.Interface8.imethod_3(), A_0, true);
                        }
                    }
                    else
                    {
                        Class733.smethod_0(A_0, class3.CharacterFormat);
                    }
                }
                else
                {
                    Class924.smethod_0(A_0, class3.imethod_0(), class3.CharacterFormat);
                }
            }
        }
        return(class3);
    }
예제 #2
0
    internal static void smethod_1(Class581 A_0, CharacterFormat A_1, Class584 A_2)
    {
        object obj2 = A_1.method_31(14);

        A_1.Remove(14);
        object obj3 = A_1.method_31(12);

        A_1.Remove(12);
        object obj4 = A_1.method_31(40);

        A_1.Remove(40);
        object obj5 = A_1.method_31(30);

        A_1.Remove(30);
        CharacterFormat format1 = (CharacterFormat)A_1.method_23();

        A_1.ClearFormatting();
        Class733.smethod_0(A_0, A_1);
        A_1.Remove(14);
        A_1.Remove(12);
        if (obj2 != null)
        {
            A_1.SetAttr(14, obj2);
        }
        if (obj3 != null)
        {
            A_1.SetAttr(12, obj3);
        }
        if (obj4 != null)
        {
            A_1.SetAttr(40, obj4);
        }
        if (obj5 != null)
        {
            A_1.SetAttr(30, obj5);
        }
    }
예제 #3
0
    private static void smethod_2(Class581 A_0, CharacterFormat A_1)
    {
        int      num    = 12;
        Class394 class2 = A_0.imethod_1();

        class2.method_18();
        string str = class2.method_1();

        while (class2.method_9(str))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_9 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x19);
                    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);
                    Class1160.dictionary_9 = dictionary1;
                }
                if (Class1160.dictionary_9.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        Class733.smethod_0(A_0, A_1);
                        continue;
                    }

                    case 1:
                    case 2:
                    {
                        smethod_8(A_0, A_1);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 3:
                    case 4:
                    {
                        smethod_6(A_0, A_1);
                        A_0.imethod_1().bool_0 = false;
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 5:
                    {
                        class2.method_51().Append(Class816.string_9);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 6:
                    {
                        class2.method_51().Append(Class816.string_21);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 7:
                    {
                        class2.method_51().Append(Class816.string_12);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 8:
                    {
                        smethod_15(A_0, A_1);
                        continue;
                    }

                    case 9:
                    case 10:
                    {
                        smethod_16(A_0, A_1, FootnoteType.Endnote);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 11:
                    case 12:
                    {
                        smethod_16(A_0, A_1, FootnoteType.Footnote);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 13:
                    case 14:
                    {
                        smethod_14(A_0, A_1, '\x0002');
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 15:
                    {
                        smethod_14(A_0, A_1, '\x0003');
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 0x10:
                    {
                        smethod_14(A_0, A_1, '\x0004');
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 0x11:
                    case 0x12:
                    {
                        smethod_18(A_0, A_1);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 0x13:
                    case 0x15:
                    {
                        continue;
                    }

                    case 20:
                    {
                        smethod_23(A_0, A_1);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 0x16:
                    {
                        smethod_3(A_0, A_1);
                        smethod_4(A_0, A_1);
                        continue;
                    }

                    case 0x17:
                    case 0x18:
                    {
                        smethod_24(A_0, A_1);
                        smethod_4(A_0, A_1);
                        continue;
                    }
                    }
                }
            }
            if (!smethod_11(A_0, A_1))
            {
                class2.vmethod_1();
            }
        }
    }
예제 #4
0
    internal static bool smethod_0(Class581 A_0, ParagraphFormat A_1, CharacterFormat A_2)
    {
        int      num    = 0x13;
        bool     flag   = false;
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("䤸欺似", num)))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num4;
                if (Class1160.dictionary_196 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x24);
                    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("丸刺夼倾㙀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);
                    Class1160.dictionary_196 = dictionary1;
                }
                if (Class1160.dictionary_196.TryGetValue(key, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                    {
                        string str  = class2.method_28();
                        int    num3 = A_0.Interface58.imethod_0(str, 0);
                        A_1.SetAttr(0x3e8, num3);
                        if (!string.IsNullOrEmpty(str))
                        {
                            str = str.Trim();
                            if ((A_1.OwnerBase is Paragraph) && A_1.OwnerBase.Document.StyleNameIds.ContainsKey(str))
                            {
                                IParagraphStyle style = A_1.OwnerBase.Document.Styles.FindByName(A_1.OwnerBase.Document.StyleNameIds[str], StyleType.ParagraphStyle) as IParagraphStyle;
                                if (style != null)
                                {
                                    A_1.SetAttr(0x3e8, (style as Style).Istd);
                                    (A_1.OwnerBase as Paragraph).method_65(style);
                                }
                            }
                        }
                        continue;
                    }

                    case 1:
                    {
                        A_1.SetAttr(0x41a, class2.method_31());
                        continue;
                    }

                    case 2:
                    {
                        A_1.SetAttr(0x410, class2.method_31());
                        continue;
                    }

                    case 3:
                    {
                        A_1.SetAttr(0x424, class2.method_31());
                        continue;
                    }

                    case 4:
                    {
                        smethod_1(class2, A_1);
                        continue;
                    }

                    case 5:
                    {
                        A_1.SetAttr(0x5be, class2.method_31());
                        continue;
                    }

                    case 6:
                    case 7:
                    {
                        smethod_7(A_0, A_1);
                        continue;
                    }

                    case 8:
                    case 9:
                    {
                        A_1.SetAttr(0x46a, class2.method_31());
                        continue;
                    }

                    case 10:
                    {
                        smethod_6(class2, A_1);
                        continue;
                    }

                    case 11:
                    {
                        A_1.SetAttr(0x5b4, class2.method_39());
                        continue;
                    }

                    case 12:
                    {
                        smethod_5(class2, A_1);
                        continue;
                    }

                    case 13:
                    {
                        A_1.SetAttr(0x582, class2.method_31());
                        continue;
                    }

                    case 14:
                    {
                        A_1.SetAttr(0x42e, class2.method_31());
                        continue;
                    }

                    case 15:
                    {
                        A_1.SetAttr(0x438, class2.method_31());
                        continue;
                    }

                    case 0x10:
                    {
                        A_1.SetAttr(0x442, class2.method_31());
                        continue;
                    }

                    case 0x11:
                    {
                        A_1.SetAttr(0x44c, class2.method_31());
                        continue;
                    }

                    case 0x12:
                    {
                        A_1.SetAttr(0x4d8, class2.method_31());
                        continue;
                    }

                    case 0x13:
                    {
                        A_1.SetAttr(0x4e2, class2.method_31());
                        continue;
                    }

                    case 20:
                    {
                        A_1.SetAttr(0x618, class2.method_31());
                        continue;
                    }

                    case 0x15:
                    {
                        A_1.SetAttr(0x4f6, class2.method_31());
                        continue;
                    }

                    case 0x16:
                    {
                        A_1.SetAttr(0x4ec, class2.method_31());
                        continue;
                    }

                    case 0x17:
                    {
                        smethod_3(class2, A_1);
                        continue;
                    }

                    case 0x18:
                    {
                        smethod_2(class2, A_1);
                        continue;
                    }

                    case 0x19:
                    {
                        A_1.SetAttr(0x3fe, class2.method_31());
                        continue;
                    }

                    case 0x1a:
                    {
                        A_1.SetAttr(0x67c, class2.method_31());
                        continue;
                    }

                    case 0x1b:
                    {
                        A_1.SetAttr(0x3fc, Class248.smethod_18(class2.method_28(), false));
                        continue;
                    }

                    case 0x1c:
                    {
                        A_1.SetAttr(0x5c8, Class417.smethod_38(class2.method_28()));
                        continue;
                    }

                    case 0x1d:
                    {
                        A_1.SetAttr(0x5e6, Class248.smethod_0(class2.method_28()));
                        continue;
                    }

                    case 30:
                    {
                        int num2 = class2.method_29();
                        A_1.SetAttr(0x500, ((num2 < 0) || (num2 > 9)) ? ((byte)9) : ((byte)((OutlineLevel)Enum.ToObject(typeof(OutlineLevel), num2))));
                        continue;
                    }

                    case 0x1f:
                    {
                        Class733.smethod_0(A_0, A_2);
                        continue;
                    }

                    case 0x20:
                    {
                        Class980.smethod_0(A_0, ((Paragraph)A_0.method_13()).method_49());
                        flag = true;
                        continue;
                    }

                    case 0x21:
                    {
                        continue;
                    }

                    case 0x22:
                    {
                        Class519.smethod_7(A_0, A_1, A_2);
                        continue;
                    }

                    case 0x23:
                    {
                        A_1.SetAttr(0x479, class2.method_31());
                        continue;
                    }
                    }
                }
            }
            Class733.smethod_1(A_0, A_2);
        }
        return(flag);
    }
예제 #5
0
    private static void smethod_3(Class582 A_0, ArrayList A_1, Hashtable A_2, Dictionary <string, string> A_3, Dictionary <string, string> A_4)
    {
        int             num            = 3;
        StyleCollection styles         = A_0.Interface50.imethod_0().Styles;
        Class394        class2         = A_0.imethod_1();
        StyleType       paragraphStyle = StyleType.ParagraphStyle;
        string          str            = null;
        bool            flag           = false;

        while (class2.method_19())
        {
            string str6 = class2.method_1();
            if (str6 != null)
            {
                if (str6 != BookmarkStart.b("崨刪崬䨮", num))
                {
                    if (!(str6 == BookmarkStart.b("䴨个䬬丮䐰弲䄴", num)))
                    {
                        if (str6 == BookmarkStart.b("娨弪听䌮吰稲儴", num))
                        {
                            str = class2.method_3();
                        }
                    }
                    else
                    {
                        flag = class2.method_63();
                    }
                }
                else
                {
                    paragraphStyle = Class911.smethod_8(class2.method_3());
                }
            }
        }
        if (paragraphStyle == StyleType.ListStyle)
        {
            MemoryStream stream = new MemoryStream();
            XmlWriter    writer = Class57.smethod_19(stream, Encoding.UTF8);
            writer.WriteNode(class2.method_8(), false);
            writer.Flush();
        }
        else
        {
            Style style = Style.smethod_1(paragraphStyle, A_0.Interface50.imethod_0()) as Style;
            if (!string.IsNullOrEmpty(str))
            {
                style.method_5(str);
            }
            Class801 class3 = new Class801(style);
            string   str3   = null;
            while (class2.method_9(BookmarkStart.b("娨弪听䌮吰", num)))
            {
                string str2;
                string str5;
                string str7;
                string key = class2.method_1();
                if (key != null)
                {
                    int num2;
                    if (Class1160.dictionary_223 == null)
                    {
                        Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x10);
                        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);
                        Class1160.dictionary_223 = dictionary1;
                    }
                    if (Class1160.dictionary_223.TryGetValue(key, out num2))
                    {
                        switch (num2)
                        {
                        case 0:
                            goto Label_02A7;

                        case 1:
                        {
                            str3 = class2.method_28();
                            continue;
                        }

                        case 2:
                        {
                            if (style.Name.ToLower() != BookmarkStart.b("䜨䐪弬䈮倰弲", num))
                            {
                                str5 = class2.method_28();
                                if (A_0.Interface50.imethod_0().StyleNameIds.ContainsKey(str5))
                                {
                                    goto Label_0345;
                                }
                                A_3.Add(style.StyleId, str5);
                            }
                            continue;
                        }

                        case 3:
                        {
                            style.NextStyle = class2.method_28();
                            continue;
                        }

                        case 4:
                        {
                            str2 = class2.method_28();
                            if (!A_0.Interface50.imethod_0().StyleNameIds.ContainsKey(str2))
                            {
                                goto Label_03EB;
                            }
                            style.LinkStyle = A_0.Interface50.imethod_0().StyleNameIds[str2];
                            continue;
                        }

                        case 5:
                        {
                            style.AutomaticallyUpdate = class2.method_31();
                            continue;
                        }

                        case 6:
                        {
                            style.Hidden = class2.method_31();
                            continue;
                        }

                        case 7:
                        {
                            style.IsSemiHidden = class2.method_31();
                            continue;
                        }

                        case 8:
                        {
                            style.Locked = class2.method_31();
                            continue;
                        }

                        case 9:
                        {
                            style.Personal = class2.method_31();
                            continue;
                        }

                        case 10:
                        {
                            style.PersonalCompose = class2.method_31();
                            continue;
                        }

                        case 11:
                        {
                            style.PersonalReply = class2.method_31();
                            continue;
                        }

                        case 12:
                        {
                            int num3 = Class114.smethod_7(class2.method_28());
                            if (num3 != -2147483648)
                            {
                                style.Rsid = num3;
                            }
                            continue;
                        }

                        case 13:
                        {
                            Class924.smethod_0(A_0, style.ParaPr, style.CharacterFormat);
                            continue;
                        }

                        case 14:
                        {
                            Class733.smethod_0(A_0, style.CharacterFormat);
                            continue;
                        }

                        case 15:
                        {
                            continue;
                        }
                        }
                    }
                }
                goto Label_04DE;
Label_02A7:
                str7 = class2.method_28();
                if (Class567.smethod_16(str7))
                {
                    Class1145.smethod_0(str7, styles, false, style);
                    if (!Class567.smethod_16(str))
                    {
                        str = str7;
                    }
                    A_0.Interface58.imethod_1(str, style.Istd);
                }
                continue;
Label_0345:
                if (A_0.Interface50.imethod_0().Styles.FindByName(A_0.Interface50.imethod_0().StyleNameIds[str5]) == null)
                {
                    A_3.Add(style.StyleId, str5);
                }
                else
                {
                    style.ApplyBaseStyle(A_0.Interface50.imethod_0().StyleNameIds[str5]);
                }
                continue;
Label_03EB:
                if (A_4.ContainsKey(style.StyleId))
                {
                    A_4[style.StyleId] = str2;
                }
                else
                {
                    A_4.Add(style.StyleId, str2);
                }
                continue;
Label_04DE:
                smethod_6(A_0, style);
            }
            string[] strArray = null;
            if (str3 != null)
            {
                strArray = str3.Split(new char[] { ',' });
            }
            if (!string.IsNullOrEmpty(str) && !A_0.Interface50.imethod_0().StyleNameIds.ContainsKey(str))
            {
                A_0.Interface50.imethod_0().StyleNameIds.Add(str, style.Name);
            }
            if (Class567.smethod_16(style.Name))
            {
                if (styles.method_9(style.StyleId) == null)
                {
                    styles.method_7(style, strArray);
                    if (flag && (paragraphStyle == StyleType.ParagraphStyle))
                    {
                        styles.DefaultParaStyle = style as ParagraphStyle;
                    }
                }
                A_1.Add(class3);
            }
        }
    }
예제 #6
0
    private static void smethod_6(ListLevel A_0, Class582 A_1, int A_2)
    {
        int      num    = 3;
        Class394 class2 = A_1.imethod_1();

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("崨嬪䄬䰮", num)))
                {
                    if (str3 == BookmarkStart.b("崨个䌬嬮倰䜲尴䄶尸", num))
                    {
                        class2.method_63();
                    }
                }
                else
                {
                    Class114.smethod_9(class2.method_3());
                }
            }
        }
        A_0.StartAt = 0;
        while (class2.method_9(BookmarkStart.b("䔨崪䄬", num)))
        {
            string str;
            string str4;
            string key = class2.method_1();
            if (key != null)
            {
                int num3;
                if (Class1160.dictionary_121 == 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_121 = dictionary1;
                }
                if (Class1160.dictionary_121.TryGetValue(key, out num3))
                {
                    switch (num3)
                    {
                    case 0:
                        A_0.StartAt = class2.method_29();
                        break;

                    case 1:
                        A_0.PatternType = (ListPatternType)class2.method_29();
                        break;

                    case 2:
                        if (class2.method_29() == 0)
                        {
                            A_0.NoRestartByHigher = true;
                        }
                        break;

                    case 3:
                        A_0.ParaStyleName = class2.method_28();
                        break;

                    case 4:
                        A_0.IsLegalStyleNumbering = class2.method_31();
                        break;

                    case 5:
                        A_0.FollowCharacter = Class463.smethod_2(class2.method_28());
                        break;

                    case 6:
                        goto Label_0314;

                    case 7:
                        A_0.PicBulletId = (short)class2.method_29();
                        A_0.PicBullet   = dictionary_0[A_0.PicBulletId.ToString()];
                        break;

                    case 8:
                        goto Label_03BF;

                    case 9:
                        A_0.NumberAlignment = Class463.smethod_0(class2.method_28());
                        break;

                    case 10:
                        Class924.smethod_0(A_1, A_0.ParagraphFormat, A_0.CharacterFormat);
                        break;

                    case 11:
                        Class733.smethod_0(A_1, A_0.CharacterFormat);
                        break;
                    }
                }
            }
            continue;
Label_0234:
            if ((str4 = class2.method_1()) != null)
            {
                if (!(str4 == BookmarkStart.b("弨䨪䄬", num)))
                {
                    if (str4 == BookmarkStart.b("䜨帪䄬䌮", num))
                    {
                    }
                }
                else if (A_0.PatternType == ListPatternType.Bullet)
                {
                    A_0.BulletCharacter = class2.method_3();
                }
                else
                {
                    string str5 = class2.method_3();
                    A_0.LevelText = str5;
                    string str6  = BookmarkStart.b("న", num) + ((A_0.LevelNumber + 1)).ToString();
                    int    index = str5.IndexOf(str6);
                    if (index != -1)
                    {
                        A_0.NumberPrefix = class2.method_3().Substring(0, index);
                        A_0.NumberPrefix = smethod_7(A_0.NumberPrefix);
                        int startIndex = index + 2;
                        A_0.NumberSufix = str5.Substring(startIndex, str5.Length - startIndex);
                    }
                }
            }
Label_0314:
            if (class2.method_19())
            {
                goto Label_0234;
            }
            continue;
Label_0354:
            if ((str = class2.method_1()) != null)
            {
                if (str != BookmarkStart.b("䔨个䨬丮到䨲", num))
                {
                    if (!(str == BookmarkStart.b("䔨个䨬丮到䨲昴䜶堸堺堼", num)))
                    {
                        if (str == BookmarkStart.b("䔨个䨬丮到䨲簴夶崸帺匼䬾", num))
                        {
                            A_0.LegacyIndent = class2.method_4();
                        }
                    }
                    else
                    {
                        A_0.LegacySpace = class2.method_4();
                    }
                }
                else
                {
                    A_0.Word6Legacy = class2.method_63();
                }
            }
Label_03BF:
            if (class2.method_19())
            {
                goto Label_0354;
            }
        }
    }