Created attachment 84966 [details] test documents When I make a document and delete the footnote or endnote separator line (Format -> Page -> Length, change 0,0%) and save DOCX. In normal case the line vanish from my ODT document, but in Word 2007 "come back", so not "deleted". Easy to reproduce: make a document with footnote, after you delete the footnote, save DOCX format. Operating System: Windows 7 Version: 4.0.5.2 rc
Reproduced, the separator is indeed unconditionally written in the DOCX export filter.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=330b860205c7ba69dd6603f65324d0f89ad9cd5f fdo#68787 DOCX import: handle when w:separator is missing for footnotes 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.
The above should take care of the import part, I'll look at the export side of it a bit later.
Thank you!
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3f2774c771fc54757364ed50fab9b4753d067371 fdo#68787 DOCX export: handle zero width footnote separator 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.
Implemented in master, marking as resolved.