diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-31 08:13:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-31 07:04:05 +0000 |
commit | f6fbd9d5ff5b049112e6ca7a8943c156b3e4f411 (patch) | |
tree | b47e21f95a3f4eb8ac4bd2be9788eebb994c88d3 /external | |
parent | ad811b4441f6f9f8f42114640fea39cf0f3156a5 (diff) |
sw floattable: remove empty follow flys on follow table removal
- add a SwRootFrame::DeleteEmptyFlys_(), which can delete empty flys and
invalidate the anchors, so the necessary text frame joins and page frame
deletions happen
- add a SwRootFrame::InsertEmptyFly(), which can build a to-delete list for
DeleteEmptyFlys_()
- add a SwFlyAtContentFrame::DelEmpty(), which can call InsertEmptyFly()
for one empty fly frame
- in SwTabFrame::Cut(), call DelEmpty() on the fly parent, similar to how we do
it for sections
- in SwLayAction::InternalAction(), call DeleteEmptyFlys() to actually delete
the unnecessary fly frames
Change-Id: I8d3b4ee2c07b60d6187059bb177c56a129810750
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149815
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions