diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-13 14:01:57 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-07-01 16:58:45 +0200 |
commit | 7dce046c8816eb449d6ecf5a40c51519fe037361 (patch) | |
tree | 91576c0767885715b6a4e8f04035ce68737beab6 /schema | |
parent | abbff658a428aee5105bcb0143c4819eb309e9b8 (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 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng index d59314e99771..956ccc2f02e4 100644 --- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng +++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng @@ -2323,6 +2323,17 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> + <!-- TODO no proposal --> + <rng:define name="common-writing-mode-attlist" combine="interleave"> + <rng:optional> + <rng:attribute name="loext:writing-mode"> + <rng:choice> + <rng:value>bt-lr</rng:value> + </rng:choice> + </rng:attribute> + </rng:optional> + </rng:define> + <!-- just a test-case for user-defined attributes, move along, nothing to see here... --> <rng:define name="style-table-cell-properties-attlist" combine="interleave"> <rng:optional> |