summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-09-07 08:25:18 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-09-08 12:54:20 +0200
commit8ac547a463c4061961f924e858a377525ea821b1 (patch)
treec198e5c6dc80ca317d8410614650581c4a3cc1aa /cui
parent7a0b8513d76e12154fe85744b9acc03c369b42c6 (diff)
sw floattable, nesting: fix position of the inner follow table
The bugdoc was no longer crashing, but the inner table's follow part on page 2 was not visible. The problem was that lcl_ArrangeLowers() didn't try to update the fly's position when the cell's position changed, now we do this for split flys. The other problem was that as SwTextFly::GetTop() is called by SwTextFly::InitAnchoredObjList(), the inner flys were ignored while collecting the intersecting fly frames for a paragraph, leading to an overlap between the inner follow fly and the inner anchor text. This is now fixed by explicitly checking for the splitfly-in-splitfly case. With this, the ODT bugdoc now renders correctly when opened. (This is related to tdf#55160.) Change-Id: I60997e7913984872319250b0fb1cb91e02512800 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156632 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins (cherry picked from commit 3aa3f0a1638a8d8006955b62bb647526768be3d8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156607 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'cui')
0 files changed, 0 insertions, 0 deletions