path: root/writerfilter/
diff options
authorMiklos Vajna <>2020-01-08 15:40:32 +0100
committerMiklos Vajna <>2020-01-08 17:16:39 +0100
commita86a2a1c1ceb7203857d4317913c5b1bb9feb4aa (patch)
tree171aac547b71604678aee2dc70d07f53784a03d9 /writerfilter/
parent7e4b2d90f8b877bd954b7549e17c790fa05ea96a (diff)
DOCX import: fix lost page break when footer ends with a table
Regression from commit 7d3778e0ef9f54f3c8988f1b84d58e7002d6c625 (bnc#816593 DOCX import: ignore page breaks in tables, 2013-09-02), the page break was ignored because the preceding footer ended with a table (no empty paragraph at the end of the footer stream). Fix the problem by saving/loading the table state around header/footers, that way the page break is not ignored. Adjust testTdf102466 to test the page number from Word. Change-Id: Ia4c22452ee2c37f7f941dfd922db04c851644d0c Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins
Diffstat (limited to 'writerfilter/')
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/ b/writerfilter/
index 9805e28228a0..41b92e9bdb3e 100644
--- a/writerfilter/
+++ b/writerfilter/
@@ -18,6 +18,7 @@ $(eval $(call gb_CppunitTest_use_externals,writerfilter_dmapper,\
$(eval $(call gb_CppunitTest_add_exception_objects,writerfilter_dmapper, \
writerfilter/qa/cppunittests/dmapper/CellColorHandler \
writerfilter/qa/cppunittests/dmapper/DomainMapperTableHandler \
+ writerfilter/qa/cppunittests/dmapper/DomainMapper_Impl \
$(eval $(call gb_CppunitTest_use_libraries,writerfilter_dmapper, \