From 5006dfcbc370e80bd159a9e957254b0ce09a6cdd Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 20 Sep 2015 19:20:59 +0200 Subject: Theme color and tint/shade attribute for SvxColorItem To support theme colors the SvxColorItem must be extended with an optional attribute theme index to define the index to which theme color current color belongs and an optional tint/shade attribute define how much the color ha been additionally tinted or shaded. [ Miklos: left out the potentially breaking svx/sdi/svxitems.sdi changes. ] (cherry picked from commit ccdbf815e00dbe2ba21f7e86b6743df100b7401f, from the feature/themesupport2 branch) Change-Id: Ifb0481770be675181dafa94cd2778f374fcf3c7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125296 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- offapi/com/sun/star/style/CharacterProperties.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/style/CharacterProperties.idl b/offapi/com/sun/star/style/CharacterProperties.idl index 2f8a87448a33..edb40949dcff 100644 --- a/offapi/com/sun/star/style/CharacterProperties.idl +++ b/offapi/com/sun/star/style/CharacterProperties.idl @@ -468,6 +468,18 @@ published service CharacterProperties */ [optional, property] short CharTransparence; + /** If available, keeps the color theme index, so that the character can + * be re-colored easily based on a theme. + * + * @since LibreOffice 7.3 + **/ + [optional, property] short CharColorTheme; + + /** Tint or shade of the character color. + * + * @since LibreOffice 7.3 + **/ + [optional, property] short CharColorTintOrShade; }; }; }; }; }; -- cgit