path: root/sw/
diff options
authorJustin Luth <>2017-06-10 12:12:50 +0300
committerMiklos Vajna <>2017-08-17 14:13:11 +0200
commitbe6534dc47568dbf57057dec73ef260b63e198c0 (patch)
tree7be4dfe2624528329c2a93bb9599dc452d7afba8 /sw/
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: Tested-by: Jenkins <> Reviewed-by: Justin Luth <> Reviewed-by: Miklos Vajna <>
Diffstat (limited to 'sw/')
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/ b/sw/
index b421d0e1ad4f..927873992c28 100644
--- a/sw/
+++ b/sw/
@@ -13,6 +13,7 @@ define sw_ooxmlexport_libraries
comphelper \
cppu \
cppuhelper \
+ editeng \
sal \
sfx \
sw \