Created attachment 146504 [details]
Stripped down version of attachment 146414 [details]
This is a spinoff of the 4th issue described in Bug 80635. When in compatibility mode, we are not properly fitting all of the content on to 1 page.
Steps to reproduce:
1. Open PageBug-old.docx or PageBug.doc in Writer
2. Compare with Word
Content takes up 1 page
Content takes 2 pages
Created attachment 146506 [details]
Same file saved in "compatibility mode" .docx
The "compatibility mode" .docx has the same issue as .doc
Created attachment 146507 [details]
Same file upgraded to new OOXML format
When compatibility mode is disabled, the document correctly imports to 2 pages. Word also takes up 2 pages.
Created attachment 146514 [details]
PDF exported from DOC in Word 2013
Interestingly both the DOC and the old DOCX show as two pages in Word 2013 for me, the new DOCX even shows as 3 pages.
PDF export of the DOC is only a single page, though.
I can confirm that in Writer it's two pages in a recent daily build, though I'm more concerned about the table spilling over to the right, which seems to be a regression between 4.0 and 4.4, and could be bibisected (at this point the top table isn't imported).
Scratch the final paragraph of my previous comment, that's bug 80635.
As I can see the layout change is due to floating table -> regular table conversion. If you change 'Text wrapping' of the table in Word to None, it'll show exactly like in Writer. It still feels like the layout is a corner case in Word, as I'd expect it to stay stable between display and export/printing.
I'm not in favor of keeping this bug open.
Because, as Aron noted, DOC shows as two pages in Word 2013 and 2016. File is not a good example, rather it's problematic.
Report is not clear why content should take 1 page and how it takes 2 pages. It's about single row on page 2? We have some bugs about differences in table height, especially with Microsoft fonts.
We already have 2 bugs for the same wrong DOC: bug 80635 and bug 80717.
Please consider to close.
Please elaborate on ma previous comment. Until then, I set NeedInfo.
Created attachment 150994 [details]
Word 2013 on Windows 10 and Linux/Wine 4 render DOCX compatibility as 1 page
> DOC shows as two pages in Word 2013 and 2016.
I've retested Word 2013 in both Windows 10 and Wine and Word 2016 on Windows 10. In every case, the .doc and compatibility .docx render on 1 page.
> We have some bugs about differences in table height, especially with Microsoft fonts.
No evidence this is a font issue. As all characters have been removed from the tables and fonts LO/MSO are using the same pool fonts.
> We already have 2 bugs for the same wrong DOC
This bug report is primarily about the .docx
(In reply to Luke from comment #8)
> > DOC shows as two pages in Word 2013 and 2016.
> I've retested Word 2013 in both Windows 10 and Wine and Word 2016 on Windows
> 10. In every case, the .doc and compatibility .docx render on 1 page.
Both DOC and compatibility mode DOCX only render on 1 page in protected view for me, as soon as I switch to edit view, they split to two pages. (Word 2013 / Windows 7)
Created attachment 159141 [details]
DOCX compared MSO LO
This bug makes no sense.
MSO 2016 opens differently old and new DOCX, 2 and 3 pages, with table differently split. And such bugs are mostly NotOutBug.
LO is at least consistent, with 2 pages.
Vertical position is I guess bug 80717.
Si I'll close this one.