To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73569 Issue #|73569 Summary|internal representation of collapsed bookmarks has cha |nged -> compatibility issue! Component|Word processor Version|1.0.0 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mru Reported by|clutz
------- Additional comments from [EMAIL PROTECTED] Wed Jan 17 08:08:50 -0800 2007 ------- It seems that "Insert->Bookmark..." (in the writer) of OOo 2.0.4 (and maybe also OOo 2.0.3) behaves different than in previous versions. If the created bookmark has no textcontent (so it is a collapsed bookmark), the bookmark is represented in a different way than in previous versions of OOo 2.0.x. For me a collapsed bookmark is a bookmark where bookmark.Anchor.getStart() == bookmark.Anchor.getEnd(). There seems to be two ways of representing such bookmarks internally: Type A) The collapsed bookmark is represented by two objects ob Type XTextContent. The first one has the attributes IsStart==true and IsCollapsed==false, the last one has the attribute IsStart == false. There is no other textcontent between the start mark and the end mark, so the bookmark is empty (or collapsed). The XML-Representation of such a bookmark is: <text:bookmark-start text:name="collapsed"/><text:bookmark-end text:name="collapsed"/> Type B) The collapsed bookmark is represented by only one object of type XTextContent. The object has the properties IsStart==true and IsCollapsed==true. The XML representation of such a bookmark is (please note: it's a different XML-element!!): <text:bookmark text:name="collapsed"/> In the early versions of OOo 2.0.x, the collapsed bookmarks were represented by type A bookmarks, while since 2.0.4 (or even also 2.0.3 - I'm not quite sure) the collapsed bookmarks are represented by type B bookmarks. Because of this change we ran into serious problems with our letterhead system that are caused by a corresponding issue #73568. Is it possible to get the old bahaviour (creating collapsed bookmarks of type A) back? Of course, alternatively there would be everything fine if we could get issue #73568 fixed very soon. --------------------------------------------------------------------- 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]