Posted on Thu Nov 16 21:48:11 2006
by jmgdocin response to 3535(See the whole thread of 4)
Re: Draw a Shape in Impress
Assuming $shape is a previously created shape object (i.e. the return value of the insertElement or appendElement instruction which created the shape), one can simply write:
$doc->appendParagraph
(
text => "the text",
style => "MyParagraphStyle",
attachment => $shape
);
Note: a new paragraph could be attached this way to many other kinds of containers