diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-09 10:14:29 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-09 11:16:54 +0200 |
commit | c3f4c43694f0f9aec35193ccf40f0e7c8476fdc3 (patch) | |
tree | 92c3beaa8e50e2173eea3edd1f8a77eebf4e1359 /schema | |
parent | 32cb4e4fe55e662d2e515e9a6facabffe3684754 (diff) |
sw content controls, drop-down: add ODT filter
Map each list item to a dedicated XML element:
<loext:list-item loext:display-text="..." loext:value="...">
And do the opposite on import.
Change-Id: I59a536a8317a3bb24919107b4449f858d5f6de96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134034
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 10 |
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 cc9db62a04a3..f46fca27ffb8 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -2845,6 +2845,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:attribute> </rng:optional> <rng:zeroOrMore> + <rng:element name="loext:list-item"> + <rng:attribute name="loext:display-text"> + <rng:ref name="string"/> + </rng:attribute> + <rng:attribute name="loext:value"> + <rng:ref name="string"/> + </rng:attribute> + </rng:element> + </rng:zeroOrMore> + <rng:zeroOrMore> <rng:ref name="paragraph-content-or-hyperlink"/> </rng:zeroOrMore> </rng:element> |