On Thursday 02 February 2006 6:58 pm, Oliver Specht wrote:

> Another 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.

Oliver,

        Thanks for your investigations and suggestions.

The suggestion quoted above is very useful. Have you considered whether it 
maybe worth enhancing the basic field / bookmark functions to support 
character styles within fields generally?

For example, this would allow captions and 'Tables Of Contents'  to properly 
show botanical/ scientific names in italics. And it would be an improvement 
if bookmarks could reflect their actual text formating.

Your are correct in suggesting that we need a special field / bookmark to 
support spanning over paragraphs. One of the 'fields' in the bibliographic 
database will be 'Abstract' and his needs to support full text editing, 
including paragraphs and probably headings. We need a structured way of 
dealing with this type of text and your suggestion seems to be a good way of 
doing it.

If this could be extended a bit further to included at least some types of 
embedded objects such as mathematical formulas it would be even better.

I think there would be a wide range of uses for the complex formated bookmark.

regards

David

-- 
-------------------
David N. Wilson
Co-Project Lead for the Bibliographic 
OpenOffice Project
http://bibliographic.openoffice.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to