Created attachment 67925 [details]
Short file that fails
docx file created in Writer cannot be opened in Windows Word 2007 or 2010. Fails with 'The file cannot be opened because there are problems with the contents'.
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit
Opens perfectly in Writer, cannot be opened in Word 2010.
Confirmed with OSX 10.9 and Word 2011. But I think this looks like NOTOURBUG.
Adding NeedAdvice for some dev input on how to proceed with this bug.
Created attachment 92682 [details]
Word2013 error message
Word2013 on Win7 gives following error message: "Leider kann "This breaks it2.docx" nicht geöffnet werden, da der Inhalt Probleme verursacht.
Position: Komponente: /word/document.xml, Zeile: 2, Spalte: 0"
This document foo.docx sadly cannot be open, because the content causes problems.
Position: Module: /word/document.xml, line: 2, column: 0
I've created a docx from an odt with latest LO4.2 and I can't open it with Word 2013. MS Word just keeps trying opening it in an endless loop.
To Foss: I don't see how this would be NOTOURBUG since it's LO producing a docx that doesn't correspond to MS expected format.
I'll be attaching both the original file (odt) and the generated docx in a moment.
Created attachment 93067 [details]
odt created with LO 4.2. It contains pictures, captions and page breaks.
Created attachment 93068 [details]
generated problematic docx file
Generated using LO 4.2 from the original odt file. MS Word 2013 can't open it, it keeps looping endlessly trying to open it.
(In reply to comment #2)
> Confirmed with OSX 10.9 and Word 2011. But I think this looks like NOTOURBUG.
Foss -- what makes you think that it's not our bug?
(Even if the content we write should be valid according to the spec, I'm not sure if we can easily push this bug report over to Microsoft's Office team, unfortunately)
> Adding NeedAdvice for some dev input on how to proceed with this bug.
Whiteboard: (removing NeedAdvice)
Looks fixed to me, tested using Version: 126.96.36.199.alpha0+
Build ID: a82ff18269e5b37348d402b7c21c3f200068265c
TinderBox: Win-x86@39, Branch:master, Time: 2014-07-20_02:34:36
Word 2013 can open the exported .docx file correctly. Only some caption formatting issues (caption is at top of the image instead of at the bottom).
This should be reported in a new bug report (will do in a minute).
I'll attach the exported .docx file using mentioned LibreOffice version.
Marking as RESOLVED WORKSFORME due the fact we don't know exactly which commit fixed this issue.
Created attachment 103146 [details]
Exported docx file using LibreOffice 4.4.0+
May work in 2013, but still does not work in 2007 or 2010 - which is what the original but reported. Please re-open.
I can no longer reproduce this issue with
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: es-ES (es_ES)
and Office Word 2010
on Windows 7 (64-bit)
Thus, I close this as RESOLVED WORKSFORME