Hi to all, there is a way to set with tha API the property First
Paragraph when i surround an image with the text that i load
automatically?? The property normally is set click with the right button
on an image, then go on the WRAP submenu and then the property is FIRST
PARAGRAPH.
I use this property:
SurroundAnchorOnly=true
TextWrap=DYNAMIC
AnchorType=AT_PARAGRAPH
I would to uncheck the property First Paragraph during the load and not
after...
Please someone help me!
This is the code that i use:
ps.setPropertyValue("AnchorType",TextContentAnchorType.AT_PARAGRAPH);
ps.setPropertyValue("SurroundAnchorOnly",new Boolean(true));
ps.setPropertyValue("GraphicURL", "file:///"+url);
ps.setPropertyValue("TextWrap",com.sun.star.text.WrapTextMode.DYNAMIC);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]