diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-07-30 08:52:44 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-08-02 21:22:43 +0200 |
commit | c8d8bf4282cbd04abacfa69ba2cc0fa4300e35e1 (patch) | |
tree | 270fcf114ac38a4d1b374b6837fa4cc6c9c5d649 /schema | |
parent | 2d96d69322ac18f53668b75397c8587f94cd043b (diff) |
sc: theme color support for sparklines + ODF & OOXML import/export
This changes Sparkline colors to use complex colors instead and
adds Sparkline theme color import and export support for ODF and
OOXML.
Change-Id: I58edd525d50f95199bd4fe7825afb51aaa7fc091
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155113
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 87 |
1 files changed, 59 insertions, 28 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng index 593df76f851e..c9571ac2a77a 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -1714,6 +1714,46 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. <rng:ref name="color"/> </rng:attribute> </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-series-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-negative-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-axis-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-markers-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-first-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-last-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-high-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> + <rng:optional> + <rng:element name="calcext:sparkline-low-complex-color"> + <rng:ref name="loext-complex-color-definition"/> + </rng:element> + </rng:optional> <rng:element name="calcext:sparklines"> <rng:oneOrMore> <rng:element name="calcext:sparkline"> @@ -3508,6 +3548,7 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:choice> </rng:define> + <!-- TODO no proposal - Document Themes --> <rng:define name="loext-transformation"> <rng:element name="loext:transformation"> <rng:attribute name="loext:type"> @@ -3519,6 +3560,7 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:element> </rng:define> + <!-- TODO no proposal - Document Themes --> <rng:define name="loext-complex-color-attlist"> <rng:interleave> <rng:attribute name="loext:color-type"> @@ -3532,21 +3574,25 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:interleave> </rng:define> + <!-- TODO no proposal - Document Themes --> + <rng:define name="loext-complex-color-definition"> + <rng:ref name="loext-complex-color-attlist"/> + <rng:zeroOrMore> + <rng:ref name="loext-transformation"/> + </rng:zeroOrMore> + </rng:define> + + <!-- TODO no proposal - Document Themes --> <rng:define name="loext-char-complex-color"> <rng:element name="loext:char-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> + <!-- TODO no proposal - Document Themes --> <rng:define name="loext-fill-complex-color"> <rng:element name="loext:fill-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> @@ -3567,50 +3613,35 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. <!-- TODO no proposal - Document Themes --> <rng:define name="loext-background-complex-color"> <rng:element name="loext:background-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> <!-- TODO no proposal - Document Themes --> <rng:define name="loext-border-bottom-complex-color"> <rng:element name="loext:border-bottom-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> <!-- TODO no proposal - Document Themes --> <rng:define name="loext-border-top-complex-color"> <rng:element name="loext:border-top-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> <!-- TODO no proposal - Document Themes --> <rng:define name="loext-border-left-complex-color"> <rng:element name="loext:border-left-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> <!-- TODO no proposal - Document Themes --> <rng:define name="loext-border-right-complex-color"> <rng:element name="loext:border-right-complex-color"> - <rng:ref name="loext-complex-color-attlist"/> - <rng:zeroOrMore> - <rng:ref name="loext-transformation"/> - </rng:zeroOrMore> + <rng:ref name="loext-complex-color-definition"/> </rng:element> </rng:define> |