To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=55228 Issue #:|55228 Summary:|Cursor.setAllPropertiesToDefault & |.setPropertyToDefault don't work as expected Component:|api Version:|680m130 Platform:|All URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|sw Reported by:|bmarcelly
------- Additional comments from [EMAIL PROTECTED] Thu Sep 29 04:46:13 -0700 2005 ------- Writer text formatting. I was trying to find the API equivalent to menu command Format > Default formatting, and I came upon this defect: - In a Writer text, create a text cursor. Add some text with formatting. - apply on the cursor setAllPropertiesToDefault : properties are reset through the whole paragraph, instead of only at cursor position - apply on the cursor setPropertyToDefault("CharHeight") : all properties are reset at cursor position, instead of only property CharHeight; in fact any property gives the same anomaly. I fear this is only the tip of an iceberg. The bug is already present on OOo 1.1.1. Next attachment is a Basic demo. --------------------------------------------------------------------- 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]