Created attachment 199019 [details] 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
Hello Justin L, Thank you for reporting the bug. I can confirm that the bug is present in master. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a8ec21adf255b70bb6eeb0a1717190df303d8b26 CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US /Writer: threaded