Ejemplo n.º 1
0
    internal Class347(ShapeBase A_0)
    {
        this.int_1  = A_0.Id;
        this.bool_0 = false;
        this.bool_1 = false;
        Class265          class2         = Class265.smethod_3(A_0);
        TextWrappingStyle shapeAttribute = (TextWrappingStyle)A_0.GetShapeAttribute(0x1001);

        if (shapeAttribute != TextWrappingStyle.Inline)
        {
            this.horizontalOrigin_0 = A_0.HorizontalOrigin;
            this.verticalOrigin_0   = A_0.VerticalOrigin;
            if (this.horizontalOrigin_0 > HorizontalOrigin.Column)
            {
                this.horizontalOrigin_0 = HorizontalOrigin.Column;
            }
            if (this.verticalOrigin_0 > VerticalOrigin.Paragraph)
            {
                this.verticalOrigin_0 = VerticalOrigin.Paragraph;
            }
            this.textWrappingStyle_0 = (shapeAttribute == TextWrappingStyle.Behind) ? TextWrappingStyle.InFrontOfText : shapeAttribute;
            this.textWrappingType_0  = A_0.TextWrappingType;
            this.bool_2 = A_0.BehindText;
            this.bool_3 = A_0.AnchorLocked;
        }
        else
        {
            class2.double_0          = 0.0;
            class2.double_1          = 0.0;
            this.horizontalOrigin_0  = HorizontalOrigin.Column;
            this.verticalOrigin_0    = VerticalOrigin.Paragraph;
            this.textWrappingStyle_0 = TextWrappingStyle.InFrontOfText;
            this.textWrappingType_0  = TextWrappingType.Both;
            this.bool_2 = false;
            this.bool_3 = true;
        }
        this.int_2 = Class969.smethod_31(class2.double_0);
        this.int_3 = Class969.smethod_31(class2.double_1);
        this.int_4 = Class969.smethod_31(class2.double_0 + class2.double_2);
        this.int_5 = Class969.smethod_31(class2.double_1 + class2.double_3);
        this.int_6 = 0;
    }