LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxColorToolBoxControl Class Referencefinal

#include <tbcontrl.hxx>

Inheritance diagram for SvxColorToolBoxControl:
[legend]
Collaboration diagram for SvxColorToolBoxControl:
[legend]

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::WindowcreateVclPopupWindow (vcl::Window *pParent) override
 
virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow () 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

 DECL_LINK (SelectedHdl, const NamedColor &, void)
 

Private Attributes

std::unique_ptr< svx::ToolboxButtonColorUpdaterBasem_xBtnUpdater
 
std::shared_ptr< PaletteManagerm_xPaletteManager
 
ColorStatus m_aColorStatus
 
bool m_bSplitButton
 
sal_uInt16 m_nSlotId
 
ColorSelectFunction m_aColorSelectFunction
 

Detailed Description

Definition at line 205 of file tbcontrl.hxx.

Constructor & Destructor Documentation

SvxColorToolBoxControl::SvxColorToolBoxControl ( const css::uno::Reference< css::uno::XComponentContext > &  rContext)
explicit

Definition at line 3260 of file tbcontrl.cxx.

SvxColorToolBoxControl::~SvxColorToolBoxControl ( )
overridevirtual

Definition at line 3364 of file tbcontrl.cxx.

References m_xPaletteManager.

Member Function Documentation

VclPtr< vcl::Window > SvxColorToolBoxControl::createVclPopupWindow ( vcl::Window pParent)
overridevirtual
SvxColorToolBoxControl::DECL_LINK ( SelectedHdl  ,
const NamedColor ,
void   
)
private
void SvxColorToolBoxControl::EnsurePaletteManager ( )

Definition at line 3355 of file tbcontrl.cxx.

References m_xBtnUpdater, and m_xPaletteManager.

Referenced by createVclPopupWindow(), execute(), and weldPopupWindow().

void SvxColorToolBoxControl::execute ( sal_Int16  nSelectModifier)
overridevirtual
void SvxColorToolBoxControl::functionSelected ( const OUString &  rCommand)
overridevirtual

Definition at line 3530 of file tbcontrl.cxx.

OUString SvxColorToolBoxControl::getImplementationName ( )
overridevirtual

Definition at line 3534 of file tbcontrl.cxx.

OUString SvxColorToolBoxControl::getSubToolbarName ( )
overridevirtual

Definition at line 3525 of file tbcontrl.cxx.

css::uno::Sequence< OUString > SvxColorToolBoxControl::getSupportedServiceNames ( )
overridevirtual

Definition at line 3539 of file tbcontrl.cxx.

void SvxColorToolBoxControl::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual
sal_Bool SvxColorToolBoxControl::opensSubToolbar ( )
overridevirtual

Definition at line 3512 of file tbcontrl.cxx.

References m_bSplitButton.

void SvxColorToolBoxControl::setColorSelectFunction ( const ColorSelectFunction aColorSelectFunction)

Definition at line 3370 of file tbcontrl.cxx.

References m_aColorSelectFunction, and m_xPaletteManager.

void SvxColorToolBoxControl::statusChanged ( const css::frame::FeatureStateEvent &  rEvent)
overridevirtual
void SvxColorToolBoxControl::update ( )
overridevirtual

Definition at line 3334 of file tbcontrl.cxx.

References m_nSlotId.

void SvxColorToolBoxControl::updateImage ( )
overridevirtual

Definition at line 3520 of file tbcontrl.cxx.

References m_xBtnUpdater.

std::unique_ptr< WeldToolbarPopup > SvxColorToolBoxControl::weldPopupWindow ( )
overridevirtual

Member Data Documentation

ColorSelectFunction SvxColorToolBoxControl::m_aColorSelectFunction
private

Definition at line 213 of file tbcontrl.hxx.

Referenced by createVclPopupWindow(), setColorSelectFunction(), and weldPopupWindow().

ColorStatus SvxColorToolBoxControl::m_aColorStatus
private

Definition at line 210 of file tbcontrl.hxx.

Referenced by createVclPopupWindow(), statusChanged(), and weldPopupWindow().

bool SvxColorToolBoxControl::m_bSplitButton
private
sal_uInt16 SvxColorToolBoxControl::m_nSlotId
private

Definition at line 212 of file tbcontrl.hxx.

Referenced by createVclPopupWindow(), execute(), initialize(), update(), and weldPopupWindow().

std::unique_ptr<svx::ToolboxButtonColorUpdaterBase> SvxColorToolBoxControl::m_xBtnUpdater
private

Definition at line 208 of file tbcontrl.hxx.

Referenced by EnsurePaletteManager(), execute(), initialize(), statusChanged(), and updateImage().

std::shared_ptr<PaletteManager> SvxColorToolBoxControl::m_xPaletteManager
private

The documentation for this class was generated from the following files: