Bernd Eilers wrote:
Hi there !
Andy Pitonyak wrote:
Is it possible to construct a zip file from the extracted contents of
an ods or odt file that is identical to the original ods/odt file? I
would like to be able to do something like the following:
$ unzip doc.odt -d doc
$ cd doc
$ zip [options] ../doc2.zip *
$ diff ../doc.odt ../doc2.zip && echo match
match
One additional note:
odf4j (ODF for java) is a project that just started in the odftoolkit
subproject of OpenOffice.org it already has support for handling the ODF
Package file format and provides good results in being able to create
"identical" files maybe this is also something that could be useful for you.
You can check out odf4j source code via anoncvs using the command:
cvs -d :pserver:[EMAIL PROTECTED]:/cvs checkout
odftoolkit/odf4j
Kind regards,
Bernd Eilers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]