Created attachment 131294 [details] DOCX to test 1. Open attached DOCX in LibO 2. Save as DOCX 3. Open the resulting file in MS Office There is now a massive space between footnotes and their numbers. LibreOffice itself displays them fine. Marco: as you have MSO, could you confirm? Win 8.1 32-bit MSO 2013 LibO Version: 5.4.0.0.alpha0+ Build ID: 9077f1f110a35ed223fb47e9eaa329dd19528e38 CPU Threads: 4; OS Version: Windows 6.29; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-02-16_23:34:39 Locale: fi-FI (fi_FI); Calc: group
Created attachment 131295 [details] Footnotes with spaces between them I followed your steps and, in Word 2016, We do get 1 line space intervals between the footnotes.
Discussion started at bug 105932 about a missing space. Footnote style is applied correctly in LibO as indentation and not per adding a character. If MS Word does it wrong we should convert the space on loading into an indentation and save if as a space in case of export to docx. Spoiling styles is awkward.
Created attachment 138344 [details] Footnote behaviour after doc and docx conversion
I want to add to attachment 131294 [details], that the footnote misbehaviour is at both ends of our team, people with MO and myself with LO as the screenshot hopefully make it clear.
Inherited from OOo. LO always adds a tab to every MS exported footnote, but in the case (like this one) where the paragraph margin is zero, it should not add that fake tab. (sw/source/filter/ww8/wrtw8nds.cxx:OutputTextNode comment Insert tab for aesthetic purposes)
Created attachment 140902 [details] nonhangingFootnote.odt: saving as .docx will insert a tab before footnote text If the "footnote" paragraph style is modified (in this case to margin=0, firstline=5cm), then you can see the "aesthetic tab" that LO adds when exporting to MSO formats. LO ALWAYS adds the tab on export as I mentioned earlier. USUALLY LO removes the tab on import (but see bug 105095 for the .docx exception).
proposed fix: -https://gerrit.libreoffice.org/52171 tdf#106062 ooxmlexport: hanging indent ? aesthetic tab : no -https://gerrit.libreoffice.org/52172 tdf#106062 ooxmlimport: skip fake tab only on hanging indent -https://gerrit.libreoffice.org/52173 tdf#106062 ww8import: skip fake tab only on hanging indent
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=818619b0f2f7813decb26d0b14362dec76a8ff37 tdf#106062 ooxmlexport: hanging indent ? aesthetic tab : no It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=946fee3ef1e319ad63a599b72dbd55ef52cbc640 tdf#106062 ooxmlimport: skip fake tab only on hanging indent It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a3783c0af4bd21eb9c001aadc60c660c06a47779 tdf#106062 ww8import: skip fake tab only on hanging indent It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f13a7100cfa1d76a1a27ffb9e986d627df20d4c0 cleanup tdf#106062 writerfilter: use new GetAnyProperty function It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.