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

            Bug ID: 165047
           Summary: LAYOUT: matched MS Word perfectly before adding top
                    margin after changing page style
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 107830

Created attachment 198979
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198979&action=edit
forum-mso-en-16581B_compat15.docx: example document that seems focused on
Heading after page break

Starting in 25.8 (backported to 24.8.5), some top-margins-after-page-breaks are
taller than they are in Word 2019.

In one sense, this looks like the perfect example document. No headers to
complicate things. The first page still looks perfect, suggesting no underlying
issues with header size, page size, etc.

In the other sense, I do see Word 2019 being affected by changing the
ULSpacing. However, changing the spacing using values less than 10pt seem to do
nothing / little, while values 12 and higher seem to work as vmiklos' commit
expects.

So why the discrepancy? I've seen MANY document affected by this commit of
course, and it is really hard to determine whether the commit is always just
exposing something else (very possible), or whether there actually are
additional factors coming into play. This document seems like one of the better
ones to find "additional factors".

It isn't easy to make any "steps to reproduce" because it has to do with
comparative space. I'll attach overlay comparison images to illustrate.

This started with 25.8 commit ae7900dd42a65aaf60df6b21b9ad511496b209d9
Author: Miklos Vajna on Fri Dec 6 14:09:28 2024 +0100
    tdf#164095 sw: fix missing top margin on paragraph after changing page
style

Found by Collabora's mso-test

Another possible example is LibreOffice - DRN V09 Reloaded.docx (attachment
135880 from bug 99970) - "Índice" on page 3.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to