Same sxc problem here: With LibreOffice Calc from Debian Wheezy (I think it was the normal version, 3.5.4) I opened a file that I have been occasionally editing since several years. It’s still in SXC format, I didn’t see any need to change. Editing and saving worked; when I open it now, I only see “ooow:” formulas. The formulas are still there, in theory I could enter them all again, but that would be a pain.
The “Display Formulas” checkbox has no effect. Tried to open it with LibreOffice 4.0.3 from Wheezy-Backports and with Apache OpenOffice 3.4.1 - same result. I suppose that the problem might not be in reading that file, but that a problem occurred during the save. Unfortunately I cannot share the document here. But looking at its content.xml, the formulas do not look that bad:
<table:table-cell table:style-name="ce31"
table:formula="=SUM([.F4:.F13])" table:value-type="currency"
table:currency="EUR" table:value="637.17948676521">
<text:p>637,18 €</text:p></table:table-cell>
The only time “ooow” is mentioned inside content.xml (and style.xml) :
xmlns:ooow="http://openoffice.org/2004/writer"
In the document the cell shows as :
ooow:=SUM([.F4:.F13])
I’ll read an old copy from backup and see whether I can find any differences. But that will take me some time.
EDIT: It worked! Thanks to KDiff3, I could identify the little attribute that was missing. I unzipped the SXC file into a directory, then edited content.xml. At the beginning of this file, there is a big <office:document-content> tag. This tag ends in the corrupted version with
office:version="1.2">
and I needed to add more one attribute :
office:version="1.2" office:class="spreadsheet">
Then rezipping all files into a SXC (if you’re using zip under GNU/Linux, don’t forget -r, which is implicit with tar), opening it with LibreOffice => formulas work!