The wrong spot is getting the extra below spacing that was assigned to the sectPr. In this case, the last content in the section is a table, but the sectPr below spacing is applied to the paragraph above the table. Steps to reproduce. 1.) Open "iny_kerelem_0313.docx" (attachment 143540 [details] from bug 104354 comment 11) The document should only be two pages long. The second page is landscape. Near the bottom of the first page, there are two tables separated by an empty paragraph. There should only be enough space to show the paragraph marker, without and extra below spacing. This start with 25.2.6 commit 1326e09d019f05a82265f15c26288b4ffb7dc0c2 Author: Justin Luth on Mon Jul 28 09:29:51 2025 +0200 tdf#167657 writerfilter: only move sectPr bottomMargin after pageBreak Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188298 Found with Collabora's mso-test
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/82936569e0e17705b6de501d7151549c51520fb9 tdf#170003 writerfilter: no belowSpacing emulation with tables It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/e983fc5918d399226b7aba17d0488e9720453571 tdf#170003 writerfilter: no belowSpacing emulation with tables It will be available in 26.2.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.