Juergen Schmidt wrote:
Hi Xavier,

first of all you send the email to a wrong list. Better would be [email protected] or even [email protected].
forget this, i had this email in my inbox with recipient [email protected]. It seems that i was confused or even not really awake ;-)

Juergen

Anyway, you can use
the office to create a template ods. Later on you can unzip the ods and you shoul take a look on the containg files (understand ODF). You can fill or generate the content.xml with data from your database via a simple xsl transformation or so. After filling the content.xml zip it together with the other files back into the ods. If i remember it correctly the manifest have to be the first entry in the zip. Try it out ;-)


Or if you would prefer a office independent API take a llok on the www.odftoolkit.org project and the related Java API.


Juergen


PS: by the way UNO is not so complicate as you think, only the start is a little bit tricky ;-)



Xavier Callejas wrote:
Hi,

I'm developing a java web application, I need to generate ODS documents containing database data, I do not do this with csv because we want to generate this files with styled cells/text.

I have been reading all day yesterday about the OpenOffice SDK and it seems to much complicated for just generate ods files, I mean I need to have openoffice installed, etc. imagine if the client do not has openoffice installed and just want to get the spreadsheet file to get it to another computer?

Is there a easy way to generate ODS files using java? without all this complicated UNO stuff?

Thank you in advance.

rgds.

xavier

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to