To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=103101 Issue #|103101 Summary|wrong view update after changing CharHidden via API Component|Word processor Version|OOo 3.1 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|writerneedsconfirm Reported by|clutz
------- Additional comments from [email protected] Thu Jun 25 13:57:21 +0000 2009 ------- This issue might be related to issue #78896 but the symptoms and the usecase slightly differ, so I post a new issue for this one. The attached letterhead has some text content which gets hidden and viewed again due to a necessary workflow of our letterhead system. The following included macro-code simulates these steps: Sub Main t = ThisComponent.Text cursor = t.createTextCursorByRange(t) cursor.setPropertyValue("CharHidden", true) cursor.setPropertyToDefault("CharHidden") End Sub After running the macro, there are some lines still invisible though the API-representation of the objects has set CharHidden=false. It seems that the view is not updated correctly after changing the property value. Here is how to reproduce: 1) open the attached document updateBug2.odt and allow the macro to be executed. 2) look at the document - there are the lines one, two, three and four 3) press the button which calls the above macro code 4) look at the document - there are only the lines two and four left. 5) Do this just to prove that the internal representation of the objects is correct: save the document and press file->reload 6) look at the document - the origin content with all four lines is restored. --------------------------------------------------------------------- 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]
