https://bugs.documentfoundation.org/show_bug.cgi?id=147141
--- Comment #2 from Wittich <[email protected]> --- (In reply to Wittich from comment #1) > A quick analyze of the difference of a document which works (version 1.2) > and one which doesn't work (version 1.3) shows that the only main difference > concerning the header and footer of these documents are the lines > > <office:master-styles> > <style:master-page style:name="Default" style:page-layout-name="Mpm1"> > [...] > <style:header-first style:display="false"/> > [...] > <style:footer-first style:display="false"/> > [...] > </style:master-page> > </office:master-styles> > > So if I remove this header-first and the footer-first style, everything > works as it should. > > Hope that helps to solve the issue. Here is a way to fix corrupted files so that they show the header/footer correctly with an old calc installation: 1. unzip -p file.ods styles.xml > styles.xml 2. sed -i -r 's/<style\:(footer|header)\-first style\:display="false"\/>//g2' styles.xml 3. zip file.ods styles.xml This works for me as I get regularly ODS which are saved as office version 1.3 and I lose the header and footer at the moment. -- You are receiving this mail because: You are the assignee for the bug.
