diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-01-31 08:29:44 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-01-31 08:58:54 +0000 |
commit | ed9d987e2ad8f6af554a5fc1f858ca48c6970446 (patch) | |
tree | 3f3ee02672843c8feea363e912f2b01b5f14097e /xmloff | |
parent | 07699b6e7847c141c0bdec2e5345f2d00cb219dd (diff) |
sw: if the fly is to be split, then limit its growth in SwFlyFrame::Format()
It seems the first direct cause why flys are not split is because flys
can grow forever, so an inner paragraph's SwContentFrame::MakeAll() will
never hit the nBottomDist < 0 condition, which is necessary to call into
SwFlowFrame::MoveFwd().
With this, at least nBottomDist is negative when a fly with two
paragraphs is at the bottom of a page and only one of them fits the body
frame.
Also add a debug environment variable, so I can debug the "fly split"
case till we don't have import/export filters for this.
Towards an initial layout for multi-page fly frames.
Change-Id: I43114b5795dd42e518a1d776ccd2e7ab607ad859
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146376
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions