diff options
author | Justin Luth <justin_luth@sil.org> | 2018-03-30 21:22:44 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-24 08:57:37 +0200 |
commit | 946fee3ef1e319ad63a599b72dbd55ef52cbc640 (patch) | |
tree | 588281d073314e6dc8f657ff3f405d8f4b973bd1 /sw/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt | |
parent | 63dbd42d9bdc2eba7ac45a4f5c761f0806a0ea78 (diff) |
tdf#106062 ooxmlimport: skip fake tab only on hanging indent
Export has changed, so that it only exports a tab when the
footnote paragraph has a hanging indent. Adjusting the import
code to match that change.
Please test with MSO before flagging this patch as a regression.
Certainly there will be some documents previously saved by LO
which will now, in LO, show an extra tab character after the footnote.
Any previously saved document without a hanging indent will display
this extra tab. However, MSO has always seen that extra tab, so
these patches are enhancing compatibility.
This patch corrects several incorrect assumptions:
-The paragraph style is not necessarily "Footnote".
-The paragraph may have directly defined a hanging margin.
-An aesthetic tab is needed on a hanging indent, not a defined margin.
Change-Id: Ieaa76448ce202d92efdb8d1fc04ba2674ed120ba
Reviewed-on: https://gerrit.libreoffice.org/52172
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/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt')
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt | bin | 0 -> 14255 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt b/sw/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt Binary files differnew file mode 100644 index 000000000000..af5e225ea08c --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf106062_nonHangingFootnote.odt |