sw btlr writing mode: implement ODF filter

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 13 February 2019 14:17 EST

An easy way would be to just extend aXML_WritingDirection_Enum, but then we would write the new attribute value to a non-extension namespace.

So special case the new attribute value during both import and export (and only for table cells as a start).

Change-Id: I431bf99693c4a3452e91f241bd2f0fcfc72c68fd Reviewed-on: https://gerrit.libreoffice.org/67770

8af98ac8bf0a sw btlr writing mode: implement ODF filter
include/xmloff/xmltoken.hxx | 1 +
.../OpenDocument-schema-v1.3+libreoffice.rng | 11 ++++++
sw/qa/extras/odfexport/data/btlr-cell.odt | Bin 0 -> 9174 bytes
sw/qa/extras/odfexport/odfexport.cxx | 20 ++++++++++
sw/source/filter/xml/xmlexpit.cxx | 44 ++++++++++++++++-----
sw/source/filter/xml/xmlimpit.cxx | 29 ++++++++++----
sw/source/filter/xml/xmlitemm.cxx | 1 +
xmloff/source/core/xmltoken.cxx | 1 +
xmloff/source/token/tokens.txt | 1 +
9 files changed, 91 insertions(+), 17 deletions(-)

Upstream: cgit.freedesktop.org


  • Share