Example #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();
        }
    }
Example #2
0
    private static void smethod_5(Class857 A_0)
    {
        int      num    = 4;
        Class908 class2 = A_0.method_9().Settings.method_5();
        Class396 class3 = A_0.method_11();

        while (class3.method_19())
        {
            string str;
            string str2;
            if ((((str2 = class3.method_1()) != null) && (str2 == BookmarkStart.b("䐩䴫䌭唯", num))) && ((str = class3.method_3()) != null))
            {
                int num2;
                if (Class1160.dictionary_29 == 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_29 = dictionary1;
                }
                if (Class1160.dictionary_29.TryGetValue(str, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        A_0.method_60(class3.method_23());
                        return;

                    case 1:
                        A_0.method_9().Settings.method_2(class3.method_23());
                        return;

                    case 2:
                        class2.method_72(class3.method_23());
                        return;

                    case 3:
                        class2.method_42(!class3.method_23());
                        return;

                    case 4:
                        A_0.method_9().ViewSetup.ZoomType = (ZoomType)class3.method_22();
                        return;

                    case 5:
                        A_0.method_9().ViewSetup.ZoomPercent = class3.method_22();
                        return;

                    case 6:
                        class2.method_94(class3.method_23());
                        return;
                    }
                }
            }
        }
    }