Exemplo n.º 1
0
    internal static void smethod_4(Class43 A_0, string A_1)
    {
        int num = 6;

        if (Class567.smethod_16(A_1))
        {
            string[] strArray = A_1.Replace(BookmarkStart.b("ఫ", num), "").Replace(BookmarkStart.b("伫䌭", num), BookmarkStart.b("伫䌭䰯", num)).Replace(BookmarkStart.b("䄫䌭", num), BookmarkStart.b("䄫䌭䰯", num)).Replace(BookmarkStart.b("䔫䀭", num), BookmarkStart.b("䔫䀭䰯", num)).Replace(BookmarkStart.b("尫娭", num), BookmarkStart.b("尫娭䰯", num)).Replace(BookmarkStart.b("尫䴭", num), BookmarkStart.b("尫䴭䰯", num)).Replace(BookmarkStart.b("尫嘭", num), BookmarkStart.b("尫嘭䰯", num)).Split(char_0);
            double   num2     = (A_0.method_31(0x1021) == null) ? 0.0 : ((double)A_0.method_31(0x1021));
            double   num4     = (A_0.method_31(0x1022) == null) ? 0.0 : ((double)A_0.method_31(0x1022));
            double   num5     = (A_0.method_31(4) == null) ? 0.0 : Class969.smethod_68((int)A_0.method_31(4));
            for (int i = 0; i < strArray.Length; i++)
            {
                string str = strArray[i];
                if (Class567.smethod_16(str))
                {
                    if (str == BookmarkStart.b("堫尭儯就䜳娵夷丹夻", num))
                    {
                        num2 += Class576.smethod_41(strArray[++i]);
                        num4 += Class576.smethod_41(strArray[++i]);
                    }
                    else if (str == BookmarkStart.b("師䄭䐯匱䀳匵", num))
                    {
                        num5 += -(180.0 * Class1041.smethod_12(strArray[++i])) / 3.1415926535897931;
                    }
                }
            }
            A_0.SetAttr(0x1021, num2);
            A_0.SetAttr(0x1022, num4);
            A_0.SetAttr(4, Class969.smethod_71(num5));
        }
    }
Exemplo n.º 2
0
    internal static void smethod_0(Class857 A_0, Class107 A_1, bool A_2)
    {
        int      num    = 1;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!Class857.smethod_9(class2, A_1.method_6()) && ((str = class2.method_1()) != null))
            {
                if (str != BookmarkStart.b("伦䰨䈪䨬䜮䔰", num))
                {
                    if (!(str == BookmarkStart.b("䨦䀨䔪,䜮吰娲刴弶䴸", num)))
                    {
                        if (((str == BookmarkStart.b("䌦倨䔪䰬䈮堰倲ᠴ䐶䤸娺帼嘾⽀⑂", num)) || (str == BookmarkStart.b("否䄨䨪䤬䀮䘰", num))) || (str == BookmarkStart.b("䔦䠨䠪䘬䠮䌰尲䀴夶崸ᘺ帼倾ⵀⱂ㝄", num)))
                        {
                        }
                    }
                    else
                    {
                        A_1.method_9((float)Class576.smethod_41(class2.method_3()));
                    }
                }
                else
                {
                    A_1.method_11((float)Class576.smethod_41(class2.method_3()));
                }
            }
        }
    }
Exemplo n.º 3
0
    internal static void smethod_0(Class857 A_0, Class106 A_1)
    {
        int      num    = 9;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!Class857.smethod_9(class2, A_1.method_18()) && ((str = class2.method_1()) != null))
            {
                if (str != BookmarkStart.b("丮崰娲刴夶", num))
                {
                    if (!(str == BookmarkStart.b("堮堰圲䄴弶", num)))
                    {
                        if (str == BookmarkStart.b("堮䌰娲䄴帶圸尺ြ刾⹀❂⁄", num))
                        {
                            A_1.method_13(class2.method_3());
                        }
                    }
                    else
                    {
                        A_1.method_17(Class576.smethod_36(class2.method_3()));
                    }
                }
                else
                {
                    A_1.method_15(Class922.smethod_49(class2.method_3()));
                }
            }
        }
    }
Exemplo n.º 4
0
    private string method_10()
    {
        float num;

        switch (((TableAlignment)this.method_13().method_8().TableFormat.method_32(0xfaa)))
        {
        case TableAlignment.Center:
            return(Class576.smethod_35((Class969.smethod_31(this.method_11()) - this.method_13().method_10()) / 2));

        case TableAlignment.Right:
            return(Class576.smethod_35(Class969.smethod_31(this.method_11()) - this.method_13().method_10()));

        default:
        {
            Table table = this.method_13().method_8();
            num = 2.147484E+09f;
            int num2 = 0;
            for (TableRow row = table.Rows[0]; row != null; row = table.Rows[num2++])
            {
                if (num2 >= table.Rows.Count)
                {
                    break;
                }
                num = Math.Min(row.RowFormat.LeftIndent, num);
            }
            break;
        }
        }
        return(Class576.smethod_42((double)num));
    }
Exemplo n.º 5
0
 private static bool smethod_3(string A_0, Color A_1)
 {
     string[] strArray = A_0.Split(new char[] { ' ' });
     if (strArray.Length < 2)
     {
         return(false);
     }
     if (!Class576.smethod_38(strArray[0]) || !Class576.smethod_38(strArray[1]))
     {
         return(false);
     }
     if (strArray.Length == 3)
     {
         A_1 = Class576.smethod_76(strArray[2]);
     }
     else if (strArray.Length >= 4)
     {
         A_1 = Class576.smethod_76(strArray[3]);
         if (A_1 == Color.Empty)
         {
             A_1 = Class576.smethod_76(strArray[2]);
         }
     }
     if (A_1 == Color.Empty)
     {
         A_1 = Color.Black;
     }
     return(true);
 }
Exemplo n.º 6
0
    internal static Class472 smethod_0(Class472 A_0, string A_1)
    {
        int num = 9;

        if (A_0 == null)
        {
            A_0 = new Class472();
        }
        if (A_1 == BookmarkStart.b("䄮帰崲倴", num))
        {
            A_0.method_3(BorderStyle.None);
            return(A_0);
        }
        string[] strArray = A_1.Split(new char[] { ' ' });
        for (int i = 0; i < strArray.Length; i++)
        {
            string str = strArray[i].Trim();
            if (!str.StartsWith(BookmarkStart.b("మ", num)) && (str != BookmarkStart.b("嬮䌰刲嬴䐶䤸娺似娾⽀㝂", num)))
            {
                if (Class576.smethod_38(str))
                {
                    A_0.method_1(Class576.smethod_41(str));
                }
                else if (A_0.method_2() == BorderStyle.None)
                {
                    A_0.method_3(Class922.smethod_35(str));
                }
            }
            else
            {
                A_0.method_5(Class576.smethod_76(str));
            }
        }
        return(A_0);
    }
Exemplo n.º 7
0
    internal static void smethod_1(Class857 A_0, DocumentObject A_1, Class106 A_2)
    {
        int num = 14;

        A_0.method_17(null);
        smethod_5(A_0);
        A_0.method_11().method_8().MoveToElement();
        Class108 class2 = Class574.smethod_10(A_0);

        if (!Class576.smethod_1(A_0.method_11()))
        {
            A_1 = Class574.smethod_4(A_0, class2, A_1);
        }
        Class106 class3 = (Class106)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䀳圵娷嘹夻", num), A_0.method_20(), true);

        if (class3 == null)
        {
            class3 = A_2;
        }
        if (class3 == null)
        {
            class3 = new Class106();
        }
        Class975 class4 = new Class975();

        smethod_6(A_0, class3, class4);
        class4.method_4();
        Table table = smethod_3(A_0, class3, class4);

        if (A_1.LastChild is Table)
        {
            A_1.method_13(smethod_2(A_0.method_9()));
        }
        A_1.method_13(table);
    }
Exemplo n.º 8
0
    private static double smethod_1(Class857 A_0, ShapeObject A_1)
    {
        int      num    = 0x12;
        Class396 class2 = A_0.method_11();
        double   naN    = double.NaN;

        while (class2.method_19())
        {
            string str;
            if ((((str = class2.method_1()) != null) && (str != BookmarkStart.b("嬷刹崻圽⸿潁⩃⍅ぇ㹉態⁍ㅏ㽑ㅓ", num))) && (str != BookmarkStart.b("嬷唹主倽┿ぁ楃㑅⥇⹉╋㭍⍏", num)))
            {
                if (!(str == BookmarkStart.b("唷匹刻ጽ⠿❁ⵃⅅ⁇㹉", num)))
                {
                    if (((str == BookmarkStart.b("唷匹刻ጽ㜿⭁⁃㉅⁇", num)) || (str == BookmarkStart.b("唷嬹䐻ጽ⠿❁ⵃⅅ⁇㹉", num))) || (str == BookmarkStart.b("唷嬹䐻ጽ㜿⭁⁃㉅⁇", num)))
                    {
                    }
                }
                else
                {
                    naN = Class576.smethod_41(class2.method_3());
                }
            }
        }
        return(naN);
    }
Exemplo n.º 9
0
    private static void smethod_3(Class857 A_0, ListLevel A_1)
    {
        int      num    = 15;
        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)))
                    {
                        if (str == BookmarkStart.b("場嘶䬸尺吼儾汀⽂⁄ⅆ㵈", num))
                        {
                            A_1.ParagraphFormat.LeftIndent = Class576.smethod_36(class2.method_3());
                        }
                    }
                    else
                    {
                        A_1.ParagraphFormat.FirstLineIndent = Class576.smethod_36(class2.method_3());
                    }
                }
                else
                {
                    A_1.TabSpaceAfter = (float)Class576.smethod_41(class2.method_3());
                }
            }
        }
    }
Exemplo n.º 10
0
    private void method_3(TableCell A_0, CellFormat A_1)
    {
        RowFormat rowFormat = A_0.OwnerRow.RowFormat;
        float     num       = A_1.HasKey(0xbfe) ? A_1.Paddings.Top : rowFormat.Paddings.Top;
        float     num4      = A_1.HasKey(0xc08) ? A_1.Paddings.Bottom : rowFormat.Paddings.Bottom;
        float     num2      = A_1.HasKey(0xc12) ? A_1.Paddings.Left : rowFormat.Paddings.Left;
        float     num3      = A_1.HasKey(0xc1c) ? A_1.Paddings.Right : rowFormat.Paddings.Right;

        if (A_1.CellWidth <= (num2 + num3))
        {
            num3 = 0f;
            num2 = 0f;
        }
        if (num != 0f)
        {
            this.class86_0.class1048_0.class411_0.string_2 = Class576.smethod_42((double)num);
        }
        if (num4 != 0f)
        {
            this.class86_0.class1048_0.class411_1.string_2 = Class576.smethod_42((double)num4);
        }
        if (num2 != 0f)
        {
            this.class86_0.class1048_0.class411_2.string_2 = Class576.smethod_42((double)num2);
        }
        if (num3 != 0f)
        {
            this.class86_0.class1048_0.class411_3.string_2 = Class576.smethod_42((double)num3);
        }
    }
Exemplo n.º 11
0
    internal VisitorAction method_0(Table A_0)
    {
        int num = 6;

        if (this.class422_0.method_23() != OpenDocumentWritingStage.MathML)
        {
            Class400 class2 = this.class422_0.method_18();
            if (!A_0.HasChildElements)
            {
                this.class422_0.method_11(A_0, null);
                return(VisitorAction.SkipThisElement);
            }
            this.stack_1.Push(new Class981(A_0, true, false, false));
            if (this.method_12(A_0))
            {
                return(VisitorAction.Continue);
            }
            this.method_13().method_0();
            int[]  numArray = this.method_13().method_6();
            string str      = Class576.smethod_42((double)(((float)this.method_13().method_8().PreferredWidth.Value) / 20f));
            if (this.class422_0.method_21())
            {
                this.class974_0.method_12(this.method_6(), BookmarkStart.b("堫伭刯帱儳", num));
                this.class974_0.method_7(false, true);
                class2.method_4(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num));
                class2.method_40(BookmarkStart.b("堫伭刯帱儳వ夷嘹唻夽⸿", num), Class922.smethod_50((TableAlignment)A_0.TableFormat.method_32(0xfaa)));
                class2.method_40(BookmarkStart.b("弫娭䤯帱儳వ伷匹堻䨽⠿", num), str);
                class2.method_40(BookmarkStart.b("䨫䄭ਯ弱唳䐵強匹刻ጽⰿ❁≃㉅", num), this.method_10());
                object obj2 = A_0.FirstRow.RowFormat.method_31(0x111c);
                if (obj2 != null)
                {
                    class2.method_40(BookmarkStart.b("弫娭䤯帱儳వ伷䠹唻䨽⤿ⱁ⍃歅╇╉⡋⭍", num), ((bool)obj2) ? BookmarkStart.b("師䈭ᴯ䘱嘳", num) : BookmarkStart.b("䀫尭ᴯ䘱嘳", num));
                }
                class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num));
                class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䬷丹䔻刽┿", num));
                for (int i = 0; i < numArray.Length; i++)
                {
                    this.class974_0.method_12(this.method_7(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷唹倻䬽ⴿⱁ", num));
                    class2.method_33(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁❃⥅⑇㽉⅋⁍絏≑♓㥕⡗㽙⹛⩝य़ݡᝣ", num), new object[] { BookmarkStart.b("弫娭䤯帱儳వ嬷唹倻䬽ⴿⱁ楃ㅅⅇ⹉㡋♍", num), Class576.smethod_42((double)(((float)numArray[i]) / 20f)) });
                    class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䬷丹䔻刽┿", num));
                }
            }
            if (this.class422_0.method_22())
            {
                if (A_0.FirstNonMarkupDescendant.DocumentObjectType == DocumentObjectType.TableCell)
                {
                    this.stack_0.Push(this.int_0);
                }
                class2.method_4(BookmarkStart.b("堫伭刯帱儳వ䰷嬹帻刽┿", num));
                class2.method_40(BookmarkStart.b("堫伭刯帱儳వ䬷丹䔻刽┿潁⩃❅╇⽉", num), this.method_6());
                for (int j = 0; j < numArray.Length; j++)
                {
                    class2.method_33(BookmarkStart.b("堫伭刯帱儳వ䰷嬹帻刽┿潁❃⥅⑇㽉⅋⁍", num), new object[] { BookmarkStart.b("堫伭刯帱儳వ䬷丹䔻刽┿潁⩃❅╇⽉", num), this.method_7() });
                }
            }
        }
        return(VisitorAction.Continue);
    }
Exemplo n.º 12
0
 internal bool method_4(Class396 A_0)
 {
     if (A_0.method_1() == BookmarkStart.b("天堫圭尯圱ᤳ堵夷圹夻", 4))
     {
         this.method_17(Class576.smethod_87(A_0.method_3()));
         return(true);
     }
     return(false);
 }
Exemplo n.º 13
0
    internal static void smethod_1(Class857 A_0, ShapeObject A_1, string A_2)
    {
        int      num    = 3;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䄨太䠬䤮", num)))
                {
                    if (str2 == BookmarkStart.b("䨨䜪䰬尮䈰Ḳ尴匶", num))
                    {
                        class2.method_3();
                    }
                }
                else
                {
                    string str = class2.method_3();
                    if ((!str.StartsWith(BookmarkStart.b("䄨弪夬弮ର", num)) && !str.StartsWith(BookmarkStart.b("䄨弪夬弮䈰ल", num))) && !str.StartsWith(BookmarkStart.b("伨䈪䄬䨮ର", num)))
                    {
                        if ((A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲ᠴ堶唸帺", num)) || (A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲", num)))
                        {
                            byte[] buffer2 = smethod_3(A_0);
                            if (buffer2 != null)
                            {
                                MemoryStream stream = new MemoryStream(buffer2);
                                new Class1132(stream);
                            }
                            else
                            {
                                A_1.ImageData.SourceFullName = Class576.smethod_91(str);
                            }
                        }
                        if (A_2.EndsWith(BookmarkStart.b("䀨䘪䰬䠮吰", num)))
                        {
                            byte[] imageBytes = smethod_3(A_0);
                            if (imageBytes != null)
                            {
                                A_1.ImageData.LoadImage(imageBytes);
                            }
                        }
                        continue;
                    }
                    if ((A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲ᠴ堶唸帺", num)) || (A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲", num)))
                    {
                        A_1.OleFormat.SourceFullName = Class576.smethod_91(str);
                    }
                    if (A_2.EndsWith(BookmarkStart.b("䀨䘪䰬䠮吰", num)))
                    {
                        A_1.ImageData.SourceFullName = Class576.smethod_91(str);
                    }
                }
            }
        }
    }
Exemplo n.º 14
0
    private static Class977 smethod_1(Class857 A_0)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();
        Class977 class3 = A_0.method_15().method_1(class2.method_12(BookmarkStart.b("䤩䌫䀭䐯䀱嬳娵", 4), ""));

        if (class3 == null)
        {
            return(null);
        }
        class2.method_18();
        while (class2.method_19())
        {
            string str;
            if (!A_0.method_4(class2) && ((str = class2.method_1()) != null))
            {
                int num2;
                if (Class1160.dictionary_232 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x11);
                    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);
                    Class1160.dictionary_232 = dictionary1;
                }
                if (Class1160.dictionary_232.TryGetValue(str, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        class3.method_3(Class576.smethod_41(class2.method_3()));
                        break;

                    case 1:
                        class3.method_5(Class576.smethod_41(class2.method_3()));
                        break;
                    }
                }
            }
        }
        return(class3);
    }
Exemplo n.º 15
0
    private static void smethod_1(Class43 A_0, string A_1, Class111 A_2)
    {
        int num = 15;

        if (A_1 != null)
        {
            if (A_1 == BookmarkStart.b("嬴堶圸帺", num))
            {
                A_0.SetAttr(0x1bb, false);
            }
            else
            {
                A_0.SetAttr(0x1bb, true);
                A_0.SetAttr(0x180, Class922.smethod_19(A_1, A_2));
                if ((A_1 == BookmarkStart.b("刴䔶堸强吼娾⽀㝂", num)) && (A_2 != null))
                {
                    if (Class567.smethod_16(A_2.method_14()))
                    {
                        A_0.SetAttr(0x181, Class576.smethod_76(A_2.method_14()));
                    }
                    if (Class567.smethod_16(A_2.method_16()))
                    {
                        A_0.SetAttr(0x183, Class576.smethod_76(A_2.method_16()));
                    }
                    if (Class567.smethod_16(A_2.method_18()))
                    {
                        A_0.SetAttr(0x182, Class576.smethod_78(A_2.method_18()));
                    }
                    if (Class567.smethod_16(A_2.method_20()))
                    {
                        A_0.SetAttr(0x184, Class576.smethod_78(A_2.method_20()));
                    }
                    if (Class567.smethod_16(A_2.method_6()))
                    {
                        A_0.SetAttr(0x18d, Class576.smethod_28(A_2.method_6()));
                    }
                    if (Class567.smethod_16(A_2.method_8()))
                    {
                        A_0.SetAttr(0x18e, Class576.smethod_28(A_2.method_8()));
                    }
                    if (Class567.smethod_16(A_2.method_10()))
                    {
                        A_0.SetAttr(0x18b, Class576.smethod_7(A_2.method_10()) / 10);
                    }
                    if (A_2.method_4() == BookmarkStart.b("吴伶倸娺儼", num))
                    {
                        A_0.SetAttr(0x18c, -1);
                    }
                    if (A_2.method_4() == BookmarkStart.b("头帶圸帺尼䴾", num))
                    {
                        A_0.SetAttr(0x18c, 100);
                    }
                }
            }
        }
    }
Exemplo n.º 16
0
    private static Class623 smethod_0(string A_0)
    {
        int num = Class576.smethod_2(Class1041.smethod_18(A_0));

        if (num != -2147483648)
        {
            return(new Class623(num, false));
        }
        return(new Class623());
    }
Exemplo n.º 17
0
    private void method_23(string A_0)
    {
        Class400 class2 = this.class422_0.method_18();

        this.class691_0.method_1();
        class2.method_66(A_0);
        class2.method_69(BookmarkStart.b("䄱䀳伵吷弹ػ倽㔿⽁楃⁅❇㡉⅋⽍⑏", 12), Class576.smethod_15(string_0));
        class2.method_67(A_0);
        this.class691_0.method_2();
    }
Exemplo n.º 18
0
 internal static void smethod_12(Class857 A_0, string A_1, bool A_2, bool A_3, Class43 A_4)
 {
     bool_9   = false;
     bool_10  = false;
     double_2 = 1.0;
     if (Class567.smethod_16(A_1))
     {
         string[] strArray = A_1.Trim().Split(new char[] { ' ' });
         int[]    numArray = new int[4];
         for (int i = 0; i < strArray.Length; i++)
         {
             if (i >= 4)
             {
                 break;
             }
             int num6 = Class1041.smethod_18(strArray[i]);
             if (num6 == -2147483648)
             {
                 return;
             }
             numArray[i] = num6;
         }
         int num4 = numArray[2] - numArray[0];
         int num5 = numArray[3] - numArray[1];
         int_2 = numArray[2];
         int_3 = numArray[3];
         if (num5 > 0)
         {
             double num  = ((double)num4) / ((double)num5);
             double num2 = A_0.method_47() / A_0.method_46();
             if (A_2 && (num < num2))
             {
                 num4     = (int)(num4 * num2);
                 double_2 = num2;
                 bool_9   = true;
             }
             if (A_3 && (num > num2))
             {
                 num5     = (int)(((double)num5) / num2);
                 double_2 = num2;
                 bool_10  = true;
             }
         }
         if (Class576.smethod_4(num4, num5))
         {
             Class576.smethod_3(num4, num5);
             num4 = Class576.smethod_2(num4);
             num5 = Class576.smethod_2(num5);
         }
         A_4.SetAttr(0x101d, numArray[0]);
         A_4.SetAttr(0x101e, numArray[1]);
         A_4.SetAttr(0x101f, num4);
         A_4.SetAttr(0x1020, num5);
     }
 }
Exemplo n.º 19
0
    private void method_22()
    {
        Class400 class2 = this.class422_0.method_18();

        this.class691_0.method_1();
        class2.method_66(BookmarkStart.b("䄴制䄸伺ܼ伾⁀⑂⁄橆❈㹊⁌ⵎ㑐⅒", 15));
        class2.method_68(BookmarkStart.b("䘴䌶䀸场堼Ծ⽀㙂⡄橆⽈⑊㽌≎ぐ❒", 15), Class576.smethod_15(string_0));
        class2.method_69(BookmarkStart.b("䄴制䄸伺ܼ䰾⑀⽂⁄⑆㵈晊㵌⹎㙐㙒", 15), BookmarkStart.b("嘴䈶䬸䤺堼儾㕀", 15));
        class2.method_67(BookmarkStart.b("䄴制䄸伺ܼ伾⁀⑂⁄橆❈㹊⁌ⵎ㑐⅒", 15));
        this.class691_0.method_2();
    }
Exemplo n.º 20
0
    private static void smethod_8(Class857 A_0, Class101 A_1, ListLevel A_2)
    {
        int      num    = 8;
        Class396 class2 = A_0.method_11();

        A_2.PatternType = ListPatternType.Bullet;
        string str = "";

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("崭䐯䬱堳匵ᔷ吹崻匽┿", num)))
                {
                    if (str3 == BookmarkStart.b("䰭䔯帱堳匵䰷᜹弻嘽ℿぁ", num))
                    {
                        str = class2.method_3();
                    }
                }
                else
                {
                    A_1.method_23()[A_2.LevelNumber] = Class576.smethod_87(class2.method_3());
                }
            }
        }
        A_2.BulletCharacter = str;
        while (class2.method_9(BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㝃㉅ㅇ♉⥋捍㉏❑㡓㩕㵗⹙", num)))
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num)))
                {
                    if (!(str2 == BookmarkStart.b("娭唯䨱䀳ᬵ䠷䠹医丽┿ぁぃ⽅ⵇ㥉", num)))
                    {
                        goto Label_00E1;
                    }
                    CharacterFormat format = Class1141.smethod_0(A_0, A_1);
                    if (format.Count > 0)
                    {
                        format.method_37(A_2.CharacterFormat);
                    }
                }
                else
                {
                    Class693.smethod_0(A_0, A_2);
                }
                continue;
            }
Label_00E1:
            class2.vmethod_1();
        }
    }
Exemplo n.º 21
0
    internal void method_70(string A_0)
    {
        int    num  = 15;
        string str  = Class576.smethod_88(A_0);
        string str2 = Class576.smethod_87(A_0);

        base.method_40(BookmarkStart.b("䘴䌶䀸场堼Ծ⽀≂⡄≆", 15), str);
        if (str2 != str)
        {
            base.method_40(BookmarkStart.b("䘴䌶䀸场堼Ծ╀⩂㙄㝆╈⩊㑌扎㽐㉒㡔㉖", num), str2);
        }
    }
Exemplo n.º 22
0
    internal static Class1031 smethod_1(Class472 A_0, double A_1, int A_2)
    {
        Class1031 class2 = new Class1031();

        if (A_0 != null)
        {
            class2.method_2(A_0.method_2());
            class2.method_11(A_0.method_4());
            class2.method_27(Class576.smethod_60(class2.method_1(), A_0.method_0()));
        }
        class2.method_15((double)Class1133.smethod_5((A_1 > 31.0) ? 31.0 : A_1));
        return(class2);
    }
Exemplo n.º 23
0
    private void method_5(Class411 A_0, object A_1)
    {
        int num = (int)A_1;

        if (num == 0)
        {
            this.class87_0.int_0--;
        }
        else
        {
            A_0.string_3 = Class576.smethod_42(Class969.smethod_42(num));
        }
    }
Exemplo n.º 24
0
 private static void smethod_7(Class857 A_0, string A_1, bool A_2, bool A_3)
 {
     if (Class567.smethod_16(A_1))
     {
         Class96 class2 = (Class96)A_0.method_13().method_2(Class576.smethod_87(A_1), null, false, false);
         Style   style  = (Style)Style.smethod_1(StyleType.CharacterStyle, A_0.method_9());
         style.Name = class2.method_0();
         if (class2.method_13() != null)
         {
             class2.method_13().method_37(style.RunPr);
         }
     }
 }
Exemplo n.º 25
0
    private static bool smethod_8(Class857 A_0)
    {
        int      num    = 5;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_1();
        string   str2   = class2.method_0();

        if ((!Class576.smethod_1(class2) && ((str2 != BookmarkStart.b("伪弬丮䘰", num)) || (str != BookmarkStart.b("䨪", num)))) && (((((!(str == BookmarkStart.b("䰪", num)) && !(str == BookmarkStart.b("䜪䐬䄮吰", num))) && (!(str == BookmarkStart.b("䠪䈬䄮弰嘲嘴䌶嘸䤺", num)) && !(str == BookmarkStart.b("太䠬䰮䔰", num)))) && ((!(str == BookmarkStart.b("䠪䐬崮到弲倴", num)) && !(str == BookmarkStart.b("个䄬䌮堰䌲䘴制", num))) && (!(str == BookmarkStart.b("嬪䈬䌮䠰弲尴夶尸", num)) && !(str == BookmarkStart.b("嬪䈬䌮䠰吲娴夶", num))))) && (((!(str == BookmarkStart.b("太䠬䠮䐰弲吴䔶ᐸ䬺刼匾㡀⑂⩄⥆", num)) && !(str == BookmarkStart.b("嬪䰬嬮夰", num))) && (!(str == BookmarkStart.b("嬪䰬䠮吰Ḳ䄴弶䰸嘺弼儾⁀⩂⥄", num)) && !(str == BookmarkStart.b("䘪䠬丮䈰䘲䜴制", num)))) && ((!(str == BookmarkStart.b("䠪䰬弮䔰娲娴夶", num)) && !(str == BookmarkStart.b("堪丬䨮弰嘲", num))) && (!(str == BookmarkStart.b("䠪堬尮䔰尲場ᨶ䨸区尼伾⑀", num)) && !(str == BookmarkStart.b("嬪", num)))))) && ((!(str == BookmarkStart.b("䌪", num)) && !(str == BookmarkStart.b("弪䰬䴮崰嘲", num))) && !(str == BookmarkStart.b("䜪䐬尮䔰", num)))))
        {
            return(str == BookmarkStart.b("䜪䐬䄮吰", num));
        }
        return(true);
    }
Exemplo n.º 26
0
    internal static void smethod_2(Class857 A_0, Class100 A_1)
    {
        int        num    = 8;
        Class396   class2 = A_0.method_11();
        CellFormat format = new CellFormat();

        while (class2.method_19())
        {
            string str;
            if ((!Class857.smethod_9(class2, A_1.method_35()) && !Class857.smethod_2(class2, A_1.method_39())) && (!Class857.smethod_1(class2, A_1.method_37()) && ((str = class2.method_1()) != null)))
            {
                if (str != BookmarkStart.b("夭䈯嬱䀳張嘷崹ᄻ匽⼿♁⅃", num))
                {
                    if (str != BookmarkStart.b("䤭尯䬱䐳帵ᔷ唹主圽┿ⱁぃ❅㱇⍉⍋⁍絏⑑ㅓ⑕ⱗ㍙㽛㽝౟", num))
                    {
                        if (str != BookmarkStart.b("堭唯䀱䀳張嬷嬹倻ጽℿ⹁ⵃⅅ♇", num))
                        {
                            if (!(str == BookmarkStart.b("䰭儯儱弳儵䨷唹䤻倽␿潁❃⥅⑇╉㹋", num)))
                            {
                                if (str == BookmarkStart.b("夭䈯匱䐳ᬵ圷䨹䠻圽⼿ⱁ", num))
                                {
                                    format.SetAttr(0xc6c, class2.method_3() == BookmarkStart.b("夭䈯匱䐳", num));
                                }
                            }
                            else
                            {
                                format.SetAttr(0xc62, Class576.smethod_62(class2.method_3(), (Class16)format.method_31(0xc62)));
                            }
                        }
                        else
                        {
                            format.SetAttr(0xbf4, Class922.smethod_48(class2.method_3()));
                        }
                    }
                    else if (class2.method_3() == BookmarkStart.b("ḭ", num))
                    {
                        format.SetAttr(0xbea, TextOrientation.Upward);
                    }
                }
                else if (Class922.smethod_37(class2.method_3()) != TextOrientation.Horizontal)
                {
                    format.SetAttr(0xbea, Class922.smethod_37(class2.method_3()));
                }
            }
        }
        smethod_3(format, A_1);
        if (format.Count > 0)
        {
            A_1.method_46(format);
        }
    }
Exemplo n.º 27
0
    private void method_3(object A_0)
    {
        int num = 13;

        if (A_0 != null)
        {
            string str = "";
            foreach (int num3 in (int[])A_0)
            {
                str = string.Format(BookmarkStart.b("䠲Դ䨶ᔸᬺ䘼฾㱀", num), str, Class576.smethod_6(num3));
            }
            this.class400_0.method_40(BookmarkStart.b("圲䜴嘶丸ĺ娼匾㑀♂桄㝆♈≊⍌㭎籐㽒ご㙖⽘㉚㍜㡞䱠ݢ౤ᕦ౨ࡪᥬٮṰᵲٴ", num), str.Trim(BookmarkStart.b("ἲᔴ", num).ToCharArray()));
        }
    }
Exemplo n.º 28
0
    private string method_14(Class623 A_0, bool A_1)
    {
        int num = A_0.method_0() ? this.int_0[A_0.method_1()] : A_0.method_1();

        if (A_1)
        {
            num /= 0x10000;
        }
        else
        {
            num = Class576.smethod_2(num);
        }
        return(Class1041.smethod_8(num));
    }
Exemplo n.º 29
0
    internal string method_12(Class43 A_0, ArrowType A_1, bool A_2)
    {
        if (A_1 == ArrowType.None)
        {
            return(null);
        }
        Class110 class2 = Class576.smethod_63(A_0, A_1, A_2);

        if (this.class89_1.method_2(class2.method_0(), null, false, false) == null)
        {
            this.class89_1.method_1(class2, false, false);
        }
        return(class2.method_0());
    }
Exemplo n.º 30
0
    internal static void smethod_5(Class857 A_0, Class94 A_1)
    {
        int      num    = 1;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䐦䘨䜪堬䈮弰Ḳ䈴帶崸伺唼", num)))
            {
                A_1.method_13(Class576.smethod_36(class2.method_3()));
            }
        }
    }