On Monday 27 March 2006 12:15 am, Bruce D'Arcus wrote: Snip .... > > Anyway, here's the relevant page: > > <http://api.openoffice.org/docs/common/ref/com/sun/star/text/ > BibliographyDataField.html> > > OK, good news: > > There is, in fact, a reference class. It's very limited, just being a > series of key/values*, but at least it's there. I would hope that the > current ODF TC discussions to enhance metadata support might end up > with a better, more generic, mechanism for this, but that's not > strictly necessary. >
The more useful definition is the higher level - /FieldMaster/Bibliography which specifies the attributes of the Bibliography (reference table). http://api.openoffice.org/docs/common/ref/com/sun/star/text/FieldMaster/Bibliography.html Now this Service DOES currently hold the settings for the display of citations such as the setting for numbered citations and the use of and type of brackets used around the citation. It also contains attributes relating to the generation of the bibliography SortKeys, SortAlgorithm, IsSortedByPosition. (I have a detailed reference to the OOo bibliographic software modules at http://bibliographic.openoffice.org/implementation.html) First the Bibliography service needs to separate attributes of citations, and attributes of the Bibliography. Then, one point of view might be, that all it really only needs to do is to collect the formated bibliography text from Citeproc formating engine and insert it into the document. It would also maintain some other user selectable attributes such as selecting 'Allow manual editing' or 'preserve from editing' . Do we need to do more than that ? Is there any advantage in building a structure within the document that represents the structure of the bibliography. The only practical use I can see for this would be if the Bibliography Table needed to contained links to the underlying reference data, so that if you right click on a entry in the table you could select an option to edit the reference data that was used to build it. Or right click on the author name in the table and bring up author details. But is this worth doing ? I am not sure it is. Users would be able to access the same data via the citations in the document. It is easier to have just dumb formated text. I have presented a view of the possible interaction at http://bibliographic.openoffice.org/components.html, in the diagram shown at the bottom of the page, I suggested that the writer bibliography service would pass to Citeproc the style name and the list of reference Ids that are to be used in generating the reference table, along with any other user setting that may be available such as sorting options. Of course we need input from the Writer team about how they see things. 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]