diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-12-09 08:43:27 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-12-09 09:34:39 +0100 |
commit | 91f649a119d4b7ece26f9737a38663664953a57a (patch) | |
tree | b2d3d85cd532ed21a1b1f86b942659b4a2407ada /schema/libreoffice | |
parent | 27487243c3ee31927e17a0859614ffa0df7881d7 (diff) |
ODP import/export: refer to theme from shape text color
Refer to the 12 pre-defined colors by name + don't write the attribute
for the case when there is no theme.
Change-Id: Ib6ab5b7b34d896a36e04309bf0cb410998acce01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126566
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'schema/libreoffice')
-rw-r--r-- | schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng index 6e0a301b047f..e24d3a5e8c8e 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -2093,6 +2093,31 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. <rng:ref name="zeroToHundredPercent"/> </rng:attribute> </rng:optional> + <!-- TODO no proposal --> + <rng:optional> + <rng:attribute name="loext:theme-color"> + <rng:choice> + <!-- Background 1 --> + <rng:value>dk1</rng:value> + <!-- Text 1 --> + <rng:value>lt1</rng:value> + <!-- Background 2 --> + <rng:value>dk2</rng:value> + <!-- Text 2 --> + <rng:value>lt2</rng:value> + <rng:value>accent1</rng:value> + <rng:value>accent2</rng:value> + <rng:value>accent3</rng:value> + <rng:value>accent4</rng:value> + <rng:value>accent5</rng:value> + <rng:value>accent6</rng:value> + <!-- Hyperlink --> + <rng:value>hlink</rng:value> + <!-- Followed hyperlink --> + <rng:value>folHlink</rng:value> + </rng:choice> + </rng:attribute> + </rng:optional> </rng:define> <rng:define name="style-text-properties-attlist" combine="interleave"> |