OpenOffice-OODoc - Re: Setting an image anchor type

Posted on Thu Jan 18 00:48:25 2007 by bob in response to 4058 (See the whole thread of 4)
Re: Setting an image anchor type
This worked:
@image_elements=$content->selectElements('//draw:image','Pain Diagram'); my $image_element=shift @image_elements; if ($image_element) { my %attr=('text:anchor-type','paragraph'); $content->setAttributes($image_element,%attr); }
Thanks again.
Write a response