Example #1
0
    private void method_16(ShapeBase A_0)
    {
        Stream       baseStream = this.class423_0.method_59().BaseStream;
        BinaryWriter writer     = this.class423_0.method_59();
        int          position   = (int)baseStream.Position;
        Class1107    class2     = new Class1107 {
            bool_0 = true,
            int_1  = position
        };

        this.class423_0.method_38(Class816.string_13, A_0.CharacterFormat, class2);
        Class262 class3 = new Class262(A_0);

        class3.method_1(writer);
        if (A_0.CanHaveImage)
        {
            ShapeObject obj2 = (ShapeObject)A_0;
            if (obj2.ImageData.IsLink && !obj2.HasImageBytes)
            {
                Class813.smethod_2(obj2.ImageData.SourceFullName, 0x7fffffff, writer, false, false);
            }
        }
        Class931.smethod_1(A_0, writer);
        int num2 = (int)baseStream.Position;

        class3.int_2        = num2 - position;
        baseStream.Position = position;
        class3.method_1(writer);
        baseStream.Position = num2;
    }
Example #2
0
        internal void method_245(BinaryWriter A_0)
        {
            long     position = A_0.BaseStream.Position;
            Class262 class2   = new Class262();

            class2.method_1(A_0);
            this.method_246(this, this.FormFieldType, A_0);
            long offset = A_0.BaseStream.Position;

            class2.int_2 = (int)(offset - position);
            A_0.BaseStream.Seek(position, SeekOrigin.Begin);
            class2.method_1(A_0);
            A_0.BaseStream.Seek(offset, SeekOrigin.Begin);
        }