I received the attached document which seems to display the actual pages 1-3 all
as page 1.
Steps to Reproduce:
1.Either open the attached .docx file with libreoffice, writer, or convert headless to odt.
Tables and pagination do not match those in Word 2010.
Formatting that approximates those in Word. Certainly not a 4 page document
from a 6 page source
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Created attachment 141181 [details]
Document causing the problem
The document looks better in LO 184.108.40.206, but the table with the addresses still overlaps the form (I suspect because it's a floating table).
A new issue is that it opens as 10 pages instead of 6, I opened a separate ticket, bug 116872 on that.
1. Please attach screenshots of the first page or two from MS-Word.
2. The "table with the addresses" is not a table at all, it's just a textbox.
3. I'm not sure the way the file is opened in LO is necessarily a bug. Its XML within document.xml is:
<v:shape id="Text Box 3" o:spid="_x0000_s1026" type="#_x0000_t202" style="position:absolute;margin-left:449.35pt;margin-top:33.9pt;width:2in;height:0;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-position-horizontal-relative:page;mso-position-vertical-relative:page;v-text-anchor:top" filled="f" stroked="f">
<v:textbox style="mso-next-textbox:#Text Box 3;mso-rotate-with-shape:t;mso-fit-shape-to-text:t" inset="0,0,0,0">
... etc. etc. ...
<w10:wrap type="square" anchorx="page" anchory="page"/>
I'm not an expert on OOXML; are you certain LibreOffice is getting this wrong?
(In reply to Eyal Rozenberg from comment #3)
> 1. Please attach screenshots of the first page or two from MS-Word.
Sure, attaching the exported PDF.
> 2. The "table with the addresses" is not a table at all, it's just a textbox.
Fair enough, however the problem isn't with the text box, but with the table.
> I'm not an expert on OOXML; are you certain LibreOffice is getting this
I'll let devs who know more about OOXML decide that, generally we can take MS Office as reference.
Created attachment 141209 [details]
Exported PDF (from Word)
it seems that the document has been always broken in LibreOffice
Although in LibreOffice 3 the table is correctly displayed
Cause is that floating table with 75,4% width in MSO opens 100% width in LO.
If not floating it keeps the width.
And consequence is that it overlaps with textbox.
This is 2007 DOCX but regardless.