Ejemplo n.º 1
0
    internal static void smethod_0(Section A_0, Interface52 A_1)
    {
        int num = 1;
        WordAttrCollection sectPr = A_0.SectPr;
        Class398           class2 = A_1.imethod_1();

        class2.method_4(BookmarkStart.b("倦ጨ堪䠬䰮䔰挲䜴", 1));
        if (A_1.imethod_2())
        {
            class2.method_40(BookmarkStart.b("倦ጨ太帬䘮唰怲倴吶䴸", num), Class114.smethod_6(sectPr.method_31(0x8ca)));
        }
        if (sectPr.FormatRevision != null)
        {
            smethod_2(A_0, A_1);
            WordAttrCollection attrs2 = (WordAttrCollection)sectPr.Clone();
            attrs2.AcceptFormatRevision();
            smethod_1(attrs2, false, A_1);
            class2.vmethod_5(sectPr.FormatRevision, BookmarkStart.b("倦ጨ堪䠬䰮䔰挲䜴琶儸娺匼堾⑀", num), A_1.imethod_6());
            class2.method_4(BookmarkStart.b("倦ጨ堪䠬䰮䔰挲䜴", num));
            if (A_1.imethod_2())
            {
                class2.method_40(BookmarkStart.b("倦ጨ太帬䘮唰怲倴吶䴸", num), Class114.smethod_6(sectPr.method_31(0x8ca)));
            }
            smethod_1(sectPr, true, A_1);
            class2.method_5();
            class2.vmethod_8();
        }
        else
        {
            smethod_2(A_0, A_1);
            smethod_1(sectPr, false, A_1);
        }
        class2.method_6(BookmarkStart.b("倦ጨ堪䠬䰮䔰挲䜴", num));
    }
Ejemplo n.º 2
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();
 }
Ejemplo n.º 3
0
    internal char method_34(CharacterFormat A_0)
    {
        int    num = 8;
        char   ch  = 0xf0ff;
        string str = BookmarkStart.b("紭䤯弱嘳夵吷", 8);

        while (base.method_19())
        {
            string str2 = base.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䠭弯就䀳", num)))
                {
                    if (str2 == BookmarkStart.b("䴭堯匱䘳", num))
                    {
                        ch = (char)Class114.smethod_8(base.method_3());
                    }
                }
                else
                {
                    str = base.method_3();
                }
            }
        }
        A_0.FontName = str;
        return(ch);
    }
Ejemplo n.º 4
0
    private static void smethod_3(Document A_0, Class398 A_1)
    {
        int    num = 9;
        string str = string.Empty;

        switch (A_0.Settings.method_8())
        {
        case ProtectionType.AllowOnlyRevisions:
            str = BookmarkStart.b("嬮䌰刲嘴尶尸强ြ尾⥀≂⭄⁆ⱈ㡊", num);
            break;

        case ProtectionType.AllowOnlyComments:
            str = BookmarkStart.b("䰮帰帲場制圸伺丼", num);
            break;

        case ProtectionType.AllowOnlyFormFields:
            str = BookmarkStart.b("䤮帰䄲場䐶", num);
            break;

        case ProtectionType.AllowOnlyReading:
            str = BookmarkStart.b("崮吰刲儴ᨶ嘸唺儼䘾", num);
            break;
        }
        if (str != string.Empty)
        {
            A_1.method_4(BookmarkStart.b("堮ର圲娴吶䰸嘺堼儾㕀ፂ㝄⡆㵈⹊⹌㭎㡐㱒㭔", num));
            A_1.method_40(BookmarkStart.b("堮ର嘲儴帶䴸", num), str);
            A_1.vmethod_2(BookmarkStart.b("堮ର唲娴䔶吸娺䤼䬾⡀ⵂ≄", num), A_0.Settings.bool_1);
            A_1.method_40(BookmarkStart.b("堮ର嘲嬴儶嘸䤺帼娾ⱀ♂⭄㍆", num), A_0.EnforceDocProt ? BookmarkStart.b("䀮弰", num) : BookmarkStart.b("䀮地唲", num));
            A_1.method_40(BookmarkStart.b("堮ର䘲嬴䜶䬸吺䤼娾≀㝂ᕄ♆㩈㡊㩌⁎⍐㝒", num), Class114.smethod_6(A_0.Settings.uint_0));
            A_1.method_5();
        }
    }
Ejemplo n.º 5
0
 internal void method_29(string A_0, byte[] A_1)
 {
     if ((A_1 != null) && (A_1.Length > 0))
     {
         this.method_24(A_0, Class114.smethod_18(A_1));
     }
 }
Ejemplo n.º 6
0
    internal void method_38(string A_0, object A_1)
    {
        int num = 5;

        if (A_1 != null)
        {
            if (A_1 is string)
            {
                string str2 = (string)A_1;
                this.method_40(A_0, str2);
            }
            else if (A_1 is int)
            {
                int num2 = (int)A_1;
                this.method_43(A_0, num2);
            }
            else if (A_1 is short)
            {
                short num4 = (short)A_1;
                this.method_43(A_0, num4);
            }
            else if (A_1 is float)
            {
                string str3 = A_1.ToString();
                this.method_40(A_0, str3);
            }
            else if (A_1 is double)
            {
                double num3 = (double)A_1;
                this.method_45(A_0, num3);
            }
            else if (A_1 is bool)
            {
                bool flag = (bool)A_1;
                this.vmethod_1(A_0, flag);
            }
            else if (A_1 is Color)
            {
                Color color = (Color)A_1;
                this.method_40(A_0, Class114.smethod_12(color));
            }
            else if (A_1 is DateTime)
            {
                DateTime time = (DateTime)A_1;
                this.method_40(A_0, Class1041.smethod_0(time));
            }
            else
            {
                if (A_1 == null)
                {
                    throw new InvalidOperationException(BookmarkStart.b("縪䌬䐮弰尲䈴夶ᤸ吺弼唾⑀⁂ㅄ杆㵈㉊㵌⩎煐㩒㭔睖๘⥚㑜⭞Ѡ≢ᅤ፦᭨ɪཬᩮհᙲ啴᩶ᱸེᕼၾ궂", num));
                }
                string str = A_1.ToString();
                this.method_40(A_0, str);
            }
        }
    }
Ejemplo n.º 7
0
    internal static void smethod_0(Document A_0, Class399 A_1)
    {
        int num = 7;

        A_1.method_4(BookmarkStart.b("娬ᔮ地尲嬴䌶䨸", 7));
        A_1.method_4(BookmarkStart.b("娬ᔮ唰嘲匴嘶䰸场䤼社⹀ⵂㅄ㑆", 7));
        A_1.method_18(BookmarkStart.b("娬ᔮ倰䀲嘴帶倸", 7), A_0.DefaultFontNameTable.method_0());
        A_1.method_18(BookmarkStart.b("娬ᔮ地刲䜴制堸䠺䤼", 7), A_0.DefaultFontNameTable.method_2());
        A_1.method_18(BookmarkStart.b("娬ᔮ夰Ḳ吴夶䨸刺", 7), A_0.DefaultFontNameTable.method_4());
        A_1.method_18(BookmarkStart.b("娬ᔮ到䀲", 7), A_0.DefaultFontNameTable.method_6());
        A_1.method_5();
        using (IEnumerator enumerator = A_0.FontInfoList.System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                Form4 form = (Form4)enumerator.Current;
                A_1.method_4(BookmarkStart.b("娬ᔮ地尲嬴䌶", num));
                A_1.method_18(BookmarkStart.b("娬ᔮ弰刲場制", num), form.method_31());
                if (Class567.smethod_16(form.method_33()))
                {
                    if (form.method_33().IndexOf(BookmarkStart.b("⴬", num)) >= 0)
                    {
                        form.method_34(form.method_33().Substring(0, form.method_33().IndexOf(BookmarkStart.b("⴬", num))));
                    }
                    A_1.method_24(BookmarkStart.b("娬ᔮ倰弲䄴礶堸嘺堼", num), form.method_33().Replace(BookmarkStart.b("⴬", num), BookmarkStart.b("ᘬ", num)));
                }
                if (form.method_35() != null)
                {
                    A_1.method_24(BookmarkStart.b("娬ᔮ䄰刲嬴堶䨸帺ြ฾", num), Class567.smethod_40(form.method_35()));
                }
                A_1.method_24(BookmarkStart.b("娬ᔮ到嬲吴䔶䨸帺䤼", num), Class1041.smethod_39(form.method_37()));
                A_1.method_24(BookmarkStart.b("娬ᔮ地刲場帶唸䈺", num), Class911.smethod_1(form.method_39()));
                if (!form.method_43())
                {
                    A_1.method_10(BookmarkStart.b("娬ᔮ弰尲䄴挶䬸为堼款㡀㍂⁄", num));
                }
                A_1.method_24(BookmarkStart.b("娬ᔮ䄰娲䄴吶儸", num), Class417.smethod_7(form.method_41()));
                if (form.method_45() != null)
                {
                    A_1.method_4(BookmarkStart.b("娬ᔮ䈰娲刴", num));
                    A_1.method_18(BookmarkStart.b("娬ᔮ䐰䀲圴ᨶस", num), Class114.smethod_4(form.method_45(), 0));
                    A_1.method_18(BookmarkStart.b("娬ᔮ䐰䀲圴ᨶ࠸", num), Class114.smethod_4(form.method_45(), 4));
                    A_1.method_18(BookmarkStart.b("娬ᔮ䐰䀲圴ᨶସ", num), Class114.smethod_4(form.method_45(), 8));
                    A_1.method_18(BookmarkStart.b("娬ᔮ䐰䀲圴ᨶਸ", num), Class114.smethod_4(form.method_45(), 12));
                    A_1.method_18(BookmarkStart.b("娬ᔮ到䀲圴ᨶस", num), Class114.smethod_4(form.method_45(), 0x10));
                    A_1.method_18(BookmarkStart.b("娬ᔮ到䀲圴ᨶ࠸", num), Class114.smethod_4(form.method_45(), 20));
                    A_1.method_5();
                }
                A_1.method_5();
            }
        }
        A_1.method_5();
    }
Ejemplo n.º 8
0
    internal override void vmethod_10(Class578 A_0, int A_1)
    {
        int    num = 2;
        string str = A_0.method_6() ? BookmarkStart.b("缧䔩師䨭ḯ笱娳䔵崷䠹䠻圽⼿ⱁ", num) : BookmarkStart.b("缧䔩師䨭ḯ簱䄳嬵娷弹主圽⸿╁", num);

        this.method_59(A_1.ToString(), A_0.method_0(), A_0.method_2(), str, false);
        if (A_0.method_5())
        {
            base.method_18(BookmarkStart.b("弧ဩ䌫尭夯唱崳堵夷嘹", num), Class114.smethod_1(A_0));
        }
        base.method_6(BookmarkStart.b("䤧䜩䀫ᐭ儯就娳夵䰷嬹䠻圽⼿ⱁ", num));
    }
 // Token: 0x06002A86 RID: 10886 RVA: 0x000A4404 File Offset: 0x000A2604
 private Class110()
 {
     this.ConnectSettings          = new Class99();
     this.MakePackageSettings      = new Class100();
     this.GagAMaticSettings        = new Class89();
     this.RemoteControllerSettings = new Class97();
     this.RaceTrackFileIndex       = new Class114();
     this.JoeFishSettings          = new Class106();
     this.GardenerFloraSettings    = new Class105();
     this.ApplicationSettings      = new Class112();
     this.MyGallerySettings        = new Class111();
     this.CreatedFileArchive       = new Class114();
 }
Ejemplo n.º 10
0
 // Token: 0x06002A88 RID: 10888 RVA: 0x000A4488 File Offset: 0x000A2688
 protected override void vmethod_2(BinaryReader reader, int version)
 {
     this.ApplicationSettings      = new Class112(reader);
     this.ConnectSettings          = new Class99(reader);
     this.MakePackageSettings      = new Class100(reader);
     this.GagAMaticSettings        = new Class89(reader);
     this.RemoteControllerSettings = new Class97(reader);
     this.RaceTrackFileIndex       = new Class114(reader);
     this.JoeFishSettings          = new Class106(reader);
     this.GardenerFloraSettings    = new Class105(reader);
     this.CreatedFileArchive       = new Class114(reader);
     this.MyGallerySettings        = new Class111(reader);
 }
Ejemplo n.º 11
0
    internal void method_0(int A_0, object A_1)
    {
        this.int_0++;
        switch (A_0)
        {
        case 0x500:
            this.string_0 = Class1085.smethod_64((EditAs)A_1);
            this.int_0--;
            return;

        case 0x501:
            this.string_1 = Class1041.smethod_8((int)A_1);
            return;

        case 0x502:
        case 0x503:
            break;

        case 0x504:
            this.class782_0 = (Class782[])A_1;
            break;

        case 0x505:
            this.string_2 = Class1041.smethod_8((int)A_1);
            return;

        case 0x506:
            this.string_3 = Class1041.smethod_8((int)A_1);
            return;

        case 0x507:
            this.string_4 = Class1041.smethod_8((int)A_1);
            return;

        case 0x508:
            this.string_5 = Class114.smethod_3((int[])A_1);
            return;

        case 0x53c:
            this.string_6 = Class734.smethod_12(A_1);
            return;

        case 0x53d:
            this.string_7 = Class734.smethod_12(A_1);
            return;

        default:
            return;
        }
    }
Ejemplo n.º 12
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);
    }
Ejemplo n.º 13
0
    private static void smethod_5(CharacterFormat A_0, Class394 A_1)
    {
        int num = 13;

        while (A_1.method_19())
        {
            string str = A_1.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䔲吴嬶", num)))
                {
                    if (str == BookmarkStart.b("倲娴嬶嘸䤺", num))
                    {
                        A_0.SetAttr(450, Class114.smethod_13(A_1.method_3()));
                    }
                }
                else
                {
                    A_0.SetAttr(140, Class860.smethod_17(A_1.method_3()));
                }
            }
        }
    }
Ejemplo n.º 14
0
    private static void smethod_4(Document A_0, Class394 A_1)
    {
        int num = 8;

        while (A_1.method_19())
        {
            string str = A_1.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))
                            {
                                A_0.Settings.uint_0 = (uint)Class114.smethod_8(A_1.method_3());
                            }
                        }
                        else
                        {
                            A_0.EnforceDocProt = A_1.method_63();
                        }
                    }
                    else
                    {
                        A_0.Settings.bool_1 = A_1.method_63();
                    }
                }
                else
                {
                    A_0.Settings.method_9(Class330.smethod_0(A_1.method_3()));
                }
            }
        }
    }
Ejemplo n.º 15
0
    internal static void smethod_0(Class582 A_0)
    {
        int       num       = 13;
        Class394  class2    = A_0.imethod_1();
        Document  document  = A_0.Interface50.imethod_0();
        Class907  settings  = document.Settings;
        ViewSetup viewSetup = document.ViewSetup;

        settings.method_5().method_151();
        Class908 class4 = document.Settings.method_5();

        settings.bool_42 = false;
        while (class2.method_9(BookmarkStart.b("圲娴吶椸䤺", num)))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_181 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x48);
                    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("儲娴堶券紺刼匾╀ፂ㝄⹆❈㽊⑌ⅎ㙐R㵔㉖㱘⽚⹜", 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);
                    dictionary1.Add(BookmarkStart.b("䀲䄴丶唸帺洼帾⽀♂̈́⡆㭈♊ⱌ㭎ᝐ㩒㥔⍖㱘⥚", num), 0x24);
                    dictionary1.Add(BookmarkStart.b("䜲䜴嘶娸债漼娾㝀⩂㙄⹆♈╊㹌", num), 0x25);
                    dictionary1.Add(BookmarkStart.b("圲娴吶䰸嘺堼儾㕀ፂ㝄⡆㵈⹊⹌㭎㡐㱒㭔", num), 0x26);
                    dictionary1.Add(BookmarkStart.b("圲倴儶堸为儼䬾ᕀ≂❄ᑆ㵈⑊㵌", num), 0x27);
                    dictionary1.Add(BookmarkStart.b("刲䀴䌶嘸猺䐼伾⥀♂⭄♆㵈≊≌ⅎ", num), 40);
                    dictionary1.Add(BookmarkStart.b("倲娴夶䨸帺帼䨾㕀⩂㍄≆ň㉊㵌❎㑐㵒ᥔ㹖㑘㉚⥜", num), 0x29);
                    dictionary1.Add(BookmarkStart.b("嬲䰴䜶儸帺匼帾㕀⩂⩄⥆ፈ⑊⍌⩎", num), 0x2a);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺甼䘾ㅀ⭂⁄⥆⡈㽊⡌౎ぐ⍒♔", num), 0x2b);
                    dictionary1.Add(BookmarkStart.b("嘲䌴制圸稺匼嬾เ❂⅄ཆⱈ⩊⥌⩎⍐⁒", num), 0x2c);
                    dictionary1.Add(BookmarkStart.b("圲䜴嘶丸刺匼堾ـㅂⱄ⍆ň⑊㽌♎⭐㱒㭔⍖㡘㝚๜⽞`b౤०๨", num), 0x2d);
                    dictionary1.Add(BookmarkStart.b("圲䜴嘶丸刺匼堾ـㅂⱄ⍆Ὀ⹊㽌㭎㡐げ㑔㭖੘⭚㱜㱞ࡠൢɤ", num), 0x2e);
                    dictionary1.Add(BookmarkStart.b("圲尴䐶䤸场尼䘾ीⱂ㝄⹆㍈⑊⍌㭎ぐ㽒ᅔ╖㡘ⱚ㑜ㅞ٠③ᝤ๦൨⹪᭬੮Ͱੲ", num), 0x2f);
                    dictionary1.Add(BookmarkStart.b("圲尴䐶䤸场尼䘾ᝀ♂㝄㍆⁈⡊ⱌ⍎ᕐ⅒㑔⁖じ㕚㩜ᡞ፠੢Ť≦Ὠ๪Ὤ᙮", num), 0x30);
                    dictionary1.Add(BookmarkStart.b("䘲䘴制琸娺似堾⡀ⵂ㙄ņ♈㥊ौ㵎ぐ⑒㱔㥖㹘ᱚ⽜㙞ՠⱢᝤ๦๨ɪͬ", num), 0x31);
                    dictionary1.Add(BookmarkStart.b("圲䜴嘶丸刺匼堾ـㅂⱄ⍆ň⑊㽌♎⭐㱒㭔⍖㡘㝚ቜⵞࡠѢ౤०", num), 50);
                    dictionary1.Add(BookmarkStart.b("圲䜴嘶丸刺匼堾ـㅂⱄ⍆Ὀ⹊㽌㭎㡐げ㑔㭖ᙘ⥚㑜㡞ࡠൢ", num), 0x33);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺渼圾⁀❂⁄ņ♈㥊⁌୎ぐ❒㑔", num), 0x34);
                    dictionary1.Add(BookmarkStart.b("䌲䀴夶娸伺䠼帾㕀⩂⩄⥆Ɉ⹊㽌ⅎ㡐㵒㉔", num), 0x35);
                    dictionary1.Add(BookmarkStart.b("倲崴嘶䬸娺帼䬾⑀ㅂᙄ㝆⡈⡊⑌ⅎ㙐ၒ㩔㥖ⵘ⥚㉜㍞", num), 0x36);
                    dictionary1.Add(BookmarkStart.b("䌲䜴帶圸伺椼䠾⹀ూ⭄ࡆ❈⹊", num), 0x37);
                    dictionary1.Add(BookmarkStart.b("䀲䄴䔶倸堺䤼社⡀ㅂ㙄㍆ࡈ╊⥌͎ぐ⁒⅔ᑖㅘ㩚⽜ⱞ", num), 0x38);
                    dictionary1.Add(BookmarkStart.b("崲娴笶倸唺堼紾㍀♂⑄ⱆ㩈੊⭌㭎㑐⅒", num), 0x39);
                    dictionary1.Add(BookmarkStart.b("崲娴笶倸唺堼紾㍀♂⑄ⱆ㩈ॊ⡌⥎㹐⅒ご", num), 0x3a);
                    dictionary1.Add(BookmarkStart.b("唲娴堶䴸唺刼䬾⑀ፂ㝄", num), 0x3b);
                    dictionary1.Add(BookmarkStart.b("嘲嬴匶圸吺䤼娾ᅀㅂ", num), 60);
                    dictionary1.Add(BookmarkStart.b("倲娴娶䤸娺䤼", num), 0x3d);
                    dictionary1.Add(BookmarkStart.b("圲娴吶漸娺似䰾", num), 0x3e);
                    dictionary1.Add(BookmarkStart.b("尲䔴䌶倸嘺吼䔾⑀Ղ⩄㕆ୈ㥊≌㡎≐㙒❔", num), 0x3f);
                    dictionary1.Add(BookmarkStart.b("䄲倴嬶䀸琺匼椾ీག", num), 0x40);
                    dictionary1.Add(BookmarkStart.b("刲头嬶嘸䰺洼焾ـ", num), 0x41);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺漼娾ⵀ㩂੄⥆ੈᡊṌ", num), 0x42);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺渼帾㝀♂ቄ≆⭈ᭊⱌ⡎㑐⁒ᑔ⑖੘㉚㍜㡞ൠ٢⍤๦ը๪", num), 0x43);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺爼䴾♀≂⭄⹆㍈⹊ьⅎᝐ㱒㥔㍖㱘⥚", num), 0x44);
                    dictionary1.Add(BookmarkStart.b("圲娴礶嘸伺格䰾⑀ག⩄⥆⹈ൊ⑌⍎㑐ᵒ㑔㩖㱘⡚", num), 0x45);
                    dictionary1.Add(BookmarkStart.b("䌲尴伶尸场丼漾⑀ㅂౄ⥆⩈⍊", num), 70);
                    dictionary1.Add(BookmarkStart.b("䜲吴䔶常帺䤼氾≀ㅂ⁄≆❈ᡊ㝌", num), 0x47);
                    Class1160.dictionary_181 = dictionary1;
                }
                if (Class1160.dictionary_181.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        settings.bool_60 = class2.method_31();
                        continue;
                    }

                    case 1:
                    {
                        settings.bool_57 = class2.method_31();
                        continue;
                    }

                    case 2:
                    case 0x23:
                    {
                        continue;
                    }

                    case 3:
                    {
                        settings.bool_39 = class2.method_31();
                        continue;
                    }

                    case 4:
                    {
                        settings.bool_38 = class2.method_31();
                        continue;
                    }

                    case 5:
                    {
                        settings.int_18 = class2.method_29();
                        continue;
                    }

                    case 6:
                    {
                        settings.bool_8 = class2.method_31();
                        continue;
                    }

                    case 7:
                    {
                        settings.bool_5 = class2.method_31();
                        continue;
                    }

                    case 8:
                    {
                        settings.bool_4 = class2.method_31();
                        continue;
                    }

                    case 9:
                    {
                        settings.bool_3 = class2.method_31();
                        continue;
                    }

                    case 10:
                    {
                        settings.bool_29 = class2.method_31();
                        continue;
                    }

                    case 11:
                    {
                        settings.bool_52 = class2.method_31();
                        continue;
                    }

                    case 12:
                    {
                        settings.bool_53 = class2.method_31();
                        continue;
                    }

                    case 13:
                    {
                        settings.bool_56 = class2.method_31();
                        continue;
                    }

                    case 14:
                    {
                        settings.bool_59 = class2.method_31();
                        continue;
                    }

                    case 15:
                    {
                        settings.string_4 = class2.method_12(BookmarkStart.b("䬲䘴嬶䴸", num), "");
                        continue;
                    }

                    case 0x10:
                    {
                        viewSetup.DocumentViewType = Class330.smethod_6(class2.method_28());
                        continue;
                    }

                    case 0x11:
                    {
                        smethod_1(viewSetup, class2);
                        continue;
                    }

                    case 0x12:
                    {
                        viewSetup.DoNotDisplayPageBoundaries = class2.method_31();
                        continue;
                    }

                    case 0x13:
                    {
                        viewSetup.DisplayBackgroundShape = class2.method_31();
                        continue;
                    }

                    case 20:
                    {
                        settings.bool_6 = class2.method_31();
                        continue;
                    }

                    case 0x15:
                    {
                        settings.bool_7 = class2.method_31();
                        continue;
                    }

                    case 0x16:
                    {
                        settings.bool_9 = class2.method_31();
                        continue;
                    }

                    case 0x17:
                    {
                        settings.bool_10 = class2.method_31();
                        continue;
                    }

                    case 0x18:
                    {
                        settings.bool_11 = class2.method_31();
                        continue;
                    }

                    case 0x19:
                    {
                        settings.bool_12 = class2.method_31();
                        continue;
                    }

                    case 0x1a:
                    {
                        settings.bool_13 = class2.method_31();
                        continue;
                    }

                    case 0x1b:
                    {
                        settings.bool_14 = class2.method_31();
                        continue;
                    }

                    case 0x1c:
                    {
                        settings.bool_58 = class2.method_31();
                        continue;
                    }

                    case 0x1d:
                    {
                        settings.bool_15 = class2.method_31();
                        continue;
                    }

                    case 30:
                    {
                        smethod_3(settings, class2);
                        continue;
                    }

                    case 0x1f:
                    {
                        viewSetup.FormsDesign = class2.method_31();
                        continue;
                    }

                    case 0x20:
                    {
                        settings.string_0 = class2.method_28();
                        continue;
                    }

                    case 0x21:
                    {
                        settings.bool_16 = class2.method_31();
                        continue;
                    }

                    case 0x22:
                    {
                        settings.autoFormatDocumentType_0 = Class330.smethod_10(class2.method_28());
                        continue;
                    }

                    case 0x24:
                    {
                        settings.int_32 = Class114.smethod_8(class2.method_28());
                        continue;
                    }

                    case 0x25:
                    {
                        settings.bool_21 = class2.method_31();
                        continue;
                    }

                    case 0x26:
                    {
                        smethod_4(document, class2);
                        continue;
                    }

                    case 0x27:
                    {
                        settings.float_0 = class2.method_29();
                        continue;
                    }

                    case 40:
                    {
                        settings.bool_27 = class2.method_31();
                        continue;
                    }

                    case 0x29:
                    {
                        settings.int_15 = class2.method_29();
                        continue;
                    }

                    case 0x2a:
                    {
                        settings.int_16 = class2.method_29();
                        continue;
                    }

                    case 0x2b:
                    {
                        settings.bool_28 = class2.method_31();
                        continue;
                    }

                    case 0x2c:
                    {
                        settings.bool_37 = class2.method_31();
                        continue;
                    }

                    case 0x2d:
                    {
                        settings.int_19 = class2.method_29();
                        continue;
                    }

                    case 0x2e:
                    {
                        settings.int_20 = class2.method_29();
                        continue;
                    }

                    case 0x2f:
                    {
                        settings.int_21 = class2.method_29();
                        continue;
                    }

                    case 0x30:
                    {
                        settings.int_22 = class2.method_29();
                        continue;
                    }

                    case 0x31:
                    {
                        settings.bool_40 = !class2.method_31();
                        continue;
                    }

                    case 50:
                    {
                        settings.int_23 = class2.method_29();
                        continue;
                    }

                    case 0x33:
                    {
                        settings.int_24 = class2.method_29();
                        continue;
                    }

                    case 0x34:
                    {
                        settings.bool_41 = class2.method_31();
                        continue;
                    }

                    case 0x35:
                    {
                        settings.bool_42 = class2.method_31();
                        continue;
                    }

                    case 0x36:
                    {
                        settings.characterSpacing_0 = Class330.smethod_2(class2.method_28());
                        continue;
                    }

                    case 0x37:
                    {
                        settings.bool_43 = class2.method_31();
                        continue;
                    }

                    case 0x38:
                    {
                        settings.bool_44 = class2.method_31();
                        continue;
                    }

                    case 0x39:
                    {
                        settings.string_1 = smethod_2(class2, settings);
                        continue;
                    }

                    case 0x3a:
                    {
                        settings.string_2 = smethod_2(class2, settings);
                        continue;
                    }

                    case 0x3b:
                    {
                        smethod_7(A_0, class2.method_1(), document.FootnoteOptions);
                        continue;
                    }

                    case 60:
                    {
                        smethod_7(A_0, class2.method_1(), document.EndnoteOptions);
                        continue;
                    }

                    case 0x3d:
                    {
                        smethod_5(class4, class2);
                        continue;
                    }

                    case 0x3e:
                    {
                        smethod_6(document.Variables, class2);
                        continue;
                    }

                    case 0x3f:
                    {
                        settings.bool_45 = class2.method_31();
                        continue;
                    }

                    case 0x40:
                    {
                        settings.bool_46 = class2.method_31();
                        continue;
                    }

                    case 0x41:
                    {
                        settings.bool_47 = class2.method_31();
                        continue;
                    }

                    case 0x42:
                    {
                        settings.bool_48 = class2.method_31();
                        continue;
                    }

                    case 0x43:
                    {
                        settings.bool_49 = class2.method_31();
                        continue;
                    }

                    case 0x44:
                    {
                        settings.bool_50 = class2.method_31();
                        continue;
                    }

                    case 0x45:
                    {
                        settings.bool_51 = class2.method_31();
                        continue;
                    }

                    case 70:
                    {
                        settings.int_25 = class2.method_29();
                        continue;
                    }

                    case 0x47:
                    {
                        settings.screenSize_1 = Class417.smethod_29(class2.method_28());
                        continue;
                    }
                    }
                }
            }
            class2.vmethod_1();
        }
    }
Ejemplo n.º 16
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;
                    }
                }
            }
        }
    }
Ejemplo n.º 17
0
    internal void method_38(Border A_0, bool A_1)
    {
        int num = 2;

        while (base.method_19())
        {
            string key = base.method_1();
            if (key != null)
            {
                int num3;
                if (Class1160.dictionary_24 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10);
                    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);
                    Class1160.dictionary_24 = dictionary1;
                }
                if (Class1160.dictionary_24.TryGetValue(key, out num3))
                {
                    switch (num3)
                    {
                    case 0:
                    {
                        A_0.BorderType = this.vmethod_3();
                        bool flag1 = base.method_3() == BookmarkStart.b("䘧䔩䈫䬭", num);
                        break;
                    }

                    case 1:
                    {
                        float num4 = this.method_69(8f);
                        if (num4 != float.MaxValue)
                        {
                            A_0.LineWidth = num4;
                        }
                        break;
                    }

                    case 2:
                    {
                        float num2 = this.method_69(1f);
                        if (num2 != float.MaxValue)
                        {
                            A_0.Space = num2;
                        }
                        break;
                    }

                    case 3:
                        A_0.Color = Class114.smethod_13(base.method_3());
                        break;

                    case 4:
                        A_0.Shadow = this.method_63();
                        break;

                    case 6:
                        A_0.ColorShemeName = base.method_3();
                        break;

                    case 7:
                        A_0.ShadeTheme = base.method_3();
                        break;

                    case 9:
                        base.method_4();
                        break;
                    }
                }
            }
        }
    }
Ejemplo n.º 18
0
 internal void method_44(string A_0, byte[] A_1)
 {
     base.method_18(A_0, Class114.smethod_18(A_1));
 }
Ejemplo n.º 19
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;
            }
        }
    }
Ejemplo n.º 20
0
    internal static void smethod_1(Class581 A_0, CharacterFormat A_1)
    {
        int      num    = 1;
        Class394 class2 = A_0.imethod_1();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_126 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x2b);
                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);
                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);
                dictionary1.Add(BookmarkStart.b("伦倨嬪䔬䨮弰", num), 0x24);
                dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬", num), 0x25);
                dictionary1.Add(BookmarkStart.b("䘦娨䈪䰬䄮細刲䰴堶䰸伺", num), 0x26);
                dictionary1.Add(BookmarkStart.b("否夨个丬礮倰崲尴䐶儸", num), 0x27);
                dictionary1.Add(BookmarkStart.b("否倨䘪", num), 40);
                dictionary1.Add(BookmarkStart.b("䘦䜨䔪䈬嬮倰䜲尴堶圸", num), 0x29);
                dictionary1.Add(BookmarkStart.b("䀦嬨䈪䤬簮䄰刲嬴", num), 0x2a);
                Class1160.dictionary_126 = dictionary1;
            }
            if (Class1160.dictionary_126.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                {
                    string str4 = class2.method_28();
                    if (A_0.Interface50.imethod_0().StyleNameIds.ContainsKey(str4))
                    {
                        A_1.CharStyleName = A_0.Interface50.imethod_0().StyleNameIds[str4];
                    }
                    return;
                }

                case 1:
                    smethod_4(A_1, class2);
                    return;

                case 2:
                    if (!A_1.method_72(230))
                    {
                        A_1.SetAttr(230, class2.method_28());
                    }
                    return;

                case 3:
                    A_1.SetAttr(60, class2.method_32());
                    return;

                case 4:
                    A_1.SetAttr(250, class2.method_32());
                    return;

                case 5:
                    A_1.SetAttr(70, class2.method_32());
                    return;

                case 6:
                    A_1.SetAttr(260, class2.method_32());
                    return;

                case 7:
                    A_1.SetAttr(120, class2.method_32());
                    return;

                case 8:
                    A_1.SetAttr(110, class2.method_32());
                    return;

                case 9:
                    A_1.SetAttr(80, class2.method_32());
                    return;

                case 10:
                    A_1.SetAttr(300, class2.method_32());
                    return;

                case 11:
                    A_1.SetAttr(90, class2.method_32());
                    return;

                case 12:
                    A_1.SetAttr(100, class2.method_32());
                    return;

                case 13:
                    A_1.SetAttr(170, class2.method_32());
                    return;

                case 14:
                    A_1.SetAttr(180, class2.method_32());
                    return;

                case 15:
                    A_1.SetAttr(440, class2.method_32());
                    return;

                case 0x10:
                    A_1.SetAttr(130, class2.method_32());
                    return;

                case 0x11:
                    A_1.SetAttr(330, class2.method_32());
                    return;

                case 0x12:
                    A_1.SetAttr(0x84, class2.method_32());
                    return;

                case 0x13:
                {
                    string str3 = class2.method_28();
                    if (str3 != null)
                    {
                        A_1.SetAttr(160, Class114.smethod_13(str3));
                    }
                    return;
                }

                case 20:
                {
                    float num3 = class2.method_29();
                    if (num3 != float.MaxValue)
                    {
                        A_1.SetAttr(150, num3 / 20f);
                    }
                    return;
                }

                case 0x15:
                {
                    string str6 = class2.method_28();
                    if (!string.IsNullOrEmpty(str6))
                    {
                        short num5 = short.Parse(str6.Replace(BookmarkStart.b("Ȧ", num), string.Empty), NumberStyles.Integer, CultureInfo.InvariantCulture);
                        A_1.SetAttr(290, num5);
                    }
                    return;
                }

                case 0x16:
                    A_1.SetAttr(220, float.Parse(class2.method_29().ToString(), NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    return;

                case 0x17:
                    A_1.SetAttr(200, ((float)class2.method_29()) / 2f);
                    return;

                case 0x18:
                {
                    string s = class2.method_28();
                    if (s != null)
                    {
                        A_1.SetAttr(190, float.Parse(s, NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    }
                    return;
                }

                case 0x19:
                {
                    string str5 = class2.method_28();
                    if (str5 != null)
                    {
                        A_1.SetAttr(350, float.Parse(str5, NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    }
                    return;
                }

                case 0x1a:
                {
                    Color color = Class860.smethod_19(class2.method_28());
                    if (color != Color.Empty)
                    {
                        A_1.SetAttr(20, color);
                    }
                    return;
                }

                case 0x1b:
                    smethod_5(A_1, class2);
                    return;

                case 0x1c:
                    A_1.SetAttr(310, Class860.smethod_15(class2.method_28()));
                    return;

                case 0x1d:
                    class2.method_36(A_1.Border);
                    return;

                case 30:
                    A_1.SetAttr(370, class2.method_39());
                    return;

                case 0x1f:
                    class2.vmethod_1();
                    return;

                case 0x20:
                    A_1.SetAttr(210, Class860.smethod_21(class2.method_28()));
                    return;

                case 0x21:
                    A_1.SetAttr(0x109, class2.method_32());
                    return;

                case 0x22:
                    A_1.SetAttr(0x10c, class2.method_32());
                    return;

                case 0x23:
                    A_1.SetAttr(770, Class860.smethod_3(class2.method_28()));
                    return;

                case 0x24:
                    smethod_6(A_1, class2);
                    return;

                case 0x25:
                    smethod_7(A_1, class2);
                    return;

                case 0x26:
                    smethod_3(A_1, class2);
                    return;

                case 0x27:
                    A_1.SetAttr(10, class2.method_32());
                    return;

                case 40:
                    class2.method_26();
                    return;

                case 0x29:
                    Class519.smethod_15(A_1, A_0);
                    return;

                case 0x2a:
                {
                    TableCell parentObject = A_0.method_13().ParentObject as TableCell;
                    if (parentObject != null)
                    {
                        parentObject.CellFormat.GridSpan = (short)class2.method_29();
                    }
                    return;
                }
                }
            }
        }
        if (!smethod_2(A_0, A_1))
        {
            class2.vmethod_1();
        }
    }
Ejemplo n.º 21
0
    internal static Color smethod_0(string A_0)
    {
        int    num3;
        int    num   = 7;
        Match  match = regex_0.Match(A_0);
        string str   = match.Groups[2].Value;
        string str2  = match.Groups[8].Value;
        string str3  = match.Groups[6].Value;
        string str4  = match.Groups[10].Value;
        string str5  = match.Groups[12].Value;

        if (string.IsNullOrEmpty(str))
        {
            if (!string.IsNullOrEmpty(str2))
            {
                if (str2 == BookmarkStart.b("娬䘮弰圲娴䀶", num))
                {
                    return(Color.FromArgb(0xef, 0x11, 0, 0));
                }
                if (str2 == BookmarkStart.b("娬䘮弰圲娴䀶洸帺䔼䬾", num))
                {
                    return(Color.Black);
                }
                if (str2 == BookmarkStart.b("夬䜮堰䀲", num))
                {
                    return(Color.Empty);
                }
                return(Class1086.smethod_0(str2));
            }
            if (!string.IsNullOrEmpty(str3))
            {
                return(Class114.smethod_13(str3));
            }
            if (!string.IsNullOrEmpty(str4))
            {
                return(Class114.smethod_13(str4));
            }
            if (string.IsNullOrEmpty(str5))
            {
                throw new InvalidOperationException(smethod_4(A_0));
            }
            StringBuilder builder = new StringBuilder(6);
            for (int i = 0; i < str5.Length; i++)
            {
                char ch = str5[i];
                builder.Append(ch);
                builder.Append(ch);
            }
            return(Class114.smethod_13(builder.ToString()));
        }
        int    alpha = 0xef;
        string str6  = match.Groups[3].Value;

        if (str6 == null)
        {
            goto Label_01A2;
        }
        if (str6 != BookmarkStart.b("䬬䘮崰弲", num))
        {
            if (str6 != BookmarkStart.b("䄬䘮弰嘲稴䔶缸刺儼匾", num))
            {
                if (!(str6 == BookmarkStart.b("䄬䘮弰嘲", num)))
                {
                    if (!(str6 == BookmarkStart.b("帬䜮倰圲娴䀶", num)))
                    {
                        goto Label_01A2;
                    }
                    num3 = 0xf3;
                }
                else
                {
                    num3 = 0xf2;
                }
            }
            else
            {
                num3 = 0xf1;
            }
        }
        else
        {
            num3 = 240;
        }
        string str7 = match.Groups[4].Value;

        if (str7 != null)
        {
            int num5;
            if (str7 != BookmarkStart.b("䤬丮䌰堲倴夶", num))
            {
                if (!(str7 == BookmarkStart.b("䄬䘮嘰嬲䄴制圸", num)))
                {
                    if (!(str7 == BookmarkStart.b("䰬䬮唰", num)))
                    {
                        goto Label_0196;
                    }
                    num5 = 3;
                }
                else
                {
                    num5 = 2;
                }
            }
            else
            {
                num5 = 1;
            }
            int blue = Class1041.smethod_23(match.Groups[5].Value);
            return(Color.FromArgb(alpha, num3, num5, blue));
        }
Label_0196:
        throw new InvalidOperationException(smethod_4(A_0));
Label_01A2:
        throw new InvalidOperationException(smethod_4(A_0));
    }
Ejemplo n.º 22
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);
            }
        }
    }
Ejemplo n.º 23
0
    private static void smethod_3(RowFormat A_0, Class581 A_1)
    {
        int      num    = 4;
        Class394 class2 = A_1.imethod_1();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_153 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10);
                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);
                Class1160.dictionary_153 = dictionary1;
            }
            if (Class1160.dictionary_153.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    class2.method_46(A_0);
                    return;

                case 1:
                    A_0.HorizontalAlignment = Class859.smethod_0(class2.method_28());
                    return;

                case 2:
                    A_0.SetAttr(0x10c2, class2.method_42());
                    return;

                case 3:
                    A_0.SetAttr(0x10f4, class2.method_42());
                    return;

                case 4:
                    smethod_4(A_0, class2);
                    return;

                case 5:
                    A_0.SetAttr(0x10ea, class2.method_39());
                    return;

                case 6:
                    smethod_5(A_0, class2);
                    return;

                case 7:
                    smethod_6(A_0, class2);
                    return;

                case 8:
                    A_0.SetAttr(0x102c, Class531.smethod_2(Class114.smethod_8(class2.method_28())));
                    return;

                case 9:
                    Class519.smethod_10(A_1, A_0);
                    return;
                }
            }
        }
        class2.vmethod_1();
    }
Ejemplo n.º 24
0
    private static bool smethod_3(CharacterFormat A_0, IRunAttrSource A_1, bool A_2, bool A_3, bool A_4, Interface52 A_5, bool A_6)
    {
        int num = 13;

        if (A_0 == null)
        {
            return(false);
        }
        bool     flag    = A_5.imethod_2();
        int      num2    = 0;
        string   styleId = null;
        string   str2    = null;
        string   str3    = null;
        string   str4    = null;
        string   str5    = null;
        string   str6    = null;
        string   str7    = null;
        string   str8    = null;
        string   str9    = null;
        string   str10   = null;
        object   obj2    = null;
        object   obj3    = null;
        object   obj4    = null;
        object   obj5    = null;
        object   obj6    = null;
        object   obj7    = null;
        object   obj8    = null;
        object   obj9    = null;
        object   obj10   = null;
        object   obj11   = null;
        object   obj12   = null;
        object   obj13   = null;
        object   obj14   = null;
        object   obj15   = null;
        object   obj16   = null;
        object   obj17   = null;
        object   obj18   = null;
        object   obj19   = null;
        object   obj20   = null;
        object   obj21   = null;
        object   obj22   = null;
        object   obj23   = null;
        object   obj24   = null;
        object   obj25   = null;
        object   obj26   = null;
        object   obj27   = null;
        object   obj28   = null;
        string   str11   = null;
        string   str12   = null;
        string   str13   = null;
        Border   border  = null;
        Class16  class2  = null;
        string   str14   = null;
        string   str15   = null;
        string   str16   = null;
        object   obj29   = null;
        object   obj30   = null;
        string   str17   = null;
        string   str18   = null;
        string   str19   = null;
        string   str20   = null;
        string   str21   = null;
        string   str22   = null;
        Class340 class3  = null;
        object   obj31   = null;
        object   obj32   = null;
        object   obj33   = null;
        object   obj34   = null;
        bool     flag2   = false;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num4  = A_0.method_18(i);
            object obj35 = A_0.method_19(i);
            num2++;
            int num5 = num4;
            if (num5 <= 0x109)
            {
                if (num5 <= 150)
                {
                    if (num5 <= 80)
                    {
                        if (num5 <= 0x2d)
                        {
                            switch (num5)
                            {
                            case 10:
                            {
                                obj31 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 12:
                            {
                                if (!A_6 && !(A_1 is Paragraph))
                                {
                                    num2--;
                                }
                                continue;
                            }

                            case 14:
                            {
                                if (!A_6 && !(A_1 is Paragraph))
                                {
                                    num2--;
                                }
                                continue;
                            }

                            case 20:
                            {
                                obj28 = Class860.smethod_20((Color)obj35, flag);
                                continue;
                            }

                            case 0x2d:
                            {
                                num2--;
                                continue;
                            }
                            }
                            goto Label_08AF;
                        }
                        switch (num5)
                        {
                        case 60:
                        {
                            obj2 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 70:
                        {
                            obj4 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 80)
                        {
                            goto Label_08AF;
                        }
                        obj8 = A_0.method_62((short)num4);
                    }
                    else if (num5 <= 110)
                    {
                        switch (num5)
                        {
                        case 90:
                        {
                            obj10 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 100:
                        {
                            obj11 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 110)
                        {
                            goto Label_08AF;
                        }
                        obj7 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        if (num5 <= 0x84)
                        {
                            switch (num5)
                            {
                            case 130:
                            {
                                obj16 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 0x84:
                            {
                                obj17 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 120:
                            {
                                obj6 = A_0.method_62((short)num4);
                                continue;
                            }
                            }
                            goto Label_08AF;
                        }
                        if (num5 == 140)
                        {
                            str11 = Class860.smethod_18((UnderlineStyle)obj35, flag);
                        }
                        else
                        {
                            if (num5 != 150)
                            {
                                goto Label_08AF;
                            }
                            if (((float)obj35) != 0f)
                            {
                                obj22 = (int)(((float)obj35) * 20f);
                            }
                        }
                    }
                }
                else if (num5 <= 210)
                {
                    if (num5 <= 180)
                    {
                        switch (num5)
                        {
                        case 160:
                        {
                            obj18 = obj35;
                            continue;
                        }

                        case 170:
                        {
                            obj12 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 180)
                        {
                            goto Label_08AF;
                        }
                        obj13 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        switch (num5)
                        {
                        case 190:
                        {
                            obj26 = obj35;
                            continue;
                        }

                        case 200:
                        {
                            obj25 = ((float)obj35) * 2f;
                            continue;
                        }
                        }
                        if (num5 != 210)
                        {
                            goto Label_08AF;
                        }
                        str16 = Class860.smethod_22((SubSuperScript)obj35);
                    }
                }
                else if (num5 <= 0xeb)
                {
                    switch (num5)
                    {
                    case 220:
                    {
                        obj24 = ((float)obj35) * 2f;
                        continue;
                    }

                    case 230:
                    {
                        str2 = (string)obj35;
                        continue;
                    }
                    }
                    if (num5 != 0xeb)
                    {
                        goto Label_08AF;
                    }
                    str4 = (string)obj35;
                }
                else if (num5 <= 250)
                {
                    if (num5 != 240)
                    {
                        if (num5 != 250)
                        {
                            goto Label_08AF;
                        }
                        obj3 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        str3 = (string)obj35;
                    }
                }
                else if (num5 != 260)
                {
                    if (num5 != 0x109)
                    {
                        goto Label_08AF;
                    }
                    obj29 = A_0.method_62((short)num4);
                }
                else
                {
                    obj5 = A_0.method_62((short)num4);
                }
                continue;
            }
            if (num5 <= 440)
            {
                if (num5 <= 340)
                {
                    if (num5 <= 300)
                    {
                        switch (num5)
                        {
                        case 0x10c:
                        {
                            obj30 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 270:
                        {
                            str5 = (string)obj35;
                            continue;
                        }

                        case 290:
                        {
                            obj23 = obj35;
                            continue;
                        }

                        case 300:
                        {
                            obj9 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        goto Label_08AF;
                    }
                    switch (num5)
                    {
                    case 310:
                    {
                        str13 = Class860.smethod_16((TextEffect)obj35, flag);
                        continue;
                    }

                    case 330:
                    {
                        obj15 = A_0.method_62((short)num4);
                        continue;
                    }
                    }
                    if (num5 != 340)
                    {
                        goto Label_08AF;
                    }
                    str22 = Class860.smethod_1((short)obj35, flag);
                    if (!Class567.smethod_16(str22))
                    {
                        num2--;
                    }
                }
                else if (num5 <= 370)
                {
                    switch (num5)
                    {
                    case 350:
                    {
                        obj27 = obj35;
                        continue;
                    }

                    case 360:
                    {
                        border = (Border)obj35;
                        continue;
                    }
                    }
                    if (num5 != 370)
                    {
                        goto Label_08AF;
                    }
                    class2 = (Class16)obj35;
                }
                else if (num5 <= 390)
                {
                    if (num5 != 380)
                    {
                        if (num5 != 390)
                        {
                            goto Label_08AF;
                        }
                        str21 = Class860.smethod_1((short)obj35, flag);
                        if (!Class567.smethod_16(str21))
                        {
                            num2--;
                        }
                    }
                    else
                    {
                        str20 = Class860.smethod_1((short)obj35, flag);
                        if (!Class567.smethod_16(str20))
                        {
                            num2--;
                        }
                    }
                }
                else if (num5 != 400)
                {
                    if (num5 != 440)
                    {
                        goto Label_08AF;
                    }
                    obj14 = A_0.method_62((short)num4);
                }
                else
                {
                    str6 = Class860.smethod_10((CharacterCategory)Enum.ToObject(typeof(CharacterCategory), obj35), flag);
                }
                continue;
            }
            if (num5 <= 530)
            {
                if (num5 <= 470)
                {
                    switch (num5)
                    {
                    case 450:
                    {
                        str12 = Class114.smethod_12((Color)obj35);
                        continue;
                    }

                    case 460:
                    {
                        if (flag)
                        {
                            num2--;
                        }
                        else
                        {
                            str19 = Class860.smethod_24((HyphenRule)obj35);
                        }
                        continue;
                    }
                    }
                    if (num5 != 470)
                    {
                        goto Label_08AF;
                    }
                    num2--;
                    continue;
                }
                if (num5 <= 510)
                {
                    if (num5 == 500)
                    {
                        if (flag)
                        {
                            obj19 = obj35;
                        }
                        else
                        {
                            num2--;
                        }
                    }
                    else
                    {
                        if (num5 != 510)
                        {
                            goto Label_08AF;
                        }
                        if (flag)
                        {
                            obj20 = obj35;
                        }
                        else
                        {
                            num2--;
                        }
                    }
                    continue;
                }
                switch (num5)
                {
                case 520:
                {
                    if (!flag)
                    {
                        break;
                    }
                    obj21 = obj35;
                    continue;
                }

                case 0x209:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 0x20a:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 0x20b:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 530:
                {
                    if (flag)
                    {
                        str7 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }

                default:
                    goto Label_08AF;
                }
                num2--;
                continue;
            }
            if (num5 <= 560)
            {
                switch (num5)
                {
                case 540:
                {
                    if (flag)
                    {
                        str8 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }

                case 550:
                {
                    if (flag)
                    {
                        str9 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }
                }
                if (num5 != 560)
                {
                    goto Label_08AF;
                }
                if (flag)
                {
                    str10 = (string)obj35;
                }
                else
                {
                    num2--;
                }
                continue;
            }
            if (num5 <= 770)
            {
                if (num5 != 760)
                {
                    if (num5 != 770)
                    {
                        goto Label_08AF;
                    }
                    str17 = Class860.smethod_4((Emphasis)obj35, flag);
                }
                else
                {
                    flag2 = true;
                }
                continue;
            }
            switch (num5)
            {
            case 780:
            {
                class3 = (Class340)obj35;
                continue;
            }

            case 0x271a:
            {
                continue;
            }
            }
Label_08AF:
            num2--;
        }
        if ((A_0 != null) && !string.IsNullOrEmpty(A_0.CharStyleName))
        {
            Style style = A_0.Document.Styles.DocStyleCollection.FindByName(A_0.CharStyleName);
            if (style != null)
            {
                if (flag)
                {
                    styleId = style.StyleId;
                }
                else
                {
                    styleId = A_5.imethod_4(style.StyleDocId);
                }
                num2++;
            }
            else
            {
                styleId = null;
            }
        }
        else
        {
            styleId = null;
        }
        if ((num2 == 0) && !A_4)
        {
            return(false);
        }
        Class398 class4 = A_5.imethod_1();

        if (A_3)
        {
            class4.method_4(BookmarkStart.b("䐲༴䜶椸䤺", num));
        }
        class4.method_4(BookmarkStart.b("䐲༴䔶椸䤺", num));
        if (!A_6 && (A_1 is Paragraph))
        {
            if (A_0.HasInsertRevision)
            {
                string str23 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString();
                class4.vmethod_12(A_0.InsertRevision, str23, flag);
            }
            if (A_0.HasDeleteRevision)
            {
                string str24 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString();
                class4.vmethod_12(A_0.DeleteRevision, str24, flag);
            }
        }
        class4.method_24(BookmarkStart.b("䐲༴䔶樸伺䐼匾⑀", num), styleId);
        if (flag)
        {
            class4.method_31(BookmarkStart.b("䐲༴堶琸娺䤼圾", num), flag2);
            class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] {
                BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num), str4, BookmarkStart.b("䐲༴弶砸唺丼嘾", num), str3, BookmarkStart.b("䐲༴嘶䨸堺吼嘾ᕀ⭂⁄⩆ⱈ", num), str7, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄ፆⅈ⹊⁌⩎", num), str9, BookmarkStart.b("䐲༴弶砸唺丼嘾ᕀ⭂⁄⩆ⱈ", num), str8, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴吶䨸伺唼娾ⱀ♂", num), str10,
                BookmarkStart.b("䐲༴弶倸唺䤼", num), str6
            });
        }
        else
        {
            class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] { BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str4, BookmarkStart.b("䐲༴弶ᐸ娺匼䰾⡀", num), str3, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴弶倸唺䤼", num), str6 });
        }
        class4.method_22(BookmarkStart.b("䐲༴唶", num), obj2);
        class4.method_22(flag ? BookmarkStart.b("䐲༴唶稸䠺", num) : BookmarkStart.b("䐲༴唶ᐸ堺丼", num), obj3);
        class4.method_22(BookmarkStart.b("䐲༴帶", num), obj4);
        class4.method_22(flag ? BookmarkStart.b("䐲༴帶稸䠺", num) : BookmarkStart.b("䐲༴帶ᐸ堺丼", num), obj5);
        class4.method_22(BookmarkStart.b("䐲༴吶堸䬺丼", num), obj6);
        class4.method_22(BookmarkStart.b("䐲༴䐶吸娺儼匾ɀ≂㕄㑆", num), obj7);
        class4.method_22(BookmarkStart.b("䐲༴䐶䴸䤺吼吾⑀", num), obj8);
        class4.method_22(BookmarkStart.b("䐲༴匶䨸伺似嘾⩀♂", num), obj9);
        class4.method_22(BookmarkStart.b("䐲༴堶䰸伺儼嘾⽀♂", num), obj10);
        class4.method_22(BookmarkStart.b("䐲༴䐶儸娺夼倾㙀", num), obj11);
        class4.method_22(BookmarkStart.b("䐲༴制吸夺刼䰾㉀", num), obj12);
        class4.method_22(BookmarkStart.b("䐲༴帶吸䬺似嘾⽀㝂", num), obj13);
        class4.method_22(BookmarkStart.b("䐲༴夶嘸欺似倾⹀╂", num), obj14);
        class4.method_22(BookmarkStart.b("䐲༴䐶圸娺䴼款⹀т㝄⹆ⵈ", num), obj15);
        class4.method_22(BookmarkStart.b("䐲༴䄶堸唺吼䰾⥀", num), obj16);
        class4.method_22(BookmarkStart.b("䐲༴䀶尸夺甼嘾╀❂⁄⥆", num), obj17);
        if (flag)
        {
            class4.method_33(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), obj18, BookmarkStart.b("䐲༴䌶儸帺值娾ɀⱂ⥄⡆㭈", num), obj19, BookmarkStart.b("䐲༴䌶儸帺值娾ቀ⭂⑄⍆ⱈ", num), obj20, BookmarkStart.b("䐲༴䌶儸帺值娾ᕀ⩂⭄㍆", num), obj21 });
        }
        else
        {
            class4.method_22(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), obj18);
        }
        class4.method_22(BookmarkStart.b("䐲༴䐶䤸娺帼嘾⽀⑂", num), obj22);
        class4.method_22(BookmarkStart.b("䐲༴䀶", num), obj23);
        class4.method_22(BookmarkStart.b("䐲༴尶尸䤺匼", num), obj24);
        class4.method_22(BookmarkStart.b("䐲༴䜶嘸䠺吼䬾⡀ⱂ⭄", num), obj25);
        class4.method_22(BookmarkStart.b("䐲༴䐶䌸", num), class4.method_23(obj26, 2f));
        class4.method_22(flag ? BookmarkStart.b("䐲༴䐶䌸砺丼", num) : BookmarkStart.b("䐲༴䐶䌸ᘺ帼䰾", num), class4.method_23(obj27, 2f));
        class4.method_22(BookmarkStart.b("䐲༴弶倸尺唼匾⡀⑂ⵄ㍆", num), obj28);
        class4.method_33(BookmarkStart.b("䐲༴䈶", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str11, BookmarkStart.b("䐲༴吶嘸场刼䴾", num), str12 });
        class4.method_24(BookmarkStart.b("䐲༴制弸崺堼尾㕀", num), str13);
        class4.method_47(BookmarkStart.b("䐲༴唶崸䤺", num), border, flag);
        class4.vmethod_4(class2);
        class4.method_33(BookmarkStart.b("䐲༴儶倸伺椼娾㥀㝂", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str14, BookmarkStart.b("䐲༴帶崸", num), str15 });
        class4.method_24(BookmarkStart.b("䐲༴䄶尸䤺䤼績ⵀ⩂≄⥆", num), str16);
        class4.method_22(BookmarkStart.b("䐲༴䔶䴸场", num), obj29);
        class4.method_22(BookmarkStart.b("䐲༴吶䨸", num), obj30);
        class4.method_24(BookmarkStart.b("䐲༴制吸", num), str17);
        if (!flag)
        {
            class4.method_33(BookmarkStart.b("䐲༴弶䀸䬺唼娾⽀", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str18, BookmarkStart.b("䐲༴䔶䰸场堼", num), str19 });
        }
        class4.method_33(BookmarkStart.b("䐲༴嬶堸唺娼", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str20, flag ? BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num) : BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str21, BookmarkStart.b("䐲༴唶倸强吼", num), str22 });
        if (class3 != null)
        {
            smethod_4(class4, class3, flag);
        }
        class4.method_22(BookmarkStart.b("䐲༴䐶䤸帺帼椾⁀ⵂⱄ㑆ⅈ", num), obj31);
        if (!flag)
        {
            class4.method_22(BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj32);
            class4.method_33(BookmarkStart.b("䐲䴴ശ䨸䈺值", num), new object[] { BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj33, BookmarkStart.b("䐲䴴ശ娸区尼䴾", num), obj34 });
        }
        return(true);
    }
Ejemplo n.º 25
0
        private void method_8(object _)
        {
            Class110        instance            = Class110.Instance;
            Class114        createdFileArchive  = instance.CreatedFileArchive;
            Class112        applicationSettings = instance.ApplicationSettings;
            List <Class524> list  = new List <Class524>();
            List <string>   list2 = new List <string>();
            List <string>   list3 = new List <string>();

            list2.Add(UninstallationCleanUp.string_6);
            list2.Add(UninstallationCleanUp.string_5);
            list2.Add(UninstallationCleanUp.string_4);
            list2.Add(UninstallationCleanUp.string_3);
            list2.Add(UninstallationCleanUp.string_2);
            list3.Add(UninstallationCleanUp.string_1);
            list3.Add(UninstallationCleanUp.string_0);
            foreach (Class524 @class in createdFileArchive.Files)
            {
                this.method_3(list, @class.string_1);
            }
            foreach (Class524 class2 in createdFileArchive.Files)
            {
                this.method_2(list, Class291.string_4, Path.GetDirectoryName(class2.string_1));
                this.method_2(list, Class291.string_5, Path.GetDirectoryName(class2.string_1));
            }
            createdFileArchive.Files.Clear();
            foreach (Class524 class3 in instance.RaceTrackFileIndex.Files)
            {
                this.method_3(list, class3.string_1);
            }
            instance.RaceTrackFileIndex.Files.Clear();
            foreach (Class524 class4 in instance.JoeFishSettings.JoeFishCaptureSettings.Files)
            {
                this.method_3(list, class4.string_1);
            }
            instance.JoeFishSettings.JoeFishCaptureSettings.Files.Clear();
            foreach (Class524 class5 in instance.GardenerFloraSettings.GardenerFloraCaptureFiles.Files)
            {
                this.method_3(list, class5.string_1);
            }
            instance.GardenerFloraSettings.GardenerFloraCaptureFiles.Files.Clear();
            foreach (Class524 class6 in instance.GardenerFloraSettings.GardenerFloraFiles.Files)
            {
                this.method_3(list, class6.string_1);
            }
            instance.GardenerFloraSettings.GardenerFloraFiles.Files.Clear();
            foreach (Class102 class7 in instance.ConnectSettings.ContentPacks)
            {
                this.method_3(list, class7.FileName);
            }
            instance.ConnectSettings.ContentPacks.Clear();
            if (Class336.smethod_0(Class291.string_2, applicationSettings.ScreenshotSaveDirectory) && Directory.Exists(Class291.string_2))
            {
                MethodInvoker methodInvoker           = null;
                UninstallationCleanUp.Class232 class8 = new UninstallationCleanUp.Class232();
                class8.uninstallationCleanUp_0 = this;
                class8.string_0 = Class234.smethod_1(Class291.string_2, UninstallationCleanUp.string_21, UninstallationCleanUp.string_22);
                if (class8.string_0.Length > 0)
                {
                    if (methodInvoker == null)
                    {
                        methodInvoker = new MethodInvoker(class8.method_0);
                    }
                    this.smethod_6(methodInvoker);
                }
            }
            foreach (string path in list2)
            {
                this.method_3(list, Path.Combine(Class291.string_4, path));
                this.method_3(list, Path.Combine(Class291.string_5, path));
            }
            foreach (string path2 in list3)
            {
                this.method_4(list, Path.Combine(Class291.string_4, path2));
                this.method_4(list, Path.Combine(Class291.string_5, path2));
            }
            if (Directory.Exists(Class291.string_4))
            {
                string[] array = Class234.smethod_1(Class291.string_4, UninstallationCleanUp.string_19, UninstallationCleanUp.string_20);
                foreach (string file in array)
                {
                    this.method_3(list, file);
                }
            }
            if (Directory.Exists(Class291.string_5))
            {
                string[] array3 = Class234.smethod_1(Class291.string_5, UninstallationCleanUp.string_19, UninstallationCleanUp.string_20);
                foreach (string file2 in array3)
                {
                    this.method_3(list, file2);
                }
            }
            this.method_3(list, Class291.string_23);
            this.method_3(list, Class291.string_16);
            this.method_3(list, Class291.string_14);
            this.method_3(list, Class291.string_17);
            this.method_3(list, Class291.string_15);
            this.method_6(list, Path.Combine(Class291.string_4, UninstallationCleanUp.string_18));
            this.method_6(list, Path.Combine(Class291.string_5, UninstallationCleanUp.string_18));
            this.method_4(list, Class291.string_2);
            this.method_4(list, Class291.string_6);
            this.method_4(list, Class291.string_9);
            this.method_4(list, Class291.string_10);
            this.method_4(list, Class291.string_8);
            this.method_4(list, Class291.string_11);
            this.method_4(list, Class291.string_7);
            this.method_4(list, Class291.string_3);
            this.method_4(list, Class291.string_5);
            this.method_4(list, Class291.string_4);
            this.method_4(list, Class291.string_13);
            this.method_4(list, Class291.string_1);
            if (Directory.Exists(Class291.string_0) && !Class234.smethod_2(Class291.string_0))
            {
                this.method_5(list, Class291.string_0);
            }
            if (list.Count > 0)
            {
                string text = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString() + UninstallationCleanUp.string_17);
                bool   flag;
                try
                {
                    using (Stream stream = File.Open(text, FileMode.OpenOrCreate, FileAccess.Write, FileShare.None))
                    {
                        using (StreamWriter streamWriter = new StreamWriter(stream, Encoding.Unicode))
                        {
                            streamWriter.WriteLine(UninstallationCleanUp.string_16);
                            streamWriter.WriteLine(string.Empty);
                            foreach (Class524 class9 in list)
                            {
                                streamWriter.WriteLine(class9.string_1);
                            }
                            streamWriter.WriteLine(string.Empty);
                            streamWriter.WriteLine(UninstallationCleanUp.string_15);
                            streamWriter.WriteLine(UninstallationCleanUp.string_14);
                        }
                    }
                    flag = true;
                }
                catch
                {
                    flag = false;
                }
                if (flag)
                {
                    if (UninstallationCleanUp.func_0 == null)
                    {
                        UninstallationCleanUp.func_0 = new Func <bool>(UninstallationCleanUp.smethod_2);
                    }
                    if (!this.smethod_5(UninstallationCleanUp.func_0))
                    {
                        goto IL_768;
                    }
                    try
                    {
                        ProcessStartInfo processStartInfo = new ProcessStartInfo();
                        processStartInfo.FileName        = text;
                        processStartInfo.UseShellExecute = true;
                        processStartInfo.ErrorDialog     = true;
                        using (Process process = new Process())
                        {
                            process.StartInfo = processStartInfo;
                            process.Start();
                        }
                        goto IL_768;
                    }
                    catch
                    {
                        DialogBox.smethod_3(string.Format(UninstallationCleanUp.string_11, text), UninstallationCleanUp.string_12);
                        goto IL_768;
                    }
                }
                if (UninstallationCleanUp.methodInvoker_0 == null)
                {
                    UninstallationCleanUp.methodInvoker_0 = new MethodInvoker(UninstallationCleanUp.smethod_3);
                }
                this.smethod_6(UninstallationCleanUp.methodInvoker_0);
            }
IL_768:
            this.smethod_4(new MethodInvoker(this.method_9));
        }
Ejemplo n.º 26
0
 static Ac3Class1()
 {
     _double0 = 2.0;
     _double1 = 1.4142135623730951;
     Double2  = 0.70710678118654757;
     Double3  = 0.59460355750136051;
     Double4  = 0.5;
     Int31    = new[]
     {
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         1,
         2,
         3
     };
     Int32 = new[]
     {
         32,
         40,
         48,
         56,
         64,
         80,
         96,
         112,
         128,
         160,
         192,
         224,
         256,
         320,
         384,
         448,
         512,
         576,
         640
     };
     Int33 = new[]
     {
         16,
         16,
         4,
         4,
         4,
         1,
         4,
         1
     };
     Double11 = new[]
     {
         Double2,
         Double3,
         Double4,
         Double3
     };
     Double12 = new[]
     {
         Double2,
         Double4,
         0.0,
         Double4
     };
     Int35 = new[]
     {
         2,
         1,
         2,
         3,
         3,
         4,
         4,
         5,
         1,
         1,
         2
     };
     Int36 = new[]
     {
         31,
         35,
         37,
         39,
         41,
         42,
         43,
         44,
         45,
         45,
         46,
         46,
         47,
         47,
         48,
         48
     };
     Int37 = new[]
     {
         25,
         37,
         61,
         253
     };
     Int38 = new[]
     {
         1344,
         1240,
         1144,
         1040
     };
     Int39 = new[]
     {
         3072,
         1280,
         768,
         256
     };
     Int40 = new[]
     {
         2320,
         2384,
         2448,
         2512,
         2576,
         2704,
         2832,
         5120
     };
     Int42 = new int[50];
     Int41 = Class114.smethod_15();
     Byte9 = Class114.smethod_16();
     Int43 = Class114.smethod_17();
     Int44 = Class114.smethod_18();
 }
Ejemplo n.º 27
0
    private Border method_37(bool A_0, Border A_1)
    {
        int  num   = 4;
        bool flag  = false;
        bool flag2 = false;

        while (base.method_19())
        {
            string key = base.method_1();
            if (key != null)
            {
                int num4;
                if (Class1160.dictionary_23 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10);
                    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);
                    Class1160.dictionary_23 = dictionary1;
                }
                if (Class1160.dictionary_23.TryGetValue(key, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                        A_1.BorderType = this.vmethod_3();
                        flag           = base.method_3() == BookmarkStart.b("䐩䌫䀭唯", num);
                        A_1.IsChanged  = true;
                        break;

                    case 1:
                    {
                        float num3 = this.method_69(8f);
                        if (num3 != float.MaxValue)
                        {
                            A_1.LineWidth = num3;
                            A_1.IsChanged = true;
                        }
                        break;
                    }

                    case 2:
                    {
                        float num5 = this.method_69(1f);
                        if (num5 != float.MaxValue)
                        {
                            A_1.Space     = num5;
                            A_1.IsChanged = true;
                        }
                        break;
                    }

                    case 3:
                        A_1.Color     = Class114.smethod_13(base.method_3());
                        A_1.IsChanged = true;
                        break;

                    case 4:
                        A_1.Shadow = this.method_63();
                        break;

                    case 6:
                        A_1.ColorShemeName = base.method_3();
                        break;

                    case 7:
                        A_1.ShadeTheme = base.method_3();
                        break;

                    case 9:
                    {
                        float num2 = this.method_69(20f);
                        A_1.LineWidth = num2;
                        flag2         = base.method_4() == 0;
                        break;
                    }
                    }
                }
            }
        }
        if ((A_0 && flag) && !flag2)
        {
            return(null);
        }
        return(A_1);
    }
Ejemplo n.º 28
0
    private static void smethod_2(Class582 A_0)
    {
        int            num              = 2;
        Class394       class2           = A_0.imethod_1();
        int            num2             = 0;
        bool           flag             = false;
        int            num3             = 0;
        ListLevelsType hybridMultiLevel = ListLevelsType.HybridMultiLevel;
        int            num4             = 0;
        string         str              = null;
        string         str2             = null;
        string         str3             = string.Empty;
        ListStyle      listStyle        = null;

        while (class2.method_19())
        {
            string str4;
            if (((str4 = class2.method_1()) != null) && (str4 == BookmarkStart.b("䐧䌩弫娭琯圱刳缵尷", num)))
            {
                num2 = class2.method_4();
            }
        }
        int num5 = 0;

        while (class2.method_9(BookmarkStart.b("䐧䌩弫娭琯圱刳", num)))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num6;
                if (Class1160.dictionary_120 == 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_120 = dictionary1;
                }
                if (Class1160.dictionary_120.TryGetValue(key, out num6))
                {
                    switch (num6)
                    {
                    case 0:
                        flag = true;
                        num3 = Class114.smethod_9(class2.method_28());
                        break;

                    case 1:
                        hybridMultiLevel = Class463.smethod_4(class2.method_28());
                        break;

                    case 2:
                        num4 = Class114.smethod_9(class2.method_28());
                        break;

                    case 3:
                        str = class2.method_28();
                        break;

                    case 4:
                        str3 = str2 = class2.method_28();
                        break;

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

                    case 6:
                        goto Label_01A6;
                    }
                }
            }
            continue;
Label_01A6:
            if (listStyle == null)
            {
                listStyle = new ListStyle(A_0.Interface50.imethod_0(), num3, hybridMultiLevel, num4);
            }
            ListLevel level = new ListLevel(listStyle);
            listStyle.Levels.method_5(level);
            int num7 = class2.method_13(BookmarkStart.b("䄧䘩娫䈭", num), 0);
            if ((num7 == -1) && (num5 > 0))
            {
                listStyle.Levels[0].PatternType = ListPatternType.None;
                listStyle.Levels[0].LevelText   = string.Empty;
                listStyle.Levels[0].ParagraphFormat.ClearFormatting();
                A_0.imethod_1().vmethod_1();
            }
            else
            {
                if (num7 == -1)
                {
                    num7 = 0;
                }
                smethod_6(listStyle.Levels[num7], A_0, num5);
            }
            num5++;
        }
        if (listStyle == null)
        {
            listStyle = new ListStyle(A_0.Interface50.imethod_0(), num3, hybridMultiLevel, num4);
            if (!string.IsNullOrEmpty(str))
            {
                listStyle.Name = str;
            }
            if (!string.IsNullOrEmpty(str2))
            {
                listStyle.BaseListStyleName = str2;
            }
            if (!string.IsNullOrEmpty(str3))
            {
                listStyle.StyleLink = str3;
            }
        }
        else
        {
            bool flag2 = smethod_5(listStyle);
            listStyle.Name     = flag2 ? (BookmarkStart.b("樧弩䀫䈭唯䘱儳刵朷", num) + Guid.NewGuid().ToString()) : (BookmarkStart.b("昧弩䄫䰭唯䀱儳刵朷", num) + Guid.NewGuid().ToString());
            listStyle.ListType = flag2 ? ListType.Bulleted : ListType.Numbered;
            if (!string.IsNullOrEmpty(str2))
            {
                listStyle.BaseListStyleName = str2;
            }
            if (!string.IsNullOrEmpty(str3))
            {
                listStyle.StyleLink = str3;
            }
        }
        if (!flag)
        {
            listStyle.method_23(num2);
        }
        if (str2 != null)
        {
            A_0.method_33()[listStyle] = str2;
        }
        A_0.Interface50.imethod_0().ListStyles.Add(listStyle);
        smethod_3(listStyle);
        smethod_4(listStyle);
        A_0.method_19()[num2] = listStyle.Name;
    }
Ejemplo n.º 29
0
    internal Class16 method_39()
    {
        int     num    = 15;
        Class16 class2 = new Class16();

        while (base.method_19())
        {
            string key = base.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_25 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(9);
                    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);
                    Class1160.dictionary_25 = dictionary1;
                }
                if (Class1160.dictionary_25.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        class2.SetAttr(1, Class417.smethod_34(base.method_3()));
                        break;

                    case 1:
                        class2.method_61(Class114.smethod_13(base.method_3()));
                        break;

                    case 2:
                        class2.method_57(Class114.smethod_13(base.method_3()));
                        break;

                    case 3:
                        class2.method_65(base.method_3());
                        break;

                    case 4:
                        class2.method_67(base.method_3());
                        break;

                    case 5:
                        class2.method_69(base.method_3());
                        break;

                    case 6:
                        class2.method_71(base.method_3());
                        break;

                    case 7:
                        class2.method_73(base.method_3());
                        break;

                    case 8:
                        class2.method_75(base.method_3());
                        break;
                    }
                }
            }
        }
        return(class2);
    }
 public override void Visit(Class114 c) { }
 public abstract void Visit(Class114 c);
Ejemplo n.º 32
0
    private static Form4 smethod_1(Class394 A_0, Document A_1)
    {
        int   num  = 2;
        Form4 form = new Form4(A_1, A_0.method_12(BookmarkStart.b("䘧䬩䄫䬭", 2), ""));

        while (A_0.method_9(BookmarkStart.b("丧䔩䈫娭", num)))
        {
            string str;
            string key = A_0.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_202 == 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_202 = dictionary1;
                }
                if (Class1160.dictionary_202.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        form.method_34(A_0.method_28());
                        continue;
                    }

                    case 1:
                    {
                        form.method_36(new byte[10]);
                        Class114.smethod_10(A_0.method_28(), form.method_35(), 0);
                        continue;
                    }

                    case 2:
                    {
                        form.method_38(Class114.smethod_8(A_0.method_28()));
                        continue;
                    }

                    case 3:
                    {
                        form.method_40(Class911.smethod_0(A_0.method_28()));
                        continue;
                    }

                    case 4:
                    {
                        form.method_44(!A_0.method_31());
                        continue;
                    }

                    case 5:
                    {
                        form.method_42(Class417.smethod_6(A_0.method_28()));
                        continue;
                    }

                    case 6:
                        form.method_46(new byte[0x18]);
                        goto Label_02A3;
                    }
                }
            }
            goto Label_02B0;
Label_01A5:
            if ((str = A_0.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)))
                                {
                                    if (str == BookmarkStart.b("䬧天丫̭į", num))
                                    {
                                        Class114.smethod_11(A_0.method_3(), form.method_45(), 20);
                                    }
                                }
                                else
                                {
                                    Class114.smethod_11(A_0.method_3(), form.method_45(), 0x10);
                                }
                            }
                            else
                            {
                                Class114.smethod_11(A_0.method_3(), form.method_45(), 12);
                            }
                        }
                        else
                        {
                            Class114.smethod_11(A_0.method_3(), form.method_45(), 8);
                        }
                    }
                    else
                    {
                        Class114.smethod_11(A_0.method_3(), form.method_45(), 4);
                    }
                }
                else
                {
                    Class114.smethod_11(A_0.method_3(), form.method_45(), 0);
                }
            }
Label_02A3:
            if (A_0.method_19())
            {
                goto Label_01A5;
            }
            continue;
Label_02B0:
            A_0.vmethod_1();
        }
        return(form);
    }