summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_ww8export2.mk
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-06-10 12:12:50 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-08-17 14:13:11 +0200
commitbe6534dc47568dbf57057dec73ef260b63e198c0 (patch)
tree7be4dfe2624528329c2a93bb9599dc452d7afba8 /sw/CppunitTest_sw_ww8export2.mk
parent91f4d01af4772fe5156e59ea4f4ef771de657a57 (diff)
tdf#55427 ww8export: treat document-end-footnotes as endnotes
MSWord has two choices for footnotes - at page-end or page-bottom. LO has different choices for footnotes - at document-end or page-bottom. Since document-end footnotes act like endnotes, convert those footnotes into endnotes during DOC/DOCX/RTF export. No matter what happens in this situation, some compromises have to be made. The main compromise now is that the anchor numbering for endnotes defaults to i,ii,iii while footnotes are 1,2,3. The conversion obviously will switch to endnote style. This is user adjustable of course and will be retained on following round-trips. Also the (footnote) paragraph style is retained, but future endnotes will use a potentially different endnote paragraph style. Remedying those perceived deficiency is left as an exercise for the motivated reader, who of course will take into account the possibility of both endnotes and chapter-end footnotes existing in the same document... The unit tests' primary purpose is to ensure that footnotes following down the endnote export path don't cause LO to crash. Change-Id: I219d499df7981a14f824a664b15051ad10ff6642 Reviewed-on: https://gerrit.libreoffice.org/38634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/CppunitTest_sw_ww8export2.mk')
-rw-r--r--sw/CppunitTest_sw_ww8export2.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_ww8export2.mk b/sw/CppunitTest_sw_ww8export2.mk
index f5e37733c3ed..20f7df957a61 100644
--- a/sw/CppunitTest_sw_ww8export2.mk
+++ b/sw/CppunitTest_sw_ww8export2.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_ww8export2, \
comphelper \
cppu \
cppuhelper \
+ editeng \
$(if $(filter WNT-TRUE,$(OS)-$(DISABLE_ATL)),,emboleobj) \
sal \
sfx \