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

            Bug ID: 165083
           Summary: FILESAVE ODT->DOCX: margins swapped for EVEN/ODD page
                    styles
           Product: LibreOffice
           Version: 24.8.0.0 beta1+
          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]
            Blocks: 112874

Created attachment 199019
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199019&action=edit
bigMargins.odt: exaggerated example

Exporting to DOCX from non-DOCX files inverts the margin for left pages.

This started in 25.2 (backported to 24.8) with
commit 8ef9573f087b86f93860c8d07d04b60a40512836
Author: Oliver Specht on Tue Jun 11 08:51:09 2024 +0200
    tdf#161521 fix page margins on first page with mirrord layout

Steps to reproduce
1.) open bigMargins.odt. (Noticed the first page has content on the left side,
and the second page has it on the right side.)
2.) export to DOCX format and reload.

Notice that the big margins are applied to the left side in both cases after
Oliver's commit. Probably GetFilter needs to be consulted at export time?
(although that might not be terribly reliable if the document isn't reloaded
immediately, but is instead re-saved...)

I noticed this when looking at Test-DOC-saved.doc (attachment 130353 [details]
from bug 105148). So the same problem comes when converting from DOC to DOCX.

Found by Collabora's mso-test


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112874
[Bug 112874] [META] Bugs related with odd and even pages, header and footer
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to