Exemple #1
0
    internal int method_27(BinaryWriter A_0)
    {
        int position = (int)A_0.BaseStream.Position;

        for (int i = 0; i < base.method_2(); i++)
        {
            Class171 class2 = (Class171)base.method_12(i);
            int      num4   = class2.method_0();
            if (smethod_2(class2.method_0()))
            {
                num4 |= 0x4000;
            }
            if (class2.vmethod_0())
            {
                num4 |= 0x8000;
            }
            A_0.Write((short)num4);
            A_0.Write(class2.vmethod_0() ? ((Class172)class2).method_1() : class2.vmethod_1());
        }
        for (int j = 0; j < base.method_2(); j++)
        {
            Class171 class3 = (Class171)base.method_12(j);
            if (class3.vmethod_0())
            {
                ((Class172)class3).vmethod_3(A_0);
            }
        }
        return(((int)A_0.BaseStream.Position) - position);
    }
Exemple #2
0
    internal void method_26(BinaryReader A_0, int A_1)
    {
        for (int i = 0; i < A_1; i++)
        {
            Class171 class2;
            int      num7 = A_0.ReadUInt16();
            int      num2 = num7 & 0x3fff;
            bool     flag = (num7 & 0x8000) != 0;
            int      num3 = A_0.ReadInt32();
            if (flag)
            {
                switch ((num2 & -64))
                {
                case 0x1c0:
                case 0x540:
                case 0x580:
                case 0x5c0:
                case 0x600:
                case 0x640:
                {
                    int num9 = num3;
                    class2 = smethod_0(num2, num9);
                    goto Label_00A4;
                }
                }
                int num6 = num3;
                class2 = smethod_1(num2, num6);
            }
            else
            {
                class2 = new Class179(num2, num3);
            }
Label_00A4:
            if (class2 != null)
            {
                this.method_23(class2);
            }
        }
        for (int j = 0; j < base.method_2(); j++)
        {
            Class171 class3 = (Class171)base.method_12(j);
            if (class3.vmethod_0())
            {
                ((Class172)class3).vmethod_2(A_0);
            }
        }
    }
    public override string System.Object.ToString()
    {
        int           num     = 11;
        StringBuilder builder = new StringBuilder();

        builder.Append(base.System.Object.ToString());
        builder.Append(BookmarkStart.b("㰰㤲", 11));
        for (int i = 0; i < this.class657_0.method_2(); i++)
        {
            Class171 class2 = (Class171)this.class657_0.method_3(this.class657_0.method_13(i));
            builder.AppendFormat(BookmarkStart.b("ᄰጲԴ伶䈸଺ܼ䜾畀㹂罄睆ㅈお籌畎⥐⹒祔睖≘楚⁜", num), class2.method_0(), class2.vmethod_1(), class2.vmethod_0() ? BookmarkStart.b("到尲場䜶唸帺䔼", num) : BookmarkStart.b("䈰娲場䜶唸帺", num));
            switch (class2.method_0())
            {
            case 0x1ff:
                builder.AppendFormat(BookmarkStart.b("ᄰᬲ临ܶ䐸ሺ", num), (EscherLineFlags)class2.vmethod_1());
                break;

            case 0x33f:
                builder.AppendFormat(BookmarkStart.b("ᄰᬲ临ܶ䐸ሺ", num), (EscherShapeFlags)class2.vmethod_1());
                break;

            case 0x3bf:
                builder.AppendFormat(BookmarkStart.b("ᄰᬲ临ܶ䐸ሺ", num), (EscherGroupShapeFlags)class2.vmethod_1());
                break;
            }
            builder.Append(BookmarkStart.b("㰰㤲", num));
        }
        return(builder.ToString());
    }