LibreOffice Module svx (master) 1
|
#include <tbcontrl.hxx>
Public Member Functions | |
SvxColorToolBoxControl (const css::uno::Reference< css::uno::XComponentContext > &rContext) | |
virtual | ~SvxColorToolBoxControl () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override |
virtual void SAL_CALL | update () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &rEvent) override |
virtual void SAL_CALL | execute (sal_Int16 nSelectModifier) override |
virtual VclPtr< vcl::Window > | createVclPopupWindow (vcl::Window *pParent) override |
virtual std::unique_ptr< WeldToolbarPopup > | weldPopupWindow () override |
virtual sal_Bool SAL_CALL | opensSubToolbar () override |
virtual OUString SAL_CALL | getSubToolbarName () override |
virtual void SAL_CALL | functionSelected (const OUString &rCommand) override |
virtual void SAL_CALL | updateImage () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | setColorSelectFunction (const ColorSelectFunction &aColorSelectFunction) |
void | EnsurePaletteManager () |
Private Member Functions | |
weld::Window * | GetParentFrame () const |
Private Attributes | |
std::unique_ptr< svx::ToolboxButtonColorUpdaterBase > | m_xBtnUpdater |
std::shared_ptr< PaletteManager > | m_xPaletteManager |
ColorStatus | m_aColorStatus |
bool | m_bSplitButton |
sal_uInt16 | m_nSlotId |
ColorSelectFunction | m_aColorSelectFunction |
Definition at line 204 of file tbcontrl.hxx.
|
explicit |
Definition at line 3486 of file tbcontrl.cxx.
|
overridevirtual |
Definition at line 3589 of file tbcontrl.cxx.
References m_xPaletteManager.
|
overridevirtual |
Definition at line 3625 of file tbcontrl.cxx.
References aProperties, VclPtr< class reference_type >::Create(), EnsurePaletteManager(), vcl::CommandInfoProvider::GetCommandProperties(), vcl::CommandInfoProvider::GetLabelForCommand(), GetParentFrame(), m_aColorSelectFunction, m_aColorStatus, m_nSlotId, m_xFrame, m_xPaletteManager, and nId.
void SvxColorToolBoxControl::EnsurePaletteManager | ( | ) |
Definition at line 3580 of file tbcontrl.cxx.
References m_xBtnUpdater, and m_xPaletteManager.
Referenced by createVclPopupWindow(), execute(), and weldPopupWindow().
|
overridevirtual |
Definition at line 3686 of file tbcontrl.cxx.
References aCommand, dispatchCommand(), EnsurePaletteManager(), comphelper::InitPropertySequence(), m_bSplitButton, m_nSlotId, m_xBtnUpdater, and m_xPaletteManager.
|
overridevirtual |
Definition at line 3741 of file tbcontrl.cxx.
|
overridevirtual |
Definition at line 3745 of file tbcontrl.cxx.
|
private |
Definition at line 3602 of file tbcontrl.cxx.
References Application::GetFrameWeld(), and m_xFrame.
Referenced by createVclPopupWindow(), and weldPopupWindow().
|
overridevirtual |
Definition at line 3736 of file tbcontrl.cxx.
|
overridevirtual |
Definition at line 3750 of file tbcontrl.cxx.
|
overridevirtual |
Definition at line 3525 of file tbcontrl.cxx.
References aProperties, vcl::CommandInfoProvider::GetCommandProperties(), ToolBox::GetItemBits(), vcl::CommandInfoProvider::GetLabelForCommand(), m_bSplitButton, m_nSlotId, m_xBtnUpdater, m_xFrame, nId, and ToolBox::SetItemBits().
|
overridevirtual |
Definition at line 3723 of file tbcontrl.cxx.
void SvxColorToolBoxControl::setColorSelectFunction | ( | const ColorSelectFunction & | aColorSelectFunction | ) |
Definition at line 3595 of file tbcontrl.cxx.
References m_aColorSelectFunction, and m_xPaletteManager.
|
overridevirtual |
Definition at line 3656 of file tbcontrl.cxx.
References ToolBox::CheckItem(), ToolBox::EnableItem(), ColorStatus::GetColor(), m_aColorStatus, m_bSplitButton, m_xBtnUpdater, nId, and ColorStatus::statusChanged().
|
overridevirtual |
Definition at line 3558 of file tbcontrl.cxx.
References m_nSlotId.
|
overridevirtual |
Definition at line 3731 of file tbcontrl.cxx.
References m_xBtnUpdater.
|
overridevirtual |
Definition at line 3608 of file tbcontrl.cxx.
References EnsurePaletteManager(), GetParentFrame(), m_aColorSelectFunction, m_aColorStatus, m_nSlotId, m_xFrame, and m_xPaletteManager.
|
private |
Definition at line 212 of file tbcontrl.hxx.
Referenced by createVclPopupWindow(), setColorSelectFunction(), and weldPopupWindow().
|
private |
Definition at line 209 of file tbcontrl.hxx.
Referenced by createVclPopupWindow(), statusChanged(), and weldPopupWindow().
|
private |
Definition at line 210 of file tbcontrl.hxx.
Referenced by execute(), initialize(), and statusChanged().
|
private |
Definition at line 211 of file tbcontrl.hxx.
Referenced by createVclPopupWindow(), execute(), initialize(), update(), and weldPopupWindow().
|
private |
Definition at line 207 of file tbcontrl.hxx.
Referenced by EnsurePaletteManager(), execute(), initialize(), statusChanged(), and updateImage().
|
private |
Definition at line 208 of file tbcontrl.hxx.
Referenced by createVclPopupWindow(), EnsurePaletteManager(), execute(), setColorSelectFunction(), weldPopupWindow(), and ~SvxColorToolBoxControl().