Created attachment 119567 [details]
Example file of continuous section break
LibreOffice 18.104.22.168 renders continuous section breaks like Microsoft Office 2013 but the subsequent version 22.214.171.124 doesn't. This bug still exists in 126.96.36.199.
The Microsoft Office behaviour is to keep the content on a single page, so if you see two pages in LibreOffice then you have reproduced the bug. I'll attach screenshots showing this.
Bug #86468 might be related.
Created attachment 119568 [details]
How Microsoft Office 2013 renders a continous section break
Created attachment 119569 [details]
How LibreOffice currently renders a continuous section break
Thanks - confirmed.
This seems to have begun at the below commit.
Adding Cc: to Luboš Luňák ; Could you possibly take a look at this one?
2eb63500efafca6bacf547876546d1bdba451590 is the first bad commit
Author: Matthew Francis <firstname.lastname@example.org>
Date: Sat Mar 14 23:33:59 2015 +0800
Author: Luboš Luňák <email@example.com>
AuthorDate: Mon Jul 21 10:56:52 2014 +0200
Commit: Luboš Luňák <firstname.lastname@example.org>
CommitDate: Mon Jul 21 11:02:04 2014 +0200
ww8import create a pagedesc if continuous section changes margins (bnc#875383)
This is similar to what writerfilter does. MSWord can have one page with several
different margins, which are saved using continuous sections, which causes all
kinds of trouble, because either we treat them as Writer sections, which means
we lose some of the data, or we treat them as Writer page styles, which causes
spurious page breaks if in the wrong place. Either option has its problems, but
here it seems slightly better to go for keeping the data and hoping the page
break will be in a place where a break will be anyway.
*** This bug has been marked as a duplicate of bug 87764 ***
Same commit as my earlier Bug 86468, so maybe a duplicate of that one.
Please see https://bugs.documentfoundation.org/show_bug.cgi?id=86468#c21.