On Fri March 3 2006 01:45, Bruce D'Arcus wrote:
> On Mar 2, 2006, at 7:49 PM, CPHennessy wrote:
> > OK, I now have some code using the DomBuilder (used in XForms) so that
> > I can parse and store the Citation in a DOM.
>
> Excellent.
>
> > Now *all* I need to do is to properly associate this with a
> > Bibliography text field, and at a minimum to hook the mechanism for
> > the generation of the citation string (XTextField::getPresentation() ?
> > (not sure exactly how to do that, but .. )
>
> I'm not really sure exactly how all this ought to fit together. I had
> imagined some kind of createReferenceList() method that would create an
> array of reference objects, and then from the citations your
> getPresentation() method to grab the formatted text. There would then
> be something similar for the bibliography formatting.
>
> Does that make any sense?
>
> The devil is in the details*, and so am not sure the best way.
Hi Bruce,
Don't confuse me too much withe the various citation/bibliographic stuff :)
I think that the system that you want can be described in a much simpler way
by considering the actual processing as a seperate step to the storing and
the display of the data.
1) parse the citation data (done)
2) associate that with the relevant part of the paragraph (working on it)
2) save the data in the correct format to disk
3) display the citation *as is* (as a first pass)
4) provide hooks for the manipulation of the citation data to produce the
required format in the paragraph (i.e. a UNO interface for your scripts to
generate the format you require)
5) format the citation for the footnote/endnote (is this needed?)
6) format the citation for bibliographic table(is this needed ?)
Does this sound reasonable ?
--
CPH : openoffice.org contributor
Maybe your question has been answered already?
http://user-faq.openoffice.org/#FAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]