Gordon Burgess-Parker <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

> " Read Error.
> Format error discovered in the file in sub-document styles.xml at
> 2,2654(row,col)"
> 
> Firstly can anyone tell me how to recover this document, and secondly,
> why did this happen? There was no error message at all in editing and
> saving on OO 1.979. (I get this same error trying to open the file on
> 1.979 as well as OO 2)
> 
> HELP!
> 
To get the text out, open the (sxw or odt) file in a zip utility, and 
extract content.xml, which will contain all the text, exactly as it was, in 
a single long plain text file without any formatting. That's the first 
thing to do, and should rescue all your text. 

If you're feeling bored, and if you have already rescued the text 
successfully, there are other things to try. The corruption, as the message 
says, is in styles.xml, at the end of a very long line. If the document had 
any very fancy styling that you can't easily recover, you might try looking 
at styles.xml in a text editor too to see if there is anything obviously 
wrong. Or you can try to unzip another file from the same template, and 
copy the styles.xml from that into the unzipped probem file, before zipping 
it al up again. Might work. Might crumple the file altogether. Don't try it 
without backups.

-- 
Andrew Brown
The email in the header does not work.
Contact details and possibly useful macros from
http://www.darwinwars.com/lunatic/bugs/oo_macros.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to