Created attachment 134027 [details] Reproducer document. Open the attached document. Expected: the section is split into two pages as it doesn't have enough space on the first page. Actual: the text of the section is cut off.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=835c1586f60e6bc03e045e8210e38876e0fe1abc Related: tdf#108524 sw: dump follow/precede of cell frames in layout xml dump It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=336ec28195da1917c22494a24dbaf10b846d3141 tdf#108524 sw: try to split rows that contain 1-col sections It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
This does not solve the problem yet, but at least this way we check if the text frame is moveable.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6ade80cf142664e78954c7544534e9436ceb90c7 tdf#108524 sw: allow move of frame inside section without columns It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 134135 [details] Linked textframes. My hope is that if the code is generic enough, then split between pages and linked fly frames should be the same problem; I'm attaching a reproducer.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f991b842addddeada6dc45c4054deeca5aa7f17b tdf#108524 sw: attempt to split section frames inside table cells It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e9d2016648c7fdfc57932ac0793547cf099749be tdf#108524 sw: add split section in table testcase It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 134164 [details] (Lack of) footnote in section in table. A related document: when the in-table section has footnotes and the footnote frame would be in the section (not at the bottom of the page), then we just don't even create footnote frames. This used to be the situation and is unchanged after the above commits.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=272d5a02a3de2350f8af7a93281b651316b24ae5 Revert "tdf#108524 sw: attempt to split section frames inside table cells" It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5e0a143308e976b4165ff6181f4dccc3db0bd31 tdf#108524 sw: attempt to split section frames inside table cells, take two It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f8a76d218305a56d15b82b9dac4fafa558872780 tdf#108524 sw: split section frames inside table cells, non-split text frames It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 134606 [details] Move paragraphs back to the first page reproducer. One more discovered problem is that now text frames from the second page don't move back to the first one if you delete paragraphs on the first page (in a split-section-in-table). Steps to reproduce: 1) Open the attached bugdoc. 2) Go to Table1:A1, the "4" paragraph. 3) Delete the paragraph. Expected: paragraph "5" moves from the second page to the first page. Actual: paragraph "5" does not move.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5b9edf5d5779b9ce578084250a6c87808ddc5fa8 tdf#108524 sw: allow frames in growable follow sects in SwFrame::IsMoveable() It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4908d6d6742e2f0700ea4ccd9d636d91ea281046 tdf#108524 sw: allow frames in follow sect-in-tables in SwFlowFrame::MoveBwd() It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=850bf99e7d1abcf2e0cce731b6715f87420d0ee6 tdf#108524 sw: handle sections inside tables in SwFrame::GetPrevSctLeaf() It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.