Created attachment 124802 [details] Original File (ODT) Windows 7 Bodhi Moksha LibreOffice 5.1.2.2 & MS Office 2013 I wrote an incredibly basic paper over the past few days with zero styles used, just bold, underline, one size font (12 Times New Roman). Because there was a page limit on the paper I had to pay close attention (and cut out substantial portions) to hit the limit. After writing the entire document in LibreOffice, I booted into Windows and opened both the odt and the docx only to find out that the 10 pages shown in LibreOffice became just over 9 pages in MS Office. I lost a substantial amount of work (cut out because I thought I was over the limit) and time (trying to add back what I had stripped out) because of this. For a document that has zero funky things going on - 1" margins, single font with a single size, a little direct formatting (bold/underline/italics) I had assumed perfect interop. I am attaching the original odt, the original docx, pdfs of both LibreOffice and Microsoft Office.
Created attachment 124803 [details] Original File (Docx)
Created attachment 124804 [details] PDF Output (MSOffice 2013)
Hi Joel, Strange. Do you notice the difference in the header spacing? Did you track what parts disappeared? Ciao - Cor
It's line spacing - LibreOffice only fits 21 lines per page, Microsoft Office at the standard Times New Roman font fits 23 (which is expected - the assignment I had due said "Times New Roman font, 10 pages max, double space with 23 lines per page)". Verified both on Windows and Linux. Nothing disappeared. Everything matches up in terms of settings yet LibreOffice shows 10 pages while Microsoft Office shows 9.25. Both LibreOffice and Microsoft Office show: Times New Roman font; Size 12; Double Spaced; 1" page margin So it's either LibreOffice is using some different line spacing, the font despite being 12 is a little bigger than MSO, the margins are slightly larger (despite both saying 1") There's not much more I can provide. I gave the proof - if you open the odt or docx in MSO you'll see nothing is missing yet the pages to align. For cases where there is a page limit (often times with grants, court documents, etc...) this is a blocker which prevents me (and others in my position) from using LibreOffice in a professional way as it strips out as much as 10% of the available writing space in an incredibly simple document.
Created attachment 124840 [details] PDF Output (MSOffice 2013) retested
Created attachment 124841 [details] PDF Output (MSOffice 2010) retested As shown, both MSO 2010 and MSO 2013 show DOCX just as LO, on 10 pages. So, not reproduced. Tested in Windows 7 and Windows 8.1.
(In reply to Timur from comment #6) > Created attachment 124841 [details] > PDF Output (MSOffice 2010) retested > > As shown, both MSO 2010 and MSO 2013 show DOCX just as LO, on 10 pages. > So, not reproduced. Tested in Windows 7 and Windows 8.1. That is really weird and even more concerning...I open the attached document in Linux and Windows in LibreOffice, both show 10 pages, MSO 2013 shows 9.25...
(In reply to Timur from comment #6) > Created attachment 124841 [details] > PDF Output (MSOffice 2010) retested > > As shown, both MSO 2010 and MSO 2013 show DOCX just as LO, on 10 pages. > So, not reproduced. Tested in Windows 7 and Windows 8.1. I have the exact same result. Win 8.1 32-bit MSO 2013
Of course, Joel, please try to find out why you get that result.
I honestly don't have a lot of time to be experimenting with it right now. Closing as WFM and I'll just have to rely on MSO when doing these kinds of assignments (no blame, stuff happens....just need things to work when I'm working on things for work). Thanks all for taking the time to test.
Thanks to bearon in #libreoffice-dev - the underlying issue has been determined. Reported a new bug (bug 99828). Still a big problem for professional work interoperability but at least that bug identifies the underlying issue. Thanks all.
Created attachment 125103 [details] screen print of original docx from Writer opened in Word
Created attachment 125104 [details] screen print of original ODT from Writer opened in Word
I've attached two png's (comment 12 and comment 13) showing original docs and ODT opened in Word2010. Mind dat ODT cannot be opened directly be goes through a MS repair washing street .. The docx is 10 pages. The repaired odt a bit more than 9. Conclusion 1 : ODT>DOCX in Writer gives correct result in Word Conclusion 2 : ODT from Writer in Word 2010 is not interpreted correct.
*** This bug has been marked as a duplicate of bug 33304 ***
So the issue turned out that Joel added '.doc' in the save as dialog without changing the file type drop down list to DOC, so it was saving to odt format in the saved .doc.
Ok, so since in this case Word's ODF handling is buggy, let's use status NOTOURBUG. Then we can have a followup enhancement for setting saved file type based on extension.
Return it back to WFM as it was user error of joel to incorrectly save the file with .doc extension in odf format.
This is actually a bug in handling file extensions during save (extension .odt should have been added by LO), and I opened bug 111070 on it.
For clarification, the expected/propsed behavior in bug 111070 wouldn't change the file type during save (that behavior was dismissed in bug 93199), but would eliminate the confusion by adding the extension.