I have looked at the original file (
http://www.sendspace.com/file/ie98wv) and it seems to be broken quite badly. It is an unfortunate fact that a small corruption in a ZIP file (and .odt files are ZIP files) can mean you lose access to multiple files within it.
1 content.xml is reported as being 136kB uncompressed. When I try to expand it (or test it, I am using 7-Zip) I get an error message "Data error in 'content.xml'. File is broken". When it is expanded, it is only 67kB. So, some error has occurred while compressing the file and lots of data has been lost. When I open it with an xml editor (XML Notepad 2007) I get an error "Error loading ... argin-bottom is an unexpected token ...". This does suggest, as you say, that the "m" from "margin" has been truncated. If so, what else has been lost?
2 When I test layout-cache and mimetype, they are OK
3 When I test manifest.rdf, I get "Unsupported compression method for 'manifest.rdf'", and the same error for meta.xml, settings.xml and styles.xml. I doubt this is actually an unsupported method - it is much more likely that the file is corrupted so it looks as though it is an unsupported method.
4 When I test folders Configurations2 and META-INF, they are OK
5 When I test all the other folders, I get the "Unsupported compression method" error for some, but not all, files in the folders. For example, some of the image png files are OK, some are corrupted.
I then tried to copy the "recovered, but only 67kB" content.xml, and Pictures folder to a minimum AOO odt file so as to replace as many broken xml files as possible. It didn't work this time.
If I was to guess, and I hope I am wrong, I would say that AOO has failed when writing the file and the chance of your getting much out of it is small. The file is quite large - 8MB or so - raising the possibility that it took quite a long time for AOO to write it. Is there any possibility that you managed to interrupt the writing of the file? For example, did you shut the laptop lid and hibernate before AOO had finished writing the file?
I don't know any XML so cannot comment on the contents of the xml files.
How to minimise the effect of its happening it in future.
1 Always take a backup of changed files every day.
2 Always set AutoRecovery to save a copy of the file while you are working on it - it protects against things like power cuts, OS freezes etc. Tools > Options > Load/Save > General
3 Always set Create a backup copy to ON - this keeps the previously saved version of the file. Tools > Options > Load/Save > General
EDIT - ideas added below
4 As suggested by Rory below, do not be over quick to power down or hibernate your computer
5 Be very careful if you save to a USB stick - be sure to Eject it safely.
Why? In order speed up PC when talking to slow things like memory sticks, Windows writes the data to a high speed buffer, and then copies the data slow-time to the USB stick. If you pull it out before the buffer has been written, you lose that data. See Safely remove devices from your computer at
http://windows.microsoft.com/en-gb/wind ... r-computer for more information. I think Windows 7 can be set up so as to not to use the write buffer, and always write direct to the USB stick, but I forget how.