summaryrefslogtreecommitdiffstats
path: root/sw/CppunitTest_sw_ooxmlexport13.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/CppunitTest_sw_ooxmlexport13.mk
parenttdf#121804 DOCX import: handle sub/superscript inside group shapes (diff)
downloadcore-8c8c65c84de44f9a9334f72cf05138e5bc9401bd.tar.gz
core-8c8c65c84de44f9a9334f72cf05138e5bc9401bd.zip
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/CppunitTest_sw_ooxmlexport13.mk')
-rw-r--r--sw/CppunitTest_sw_ooxmlexport13.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_ooxmlexport13.mk b/sw/CppunitTest_sw_ooxmlexport13.mk
new file mode 100644
index 000000000000..22d8ebe3a1a8
--- /dev/null
+++ b/sw/CppunitTest_sw_ooxmlexport13.mk
@@ -0,0 +1,14 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+#*************************************************************************
+
+$(eval $(call sw_ooxmlexport_test,13))
+
+# vim: set noet sw=4 ts=4: