diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-10-03 12:08:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-10-03 17:29:14 +0200 |
commit | 695390b08799af34b393c81c834d615bea330d89 (patch) | |
tree | fa6efc4d63e70a72910ede5526b3ac81f0328fcd /canvas/qa | |
parent | 140dc375adfffa59dff2652eb8b9625c23d81c8b (diff) |
tdf#126449 sw floattable: fix too small height of non-last anchors
The bugdoc had an outer inline table, a middle inline table and an inner
floating table. The floating table is expected to be on pages 2, 3 and
4; actually it was only on page 2 and 3.
This happened because the fly frame that should be on page 4 was on page
3, leading to overlapping text. And that bad fly position seems to
happen because the anchor frames just have a 1 line height (~269 twips
instead of the fly height).
Fix this similar to how "first paragraph only" wrapping works: increase
the (anchor) text frame height, even if the contained lines would not
require that amount of height.
With this, finally the DOCX version of the bugdoc lays out reasonable
(all 5 pages).
Change-Id: Ib08bf34be61eb2b4d8656887f83ac7fd17e3b252
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157507
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'canvas/qa')
0 files changed, 0 insertions, 0 deletions