diff options
Diffstat (limited to 'svx/source/sidebar/area/AreaPropertyPanel.cxx')
-rw-r--r-- | svx/source/sidebar/area/AreaPropertyPanel.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx index b4d22f6823ab..1bcbdac19e1e 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx @@ -46,6 +46,7 @@ AreaPropertyPanel::AreaPropertyPanel( maPatternListControl(SID_PATTERN_LIST, *pBindings, *this), maFillTransparenceController(SID_ATTR_FILL_TRANSPARENCE, *pBindings, *this), maFillFloatTransparenceController(SID_ATTR_FILL_FLOATTRANSPARENCE, *pBindings, *this), + maFillUseSlideBackgroundController(SID_ATTR_FILL_USE_SLIDE_BACKGROUND, *pBindings, *this), mpBindings(pBindings) { } @@ -86,6 +87,14 @@ void AreaPropertyPanel::setFillTransparence(const XFillTransparenceItem& rItem) SfxCallMode::RECORD, { &rItem }); } +void AreaPropertyPanel::setFillUseBackground(const XFillStyleItem* pStyleItem, + const XFillUseSlideBackgroundItem& rItem) +{ + GetBindings()->GetDispatcher()->ExecuteList( + SID_ATTR_FILL_USE_SLIDE_BACKGROUND, SfxCallMode::RECORD, + std::initializer_list<SfxPoolItem const*>{ &rItem, pStyleItem }); +} + void AreaPropertyPanel::setFillFloatTransparence(const XFillFloatTransparenceItem& rItem) { GetBindings()->GetDispatcher()->ExecuteList(SID_ATTR_FILL_FLOATTRANSPARENCE, |