예제 #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));
        }
    }
예제 #2
0
    internal static string smethod_14(int A_0)
    {
        int    num2 = 8;
        double a    = Class969.smethod_68(A_0);

        if (a == Math.Round(a))
        {
            return(Class1041.smethod_8((int)a));
        }
        return(Class1041.smethod_8(A_0) + BookmarkStart.b("䠭启", num2));
    }
예제 #3
0
    internal Class890(Class672 A_0)
    {
        ShapeObject obj2 = A_0.method_28();

        this.float_0 = (float)Class969.smethod_42(obj2.ExtrusionForeDepth);
        this.float_1 = (float)Class969.smethod_42(obj2.ExtrusionBackDepth);
        this.float_2 = (float)Class969.smethod_68(obj2.ExtrusionSkewAngle);
        SizeF ef = A_0.method_32();

        this.pointF_0 = new PointF((ef.Width / 2f) + (ef.Width * ((float)Class969.smethod_68(obj2.ViewpointOriginX))), (ef.Height / 2f) + (ef.Height * ((float)Class969.smethod_68(obj2.ViewpointOriginY))));
        this.float_3  = (float)Class969.smethod_42(obj2.ViewpointX);
        this.float_4  = (float)Class969.smethod_42(obj2.ViewpointY);
        this.float_5  = (float)Class969.smethod_42(obj2.ViewpointZ);
        this.float_6  = (float)Class969.smethod_68(-obj2.TDRotationAngleX);
        this.float_7  = (float)Class969.smethod_68(obj2.TDRotationAngleY);
        this.pointF_1 = new PointF(ef.Width / 2f, ef.Height / 2f);
    }
예제 #4
0
    private void method_2(ShapeBase A_0)
    {
        int num = 14;

        if ((A_0.method_34() || A_0.IsWordArt) && !A_0.IsGroup)
        {
            this.class87_0.string_30 = BookmarkStart.b("䌳䐵夷䨹", num);
        }
        this.class87_0.string_6 = BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num);
        this.class87_0.string_4 = BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num);
        Class43          shapePr = A_0.ShapePr;
        Class111         class3  = new Class111();
        Class109         class4  = null;
        StrokeArrowWidth medium  = StrokeArrowWidth.Medium;
        StrokeArrowWidth width   = StrokeArrowWidth.Medium;
        string           str     = null;

        this.class87_0.bool_0 = true;
        bool flag3 = false;
        bool flag  = ((A_0 is ShapeObject) && (A_0 as ShapeObject).Stroked) && !(A_0 as ShapeObject).HasImageBytes;
        int  num4  = 0;
        bool flag2 = false;
        int  num3  = 0;

        if (!flag)
        {
            this.class87_0.string_18 = BookmarkStart.b("娳夵嘷弹", num);
            this.class87_0.class1048_0.class411_0.string_0 = BookmarkStart.b("娳夵嘷弹", num);
            this.class87_0.class1048_0.class411_1.string_0 = BookmarkStart.b("娳夵嘷弹", num);
            this.class87_0.class1048_0.class411_2.string_0 = BookmarkStart.b("娳夵嘷弹", num);
            this.class87_0.class1048_0.class411_3.string_0 = BookmarkStart.b("娳夵嘷弹", num);
        }
        if (A_0.IsNeedDummyWhenInline && ((bool)shapePr.method_32(0x1fc)))
        {
            this.class87_0.string_18 = BookmarkStart.b("䜳夵吷匹堻", num);
        }
        this.class87_0.textWrappingStyle_0 = TextWrappingStyle.InFrontOfText;
        this.class87_0.string_13           = BookmarkStart.b("刳夵䨷弹嬻䰽⼿㝁⩃≅", num);
        for (int i = 0; i < shapePr.Count; i++)
        {
            int    num7;
            int    num6 = shapePr.method_18(i);
            object obj2 = shapePr.method_19(i);
            if (obj2 == null)
            {
                continue;
            }
            this.class87_0.int_0++;
            int num2 = num6;
            if (num2 > 0x1c1)
            {
                goto Label_0614;
            }
            if (num2 > 0x13e)
            {
                goto Label_03D3;
            }
            if (num2 <= 190)
            {
                if (num2 != 0x85)
                {
                    if (num2 != 190)
                    {
                        goto Label_0A7C;
                    }
                    this.class87_0.bool_1 = (bool)obj2;
                }
                else
                {
                    switch (((TextBoxWrapMode)obj2))
                    {
                    case TextBoxWrapMode.None:
                        this.class87_0.string_30 = BookmarkStart.b("娳夵ᔷ䴹主弽〿", num);
                        break;

                    case TextBoxWrapMode.Square:
                        this.class87_0.string_30 = BookmarkStart.b("䌳䐵夷䨹", num);
                        break;
                    }
                }
                continue;
            }
            switch (num2)
            {
            case 0x100:
            {
                this.class87_0.double_2 = Class969.smethod_68((int)obj2);
                continue;
            }

            case 0x101:
            {
                this.class87_0.double_3 = Class969.smethod_68((int)obj2);
                continue;
            }

            case 0x102:
            {
                this.class87_0.double_0 = Class969.smethod_68((int)obj2);
                continue;
            }

            case 0x103:
            {
                this.class87_0.double_1 = Class969.smethod_68((int)obj2);
                continue;
            }

            case 0x108:
            {
                this.class87_0.string_0 = Class576.smethod_23((int)obj2);
                continue;
            }

            case 0x109:
            {
                this.class87_0.string_1 = Class576.smethod_25((int)obj2);
                continue;
            }

            case 0x13d:
            {
                if (!((bool)obj2))
                {
                    break;
                }
                this.class87_0.string_2 = BookmarkStart.b("匳䐵崷䌹伻崽ℿ⹁⅃", num);
                continue;
            }

            case 0x13e:
            {
                if (!((bool)obj2))
                {
                    goto Label_0319;
                }
                this.class87_0.string_2 = BookmarkStart.b("夳夵嘷唹", num);
                continue;
            }

            default:
                goto Label_0A7C;
            }
            this.class87_0.int_0--;
            continue;
Label_0319:
            this.class87_0.int_0--;
            continue;
Label_03D3:
            if (num2 <= 0x19c)
            {
                switch (num2)
                {
                case 0x180:
                {
                    this.class87_0.string_28 = Class922.smethod_21((FillType)obj2);
                    class3.method_5(Class922.smethod_22((FillType)obj2));
                    continue;
                }

                case 0x181:
                {
                    this.class87_0.string_9  = Class576.smethod_75((Color)obj2);
                    this.class87_0.string_11 = this.class87_0.string_9;
                    class3.method_15(this.class87_0.string_9);
                    continue;
                }

                case 0x182:
                {
                    this.class87_0.string_26 = Class576.smethod_81((int)obj2);
                    this.class87_0.string_27 = Class576.smethod_82((int)obj2);
                    class3.method_19(this.class87_0.string_26);
                    continue;
                }

                case 0x183:
                {
                    class3.method_17(Class576.smethod_75((Color)obj2));
                    continue;
                }

                case 0x184:
                {
                    class3.method_21(Class576.smethod_81((int)obj2));
                    continue;
                }

                case 0x18b:
                {
                    num3 = (int)obj2;
                    class3.method_11(Class576.smethod_5(num3));
                    continue;
                }

                case 0x18c:
                {
                    num4  = (int)obj2;
                    flag2 = true;
                    continue;
                }

                case 0x18d:
                {
                    class3.method_7(Class576.smethod_27((int)obj2));
                    continue;
                }

                case 0x18e:
                {
                    class3.method_9(Class576.smethod_27((int)obj2));
                    continue;
                }

                case 0x19c:
                {
                    flag3 = ((int)obj2) == 0x4000000b;
                    continue;
                }
                }
            }
            else
            {
                switch (num2)
                {
                case 0x1c0:
                {
                    Color black = (Color)obj2;
                    if (black.IsEmpty || (black == Color.Transparent))
                    {
                        black = Color.Black;
                    }
                    string str2 = Class576.smethod_75(black);
                    this.class87_0.string_20 = str2;
                    continue;
                }

                case 0x1c1:
                {
                    this.class87_0.string_22 = Class576.smethod_81((int)obj2);
                    continue;
                }

                case 0x1bb:
                {
                    this.class87_0.bool_0 = (bool)obj2;
                    continue;
                }
                }
            }
            goto Label_0A7C;
Label_0614:
            if (num2 > 0x23e)
            {
                goto Label_08E3;
            }
            if (num2 > 0x1fc)
            {
                goto Label_0816;
            }
            switch (num2)
            {
            case 0x1cb:
            {
                this.class87_0.string_21 = Class576.smethod_56((int)obj2);
                continue;
            }

            case 0x1ce:
                switch (((LineDashing)obj2))
                {
                case LineDashing.Solid:
                case LineDashing.Solid:
                {
                    continue;
                }
                }
                if (!Class422.smethod_1(A_0))
                {
                    break;
                }
                num7 = this.class422_0.method_81().method_8();
                goto Label_0749;

            case 0x1d0:
            {
                this.class87_0.string_16 = this.class422_0.method_12(shapePr, (ArrowType)obj2, true);
                continue;
            }

            case 0x1d1:
            {
                this.class87_0.string_17 = this.class422_0.method_12(shapePr, (ArrowType)obj2, false);
                continue;
            }

            case 0x1d2:
            {
                medium = (StrokeArrowWidth)obj2;
                continue;
            }

            case 0x1d4:
            {
                width = (StrokeArrowWidth)obj2;
                continue;
            }

            case 0x1d7:
            {
                str = (((LineCap)A_0.ShapePr.method_31(0x1d7)) == LineCap.Round) ? BookmarkStart.b("䘳夵䴷吹堻", num) : BookmarkStart.b("䘳匵嬷丹", num);
                continue;
            }

            case 0x1fc:
            {
                if (this.class87_0.string_18 != BookmarkStart.b("倳圵䬷刹", num))
                {
                    this.class87_0.string_18 = ((bool)obj2) ? BookmarkStart.b("䜳夵吷匹堻", num) : BookmarkStart.b("娳夵嘷弹", num);
                }
                else
                {
                    this.class87_0.int_0--;
                }
                continue;
            }

            default:
                goto Label_0A7C;
            }
            num7 = this.class422_0.method_53();
            this.class422_0.method_54(this.class422_0.method_53() + 1);
Label_0749:
            class4 = Class922.smethod_13(A_0, num7);
            this.class87_0.string_19 = class4.method_0();
            this.class87_0.string_18 = BookmarkStart.b("倳圵䬷刹", num);
            continue;
Label_0816:
            switch (num2)
            {
            case 0x201:
            {
                this.class87_0.string_23 = Class576.smethod_75((Color)obj2);
                continue;
            }

            case 0x204:
            {
                this.class87_0.string_25 = Class576.smethod_81((int)obj2);
                continue;
            }

            case 0x205:
            {
                this.class87_0.string_31 = Class576.smethod_56((int)obj2);
                continue;
            }

            case 0x206:
            {
                this.class87_0.string_32 = Class576.smethod_56((int)obj2);
                continue;
            }

            case 0x23e:
            {
                this.class87_0.string_24 = ((bool)obj2) ? BookmarkStart.b("䈳張䬷匹帻刽┿", num) : BookmarkStart.b("尳張尷帹夻倽", num);
                continue;
            }

            default:
                goto Label_0A7C;
            }
Label_08E3:
            if (num2 <= 0x392)
            {
                switch (num2)
                {
                case 900:
                {
                    this.method_5(this.class87_0.class1048_0.class411_2, obj2);
                    continue;
                }

                case 0x385:
                {
                    this.method_5(this.class87_0.class1048_0.class411_0, obj2);
                    continue;
                }

                case 0x386:
                {
                    this.method_5(this.class87_0.class1048_0.class411_3, obj2);
                    continue;
                }

                case 0x387:
                {
                    this.method_5(this.class87_0.class1048_0.class411_1, obj2);
                    continue;
                }

                case 0x38f:
                {
                    this.class87_0.string_5 = Class922.smethod_46((HorizontalPosition)obj2);
                    continue;
                }

                case 0x390:
                {
                    this.class87_0.string_6 = Class922.smethod_44((RelativeHorizontalPosition)obj2);
                    continue;
                }

                case 0x391:
                {
                    ShapeVerticalAlignment alignment = (ShapeVerticalAlignment)obj2;
                    this.class87_0.string_3 = Class922.smethod_40(alignment);
                    continue;
                }

                case 0x392:
                {
                    this.class87_0.string_4 = Class922.smethod_38((RelativeVerticalPosition)obj2);
                    continue;
                }

                case 0x287:
                {
                    this.class87_0.string_10 = Class576.smethod_75((Color)obj2);
                    continue;
                }
                }
            }
            else
            {
                switch (num2)
                {
                case 0x1001:
                {
                    this.class87_0.textWrappingStyle_0 = (TextWrappingStyle)obj2;
                    continue;
                }

                case 0x1002:
                {
                    this.class87_0.textWrappingType_0 = (TextWrappingType)obj2;
                    continue;
                }

                case 0x3ba:
                {
                    this.class87_0.string_13 = ((bool)obj2) ? BookmarkStart.b("嘳圵嬷儹嬻䰽⼿㝁⩃≅", num) : BookmarkStart.b("刳夵䨷弹嬻䰽⼿㝁⩃≅", num);
                    continue;
                }

                case 0x100a:
                {
                    this.class87_0.class1048_0.class411_0.border_0 = (Border)obj2;
                    this.class87_0.int_0--;
                    continue;
                }

                case 0x100b:
                {
                    this.class87_0.class1048_0.class411_2.border_0 = (Border)obj2;
                    this.class87_0.int_0--;
                    continue;
                }

                case 0x100c:
                {
                    this.class87_0.class1048_0.class411_1.border_0 = (Border)obj2;
                    this.class87_0.int_0--;
                    continue;
                }

                case 0x100d:
                {
                    this.class87_0.class1048_0.class411_3.border_0 = (Border)obj2;
                    this.class87_0.int_0--;
                    continue;
                }
                }
            }
Label_0A7C:
            this.class87_0.int_0--;
        }
        if (this.class87_0.bool_0)
        {
            if (!Class567.smethod_16(this.class87_0.string_11))
            {
                this.class87_0.string_11 = BookmarkStart.b("ᜳ倵帷尹娻堽☿", num);
            }
            if (!Class567.smethod_16(this.class87_0.string_9))
            {
                this.class87_0.string_9 = BookmarkStart.b("ᜳ倵帷尹娻堽☿", num);
            }
        }
        if (this.class87_0.class1048_0.method_1(flag, false))
        {
            this.class87_0.int_0++;
        }
        this.class87_0.class1048_0.class411_0.string_0 = string.Format(BookmarkStart.b("伳ص䔷ᨹ䜻༽㴿扁㽃瑅㕇", num), this.class87_0.string_20, this.class87_0.string_21, this.class87_0.string_18);
        this.class87_0.class1048_0.class411_1.string_0 = string.Format(BookmarkStart.b("伳ص䔷ᨹ䜻༽㴿扁㽃瑅㕇", num), this.class87_0.string_20, this.class87_0.string_21, this.class87_0.string_18);
        this.class87_0.class1048_0.class411_2.string_0 = string.Format(BookmarkStart.b("伳ص䔷ᨹ䜻༽㴿扁㽃瑅㕇", num), this.class87_0.string_20, this.class87_0.string_21, this.class87_0.string_18);
        this.class87_0.class1048_0.class411_3.string_0 = string.Format(BookmarkStart.b("伳ص䔷ᨹ䜻༽㴿扁㽃瑅㕇", num), this.class87_0.string_20, this.class87_0.string_21, this.class87_0.string_18);
        if (this.class87_0.string_18 == BookmarkStart.b("䜳夵吷匹堻", num))
        {
            if ((this.class87_0.class1048_0.class411_0.string_0 == null) || (this.class87_0.class1048_0.class411_0.string_0 == BookmarkStart.b("娳夵嘷弹", num)))
            {
                this.class87_0.class1048_0.class411_0.string_0 = BookmarkStart.b("ᜳص࠷ਹ఻฽瀿扁瑃桅硇等瑋ⵍ㵏牑❓㥕㑗㍙㡛", num);
            }
            if ((this.class87_0.class1048_0.class411_1.string_0 == null) || (this.class87_0.class1048_0.class411_1.string_0 == BookmarkStart.b("娳夵嘷弹", num)))
            {
                this.class87_0.class1048_0.class411_1.string_0 = BookmarkStart.b("ᜳص࠷ਹ఻฽瀿扁瑃桅硇等瑋ⵍ㵏牑❓㥕㑗㍙㡛", num);
            }
            if ((this.class87_0.class1048_0.class411_2.string_0 == null) || (this.class87_0.class1048_0.class411_2.string_0 == BookmarkStart.b("娳夵嘷弹", num)))
            {
                this.class87_0.class1048_0.class411_2.string_0 = BookmarkStart.b("ᜳص࠷ਹ఻฽瀿扁瑃桅硇等瑋ⵍ㵏牑❓㥕㑗㍙㡛", num);
            }
            if ((this.class87_0.class1048_0.class411_3.string_0 == null) || (this.class87_0.class1048_0.class411_3.string_0 == BookmarkStart.b("娳夵嘷弹", num)))
            {
                this.class87_0.class1048_0.class411_3.string_0 = BookmarkStart.b("ᜳص࠷ਹ఻฽瀿扁瑃桅硇等瑋ⵍ㵏牑❓㥕㑗㍙㡛", num);
            }
        }
        if (Class567.smethod_16(this.class87_0.string_16))
        {
            this.class87_0.string_14 = smethod_1(shapePr, medium, true);
        }
        if (Class567.smethod_16(this.class87_0.string_17))
        {
            this.class87_0.string_15 = smethod_1(shapePr, width, false);
        }
        if ((class4 != null) && Class422.smethod_1(A_0))
        {
            class4.method_5(str);
            if (this.class422_0.method_81().method_2(class4.method_0(), null, false, false) == null)
            {
                this.class422_0.method_81().method_1(class4, false, false);
            }
        }
        this.method_4(A_0);
        if ((this.class87_0.string_3 == null) || (this.class87_0.string_4 == BookmarkStart.b("堳張嘷弹", num)))
        {
            this.class87_0.string_3 = BookmarkStart.b("刳䐵圷圹ᄻ䨽⼿㉁", num);
            if (this.class87_0.string_3 == null)
            {
                this.class87_0.int_0++;
            }
        }
        if ((this.class87_0.string_3 == BookmarkStart.b("刳䐵圷圹ᄻ䨽⼿㉁", num)) && !Class567.smethod_16(this.class87_0.string_4))
        {
            this.class87_0.string_4 = BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num);
        }
        if (this.class87_0.string_5 == null)
        {
            this.class87_0.string_5 = BookmarkStart.b("刳䐵圷圹ᄻ刽┿⑁ぃ", num);
            this.class87_0.int_0++;
        }
        this.class87_0.string_12 = Class922.smethod_31(this.class87_0.textWrappingStyle_0, this.class87_0.textWrappingType_0);
        if (this.class87_0.string_12 != null)
        {
            this.class87_0.int_0++;
        }
        if (this.class87_0.string_8 == null)
        {
            this.class87_0.string_8 = BookmarkStart.b("刳圵吷䤹夻", num);
            this.class87_0.int_0++;
        }
        this.method_3(class3, num3, num4, flag2, flag3);
    }
예제 #5
0
 public double method_22()
 {
     return(smethod_2(Class969.smethod_68((int)this.method_30(0x108))));
 }
예제 #6
0
 public double method_20()
 {
     return(smethod_0(Class969.smethod_68((int)this.method_30(0x109))));
 }
예제 #7
0
 private double method_13(int A_0)
 {
     return(Class969.smethod_68((int)this.method_30(A_0)));
 }
예제 #8
0
 public double method_34()
 {
     return(Class969.smethod_68((int)this.method_39(0x1c1)));
 }
예제 #9
0
    internal static int smethod_7(int A_0)
    {
        double num = smethod_8((float)Class969.smethod_68(A_0));

        return(Class1133.smethod_5((num * 200000.0) - 100000.0));
    }
예제 #10
0
 internal static int smethod_5(int A_0)
 {
     return(Class1133.smethod_5(Class969.smethod_68(A_0) * 200000.0));
 }
예제 #11
0
 internal static int smethod_3(int A_0)
 {
     return(smethod_1(Class969.smethod_68(A_0)));
 }