示例#1
0
    private static void smethod_1(Class582 A_0)
    {
        int      num          = 5;
        Class547 latentStyles = A_0.Interface50.imethod_0().Styles.LatentStyles;
        Class394 class3       = A_0.imethod_1();

        while (class3.method_19())
        {
            string str2 = class3.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("伪䠬䤮細尲嘴尶尸强渼䬾⁀㝂⁄", num)))
                {
                    if (str2 == BookmarkStart.b("䜪䰬嬮吰崲䄴搶䴸䈺儼娾ɀⱂい⥆㵈", num))
                    {
                        latentStyles.method_13(class3.method_4());
                    }
                }
                else
                {
                    latentStyles.method_3(class3.method_63());
                }
            }
        }
        while (class3.method_9(BookmarkStart.b("䜪䰬嬮吰崲䄴搶䴸䈺儼娾㉀", num)))
        {
            string str;
            if (((str = class3.method_1()) != null) && (str == BookmarkStart.b("䜪帬䬮琰䬲嘴制䤸伺吼倾⽀", num)))
            {
                smethod_2(A_0);
            }
        }
    }
示例#2
0
    private static void smethod_1(Class582 A_0)
    {
        int      num    = 0x12;
        Class394 class2 = A_0.imethod_1();
        int      num2   = class2.method_13(BookmarkStart.b("吷匹伻䨽ဿ⭁❃х㵇♉⁋⭍⑏᭑こ", 0x12), 0);

        while (class2.method_9(BookmarkStart.b("吷匹伻䨽ဿ⭁❃х㵇♉⁋⭍⑏", num)))
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䠷匹弻䨽", num)))
            {
                ShapeObject obj2 = Class964.smethod_4(A_0) as ShapeObject;
                if (obj2 != null)
                {
                    DocPicture imageData = obj2.ImageData;
                    num2.ToString();
                    dictionary_0.Add(num2.ToString(), imageData);
                }
            }
            else
            {
                class2.vmethod_1();
            }
        }
    }
示例#3
0
    private static void smethod_8(Class582 A_0)
    {
        int      num    = 7;
        Class394 class2 = A_0.imethod_1();
        int      num2   = class2.method_13(BookmarkStart.b("䐬䌮地尲", 7), 0);

        while (class2.method_9(BookmarkStart.b("䄬䘮䈰䜲", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䐬䌮䈰䜲", num)))
                {
                    if (str == BookmarkStart.b("䄬央崰簲䌴制䬸䤺吼嬾⑀", num))
                    {
                        smethod_9(A_0, num2);
                    }
                }
                else
                {
                    int key = class2.method_29();
                    if (A_0.method_19().ContainsKey(key))
                    {
                        A_0.method_20().Add(num2.ToString(), A_0.method_19()[key].ToString());
                    }
                }
            }
        }
    }
示例#4
0
    private static Class13 smethod_7(Class582 A_0)
    {
        int      num    = 2;
        Class394 class2 = A_0.imethod_1();
        Class13  class3 = new Class13(A_0.Interface50.imethod_0());

        while (class2.method_19())
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                bool flag1 = str2 == BookmarkStart.b("尧匩尫䬭", num);
            }
        }
        while (class2.method_9(BookmarkStart.b("尧䠩䀫紭䐯䬱堳匵样䠹", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("堧稩師", num))
                {
                    if (str != BookmarkStart.b("娧稩師", num))
                    {
                        if (str != BookmarkStart.b("尧䠩䀫縭䈯", num))
                        {
                            if (!(str == BookmarkStart.b("尧堩簫尭", num)))
                            {
                                if (str == BookmarkStart.b("尧䤩簫尭", num))
                                {
                                    Class419.smethod_0(A_0, class3.Interface8.imethod_1());
                                }
                            }
                            else
                            {
                                Class1131.smethod_0(class3.Interface8.imethod_2(), A_0);
                            }
                        }
                        else
                        {
                            Class829.smethod_0(class3.Interface8.imethod_3(), A_0, true);
                        }
                    }
                    else
                    {
                        Class733.smethod_0(A_0, class3.CharacterFormat);
                    }
                }
                else
                {
                    Class924.smethod_0(A_0, class3.imethod_0(), class3.CharacterFormat);
                }
            }
        }
        return(class3);
    }
示例#5
0
    private static bool smethod_2(Class581 A_0, CharacterFormat A_1)
    {
        Class582 class2 = A_0 as Class582;

        if ((class2 != null) && class2.method_35())
        {
            Class394 class3 = A_0.imethod_1();
            class3.method_1();
            class3.vmethod_1();
            return(true);
        }
        return(false);
    }
示例#6
0
    private static void smethod_4(Class581 A_0)
    {
        string   str;
        int      num    = 7;
        Class582 class2 = A_0 as Class582;

        if ((class2 == null) || !class2.method_35())
        {
            throw new InvalidOperationException(BookmarkStart.b("砬䄮吰䬲䔴制娸伺堼嬾慀㝂⩄ⱆⱈ╊浌⥎㹐⅒畔V㙘⥚㥜቞ⵠ", num));
        }
        if (((str = A_0.imethod_1().method_1()) == null) || ((str != BookmarkStart.b("䈬戮倰䜲崴", num)) && (str != BookmarkStart.b("䈬戮倰䜲崴朶堸䤺尼", num))))
        {
            A_0.imethod_1().vmethod_1();
        }
    }
示例#7
0
 internal static void smethod_11(Class582 A_0)
 {
     foreach (KeyValuePair <ListStyle, string> pair2 in A_0.method_33())
     {
         ListStyle key  = pair2.Key;
         string    str2 = pair2.Value;
         key.ListStyleIstd = A_0.Interface58.imethod_0(str2, 12);
     }
     foreach (KeyValuePair <ListLevel, string> pair in A_0.method_34())
     {
         ListLevel level = pair.Key;
         string    str   = pair.Value;
         level.int_10 = A_0.Interface58.imethod_0(str, 0xfff);
     }
 }
示例#8
0
    private static void smethod_9(Class582 A_0, int A_1)
    {
        int      num      = 12;
        Document document = A_0.Interface50.imethod_0();
        Class394 class2   = A_0.imethod_1();
        Class12  class3   = null;

        if (!A_0.method_21().ContainsKey(A_1))
        {
            class3 = new Class12(document, A_1 + 2)
            {
                Name = BookmarkStart.b("縱刳夵欷丹䔻刽┿ᵁ", num) + Guid.NewGuid()
            };
            A_0.method_21().Add(A_1, class3.Name);
            document.ListOverrides.method_34(class3);
            class3.method_25(A_0.method_20().Count);
        }
        else
        {
            class3 = document.ListOverrides.method_35((string)A_0.method_21()[A_1]);
        }
        int num3 = class2.method_13(BookmarkStart.b("嬱堳䀵吷", num), 0);
        OverrideLevelFormat format = new OverrideLevelFormat(document);

        class3.method_23().method_9(num3, format);
        format.OverrideStartAtValue = false;
        format.OverrideFormatting   = false;
        for (int i = 0; class2.method_9(BookmarkStart.b("帱䈳娵眷䰹夻䰽㈿⭁⁃⍅", num)); i++)
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䄱䀳圵䨷丹猻䠽┿ぁ㙃⽅ⱇ⽉", num)))
                {
                    if (str == BookmarkStart.b("帱䈳娵", num))
                    {
                        format.OverrideFormatting = true;
                        smethod_6(format.OverrideListLevel, A_0, i);
                    }
                }
                else
                {
                    format.OverrideStartAtValue = true;
                    format.StartAt = class2.method_29();
                }
            }
        }
    }
示例#9
0
    private static bool smethod_5(Class581 A_0)
    {
        int      num    = 6;
        Class582 class2 = A_0 as Class582;

        if (class2 == null)
        {
            return(false);
        }
        if (!class2.method_35())
        {
            return(false);
        }
        if (!(A_0.imethod_1().method_1() == BookmarkStart.b("䌫挭儯䘱尳昵夷䠹崻", num)))
        {
            return(A_0.imethod_1().method_1() == BookmarkStart.b("䌫挭儯䘱尳", num));
        }
        return(true);
    }
示例#10
0
    internal static void smethod_0(Class582 A_0)
    {
        int       num       = 9;
        Class115  class2    = new Class115();
        Hashtable hashtable = new Hashtable();
        Dictionary <string, string> dictionary  = new Dictionary <string, string>();
        Dictionary <string, string> dictionary2 = new Dictionary <string, string>();
        Class394 class3 = A_0.imethod_1();

        while (class3.method_9(BookmarkStart.b("尮䔰䨲头制䨸", num)))
        {
            string str = class3.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("央吰䄲䘴帶嘸唺爼夾̀㙂ⱄ⭆㵈Ɋ⍌ᱎ═⩒㥔㉖㝘㩚ぜ㩞በ", num))
                {
                    if (!(str == BookmarkStart.b("䌮倰䜲倴夶䴸栺䤼䘾ⵀ♂㙄", num)))
                    {
                        if (!(str == BookmarkStart.b("尮䔰䨲头制", num)))
                        {
                            goto Label_0086;
                        }
                        smethod_3(A_0, class2, hashtable, dictionary, dictionary2);
                    }
                    else
                    {
                        smethod_1(A_0);
                    }
                }
                continue;
            }
Label_0086:
            class3.vmethod_1();
        }
        class2.method_0(A_0);
        smethod_4(A_0.Interface50.imethod_0(), dictionary);
        smethod_5(A_0.Interface50.imethod_0(), dictionary2);
    }
示例#11
0
    private static void smethod_6(Class582 A_0, Style A_1)
    {
        int      num    = 10;
        Class394 class2 = A_0.imethod_1();
        Class13  class3 = A_1 as Class13;

        if (class3 == null)
        {
            class2.vmethod_1();
        }
        else
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str == BookmarkStart.b("䐯倱堳昵䨷", num))
                {
                    Class829.smethod_0(class3.Interface8.imethod_3(), A_0, true);
                    return;
                }
                if (str == BookmarkStart.b("䐯䀱搳䐵", num))
                {
                    Class1131.smethod_0(class3.Interface8.imethod_2(), A_0);
                    return;
                }
                if (str == BookmarkStart.b("䐯儱搳䐵", num))
                {
                    Class419.smethod_0(A_0, class3.Interface8.imethod_1());
                    return;
                }
                if (str == BookmarkStart.b("䐯倱堳攵䰷䌹倻嬽ဿぁ", num))
                {
                    return;
                }
            }
            class2.vmethod_1();
        }
    }
示例#12
0
    private static void smethod_2(Class582 A_0)
    {
        int      num          = 5;
        Class547 latentStyles = A_0.Interface50.imethod_0().Styles.LatentStyles;
        Class394 class3       = A_0.imethod_1();
        bool     flag         = latentStyles.method_2();
        string   str          = "";
        bool     flag2        = latentStyles.method_4();
        bool     flag3        = latentStyles.method_6();
        int      num2         = latentStyles.method_8();
        bool     flag4        = latentStyles.method_10();

        while (class3.method_19())
        {
            string str2 = class3.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䜪䈬䰮娰嘲儴", num)))
                {
                    if (str2 == BookmarkStart.b("䔪䰬䈮吰", num))
                    {
                        str = class3.method_3();
                    }
                }
                else
                {
                    flag = class3.method_63();
                }
            }
        }
        StyleIdentifier identifier = Class417.smethod_25(str);

        if (identifier != StyleIdentifier.User)
        {
            latentStyles.method_14().method_1(new Class66(identifier, flag, flag2, flag3, num2, flag4));
        }
    }
示例#13
0
    internal static void smethod_0(Class582 A_0)
    {
        int      num    = 0x11;
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("嬶倸䠺䤼䰾", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("嬶倸䠺䤼漾⡀⁂݄㉆╈❊⡌㭎", num))
                {
                    if (!(str == BookmarkStart.b("嬶倸䠺䤼笾⑀╂", num)))
                    {
                        if (!(str == BookmarkStart.b("嬶倸䠺䤼", num)))
                        {
                            goto Label_006A;
                        }
                        smethod_8(A_0);
                    }
                    else
                    {
                        smethod_2(A_0);
                    }
                }
                else
                {
                    smethod_1(A_0);
                }
                continue;
            }
Label_006A:
            class2.vmethod_1();
        }
        dictionary_0.Clear();
    }
示例#14
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();
        }
    }
示例#15
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;
            }
        }
    }
示例#16
0
    internal static void smethod_0(Class582 A_0)
    {
        int      num    = 8;
        Class394 class2 = A_0.imethod_1();
        Document doc    = A_0.Interface50.imethod_0();

        doc.DefCharFormat = new CharacterFormat(doc);
        while (class2.method_9(BookmarkStart.b("䠭弯就䀳䔵", num)))
        {
            string str4;
            string str5 = class2.method_1();
            if (str5 == null)
            {
                goto Label_0172;
            }
            if (str5 == BookmarkStart.b("䨭唯吱唳䌵吷丹稻儽⸿㙁㝃", num))
            {
                goto Label_0165;
            }
            if (!(str5 == BookmarkStart.b("䠭弯就䀳", num)))
            {
                goto Label_0172;
            }
            doc.FontInfoList.method_11(smethod_1(class2, doc));
            continue;
Label_0079:
            if ((str4 = class2.method_1()) != null)
            {
                if (str4 != BookmarkStart.b("伭䌯儱崳張", num))
                {
                    if (str4 != BookmarkStart.b("䠭儯䀱儳圵䬷丹", num))
                    {
                        if (!(str4 == BookmarkStart.b("䘭ᴯ匱娳䔵儷", num)))
                        {
                            if (str4 == BookmarkStart.b("䴭䌯", num))
                            {
                                string str;
                                doc.DefaultFontNameTable.method_7(str = class2.method_3());
                                doc.DefCharFormat.FontNameBidi        = str;
                            }
                        }
                        else
                        {
                            string str3;
                            doc.DefaultFontNameTable.method_5(str3 = class2.method_3());
                            doc.DefCharFormat.FontNameNonFarEast   = str3;
                        }
                    }
                    else
                    {
                        string str6;
                        doc.DefaultFontNameTable.method_3(str6 = class2.method_3());
                        doc.DefCharFormat.FontNameFarEast      = str6;
                    }
                }
                else
                {
                    string str2;
                    doc.DefaultFontNameTable.method_1(str2 = class2.method_3());
                    doc.DefCharFormat.FontNameAscii        = str2;
                }
            }
Label_0165:
            if (class2.method_19())
            {
                goto Label_0079;
            }
            continue;
Label_0172:
            class2.vmethod_1();
        }
    }
示例#17
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);
            }
        }
    }
示例#18
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();
        }
    }
示例#19
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;
                    }
                }
            }
        }
    }
示例#20
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;
    }