diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-12-06 14:09:28 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-12-06 16:16:18 +0100 |
commit | ae7900dd42a65aaf60df6b21b9ad511496b209d9 (patch) | |
tree | 9fd7d842bd8946365b135ab8b76a7a10bf82c82a /cppu/source/uno/env_subst.cxx | |
parent | 7bd7adc3387714a2c9e6e663271c7b20708168c4 (diff) |
tdf#164095 sw: fix missing top margin on paragraph after changing page styleHEADmaster
Open the bugdoc, go to the page after the section break, there is a top
margin for the first paragraph there in Word, but not in Writer.
This went wrong in commit abd90828cf101581a07b9d1c371a8c3156521e9f
(tdf#160952 sw: ignore top margin of para on non-first pages with newer
DOCX, 2024-05-14), where it seemed that all implicit and explicit page
breaks want to ignore that top margin for the first paragraph.
Turns out this is more complex: implicit breaks and page breaks should
be followed by an ignore, but not paragraphs after "section break (next
page)". So restore the margins for the RES_PAGEDESC, but continue to
have them for RES_BREAK & implicit breaks.
Change-Id: If1fcf3077b81a705d3587bdae422dcfa16f1c17c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177973
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cppu/source/uno/env_subst.cxx')
0 files changed, 0 insertions, 0 deletions