Пример #1
0
    internal Class262(BinaryReader A_0) : this()
    {
        int  num2     = 15;
        long position = A_0.BaseStream.Position;

        this.int_2         = A_0.ReadInt32();
        this.int_3         = A_0.ReadUInt16();
        this.picfType_0    = (PicfType)A_0.ReadUInt16();
        this.int_4         = A_0.ReadUInt16();
        this.int_5         = A_0.ReadUInt16();
        this.int_6         = A_0.ReadUInt16();
        this.picfSubType_0 = (PicfSubType)A_0.ReadUInt16();
        this.int_7         = A_0.ReadUInt16();
        this.int_8         = A_0.ReadUInt16();
        this.int_9         = A_0.ReadUInt16();
        this.int_10        = A_0.ReadUInt16();
        this.int_11        = A_0.ReadUInt16();
        this.int_12        = A_0.ReadUInt16();
        this.int_13        = A_0.ReadUInt16();
        this.int_14        = A_0.ReadUInt16();
        this.int_24        = A_0.ReadUInt16();
        this.int_25        = A_0.ReadUInt16();
        this.int_15        = A_0.ReadInt16();
        this.int_16        = A_0.ReadInt16();
        this.int_17        = A_0.ReadInt16();
        this.int_18        = A_0.ReadInt16();
        int num = A_0.ReadUInt16();

        this.int_19   = num & 15;
        this.bool_0   = (num & 0x10) != 0;
        this.bool_1   = (num & 0x20) != 0;
        this.bool_2   = (num & 0x40) != 0;
        this.bool_3   = (num & 0x80) != 0;
        this.int_20   = (num & 0xff00) >> 8;
        this.border_0 = Class355.smethod_0(A_0, this.border_0);
        this.border_1 = Class355.smethod_0(A_0, this.border_1);
        this.border_2 = Class355.smethod_0(A_0, this.border_2);
        this.border_3 = Class355.smethod_0(A_0, this.border_3);
        this.int_21   = A_0.ReadInt16();
        this.int_22   = A_0.ReadInt16();
        this.int_23   = A_0.ReadInt16();
        if (bool_4)
        {
            StringBuilder builder = new StringBuilder();
            builder.Append(BookmarkStart.b("㼴收尸娺夼Ἶᅀੂلņ獈", num2));
            builder.AppendFormat(BookmarkStart.b("㼴᜶吸崺䴼爾ⱀ祂㹄睆㑈杊浌≎㝐⍒ൔቖ⅘⽚杜⑞偠Ṣ䥤䝦Ѩ൪ᵬ㙮㑰୲Ŵ䵶ɸ䥺|卾ꆀ솈욊쮌떎ꂒ", num2), new object[] { this.picfType_0, this.int_4, this.int_5, this.int_6 });
            builder.AppendFormat(BookmarkStart.b("㼴᜶嬸嘺椼䘾ㅀ♂罄㱆祈㙊慌潎㍐㹒ɔ㹖㵘⽚㕜敞᩠剢ᡤ䭦䥨४l❮ᑰᩲቴὶ൸䅺ټ䵾ﲀ꾂ꖄ\udc8a\ue48cﮒ힔ﺚꖞ\udaa0\u90a2\ud8a4\u8ba6覨즪삹\uddb0\ud2b2\udbb4\ud2b6쪸膺욼设변ꗆ꓈觊꓌믎ꋐ菒볔꿖볘럚ꓞ퓠黢짤쟦诨蛪꿬蛮藰胲쿴賶쿸蛺", num2), new object[] { this.picfSubType_0, this.int_7, this.int_8, this.int_9, this.int_10, this.int_11, this.int_12 });
            builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼砾⹀≂⥄絆㉈筊が捎煐㝒ⱔ㙖Ṙ㑚㱜㍞孠ᡢ呤ᩦ䕨䭪lᝮ䭰ࡲ䝴੶啸孺ၼپ뮀뚄惘", num2), new object[] { this.int_13, this.int_14, this.int_24, this.int_25 });
            builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼簾㍀ⱂ㕄୆ⱈⵊ㥌畎⩐捒⡔策祘㽚⑜㹞≠ᅢ੤ᝦ㵨Ѫᵬ啮ੰ䉲ࡴ孶奸ὺռṾ슀\udb88\ue28aꦒꖖ랚붜ﮞ\ud8a0\uc2a2햦욨\udbaa\uefac삮얰잲\udab4\udab6莸삺躼슾", num2), new object[] { this.int_13, this.int_14, this.int_17, this.int_18 });
            builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼瀾㍀⩂≄⹆❈煊㙌罎ⱐ罒畔㍖⁘㩚ቜⵞࡠѢ౤०卨ၪ屬ቮ嵰卲ᙴ❶୸ᑺർ౾뮀랄惘", num2), this.int_21, this.int_22, this.int_23);
        }
    }
Пример #2
0
    internal Class262(ShapeBase A_0) : this()
    {
        float num;

        if (A_0.IsHorizontalRule)
        {
            this.picfType_0    = PicfType.InlineEscher;
            this.picfSubType_0 = (A_0.ShapeType == ShapeType.Image) ? PicfSubType.InlineHorizontalRuleImage : PicfSubType.InlineHorizontalRuleShape;
            goto Label_00B9;
        }
        if (A_0.IsWordArt)
        {
            this.picfType_0    = PicfType.InlineEscher;
            this.picfSubType_0 = PicfSubType.InlineWordArt;
            goto Label_00B9;
        }
        ShapeType shapeType = A_0.ShapeType;

        if (shapeType == ShapeType.OleObject)
        {
            goto Label_00A9;
        }
        if (shapeType != ShapeType.Image)
        {
            if (shapeType == ShapeType.OleControl)
            {
                goto Label_00A9;
            }
            this.picfType_0    = PicfType.InlineEscher;
            this.picfSubType_0 = PicfSubType.InlineShape;
        }
        else
        {
            ShapeObject obj2 = (ShapeObject)A_0;
            this.picfType_0    = (!obj2.ImageData.IsLink || obj2.HasImageBytes) ? PicfType.InlineEscher : PicfType.IncludePicture;
            this.picfSubType_0 = PicfSubType.InlineImage8;
        }
        goto Label_00B9;
Label_00A9:
        this.picfType_0    = PicfType.InlineEscher;
        this.picfSubType_0 = PicfSubType.InlineOleObject;
Label_00B9:
        num = 1f;
        float num2 = 1f;

        if ((A_0.ShapeType == ShapeType.Image) || (A_0.ShapeType == ShapeType.OleObject))
        {
            DocPicture imageData = (A_0 as ShapeObject).ImageData;
            num  = imageData.WidthScale / 100f;
            num2 = imageData.HeightScale / 100f;
        }
        if (A_0.IsTopLevel)
        {
            this.int_13 = (int)Math.Round((double)((A_0.Width * num) * 20.0));
            this.int_14 = (int)Math.Round((double)((A_0.Height * num2) * 20.0));
        }
        else
        {
            this.int_13 = (int)Math.Round((double)(A_0.Width * num));
            this.int_14 = (int)Math.Round((double)(A_0.Height * num2));
        }
        Class43 shapePr = A_0.ShapePr;

        this.border_0 = A_0.ShapePr.method_58().Top;
        this.border_1 = A_0.ShapePr.method_58().Left;
        this.border_2 = A_0.ShapePr.method_58().Bottom;
        this.border_3 = A_0.ShapePr.method_58().Right;
        SizeF ef = smethod_0(A_0.Size, A_0.Rotation);

        this.int_24 = (int)Math.Round((double)((((double)ef.Width) / A_0.Width) * 1000.0));
        this.int_25 = (int)Math.Round((double)((((double)ef.Height) / A_0.Height) * 1000.0));
    }