summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-10-18 11:33:20 +0200
committerAndras Timar <andras.timar@collabora.com>2022-10-18 21:23:58 +0200
commit351139a183da5ab0a0a9dedc532ce729e369fea8 (patch)
tree82528a7026d085135be5f791999770dc504035ba /schema
parentb3afa2d07bd55c04e545c3d6f1e8d8c4a4ceaf09 (diff)
sw content controls, alias and tag: add ODT filter
Map the Alias/Tag UNO properties to: <loext:content-control loext:alias="..." loext:tag="..."> on export, and do the opposite on import. (cherry picked from commit 888a8c3ca70ed19309c15ff7b9f0968ece337cb5) Conflicts: xmloff/source/token/tokens.txt Change-Id: Icecbe9037ede0bf8d72d52f2db44328a8db1d83a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141500 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng10
1 files changed, 10 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index 039750e5d5a8..0c9d2818e1cb 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -2928,6 +2928,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
+ <rng:optional>
+ <rng:attribute name="loext:alias">
+ <rng:ref name="string"/>
+ </rng:attribute>
+ </rng:optional>
+ <rng:optional>
+ <rng:attribute name="loext:tag">
+ <rng:ref name="string"/>
+ </rng:attribute>
+ </rng:optional>
<rng:zeroOrMore>
<rng:element name="loext:list-item">
<rng:attribute name="loext:display-text">