If there are any Perl programmers on the list they like to look at 
OpenOffice::OODoc.


David

----------  Forwarded Message  ----------

Subject: Perl OpenOffice::OODoc & bibliography
Date: Thursday 17 March 2005 5:11 am
From: "OpenOffice::OODoc Project" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

David,

FYI, the last release of the OpenOffice::OODoc Perl API (to be released
in the next few hours) includes accessors allowing easy read/update
queries against any biblio property.

Example:

@list = $doc->getBibliographyEntries("GEN99");

returns the full list of entries where the identifier matches "GEN99"

$doc->bibiographyEntryContent
             (
             "GEN99",
             title     => "My Title",
             author    => "A Name",
             isbn      => "xxxzzz"
             );

updates (or creates) some properties of the [GEN99] entry

%properties = $doc->bibliographyEntryContent("GEN99");

returns a hash table (i.e. key/value pairs) containing all the
properties of [GEN99]

I hope that will help to develop quick scripts that directly process
bibliography entries in the OOo files...

Regards

-------------------------------------------------------

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