Created attachment 98549 [details]
The file contains a group shape and a title SDT content inside the header.
After doing the initial phase of analysis, we can say that the corruption might get introduced due to changes in header.xml
Steps to reproduce:
1. Open file in LibreOffice
2. Click File -> Save As (Microsoft word 2007/2010(.docx))
3. It saves as .docx
4. Open the same file again which got roundtripped.
The file should open properly after roundtrip.
It gives a message "The file cannot be opened because there are problems with the contents".
Operating System: All
Created attachment 98550 [details]
Umesh Kadam committed a patch related to this issue.
It has been pushed to "master":
fdo#78333 : SdtContent and a Shape overlapping causes corruption
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Still corrupted after roundtripping. Tested using Windows 8.1 with LibreOffice Version: 188.8.131.52.alpha0+
Build ID: 16ba360f2a526654cedfcd4cda230442c3a8a522
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-25_07:43:52
Created attachment 99805 [details]
Roundtripped file using LibreOffice version including fix; still corrupt in Word 2013
No repro anymore (Version: 184.108.40.206.alpha0+
Build ID: 4af1b789545bc3815f79fafed5b1806b3c08b69d
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-06-14_14:53:36)