summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-05-25 13:55:21 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-06-04 15:37:30 +0200
commit433a2ced036b8522a60559d9ca6387e5b478e3a9 (patch)
tree9ff5584bad5f3fda231c5c0f05ff636f18d28c01 /schema
parent7925c5d445870a5021761ef55c0c1c5314ecfae9 (diff)
xmloff: add color-type attribute to complex color
We need to identify what the color type of the complex color is. For now we mostly use "theme", but in the future we can also have other types like "rgb",... when the infrastructure for that is built. Change-Id: I38c91d294a191ca3124be4e99050977c9815d23e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152253 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 38e0e78998153463caf9c3c72ef7f4549ddff0e8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152516 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng3
1 files changed, 3 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index 50968cb1a62e..8160b6bbd845 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -3411,6 +3411,9 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
<rng:define name="loext-complex-color-attlist">
<rng:interleave>
+ <rng:attribute name="loext:color-type">
+ <rng:ref name="string"/>
+ </rng:attribute>
<rng:optional>
<rng:attribute name="loext:theme-type">
<rng:ref name="theme-color"/>