From be6534dc47568dbf57057dec73ef260b63e198c0 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Sat, 10 Jun 2017 12:12:50 +0300 Subject: 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 Reviewed-by: Justin Luth Reviewed-by: Miklos Vajna --- sw/ooxmlexport_setup.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/ooxmlexport_setup.mk') diff --git a/sw/ooxmlexport_setup.mk b/sw/ooxmlexport_setup.mk index b421d0e1ad4f..927873992c28 100644 --- a/sw/ooxmlexport_setup.mk +++ b/sw/ooxmlexport_setup.mk @@ -13,6 +13,7 @@ define sw_ooxmlexport_libraries comphelper \ cppu \ cppuhelper \ + editeng \ sal \ sfx \ sw \ -- cgit v1.2.3