diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-13 15:10:58 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-14 08:53:59 +0100 |
commit | 02e3e25e1c0b6468b5a9bfa623da7db6fb566ac7 (patch) | |
tree | e7f06716955e045f1e3c579424656cc8ff9037e0 | |
parent | b59f58475d83345463c763497b8aa2260f42fa94 (diff) |
jsdialogs: send .uno:FillShadowTransparency updates
Change-Id: Id74a0cf697faf796f68f5c350941e354494a6e3b
Reviewed-on: https://gerrit.libreoffice.org/82607
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 5adc79f54507bb7d191589a0895e491c95e63fe7)
Reviewed-on: https://gerrit.libreoffice.org/82614
Tested-by: Jenkins
-rw-r--r-- | svx/source/svdraw/svdedtv1.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index e414ec01e0c0..5ce79bfd1721 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -69,6 +69,7 @@ #include <svx/xflclit.hxx> #include <svx/xlntrit.hxx> #include <svx/xfltrit.hxx> +#include <svx/sdprcitm.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <rtl/ustring.hxx> #include <sfx2/viewsh.hxx> @@ -1003,6 +1004,19 @@ void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) con } break; } + + case SDRATTR_SHADOWTRANSPARENCE: + { + const SfxPoolItem* pItem = rSet.GetItem(SDRATTR_SHADOWTRANSPARENCE); + if (pItem) + { + sal_uInt16 nWidth = static_cast<const SfxUInt16Item*>(pItem)->GetValue(); + sPayload = OUString::number(nWidth); + + sPayload = ".uno:FillShadowTransparency=" + sPayload; + } + break; + } } if (!sPayload.isEmpty()) |