Пример #1
0
    private static void smethod_1(Class857 A_0)
    {
        int      num    = 0x13;
        Class396 class2 = A_0.method_11();
        BuiltinDocumentProperties builtinDocumentProperties = A_0.method_9().BuiltinDocumentProperties;
        bool flag = true;

        while (A_0.method_11().method_9(BookmarkStart.b("吸帺䤼帾", num)))
        {
            string key = A_0.method_11().method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_45 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(15);
                    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);
                    Class1160.dictionary_45 = dictionary1;
                }
                if (Class1160.dictionary_45.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        builtinDocumentProperties.ApplicationName = class2.method_21();
                        continue;
                    }

                    case 1:
                    {
                        smethod_4(A_0);
                        continue;
                    }

                    case 2:
                    {
                        builtinDocumentProperties.Comments = class2.method_21();
                        continue;
                    }

                    case 3:
                    {
                        builtinDocumentProperties.Subject = class2.method_21();
                        continue;
                    }

                    case 4:
                        goto Label_01FC;

                    case 5:
                    {
                        builtinDocumentProperties.Author = class2.method_21();
                        continue;
                    }

                    case 6:
                    {
                        builtinDocumentProperties.LastAuthor = class2.method_21();
                        continue;
                    }

                    case 7:
                    {
                        builtinDocumentProperties.Title = class2.method_21();
                        continue;
                    }

                    case 8:
                    {
                        builtinDocumentProperties.CreateDate = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 9:
                    {
                        builtinDocumentProperties.LastSaveDate = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 10:
                    {
                        builtinDocumentProperties.LastPrinted = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 11:
                    {
                        builtinDocumentProperties.RevisionNumber = class2.method_22().ToString();
                        continue;
                    }

                    case 12:
                    {
                        builtinDocumentProperties.TotalEditingTime = TimeSpan.FromMinutes((double)smethod_2(class2.method_21()));
                        continue;
                    }

                    case 13:
                    {
                        smethod_5(A_0);
                        continue;
                    }

                    case 14:
                    {
                        smethod_3(A_0);
                        continue;
                    }
                    }
                }
            }
            goto Label_02F0;
Label_01FC:
            if (!flag)
            {
                builtinDocumentProperties.Keywords = string.Format(BookmarkStart.b("䈸଺䀼ጾ", num), builtinDocumentProperties.Keywords);
            }
            builtinDocumentProperties.Keywords = string.Format(BookmarkStart.b("䈸଺䀼䐾灀㹂", num), builtinDocumentProperties.Keywords, class2.method_21());
            flag = false;
            continue;
Label_02F0:
            A_0.method_11().vmethod_1();
        }
    }
Пример #2
0
    private static void smethod_3(Class857 A_0)
    {
        int      num    = 3;
        Class396 class2 = A_0.method_11();

        class2.method_18();
        string key  = "";
        string str2 = "";

        while (class2.method_19())
        {
            string str5 = class2.method_1();
            if (str5 != null)
            {
                if (!(str5 == BookmarkStart.b("䜨䨪䀬䨮", num)))
                {
                    if (str5 == BookmarkStart.b("弨䨪䄬娮吰Ḳ䄴丶䤸帺", num))
                    {
                        str2 = class2.method_3();
                    }
                }
                else
                {
                    key = class2.method_3();
                    if (A_0.method_9().CustomDocumentProperties[key] != null)
                    {
                        return;
                    }
                }
            }
        }
        DocumentProperty property = A_0.method_9().CustomDocumentProperties.dictionary_0.ContainsKey(key) ? A_0.method_9().CustomDocumentProperties.dictionary_0[key] : null;
        string           str3     = class2.method_21();
        string           str4     = str2;

        if (str4 != null)
        {
            if (str4 == BookmarkStart.b("䬨䐪䈬䌮吰刲嬴", num))
            {
                Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num));
                Class567.smethod_20(Class1041.smethod_28(str3), BookmarkStart.b("弨䨪䄬娮吰", num));
                property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3);
                return;
            }
            if ((str4 == BookmarkStart.b("䴨䨪夬䨮", num)) || (str4 == BookmarkStart.b("崨䈪䀬䨮", num)))
            {
                Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num));
                Class567.smethod_20(Class1041.smethod_3(str3), BookmarkStart.b("弨䨪䄬娮吰", num));
                property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3);
                return;
            }
            if (str4 == BookmarkStart.b("伨䜪䈬丮䔰", num))
            {
                Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num));
                Class567.smethod_20(Class1041.smethod_12(str3), BookmarkStart.b("弨䨪䄬娮吰", num));
                property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3);
                return;
            }
        }
        Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num));
        Class567.smethod_20(str3, BookmarkStart.b("弨䨪䄬娮吰", num));
        property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3);
    }
Пример #3
0
    internal static void smethod_0(Class582 A_0)
    {
        int num = 14;
        BuiltinDocumentProperties builtinDocumentProperties = A_0.Interface50.imethod_0().BuiltinDocumentProperties;
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("瀳夵嬷伹儻嬽⸿㙁ᑃ㑅❇㩉⥋㱍⑏㭑ㅓ╕", num)))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_1 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x1a);
                    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);
                    Class1160.dictionary_1 = dictionary1;
                }
                if (Class1160.dictionary_1.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        builtinDocumentProperties.Title = class2.method_21();
                        continue;
                    }

                    case 1:
                    {
                        builtinDocumentProperties.Subject = class2.method_21();
                        continue;
                    }

                    case 2:
                    {
                        builtinDocumentProperties.Author = class2.method_21();
                        continue;
                    }

                    case 3:
                    {
                        builtinDocumentProperties.Keywords = class2.method_21();
                        continue;
                    }

                    case 4:
                    {
                        builtinDocumentProperties.Comments = class2.method_21();
                        continue;
                    }

                    case 5:
                    {
                        builtinDocumentProperties.LastAuthor = class2.method_21();
                        continue;
                    }

                    case 6:
                    {
                        builtinDocumentProperties.RevisionNumber = class2.method_22().ToString();
                        continue;
                    }

                    case 7:
                    {
                        builtinDocumentProperties.ApplicationName = class2.method_21();
                        continue;
                    }

                    case 8:
                    case 0x10:
                    case 0x13:
                    case 20:
                    case 0x18:
                    case 0x19:
                    {
                        continue;
                    }

                    case 9:
                    {
                        builtinDocumentProperties.LastPrinted = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 10:
                    {
                        builtinDocumentProperties.CreateDate = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 11:
                    {
                        builtinDocumentProperties.LastSaveDate = Class1041.smethod_3(class2.method_21());
                        continue;
                    }

                    case 12:
                    {
                        builtinDocumentProperties.PageCount = class2.method_22();
                        continue;
                    }

                    case 13:
                    {
                        builtinDocumentProperties.WordCount = class2.method_22();
                        continue;
                    }

                    case 14:
                    {
                        builtinDocumentProperties.CharCount = class2.method_22();
                        continue;
                    }

                    case 15:
                    {
                        builtinDocumentProperties.Category = class2.method_21();
                        continue;
                    }

                    case 0x11:
                    {
                        builtinDocumentProperties.Manager = class2.method_21();
                        continue;
                    }

                    case 0x12:
                    {
                        builtinDocumentProperties.Company = class2.method_21();
                        continue;
                    }

                    case 0x15:
                    {
                        builtinDocumentProperties.BytesCount = class2.method_22();
                        continue;
                    }

                    case 0x16:
                    {
                        builtinDocumentProperties.LinesCount = class2.method_22();
                        continue;
                    }

                    case 0x17:
                    {
                        builtinDocumentProperties.ParagraphCount = class2.method_22();
                        continue;
                    }
                    }
                }
            }
            class2.vmethod_1();
        }
    }
Пример #4
0
    internal static void smethod_1(Class582 A_0)
    {
        int num = 4;
        CustomDocumentProperties customDocumentProperties = A_0.Interface50.imethod_0().CustomDocumentProperties;
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("椩夫崭䐯崱夳爵圷夹䤻匽┿ⱁぃᙅ㩇╉㱋⭍≏♑㵓㍕⭗", num)))
        {
            string name = smethod_2(class2.method_1());
            string str5 = null;
            string str6 = null;
            while (class2.method_19())
            {
                string str3 = class2.method_1();
                if (str3 != null)
                {
                    if (!(str3 == BookmarkStart.b("丩堫", num)))
                    {
                        if (str3 == BookmarkStart.b("䘩䔫䀭嬯", num))
                        {
                            str5 = class2.method_3();
                        }
                    }
                    else
                    {
                        str6 = class2.method_3();
                    }
                }
            }
            string str4 = class2.method_21();
            string str  = str6;
            if (str != null)
            {
                if (str != BookmarkStart.b("天堫尭夯就匳", num))
                {
                    if (str != BookmarkStart.b("䰩䀫䄭儯䘱", num))
                    {
                        if (str != BookmarkStart.b("䠩䌫䄭尯圱唳堵", num))
                        {
                            if ((str == BookmarkStart.b("丩䴫娭唯昱崳嬵崷", num)) || (str == BookmarkStart.b("丩䴫娭唯昱崳嬵崷ᐹ䠻䐽", num)))
                            {
                                customDocumentProperties.Add(name, Class1041.smethod_3(str4));
                            }
                        }
                        else
                        {
                            customDocumentProperties.Add(name, class2.method_70(str4));
                        }
                    }
                    else
                    {
                        double num2 = Class1041.smethod_12(str4);
                        if (((int)num2) == num2)
                        {
                            customDocumentProperties.Add(name, (int)num2);
                        }
                        else
                        {
                            customDocumentProperties.Add(name, num2);
                        }
                    }
                }
                else
                {
                    DocumentProperty property = customDocumentProperties.Add(name, str4);
                    if (Class567.smethod_16(str5))
                    {
                        property.LinkSource = str5;
                    }
                }
            }
        }
    }
Пример #5
0
    internal Class584(Class394 A_0)
    {
        int num2 = 8;

        this.int_0      = -1;
        this.dateTime_0 = DateTime.MinValue;
        this.string_0   = "";
        this.string_1   = "";
        this.string_2   = "";
        this.string_3   = "";
        this.int_1      = -1;
        this.int_2      = -1;
        this.string_4   = "";
        while (A_0.method_19())
        {
            string key = A_0.method_1();
            if (key != null)
            {
                int num;
                if (Class1160.dictionary_113 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(12);
                    dictionary1.Add(BookmarkStart.b("䜭启", num2), 0);
                    dictionary1.Add(BookmarkStart.b("䨭儯䘱儳", num2), 1);
                    dictionary1.Add(BookmarkStart.b("䴭䈯圱唳䈵崷帹崻䨽┿", num2), 2);
                    dictionary1.Add(BookmarkStart.b("䀭儯弱儳", num2), 3);
                    dictionary1.Add(BookmarkStart.b("伭䔯䘱尳夵䨷", num2), 4);
                    dictionary1.Add(BookmarkStart.b("䜭帯嬱䀳張夷嘹伻", num2), 5);
                    dictionary1.Add(BookmarkStart.b("䄭䈯嬱匳張嘷嬹倻", num2), 6);
                    dictionary1.Add(BookmarkStart.b("䴭弯帱爳張䨷䤹䠻", num2), 7);
                    dictionary1.Add(BookmarkStart.b("䴭弯帱ᤳ倵儷䠹伻䨽", num2), 8);
                    dictionary1.Add(BookmarkStart.b("䴭弯帱砳圵䬷丹", num2), 9);
                    dictionary1.Add(BookmarkStart.b("䴭弯帱ᤳ娵夷䤹䠻", num2), 10);
                    dictionary1.Add(BookmarkStart.b("娭䤯䈱儳", num2), 11);
                    Class1160.dictionary_113 = dictionary1;
                }
                if (Class1160.dictionary_113.TryGetValue(key, out num))
                {
                    switch (num)
                    {
                    case 0:
                        this.int_0 = A_0.method_4();
                        break;

                    case 1:
                    case 2:
                        this.dateTime_0 = Class1041.smethod_3(A_0.method_3());
                        break;

                    case 3:
                        this.string_0 = A_0.method_3();
                        break;

                    case 4:
                        this.string_1 = A_0.method_3();
                        break;

                    case 5:
                        this.string_2 = A_0.method_3();
                        break;

                    case 6:
                        this.string_3 = A_0.method_3();
                        break;

                    case 7:
                    case 8:
                        this.int_1 = A_0.method_4();
                        break;

                    case 9:
                    case 10:
                        this.int_2 = A_0.method_4();
                        break;

                    case 11:
                        this.string_4 = A_0.method_3();
                        break;
                    }
                }
            }
        }
    }