summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-02-13 14:01:57 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-07-01 16:58:45 +0200
commit7dce046c8816eb449d6ecf5a40c51519fe037361 (patch)
tree91576c0767885715b6a4e8f04035ce68737beab6 /xmloff
parentabbff658a428aee5105bcb0143c4819eb309e9b8 (diff)
sw btlr writing mode: implement ODF filter
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). Reviewed-on: https://gerrit.libreoffice.org/67770 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins (cherry picked from commit 8af98ac8bf0ac8795999ecbf061d3c094f7c3be4) Conflicts: sw/source/filter/xml/xmlimpit.cxx Change-Id: I431bf99693c4a3452e91f241bd2f0fcfc72c68fd
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx1
-rw-r--r--xmloff/source/token/tokens.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 8a40bdc11fc9..b83298799104 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -2186,6 +2186,7 @@ namespace xmloff { namespace token {
TOKEN( "rl-tb", XML_RL_TB ),
TOKEN( "tb-lr", XML_TB_LR ),
+ TOKEN( "bt-lr", XML_BT_LR ),
TOKEN( "lr", XML_LR ),
TOKEN( "rl", XML_RL ),
TOKEN( "tb", XML_TB ),
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt
index c57d2b646ddc..d6d832ea5343 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -2088,6 +2088,7 @@ stock-gain-marker
stock-range-line
rl-tb
tb-lr
+bt-lr
lr
rl
tb