summaryrefslogtreecommitdiff
path: root/sw/Module_sw.mk
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2018-12-08 21:33:02 +0300
committerMiklos Vajna <vmiklos@collabora.com>2018-12-18 09:13:34 +0100
commit8c8c65c84de44f9a9334f72cf05138e5bc9401bd (patch)
tree74aba1526087883afe2b80150b3741ab5fd4eb1d /sw/Module_sw.mk
parentdafbc86037d63e938967c0f501bdfe3ae19fa992 (diff)
tdf121374 ooxmlexport: export H/F to default section
It wouldn't be terrible to duplicate headers/footers unnecessarily, but it is terrible to have them disappear. If the last SectPr has no idea about the section start, it can't know whether it is continuous or started with a page break. In that case, just ensure that the header and footer are explicitly written out. This seems to be a DOCX problem only. I think that doc and rtf both write the section information at the BEGINNING of the section, but DOCX writes it at the END. So, sharing code between these two opposite approaches is difficult. A followup commit can try to make it smarter about knowing the start of the section (because usually pPDNd is zero). Another followup commit can add the missing page breaks. Change-Id: Iff54ed097b4f8692d7d7764089002b00fbde4f51 Reviewed-on: https://gerrit.libreoffice.org/64821 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/Module_sw.mk')
-rw-r--r--sw/Module_sw.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index 843553c43ca2..bfcb358343a5 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -73,6 +73,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
CppunitTest_sw_ooxmlexport10 \
CppunitTest_sw_ooxmlexport11 \
CppunitTest_sw_ooxmlexport12 \
+ CppunitTest_sw_ooxmlexport13 \
CppunitTest_sw_ooxmlexport_template \
CppunitTest_sw_ooxmlfieldexport \
CppunitTest_sw_ooxmllinks \