diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-11 15:14:23 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-08-27 14:42:07 +0200 |
commit | e99e7499a8e738251ecf42f29d5f2e898b08ef4f (patch) | |
tree | f88c34e9983ae5217bbcd47da471851e9b988207 | |
parent | 09111f124be4f3c34b4d7cebcc238dcd29ceaede (diff) |
Shadow color setter for online
Change-Id: Id79d879a6017beb39e95a8d923e8368178901c74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100502
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101388
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | sc/source/ui/drawfunc/drawsh.cxx | 8 | ||||
-rw-r--r-- | svx/sdi/svx.sdi | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx index 2302367e9aa1..ab0baaf89402 100644 --- a/sc/source/ui/drawfunc/drawsh.cxx +++ b/sc/source/ui/drawfunc/drawsh.cxx @@ -58,6 +58,7 @@ #include <svx/xlnclit.hxx> #include <svx/xflclit.hxx> #include <svx/xflgrit.hxx> +#include <editeng/colritem.hxx> SFX_IMPL_INTERFACE(ScDrawShell, SfxShell) @@ -103,6 +104,13 @@ namespace pArgs->Put(aFillColorItem); break; } + + case SID_ATTR_SHADOW_COLOR: + { + XColorItem aItem(SDRATTR_SHADOWCOLOR, aColor); + pArgs->Put(aItem); + break; + } } } if (SfxItemState::SET == pArgs->GetItemState(SID_FILL_GRADIENT_JSON, false, &pItem)) diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index d2ba31f57608..d382a1814121 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -7671,7 +7671,7 @@ SdrOnOffItem FillShadow SID_ATTR_FILL_SHADOW ] XColorItem FillShadowColor SID_ATTR_SHADOW_COLOR - +(SfxStringItem Color SID_ATTR_COLOR_STR) [ AutoUpdate = TRUE, |