https://bugs.documentfoundation.org/show_bug.cgi?id=164498

            Bug ID: 164498
           Summary: FILEOPEN DOCX: top margin (after page break) ignored
                    on compat15 document
           Product: LibreOffice
           Version: 24.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 198301
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198301&action=edit
forum-mso-de-124831.docx: compat15: Heading1 paragraphs should honour the top
margin in this document

Page 4's title "3  Zweites Kapitel" should be 0.85cm from the top of the
header.
(So should "2  Erstes Kapitel", but that is an earlier bug.)

The specified top margin is now ignored in 24.2.4. It started with
24.8 commit 6200d89b905d51776ff4f3c8a84f338655ffaa7f
Author: Miklos Vajna on Tue May 7 08:13:37 2024 +0200
    tdf#160952 sw: ignore top margin of para on non-first pages with newer DOCX

Steps to reproduce:
1.) Open forum-mso-de-124831.docx and go to page 4.

Note that there isn't really any margin above the heading. In comparison with
MS Word 2019, the gap in LO from the line in the header is not large enough.

I suspect that when there is a style's
    <w:pageBreakBefore/>
then it should be treated similar to section break? (or else there must be some
other kind of layout setting...)
(That's the difference with point #2. That one has a w:br page break AS WELL AS
thie pageBreakBefore. There is no w:br before point #3.)

---------------------------------------------
Note: the problem with "2 Erstes Kapital" started in 7.6 with
commit 96a502b3756a1c100b40235f50ef2122d5b543f9
Author: Justin Luth on Tue Mar 7 07:43:14 2023 -0500
    tdf#153964 writerfilter compat15: top margin after break split

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to