summaryrefslogtreecommitdiff
path: root/svx/sdi
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-06-08 15:17:38 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-06-08 11:13:28 +0200
commitac2838a9cd5577f92dbece130fa6fb8b8e26e6cd (patch)
tree32d4a7eb2de87935bd0767c3905f6d0c1a49fbc9 /svx/sdi
parent452856addb26a24846505061b08e2dd64a9c5b5f (diff)
svx: add "Color" and "ComplexColorJSON" argument for XColorItem
This is needed now that the color picker expects this argument to be present. Without the "ComplexColorJSON" argument, it is not possible for the color picker to set any ComplexColor attributes, which is needed for theme support. Change-Id: I0a04ea57826afb9f17a54ce24a4cbcc88dfe1481 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152727 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/sdi')
-rw-r--r--svx/sdi/svxitems.sdi8
1 files changed, 7 insertions, 1 deletions
diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi
index eabb753f647a..6e8773315d29 100644
--- a/svx/sdi/svxitems.sdi
+++ b/svx/sdi/svxitems.sdi
@@ -214,7 +214,13 @@ item String SvxPatternListItem;
item String SfxLockBytesItem;
item String SvxFontListItem;
item String avmedia_MediaItem;
-item INT32 XColorItem;
+struct XColor
+{
+ INT32 Color MID_COLOR_RGB;
+ String ComplexColorJSON MID_COMPLEX_COLOR_JSON;
+};
+item XColor XColorItem;
+
item INT16 SdrPercentItem;
item INT32 SdrMetricItem;