diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-06-02 11:02:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-06-02 12:04:48 +0200 |
commit | 920e76f15b78398de62002e30002f4f8e0fee7c1 (patch) | |
tree | 54b10157e7185cf0df11483792701022ac387ef8 /xmloff/qa | |
parent | 083975f9666e3dc6fd665dc0418e6c3130628359 (diff) |
sw floattable: ignore keep-with-next for anchors of non-last split flys
The bugdoc has a floating table that could split between page 1 and page
2, but we used to put the entire table to page 2.
What happens is that the anchor of the floating table had <w:keepNext>,
which means the layout tried to keep the paragraph on a single page, and
also with the next paragraph (but in this case there is no next
paragraph, it's the last one in the document).
Fix the problem ignoring the "keep with next" request, in case the
paragraph is an anchor for a split floating table; unless we're the last
anchor in the chain.
This is probably consistent with the intent that "keep with next" is
meant to control the anchor text and not the anchored floating tables.
Change-Id: I387a2db5f5db013da7055686ae6b9d032b467266
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152525
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'xmloff/qa')
0 files changed, 0 insertions, 0 deletions