#include <SlideBackground.hxx>
|
| DECL_LINK (FillBackgroundHdl, weld::ComboBox &, void) |
|
| DECL_LINK (FillStyleModifyHdl, weld::ComboBox &, void) |
|
| DECL_LINK (PaperSizeModifyHdl, weld::ComboBox &, void) |
|
| DECL_LINK (FillColorHdl, ColorListBox &, void) |
|
| DECL_LINK (AssignMasterPage, weld::ComboBox &, void) |
|
| DECL_LINK (DspBackground, weld::Toggleable &, void) |
|
| DECL_LINK (DspObjects, weld::Toggleable &, void) |
|
| DECL_LINK (CloseMasterHdl, weld::Button &, void) |
|
| DECL_LINK (EditMasterHdl, weld::Button &, void) |
|
| DECL_LINK (SelectBgHdl, weld::Button &, void) |
|
| DECL_LINK (EventMultiplexerListener, tools::EventMultiplexerEvent &, void) |
|
| DECL_LINK (ModifyMarginHdl, weld::ComboBox &, void) |
|
void | Initialize () |
|
void | Update () |
|
void | UpdateMarginBox () |
|
void | SetPanelTitle (const OUString &rTitle) |
|
void | SetMarginsFieldUnit () |
|
Color const & | GetColorSetOrDefault () |
|
basegfx::BGradient const & | GetGradientSetOrDefault () |
|
OUString const & | GetHatchingSetOrDefault () |
|
OUString const & | GetBitmapSetOrDefault () |
|
OUString const & | GetPatternSetOrDefault () |
|
bool | IsDraw () |
|
bool | IsImpress () |
|
void | addListener () |
|
void | removeListener () |
|
void | ExecuteMarginLRChange (const ::tools::Long mnPageLeftMargin, const ::tools::Long mnPageRightMargin) |
|
void | ExecuteMarginULChange (const ::tools::Long mnPageTopMargin, const ::tools::Long mnPageBottomMargin) |
|
void | populateMasterSlideDropdown () |
|
void | updateMasterSlideSelection () |
|
basegfx::BColorStops | createColorStops () |
|
Definition at line 45 of file SlideBackground.hxx.
◆ SlideBackground()
◆ ~SlideBackground()
sd::sidebar::SlideBackground::~SlideBackground |
( |
| ) |
|
|
overridevirtual |
Definition at line 690 of file SlideBackground.cxx.
References SfxControllerItem::dispose(), maBckBitmapController, maBckColorController, maBckFillStyleController, maBckGradientController, maBckHatchController, maBckImageController, maCloseMasterController, maDspBckController, maDspObjController, maMetricController, maPaperMarginLRController, maPaperMarginULController, maPaperOrientationController, maPaperSizeController, mpBitmapItem, mpColorItem, mpHatchItem, mpPageItem, mpPageLRMarginItem, mpPageULMarginItem, mxBackgroundLabel, mxCloseMaster, mxCustomEntry, mxDspMasterBackground, mxDspMasterObjects, mxEditMaster, mxFillAttr, mxFillGrad1, mxFillGrad2, mxFillLB, mxFillStyle, mxInsertImage, mxMarginLabel, mxMarginSelectBox, mxMasterLabel, mxMasterSlide, mxPaperOrientation, mxPaperSizeBox, and removeListener().
◆ addListener()
void sd::sidebar::SlideBackground::addListener |
( |
| ) |
|
|
private |
◆ createColorStops()
◆ DECL_LINK() [1/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
AssignMasterPage |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [2/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
CloseMasterHdl |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [3/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
DspBackground |
, |
|
|
weld::Toggleable & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [4/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
DspObjects |
, |
|
|
weld::Toggleable & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [5/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
EditMasterHdl |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [6/12]
◆ DECL_LINK() [7/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
FillBackgroundHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [8/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
FillColorHdl |
, |
|
|
ColorListBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [9/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
FillStyleModifyHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [10/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
ModifyMarginHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [11/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
PaperSizeModifyHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [12/12]
sd::sidebar::SlideBackground::DECL_LINK |
( |
SelectBgHdl |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DumpAsPropertyTree()
◆ ExecuteMarginLRChange()
void sd::sidebar::SlideBackground::ExecuteMarginLRChange |
( |
const ::tools::Long |
mnPageLeftMargin, |
|
|
const ::tools::Long |
mnPageRightMargin |
|
) |
| |
|
private |
◆ ExecuteMarginULChange()
void sd::sidebar::SlideBackground::ExecuteMarginULChange |
( |
const ::tools::Long |
mnPageTopMargin, |
|
|
const ::tools::Long |
mnPageBottomMargin |
|
) |
| |
|
private |
◆ GetBindings()
SfxBindings * sd::sidebar::SlideBackground::GetBindings |
( |
| ) |
|
|
inline |
◆ GetBitmapSetOrDefault()
OUString const & sd::sidebar::SlideBackground::GetBitmapSetOrDefault |
( |
| ) |
|
|
private |
◆ GetColorSetOrDefault()
Color const & sd::sidebar::SlideBackground::GetColorSetOrDefault |
( |
| ) |
|
|
private |
◆ GetControlState()
virtual void sd::sidebar::SlideBackground::GetControlState |
( |
const |
sal_uInt16, |
|
|
boost::property_tree::ptree & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ GetCurrentUnit()
◆ GetGradientSetOrDefault()
◆ GetHatchingSetOrDefault()
OUString const & sd::sidebar::SlideBackground::GetHatchingSetOrDefault |
( |
| ) |
|
|
private |
◆ GetPatternSetOrDefault()
OUString const & sd::sidebar::SlideBackground::GetPatternSetOrDefault |
( |
| ) |
|
|
private |
◆ HandleContextChange()
void sd::sidebar::SlideBackground::HandleContextChange |
( |
const vcl::EnumContext & |
rContext | ) |
|
|
overridevirtual |
Definition at line 272 of file SlideBackground.cxx.
References comphelper::LibreOfficeKit::isActive(), IsDraw(), IsImpress(), PanelLayout::m_pPanel, maContext, maDrawMasterContext, maDrawOtherContext, maImpressHandoutContext, maImpressMasterContext, maImpressNotesContext, maImpressOtherContext, mxBackgroundLabel, mxCloseMaster, mxDspMasterBackground, mxDspMasterObjects, mxEditMaster, mxFillAttr, mxFillGrad1, mxFillGrad2, mxFillLB, mxFillStyle, mxInsertImage, mxMarginLabel, mxMarginSelectBox, mxMasterLabel, mxMasterSlide, populateMasterSlideDropdown(), SdResId(), and sfx2::sidebar::Panel::TriggerDeckLayouting().
◆ Initialize()
void sd::sidebar::SlideBackground::Initialize |
( |
| ) |
|
|
private |
Definition at line 212 of file SlideBackground.cxx.
References SvxFillTypeBox::Fill(), SfxControllerItem::GetCoreMetric(), sd::ViewShell::getCurrentPage(), sd::ViewShell::GetFrameView(), sd::ViewShellBase::GetMainViewShell(), sd::FrameView::GetViewShEditMode(), LINK, maPaperSizeController, meUnit, mpPage, mrBase, mxCloseMaster, mxDspMasterBackground, mxDspMasterObjects, mxEditMaster, mxFillAttr, mxFillGrad1, mxFillGrad2, mxFillLB, mxFillStyle, mxInsertImage, mxMarginSelectBox, mxMasterSlide, mxPaperOrientation, mxPaperSizeBox, NONE, Page, populateMasterSlideDropdown(), SD_LT_SEPARATOR, SetMarginsFieldUnit(), Update(), and UpdateMarginBox().
◆ IsDraw()
bool sd::sidebar::SlideBackground::IsDraw |
( |
| ) |
|
|
private |
◆ IsImpress()
bool sd::sidebar::SlideBackground::IsImpress |
( |
| ) |
|
|
private |
◆ NotifyItemUpdate()
void sd::sidebar::SlideBackground::NotifyItemUpdate |
( |
const sal_uInt16 |
nSID, |
|
|
const SfxItemState |
eState, |
|
|
const SfxPoolItem * |
pState |
|
) |
| |
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 831 of file SlideBackground.cxx.
References BITMAP, SvxPageItem::Clone(), SfxPoolItem::Clone(), GetCurrentUnit(), SvxSizeItem::GetSize(), SvxPaperInfo::GetSvxPaper(), SfxBoolItem::GetValue(), GRADIENT, HATCH, meFUnit, meUnit, mpBitmapItem, mpColorItem, mpGradientItem, mpHatchItem, mpPageItem, mpPageLRMarginItem, mpPageULMarginItem, mxDspMasterBackground, mxDspMasterObjects, mxFillStyle, mxPaperOrientation, mxPaperSizeBox, NONE, PATTERN, SetMarginsFieldUnit(), SOLID, Swap(), Update(), and UpdateMarginBox().
◆ populateMasterSlideDropdown()
void sd::sidebar::SlideBackground::populateMasterSlideDropdown |
( |
| ) |
|
|
private |
Definition at line 659 of file SlideBackground.cxx.
References SfxObjectShell::Current(), sd::DrawDocShell::GetDoc(), SdPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetPageKind(), mxMasterSlide, nCount, SD_LT_SEPARATOR, Standard, and updateMasterSlideSelection().
Referenced by HandleContextChange(), and Initialize().
◆ removeListener()
void sd::sidebar::SlideBackground::removeListener |
( |
| ) |
|
|
private |
◆ SetMarginsFieldUnit()
void sd::sidebar::SlideBackground::SetMarginsFieldUnit |
( |
| ) |
|
|
private |
Definition at line 183 of file SlideBackground.cxx.
References first, AllSettings::GetLocaleDataWrapper(), LocaleDataWrapper::getNum(), Application::GetSettings(), i, IsInch(), meFUnit, weld::MetricSpinButton::MetricToString(), mxMarginSelectBox, SAL_N_ELEMENTS, SdResId(), and sSuffix.
Referenced by Initialize(), and NotifyItemUpdate().
◆ SetPanelTitle()
void sd::sidebar::SlideBackground::SetPanelTitle |
( |
const OUString & |
rTitle | ) |
|
|
private |
◆ Update()
void sd::sidebar::SlideBackground::Update |
( |
| ) |
|
|
private |
Definition at line 362 of file SlideBackground.cxx.
References aName, BITMAP, SfxObjectShell::Current(), SvxFillAttrBox::Fill(), GetBitmapSetOrDefault(), GetColorSetOrDefault(), basegfx::BGradient::GetColorStops(), GetGradientSetOrDefault(), GetHatchingSetOrDefault(), SfxShell::GetItem(), GetPatternSetOrDefault(), GRADIENT, HATCH, PanelLayout::m_pPanel, maColorStops, maContext, maDrawOtherContext, maImpressOtherContext, mxFillAttr, mxFillGrad1, mxFillGrad2, mxFillLB, mxFillStyle, NONE, nPos, PATTERN, SOLID, and sfx2::sidebar::Panel::TriggerDeckLayouting().
Referenced by Initialize(), and NotifyItemUpdate().
◆ UpdateMarginBox()
void sd::sidebar::SlideBackground::UpdateMarginBox |
( |
| ) |
|
|
private |
Definition at line 460 of file SlideBackground.cxx.
References sd::sidebar::IsModerate(), sd::sidebar::IsNarrow(), sd::sidebar::IsNone(), sd::sidebar::IsNormal075(), sd::sidebar::IsNormal100(), sd::sidebar::IsNormal125(), sd::sidebar::IsWide(), m_nPageBottomMargin, m_nPageLeftMargin, m_nPageRightMargin, m_nPageTopMargin, maCustomEntry, mpPageLRMarginItem, mpPageULMarginItem, and mxMarginSelectBox.
Referenced by Initialize(), and NotifyItemUpdate().
◆ updateMasterSlideSelection()
void sd::sidebar::SlideBackground::updateMasterSlideSelection |
( |
| ) |
|
|
private |
◆ m_nPageBottomMargin
◆ m_nPageLeftMargin
◆ m_nPageRightMargin
◆ m_nPageTopMargin
◆ maBckBitmapController
◆ maBckColorController
◆ maBckFillStyleController
◆ maBckGradientController
◆ maBckHatchController
◆ maBckImageController
◆ maCloseMasterController
◆ maColorStops
◆ maContext
◆ maCustomEntry
OUString sd::sidebar::SlideBackground::maCustomEntry |
|
private |
◆ maDrawMasterContext
◆ maDrawOtherContext
◆ maDspBckController
◆ maDspObjController
◆ maImpressHandoutContext
◆ maImpressMasterContext
◆ maImpressNotesContext
◆ maImpressOtherContext
◆ maMetricController
◆ maPaperMarginLRController
◆ maPaperMarginULController
◆ maPaperOrientationController
◆ maPaperSizeController
◆ mbSwitchModeToMaster
bool sd::sidebar::SlideBackground::mbSwitchModeToMaster |
|
private |
◆ mbSwitchModeToNormal
bool sd::sidebar::SlideBackground::mbSwitchModeToNormal |
|
private |
◆ mbTitle
bool sd::sidebar::SlideBackground::mbTitle |
|
private |
◆ meFUnit
FieldUnit sd::sidebar::SlideBackground::meFUnit |
|
private |
◆ meUnit
MapUnit sd::sidebar::SlideBackground::meUnit |
|
private |
◆ mpBindings
◆ mpBitmapItem
std::unique_ptr< XFillBitmapItem > sd::sidebar::SlideBackground::mpBitmapItem |
|
private |
◆ mpColorItem
std::unique_ptr< XFillColorItem > sd::sidebar::SlideBackground::mpColorItem |
|
private |
◆ mpGradientItem
◆ mpHatchItem
std::unique_ptr< XFillHatchItem > sd::sidebar::SlideBackground::mpHatchItem |
|
private |
◆ mpPageItem
std::unique_ptr< SvxPageItem > sd::sidebar::SlideBackground::mpPageItem |
|
private |
◆ mpPageLRMarginItem
◆ mpPageULMarginItem
◆ mrBase
◆ mxBackgroundLabel
std::unique_ptr<weld::Label> sd::sidebar::SlideBackground::mxBackgroundLabel |
|
private |
◆ mxCloseMaster
std::unique_ptr<weld::Button> sd::sidebar::SlideBackground::mxCloseMaster |
|
private |
◆ mxCustomEntry
std::unique_ptr<weld::Label> sd::sidebar::SlideBackground::mxCustomEntry |
|
private |
◆ mxDspMasterBackground
std::unique_ptr<weld::CheckButton> sd::sidebar::SlideBackground::mxDspMasterBackground |
|
private |
◆ mxDspMasterObjects
◆ mxEditMaster
std::unique_ptr<weld::Button> sd::sidebar::SlideBackground::mxEditMaster |
|
private |
◆ mxFillAttr
std::unique_ptr<weld::ComboBox> sd::sidebar::SlideBackground::mxFillAttr |
|
private |
◆ mxFillGrad1
std::unique_ptr<ColorListBox> sd::sidebar::SlideBackground::mxFillGrad1 |
|
private |
◆ mxFillGrad2
std::unique_ptr<ColorListBox> sd::sidebar::SlideBackground::mxFillGrad2 |
|
private |
◆ mxFillLB
std::unique_ptr<ColorListBox> sd::sidebar::SlideBackground::mxFillLB |
|
private |
◆ mxFillStyle
std::unique_ptr<weld::ComboBox> sd::sidebar::SlideBackground::mxFillStyle |
|
private |
◆ mxFrame
css::uno::Reference<css::frame::XFrame> sd::sidebar::SlideBackground::mxFrame |
|
private |
◆ mxInsertImage
std::unique_ptr<weld::Button> sd::sidebar::SlideBackground::mxInsertImage |
|
private |
◆ mxMarginLabel
std::unique_ptr<weld::Label> sd::sidebar::SlideBackground::mxMarginLabel |
|
private |
◆ mxMarginSelectBox
std::unique_ptr<weld::ComboBox> sd::sidebar::SlideBackground::mxMarginSelectBox |
|
private |
◆ mxMasterLabel
std::unique_ptr<weld::Label> sd::sidebar::SlideBackground::mxMasterLabel |
|
private |
◆ mxMasterSlide
std::unique_ptr<weld::ComboBox> sd::sidebar::SlideBackground::mxMasterSlide |
|
private |
◆ mxPaperOrientation
std::unique_ptr<weld::ComboBox> sd::sidebar::SlideBackground::mxPaperOrientation |
|
private |
◆ mxPaperSizeBox
The documentation for this class was generated from the following files: