From 02e3e25e1c0b6468b5a9bfa623da7db6fb566ac7 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Wed, 13 Nov 2019 15:10:58 +0100 Subject: jsdialogs: send .uno:FillShadowTransparency updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id74a0cf697faf796f68f5c350941e354494a6e3b Reviewed-on: https://gerrit.libreoffice.org/82607 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos (cherry picked from commit 5adc79f54507bb7d191589a0895e491c95e63fe7) Reviewed-on: https://gerrit.libreoffice.org/82614 Tested-by: Jenkins --- svx/source/svdraw/svdedtv1.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 #include #include +#include #include #include #include @@ -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(pItem)->GetValue(); + sPayload = OUString::number(nWidth); + + sPayload = ".uno:FillShadowTransparency=" + sPayload; + } + break; + } } if (!sPayload.isEmpty()) -- cgit