Joined: 23 Nov 2005
|Posted: Fri Feb 17, 2006 4:21 am Post subject: Shape Position in paragraph
I try writing openoffice writer wrapper for delphi. I have a problem with shape. I can put rectangle into leftside of the paragraph. But I cannot set distance between shape and paragraph text.
How can I set distance between paragraph text and shape ?
My code is below.
vShape := gvDocument.createInstance('com.sun.star.drawing.RectangleShape');
vShape.size := vStructShapeSize;
vShape.Position := vStructShapePosition;