Hi,
CPHennessy wrote:
[Sorry for the delay - the day job .. ]
On Thu February 2 2006 07:58, Oliver Specht wrote:
Hi,
after discussion with some colleagues here in Hamburg I want to describe
how a solution could look like:
The Writer has two possible content types that could be extended to
support the citation element (and other elements generically)
The first is the text field (com.sun.star.text.TextField). A generic
field service could be added to the API of the Writer that would have a
property that contains a DOM tree. This DOM tree contains the
citation-element. The bibliography creates the DOM tree of those fields
and inserts them into the text together with a string that contains the
presentation text.
This sounds quite interesting, is there already an example to play with (even
if it is another element)?
No, there isn't any example yet.
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.
Does this then mean that (only) a minor modification to either the Bookmark
or the TextField that we will get this DOM ?
Yes, this is not a big change.
Regards,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]