Esempio n. 1
0
 internal int method_50(string A_0)
 {
     if (smethod_0(A_0))
     {
         return((int)Class1041.smethod_13(A_0.Substring(0, A_0.Length - 1)));
     }
     return(Class1041.smethod_11(A_0));
 }
Esempio n. 2
0
    internal int method_29()
    {
        string str = this.method_28();

        if (Class567.smethod_16(str))
        {
            return(Class1041.smethod_11(str));
        }
        return(0);
    }
Esempio n. 3
0
    public int method_13(string A_0, int A_1)
    {
        string str = this.method_12(A_0, null);

        if (str == null)
        {
            return(A_1);
        }
        return(Class1041.smethod_11(str));
    }
Esempio n. 4
0
 private static void smethod_6(Class857 A_0, Paragraph A_1)
 {
     Class396 class2 = A_0.method_11();
     class2.method_18();
     string str = class2.method_12(BookmarkStart.b("崱䄳䈵吷匹刻嬽洿⹁⅃ぅⵇ♉", 12), null);
     if (Class567.smethod_16(str))
     {
         A_1.Format.SetAttr(0x500, (byte) (Class1041.smethod_11(str) - 1));
     }
     else
     {
         A_1.Format.SetAttr(0x500, (byte) 9);
     }
 }
Esempio n. 5
0
    private static Column smethod_2(Class857 A_0, Class17 A_1, ArrayList A_2, ref float A_3)
    {
        int      num    = 5;
        Class396 class2 = A_0.method_11();
        Column   column = new Column(A_1.Document);
        float    num2   = 0f;

        while (class2.method_19())
        {
            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)) || (str == BookmarkStart.b("堪崬丮到嘲ᠴ嘶弸伺堼䴾", num)))
                            {
                            }
                        }
                        else
                        {
                            A_3           = (float)Class576.smethod_41(class2.method_3());
                            column.Space += (float)Class576.smethod_41(class2.method_3());
                        }
                    }
                    else
                    {
                        num2 = (float)Class576.smethod_41(class2.method_3());
                        if (A_1.method_122().Count > 0)
                        {
                            Column column1 = A_1.method_122()[A_1.method_122().Count - 1];
                            column1.Space += num2;
                        }
                    }
                }
                else
                {
                    column.Width = Class1041.smethod_11(class2.method_3().Replace(BookmarkStart.b("Ī", num), ""));
                }
            }
        }
        A_2.Add(num2);
        return(column);
    }
Esempio n. 6
0
 private static void smethod_2(Paragraph A_0, Class97 A_1)
 {
     if ((A_0.method_49() != null) && (A_0 == A_0.method_49().Body.Paragraphs[0]))
     {
         if (Class567.smethod_16(A_1.method_43()))
         {
             A_0.method_49().SectPr.SetAttr(0x898, Class1041.smethod_11(A_1.method_43()));
             A_0.method_49().SectPr.SetAttr(0x802, true);
         }
         if ((A_1.method_41() > 0) && (A_0.method_49().SectPr.method_70() != LineNumberingRestartMode.Continuous))
         {
             A_0.method_49().SectPr.SetAttr(0x884, A_1.method_41());
             A_0.method_49().SectPr.SetAttr(0x83e, LineNumberingRestartMode.RestartSection);
             A_0.Format.SetAttr(0x46a, false);
         }
     }
 }
Esempio n. 7
0
    internal static int smethod_17(string A_0)
    {
        int num = 0;

        if (!Class567.smethod_16(A_0))
        {
            return(num);
        }
        string[] strArray = A_0.Split(new char[] { '.' });
        int      num2     = Class1041.smethod_11(strArray[0]);
        int      num3     = 0;

        if (strArray.Length > 1)
        {
            num3 = Class1041.smethod_11(strArray[1]);
        }
        return((num2 << 0x10) | num3);
    }
Esempio n. 8
0
    private static short smethod_2(string A_0)
    {
        int   num   = 0x11;
        Regex regex = new Regex(BookmarkStart.b("椶戸଺ြؾ᱀桂歄᱆祈晊瑌቎筐癒煔", 0x11));

        if (!regex.IsMatch(A_0))
        {
            return(1);
        }
        if (((short)Class1041.smethod_11(A_0.Replace(BookmarkStart.b("ሶ", num), ""))) > 600)
        {
            return(600);
        }
        if (((short)Class1041.smethod_11(A_0.Replace(BookmarkStart.b("ሶ", num), ""))) < 1)
        {
            return(1);
        }
        return((short)Math.Round((double)float.Parse(A_0.Replace(BookmarkStart.b("ሶ", num), ""))));
    }
Esempio n. 9
0
    private static void smethod_4(Class857 A_0, Class101 A_1)
    {
        int       num       = 5;
        Class396  class2    = A_0.method_11();
        int       num2      = Class1041.smethod_11(class2.method_12(BookmarkStart.b("䜪䠬央吰弲", 5), BookmarkStart.b("ᨪ", 5))) - 1;
        ListStyle listStyle = A_1.method_21();
        ListLevel level     = new ListLevel(listStyle);

        listStyle.Levels.method_5(level);
        class2.method_18();
        if (ListLevel.smethod_0(num2))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⍌㩎㱐ㅒご╖", num))
                {
                    if (!(str == BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⽌㩎㵐㽒ご⍖", num)))
                    {
                        if (str == BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⑌≎ぐ㑒ご", num))
                        {
                            smethod_9(A_0, A_1, level);
                        }
                    }
                    else
                    {
                        smethod_8(A_0, A_1, level);
                    }
                }
                else
                {
                    smethod_5(A_0, A_1, level, BookmarkStart.b("䜪䐬尮䔰Ḳ头制伸帺儼ሾ㉀㝂㱄⭆ⱈ晊⍌㩎㱐ㅒご╖", num));
                }
            }
            if (A_1.method_13() != null)
            {
                A_1.method_13().method_37(level.CharacterFormat);
            }
        }
    }
Esempio n. 10
0
    private void method_3(Field A_0, string A_1)
    {
        int      num    = 11;
        Class400 class2 = this.class422_0.method_18();
        string   str    = string.Format(BookmarkStart.b("䨰̲䠴ᨶ䨸吺䠼䴾≀♂", 11), A_1);
        string   str2   = string.Format(BookmarkStart.b("䨰̲䠴ᨶ尸唺䤼䴾㡀湂ㅄ≆⑈㭊⅌⹎═㙒", 11), A_1);

        class2.method_4(str);
        string[] strArray = Class576.smethod_10(string_0, BookmarkStart.b("帰", 11)).Trim(new char[] { '"' }).Split(new char[] { '-' });
        int      num2     = 9;

        if (strArray.Length > 1)
        {
            class2.method_40(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), strArray[1]);
            num2 = Class1041.smethod_11(strArray[1]);
        }
        else
        {
            class2.method_43(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), num2);
        }
        class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄㍆⁈㽊⅌⩎籐❒ご㩖⥘㝚㱜⭞Ѡ", num));
        int num4 = (A_0.Type == FieldType.FieldTOC) ? 0x13 : 10;

        for (int i = 0; i < num2; i++)
        {
            class2.method_4(str2);
            class2.method_43(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), i + 1);
            class2.method_40(BookmarkStart.b("䔰嘲䴴䌶̸䠺䤼䘾ⵀ♂桄⥆⡈♊⡌", num), Class922.smethod_77((Style)this.class422_0.method_15().Styles[num4 + i]));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐げ㵔㙖⥘⽚㡜ⵞ", num));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒ご⽖ⵘ", num));
            class2.method_4(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒㑔㕖瑘⡚⥜ぞᅠ", num));
            class2.method_40(BookmarkStart.b("䈰䜲䰴嬶尸ĺ䤼䘾ㅀ♂", num), BookmarkStart.b("䌰娲刴弶䴸", num));
            class2.method_40(BookmarkStart.b("䈰䜲䰴嬶尸ĺ儼娾⁀❂⁄㕆摈⡊╌⹎⍐", num), BookmarkStart.b("ἰ", num));
            class2.method_6(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒㑔㕖瑘⡚⥜ぞᅠ", num));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐⍒㑔ざ㱘癚㍜⩞ౠŢdᕦ", num));
            class2.method_6(str2);
        }
        class2.method_6(str);
    }
Esempio n. 11
0
    private static void smethod_4(Class857 A_0)
    {
        int      num    = 5;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䐪堬嬮崰娲嬴制ᐸ场堼䤾⑀⽂", num)))
                {
                    if ((((str == BookmarkStart.b("帪帬䨮ᰰ尲䀴䌶唸刺匼娾汀⽂⁄ㅆⱈ❊", num)) || (str == BookmarkStart.b("帪帬䨮ᰰ娲嬴匶尸䌺ြ刾⁀ㅂ⹄㑆", num))) || ((str == BookmarkStart.b("帪帬䨮ᰰ娲嬴匶尸䌺ြ䰾⹀㙂㝄⑆ⱈ晊㹌㭎⡐㽒ご⑖", num)) || (str == BookmarkStart.b("䈪䌬䬮吰䬲ᠴ䐶娸吺䴼娾", num)))) || (str == BookmarkStart.b("太䠬䌮倰䜲尴䄶尸ᘺ䤼帾⍀湂㙄㍆♈㭊恌㽎㹐⁒㱔⍖じ㑚㍜", num)))
                    {
                    }
                }
                else
                {
                    A_0.method_38().method_17(Class1041.smethod_11(class2.method_3()));
                    A_0.method_38().method_9(string.Format(BookmarkStart.b("倪ᴬ刮ᄰ漲娴᜶ᬸ਺ြ䐾灀㹂杄", num), A_0.method_38().method_8(), class2.method_3()));
                }
            }
        }
    }
Esempio n. 12
0
 public int method_4()
 {
     return(Class1041.smethod_11(this.method_3()));
 }
Esempio n. 13
0
 public int method_22()
 {
     return(Class1041.smethod_11(this.method_21()));
 }
Esempio n. 14
0
    private static void smethod_5(Class857 A_0, Class92 A_1, Class17 A_2)
    {
        int      num    = 11;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str2;
            if ((!Class857.smethod_1(class2, A_1.method_8()) && !Class857.smethod_9(class2, A_1.method_6())) && (!Class857.smethod_2(class2, A_1.method_10()) && ((str2 = class2.method_1()) != null)))
            {
                int num2;
                if (Class1160.dictionary_184 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(9);
                    dictionary1.Add(BookmarkStart.b("弰䘲場ᨶ弸吺似刾⁀㝂", num), 0);
                    dictionary1.Add(BookmarkStart.b("䄰刲刴制ᐸ䰺吼嬾㕀⭂", num), 1);
                    dictionary1.Add(BookmarkStart.b("䄰刲刴制ᐸ区堼嘾♀⭂ㅄ", num), 2);
                    dictionary1.Add(BookmarkStart.b("䄰䄲尴夶䴸ᘺ刼䴾⡀♂⭄㍆⡈㽊⑌⁎㽐", num), 3);
                    dictionary1.Add(BookmarkStart.b("䘰䄲尴䌶倸唺娼ሾⱀⱂ⅄≆", num), 4);
                    dictionary1.Add(BookmarkStart.b("䈰嬲吴匶嘸䰺", num), 5);
                    dictionary1.Add(BookmarkStart.b("匰刲嘴尶常䤺刼䨾⽀❂桄⑆♈❊≌㵎", num), 6);
                    dictionary1.Add(BookmarkStart.b("崰刲䰴堶䰸伺ြ堾㍀⩂⅄橆⑈⑊⥌⩎", num), 7);
                    dictionary1.Add(BookmarkStart.b("崰刲䰴堶䰸伺ြ堾㍀⩂⅄橆╈≊⍌⩎≐", num), 8);
                    Class1160.dictionary_184 = dictionary1;
                }
                if (Class1160.dictionary_184.TryGetValue(str2, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        if (class2.method_3() != BookmarkStart.b("0", num))
                        {
                            A_2.method_53(Class922.smethod_58(class2.method_3()));
                        }
                        break;

                    case 1:
                        A_2.method_156(0x8d4, (float)Class576.smethod_36(class2.method_3()));
                        break;

                    case 2:
                        A_2.method_156(0x8de, (float)Class576.smethod_36(class2.method_3()));
                        break;

                    case 3:
                        A_2.method_156(0x8a2, Class922.smethod_86(class2.method_3()));
                        break;

                    case 4:
                        smethod_6(A_2, class2.method_3());
                        break;

                    case 5:
                        A_1.method_17(Class576.smethod_90(class2.method_3()));
                        break;

                    case 6:
                        A_0.method_9().Background.Color = Class576.smethod_76(class2.method_3());
                        break;

                    case 7:
                    {
                        string str = class2.method_3();
                        if (str != null)
                        {
                            if (str == BookmarkStart.b("崰娲嬴制", num))
                            {
                                goto Label_026C;
                            }
                            if (str == BookmarkStart.b("匰尲䄴弶", num))
                            {
                                A_2.method_156(0x97e, GridPitchType.CharsAndLine);
                            }
                        }
                        break;
                    }

                    case 8:
                        A_2.method_156(0xa50, int.Parse(class2.method_3()));
                        break;
                    }
                }
            }
            continue;
Label_026C:
            A_2.method_156(0x97e, GridPitchType.LinesOnly);
        }
        Class1138 class3 = A_0.method_52();

        if ((class3 != null) && (class3.method_0() == BookmarkStart.b("䔰䄲䀴制", num)))
        {
            A_2.SetAttr(0x848, 1);
            if (Class567.smethod_16(class3.method_4()))
            {
                A_2.SetAttr(0x848, Class1041.smethod_11(class3.method_4()));
            }
            if (Class567.smethod_16(class3.method_8()))
            {
                A_2.SetAttr(0x960, Class576.smethod_36(class3.method_8()));
            }
            if (class3.method_14() == BookmarkStart.b("䔰䄲䀴制", num))
            {
                A_2.SetAttr(0x83e, LineNumberingRestartMode.RestartPage);
            }
        }
    }