Hi Jean,
We use the OpenOffice format a fair bit here for other projects. I did
write a simple generator to extract the 'content.xml' from the .sxw file
but it was a bit of a kludgey hack as my java skills are still a bit
infantile!
I'd be interested in utilising your offering if that's
You can read zipped content with the regular FileGenerator, using the jar:
protocol.
See http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample
-Original Message-
From: Tony Edwards [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 November 2003 12:36
To: [EMAIL PROTECTED]
Subject: Re
I didn't know the FileGenerator zipped capabilities ...
Here it is my source. It's pretty simple. It inherits from the
FileGenerator.
You have to give 4 parameters :
* src : src archive path
* directory : dir where you want to store the unzipped content
* file : file to extract
* newfile : new
: Thursday, 20 November 2003 12:36
To: [EMAIL PROTECTED]
Subject: Re: InflatedFileGenerator
Hi Jean,
We use the OpenOffice format a fair bit here for other
projects. I did
write a simple generator to extract the 'content.xml' from
the .sxw file
but it was a bit of a kludgey hack as my java skills