tdf#136952 ww8export: always check for breakAfter on last split
commitf0a495a56489b781177be8ff28c4660214c9bdf2
authorJustin Luth <justin.luth@collabora.com>
Wed, 23 Sep 2020 19:26:46 +0000 (23 22:26 +0300)
committerMiklos Vajna <vmiklos@collabora.com>
Fri, 6 Nov 2020 14:07:07 +0000 (6 15:07 +0100)
tree1c86f71174334ab10605b550e18a292bbf90714a
parente40d28d65222ba462c20ede17da5ef54751932e3
tdf#136952 ww8export: always check for breakAfter on last split

This patch primarily adds support for
covering the situation where a rare page-after break
exists on a split paragraph node.

This patch also adds one more aspect to the fixes for tdf#132149,
where a breakBefore wasn't evaluated with the correct CurrentPageDesc.

Change-Id: Ia548c611c1b7b6c66cb7a7c58be1705cd8c42b77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103275
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
sw/qa/extras/ooxmlexport/data/tdf132149_pgBreakB.odt [new file with mode: 0644]
sw/qa/extras/ooxmlexport/data/tdf136952_pgBreak3B.odt [new file with mode: 0644]
sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
sw/source/filter/ww8/wrtw8nds.cxx