Example #1
0
 private void method_0()
 {
     for (var i = 0; i < 5; i++)
     {
         _double9[i] = new double[18];
     }
     for (var j = 0; j < 5; j++)
     {
         _byte1[j] = new byte[256];
     }
     for (var k = 0; k < 5; k++)
     {
         _byte4[k] = new byte[256];
     }
     for (var l = 0; l < 5; l++)
     {
         _int23[l] = new int[50];
     }
     Byte6    = Class114.smethod_0();
     Byte7    = Class114.smethod_1();
     Byte8    = Class114.smethod_2();
     Int34    = Class114.smethod_3();
     Double13 = Class114.smethod_4();
     Double14 = Class114.smethod_5();
     Double15 = Class114.smethod_6();
     Double16 = Class114.smethod_7();
     Double17 = Class114.smethod_8();
     Double18 = Class114.smethod_9();
     Double19 = Class114.smethod_10();
     Double20 = Class114.smethod_11();
     Double21 = Class114.smethod_12();
     Double22 = Class114.smethod_13();
     Double23 = Class114.smethod_14();
 }
Example #2
0
    internal static void smethod_1(Class581 A_0, CharacterFormat A_1)
    {
        int num = 6;

        if (A_1 == null)
        {
            A_1 = new CharacterFormat(A_0.Interface50.imethod_0());
        }
        Class394 class2 = A_0.imethod_1();

        while (class2.method_19())
        {
            string str;
            if (((str = class2.method_1()) != null) && (str != BookmarkStart.b("師崭夯嘱瀳匵吷", num)))
            {
                if (!(str == BookmarkStart.b("師崭夯嘱昳", num)))
                {
                    if (str == BookmarkStart.b("師崭夯嘱昳昵䨷", num))
                    {
                        int num3 = Class114.smethod_7(class2.method_3());
                        if (num3 != -2147483648)
                        {
                            A_1.SetAttr(30, num3);
                        }
                    }
                }
                else
                {
                    int num2 = Class114.smethod_7(class2.method_3());
                    if ((num2 != -2147483648) && (num2 != class2.method_58()))
                    {
                        A_1.SetAttr(40, num2);
                    }
                }
            }
        }
        smethod_2(A_0, A_1);
        smethod_4(A_0, A_1);
    }
Example #3
0
    internal static void smethod_0(Class581 A_0, Section A_1)
    {
        int      num       = 15;
        bool     isDefault = A_1.SectPr.IsDefault;
        Class17  sectPr    = A_1.SectPr;
        Class394 class3    = A_0.imethod_1();

        if (A_0.vmethod_5())
        {
            while (class3.method_19())
            {
                string str2;
                if (((str2 = class3.method_1()) != null) && (str2 == BookmarkStart.b("䜴䐶倸强渼娾≀㝂", num)))
                {
                    int num3 = Class114.smethod_7(class3.method_3());
                    if (num3 != -2147483648)
                    {
                        sectPr.SetAttr(0x8ca, num3);
                    }
                }
            }
        }
        while (class3.method_9(BookmarkStart.b("䘴制娸伺洼䴾", num)))
        {
            string key = class3.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_220 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x18);
                    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);
                    Class1160.dictionary_220 = dictionary1;
                }
                if (Class1160.dictionary_220.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 2:
                    case 3:
                        smethod_1(A_1, A_0);
                        break;

                    case 4:
                        Class913.smethod_7(A_0, class3.method_1(), sectPr.method_139());
                        break;

                    case 5:
                        Class913.smethod_7(A_0, class3.method_1(), sectPr.method_138());
                        break;

                    case 6:
                        sectPr.SetAttr(0x7ee, Class339.smethod_20(class3.method_28()));
                        break;

                    case 7:
                        smethod_2(class3, sectPr);
                        break;

                    case 8:
                        smethod_3(class3, sectPr);
                        break;

                    case 9:
                        smethod_4(class3, sectPr);
                        break;

                    case 10:
                        smethod_5(class3, sectPr, A_1.PageSetup.Borders);
                        break;

                    case 11:
                        smethod_6(class3, sectPr);
                        break;

                    case 12:
                        smethod_7(A_0, sectPr);
                        break;

                    case 13:
                        smethod_8(class3, sectPr, A_1);
                        break;

                    case 14:
                        sectPr.SetAttr(0x956, !class3.method_31());
                        break;

                    case 15:
                        sectPr.SetAttr(0x924, Class339.smethod_8(class3.method_28()));
                        break;

                    case 0x10:
                        sectPr.SetAttr(0x834, class3.method_31());
                        break;

                    case 0x11:
                        sectPr.SetAttr(0x7f8, class3.method_31());
                        break;

                    case 0x12:
                        sectPr.SetAttr(0x988, Class911.smethod_4(class3.method_28()));
                        break;

                    case 0x13:
                        sectPr.SetAttr(0x992, class3.method_31());
                        break;

                    case 20:
                        sectPr.SetAttr(0x96a, class3.method_31());
                        break;

                    case 0x15:
                        smethod_10(class3, sectPr);
                        break;

                    case 0x17:
                        Class519.smethod_8(sectPr, A_0);
                        break;
                    }
                }
            }
        }
    }
Example #4
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);
            }
        }
    }