2008/3/6, Robin Laing <[EMAIL PROTECTED]>:
>
> [EMAIL PROTECTED] wrote:
> > When writer tries to recover the file, sometimes it is
> successful  others
> > times not (same file).  That seems to depends on if I rename  the file
> and try to
> > open it.  If I hit cancel (recovery stage) it will  open the recovered
> file
> > (different named, same file) and lock up.  If  I am not posting this to
> the
> > wright place please let me know and where to post  this.  If I can edit
> the file,
> > I might be able to get it to work.
> > Regards
> > Rene
> >
> >
>
>
> Copy to OP.
>
> As stated before, all document files in the *.odt format are zipped
> files.  Normal pkzip files.  In order to edit them, you have to unzip
> the files.
>
> On Linux, I just type in unzip xyz.odt and end up with a bunch of files
> and some subdirectories.
>
> drwxr-xr-x 10 xxx xxx  4096 2008-03-06 11:06 Configurations2
> -rw-r--r--  1 xxx xxx 82539 2006-11-15 20:49 content.xml
> drwxr-xr-x  2 xxx xxx  4096 2008-03-06 11:06 META-INF
> -rw-r--r--  1 xxx xxx  1280 2006-11-15 20:49 meta.xml
> -rw-r--r--  1 xxx xxx    39 2006-11-15 20:49 mimetype
> -rw-r--r--  1 xxx xxx  8260 2006-11-15 20:49 settings.xml
> -rw-r--r--  1 xxx xxx 17028 2006-11-15 20:49 styles.xml
> drwxr-xr-x  2 xxx xxx  4096 2008-03-06 11:06 Thumbnails
>
> The file you are looking at is content.xml which is a standard xml file.
>
> Now for an interesting part.  I had an issue with 2.3 corrupting files
> on a computer but 2.3.1 would open those files with no issues.  Make
> sure you have the latest version of OOo.  I had the same symptoms that
> you are describing.
>
> If the file won't unzip then you may have a corrupted file and some
> programs can make attempts to fix corrupted zip files.  If the file does
> unzip, then the problem is internal to the document.
>
> Also search for the same file name on your computer.  There may be an
> older or temp file that is okay.
>
> Also check the tmp directories for files with the same date/time as the
> original file corruption date.
>
>
> --
>
> Robin Laing
>

By the way, since this is the discussion list, why is OpenOffice.org using
the .zip format? Since it is Open Source, wouldn't .tar.bz be a better
choice? I did some experiments with some files and found that tar.bz gave me
the smallest files, even smaller than .cab files! Very often, .zip files
were much bigger, maybe even more than 5% or so.
Maybe .tar.bz is too slow or something, I didn't test that.


J.R.

Reply via email to