To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=62461 Issue #:|62461 Summary:|Can't set the property FIRST PARAGRAPH in the WRAP |menu from API Component:|api Version:|OOo 1.1.4 Platform:|All URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|sw Reported by:|thoriredd
------- Additional comments from [EMAIL PROTECTED] Thu Feb 23 00:35:23 -0800 2006 ------- Hi, i use the API&Java to load some RTF into a big one writer file. In this RTF the images are represented from a string (something like #....#),at runtime i substitute the string inserting the image,then i would to wrap the text around the image, so i set this property for the GraphicObject that represent the image: gObject = mxDocFactory.createInstance("com.sun.star.text.GraphicObject" ); ps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, gObject); ... ps.setPropertyValue("AnchorType",TextContentAnchorType.AT_PARAGRAPH); ps.setPropertyValue("SurroundAnchorOnly",new Boolean(true)); ps.setPropertyValue("GraphicURL", "file:///"+url); ps.setPropertyValue("Surround",com.sun.star.text.WrapTextMode.RIGHT); ps.setPropertyValue("SurroundContour",new Boolean(true)); ps.setPropertyValue("ContourOutside",new Boolean(true)); s.setPropertyValue("IsAutomaticContour",new Boolean(false)); The problem is that OO set automatically the flag FIRST PARAGRAPH in the submenu WRAP (find it clicking with the right button on the image), i need to uncheck this property with the API but i don't found anything... I can't do this manually because the image in the final document are thousands... The problem is the same with OO1.1.4 and OO2.0 This is a bug? or something else?? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]