diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-13 14:01:57 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-13 15:17:34 +0100 |
commit | 8af98ac8bf0ac8795999ecbf061d3c094f7c3be4 (patch) | |
tree | dc93f5888dcdce57d780f538493668d74452a89b /xmloff | |
parent | b6de43a14a768e261d2233df57cf5fa46480d991 (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).
Change-Id: I431bf99693c4a3452e91f241bd2f0fcfc72c68fd
Reviewed-on: https://gerrit.libreoffice.org/67770
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/token/tokens.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index dc546397523c..1daa8897649d 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -2187,6 +2187,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 baef6b3a31a1..ce472bc62c7a 100644 --- a/xmloff/source/token/tokens.txt +++ b/xmloff/source/token/tokens.txt @@ -2089,6 +2089,7 @@ stock-gain-marker stock-range-line rl-tb tb-lr +bt-lr lr rl tb |