Issue 66979

Summary: Enhanced Bookmarks to Include Formatted Text
Product: Writer Reporter: dnwilson
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, os_ooo
Version: OOo 2.0.3   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://wiki.services.openoffice.org/wiki/Writer_enhancements_for_OOBib#Enhanced_Bookmark_Function_to_Include_Formatted_Text
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 4260    

Description dnwilson 2006-07-04 01:40:48 UTC
The proposal is to to add a new object that is similar to bookmarks 
(com.sun.star.text.Bookmark). This extended bookmark would also carry a DOM 
tree property.

This enhancement is required to support the Bibliographic enhancements. The 
data fields in the bibliography need to support complex formatted text and 
objects and this is not possible with the current text field. For example some 
scientific document titles need to be able to display words in Italics. 
Mathematical titles need to represent equations. I am sure that that this 
feature would also be of benefit in other areas.

In discussing how to achieve this, Oliver Specht, has advised that the best 
approach was to enhance the bookmark object. 

A possible solution is "to add a new object that is similar to bookmarks 
(com.sun.star.text.Bookmark). This extended bookmark would also carry a DOM 
tree property. This 'bookmark' can span over formatted text longer than a 
paragraph. The user can modify the text inside of this bookmark easily. 
An interface to access the new elements needs to be implemented (sorted by 
document position). 
The DOM interfaces are in com.sun.star.xml.dom. (e.g. XDocument.idl, 
XNode.idl, XElement.idl) 
There's also a service com.sun.star.xml.dom.DocumentBuilder available that 
supports the creation of DOM trees. 
The bibliography component works on the DOM tree and can manipulate it 
independently. In case of using a field the component has to set the resulting 
string representation of the reference at this field."
Comment 1 dnwilson 2006-07-04 01:45:03 UTC
Enhanced Bookmarks to Include Formatted Text is required to implement many of 
Bibliographic facility enhancements.
Comment 2 michael.ruess 2006-07-11 09:48:55 UTC
MRU->ES: already known/tracked RFE?
Comment 3 eric.savary 2006-07-11 10:23:46 UTC
Reassigned