Created attachment 89465 [details] For attached document, in header2.xml the 'w:tc' start tag does not match the end tag of 'w:hdr'
Steps to Reproduce:- 1] open attache document in LibreOffice 4.2 2] Select save_as option 3] After save_as, open file in MS Office 4] File gets corrupted Current beahviour:- Import: 1] Footer is missing Export: 1] In header2.xml, <w:tbl> <w:tblPr> </w:tblPr> <w:tblGrid> </w:tblGrid> is getting repeated inside <w:tr> which is not correct and causing corruption. 2] Also the footer.xml is missing Expected behaviour:- 1] File should not get corrupted after Roundtrip in LibreOffice 2] Footer information should be saved
Thanks for reporting :-). Not only footer.xml is missing, also endnotes.xml, footnotes.xml and webSettings.xml Not sure that's also bad or not :). Marking as NEW. Tested using Mac OSX 10.9 with LibreOffice Version: 4.2.0.0.alpha1+ Build ID: 9c45345a680f7444df251f9403c7d56572380f21 TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2013-11-18_12:43:03 Kind regards, Joren
Hi Joren, Thanks for testing the bug. For missing endnotes.xml and footnotes.xml, LibreOffice does not write back these files if those are empty. If you check endnotes.xml and footnotes.xml, you can observe these files are empty. Hence LibreOffice is not writing them back while exporting the document. And surely there is a problem with webSettings.xml. Right now working on corruption part. Regards, Pallavi Jadhav
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.