

Sometimes removing the styles.xml from the document does the trick.Ħ) Look in your Temp directory. Alternatively, you can try deleting the " styles.xml" document, rename the file back to an extension, and try opening the file as normal. It will have a bunch of formatting statements you'll have to delete, but the actual text should be there too. Open this file with any text editor, and you may find your document text. If you're lucky, you'll see a bunch of files contained in this newly-created Zip file. Then open the file using Microsoft Windows or WinZip. Change the extension of your document from whatever it is (like ODT, ODS, ODP, ODG, ODB, ODF) to a ZIP extension. Copy it somewhere else and open it with OpenOffice.ĥ) Rename as a ZIP file. It will have the same filename as your original, only with a. If you've checked the "Always create backups" in the OpenOffice settings, keeps backups of all your files at this location:Ĭ:\Documents and Settings\ USERNAME\Application Data\\user\backupīrowse to that location and see if your file is there.

(For spreadsheet, Calc or ODS documents, instead use the " Insert -> Sheet from File" menu option.)Ĥ) Find backups.

Go to the " Insert -> File" menu and insert your corrupted file. Try the following to recover OpenOffice data (and make sure you have a backup of the original problem file, just in case):Ģ) Do you have the latest version of installed? If not, download it, install it, and try to open the file again.ģ) Insert the file.

The file 'file.odt' could not be repaired and therefore cannot be opened.Ī little intimidating, and not good to see. The file 'file.odt' is corrupt and therefore cannot be opened. You might see scary error messages like these:įormat Error discovered in the file in sub-document styles.xml at 2,2568(row,col) So you've been using and you have a corrupted file in programs like Base, Calc, Draw, Impress, Math or Writer.
