sw: improve DOCX export of footnote separator

Desktop / LibreOffice - Michael Stahl [cib.de] - 7 February 2020 09:37 EST

Don't only check the width of the line, but also the line style and the thickness (0 is not visible).

Also there isn't a separate continuationSeparator in sw, so it should depend on the same condition as the separator.

Unfortuantely Word doesn't support different separators per section.

Change-Id: I55cb3d82ff20c7a21f7d256ec8ba4a43f1e71faa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88131

584c5827f549 sw: improve DOCX export of footnote separator
sw/qa/extras/ooxmlexport/data/footnotesep.fodt | 86 ++++++++++++++++++++++++++
sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 16 +++++
sw/source/filter/ww8/docxattributeoutput.cxx | 12 +++-
3 files changed, 111 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share