sw chicago numbering: add RTF footnote export

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 6 March 2020 17:20 EST

Chicago numbering is not supported for paragraph numbering (same as DOC), so focus on footnote/endnote export only.

There is markup in RTF to store doc-global footnote/endnote numbering type and the same for per-section. DOC writes both, then Writer only reads the global setting and Word only reads the per-section setting.

This means only export is needed here, import already handled the doc-global markup, and that's enough.

Change-Id: I3590560ca913e04078988fe4784e50fa5cbf17bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90112

4ba09be7e260 sw chicago numbering: add RTF footnote export
include/svtools/rtfkeywd.hxx | 12 +++++
sw/qa/extras/rtfexport/rtfexport5.cxx | 32 +++++++++++++
sw/source/filter/ww8/rtfattributeoutput.cxx | 71 +++++++++++++++++++++++++++++
sw/source/filter/ww8/rtfattributeoutput.hxx | 4 ++
sw/source/filter/ww8/rtfexport.cxx | 5 +-
5 files changed, 122 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org

  • Share