The attached MsWord DOCX file has different headers for 1st page and 2nd+ pages. However, in every page the content should be positioned at 4cm from top. This is not imported properly in LibreOffice 7.0.1.2: * on page 1: 1,50cm page top margin + 2,40cm header spacing + 0,10cm header margin = 4cm (ok); * on page 2+: header is disabled, so I only have 1,50cm page top margin (wrong). The word-p2.jpg picture shows what I get on Microsoft Word on page 2 (4cm). The libreoffice-p2.jpg shows what I get on LibreOffice 7 instead (1,5cm). The bug does not occur on LibreOffice 6.0.7.3, where I get: * on page 1: 1,50cm page top margin + 2,40cm header spacing + 0,10cm header margin = 4cm (ok); * on page 2+: 4,00cm page top margin = 4cm (ok). Thanks, MZ
Created attachment 166428 [details] DOCX test file
Created attachment 166429 [details] What I get on Word at page 2
Created attachment 166430 [details] What I get on LibreOffice 7 at page 2
Created attachment 166431 [details] What I get on LibreOffice 6 at page 2
Confirming with: Version: 7.1.0.0.alpha0+ (x64) Build ID: c064766901722082df0d759c95434c1460fcdba5 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Second page header is turned off. This was still good in: Verzió: 6.4.0.3 (x86) Build az.: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8 CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: alapértelmezett; VCL: win; Területi beállítások: en-US (hu_HU); Felület nyelve: hu-HU Calc: CL
Bibisected with bibisect-win64-7.0 to: https://cgit.freedesktop.org/libreoffice/core/commit/?id=51534ac2b9747975945acb6a1e1ba5cc6d73f5c2 author Miklos Vajna <vmiklos@collabora.com> 2020-05-11 21:08:35 +0200 committer Miklos Vajna <vmiklos@collabora.com> 2020-05-12 09:02:43 +0200 tdf#127778 DOCX import: fix unexpected heading on non-first page ... Adding CC to: Miklós Vajna
Fixed in LO 7.0.5 by author Miklos Vajna on 2020-12-08 08:45:54 with commit 29993781ac991e85bfbd61f9e076c9d8088cd3ab tdf#135217 DOCX import: remove no longer needed top/bottom margin sync *** This bug has been marked as a duplicate of bug 135217 ***