OpenOffice Bibliographic implementation
ContentsObjectiveThis page provides some basic information about how Openoffice implements its bibliographic functions. It provides links to the detailed documentation provided by Openoffice. For related information see the Developer page. For details of our proposals for enhanceing the bibliographic API's see the wiki page. File Save format
OpenOffice XML schemas
OpenOffice Bibliographic API code functions
TextFieldhttp://api.openoffice.org/docs/common/ref/com/sun/star/text/TextField.html Description A TextField is a TextContent which fades its textual representation into the text range to which it is anchored.See the Developers Guide 7.3.5 Text Documents - Working with Text Documents - Text Fields "Text fields are text contents that add a second level of information to text ranges. Usually their appearance fuses together with the surrounding text, but actually the presented text comes from elsewhere. Field commands can insert the current date, page number, total page numbers, a cross-reference to another area of text, the content of certain database fields, and many variables, such as fields with changing values, into the document. There are some fields that contain their own data, where others get the data from an attached field master."
Included Services TextContent is an object which can be anchored in a text, like instances of TextFrame or TextFields . Exported Interfaces XTextField Description This interface is used to access the textual representation of this field. [ OPTIONAL ] Description makes it possible to access the properties of the field, if any. Comment by David WilsonThe 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. 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." See issue 66979 XTextField.html#getPresentation
Bibliography
textfield/Bibliography
FieldMaster/Bibliography
BibliographyDataField
TextSection
|

