https://bugs.documentfoundation.org/show_bug.cgi?id=170119
Bug ID: 170119
Summary: LAYOUT: top margin after continuous-section break
should be "reduced" by the sectPr's bottom margin
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bisected
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 107830
There are two (related) parts to this bug.
First, something that has never worked is the general case that a continuous
section break's below spacing should be used to consolidate the top margin of
the following paragraph.
This is rather complicated, because the sectPr paragraph doesn't actually exist
in Writer, and even in MS Word, the above and below spacing doesn't directly
affect the layout. (For example, if a continuous sectPr has below spacing of
100pt, it wouldn't produce a large gap.)
HOWEVER, if the following paragraph had a 100pt top margin, then the sectPr's
below spacing would "swallow up" the top margin, and there would still not be
any gap in the layout.
Currently in Writer we have no way of swallowing up that gap, so we show it.
Secondly however, as in bug 166510, this can be emulated IF the continuous
section is connected with a page break. This was working from 25.2.4 - 25.2.6.
It broke in 25.2.6 with commit 74c29345a7c179b048c157582a1145e381616e5c
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
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.