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::WindowcreatePopupWindow (vcl::Window *pParent) 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::ToolboxButtonColorUpdaterm_xBtnUpdater
 
std::shared_ptr< PaletteManagerm_xPaletteManager
 
ColorStatus m_aColorStatus
 
bool m_bSplitButton
 
sal_uInt16 m_nSlotId
 
ColorSelectFunction m_aColorSelectFunction
 

Detailed Description

Definition at line 204 of file tbcontrl.hxx.

Constructor & Destructor Documentation

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

Definition at line 3405 of file tbcontrl.cxx.

SvxColorToolBoxControl::~SvxColorToolBoxControl ( )
overridevirtual

Definition at line 3498 of file tbcontrl.cxx.

References m_xPaletteManager.

Member Function Documentation

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

Definition at line 3489 of file tbcontrl.cxx.

References m_xBtnUpdater, and m_xPaletteManager.

Referenced by createPopupWindow(), and execute().

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

Definition at line 3619 of file tbcontrl.cxx.

OUString SvxColorToolBoxControl::getImplementationName ( )
overridevirtual

Definition at line 3623 of file tbcontrl.cxx.

OUString SvxColorToolBoxControl::getSubToolbarName ( )
overridevirtual

Definition at line 3614 of file tbcontrl.cxx.

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

Definition at line 3628 of file tbcontrl.cxx.

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

Definition at line 3591 of file tbcontrl.cxx.

References m_bSplitButton.

void SvxColorToolBoxControl::setColorSelectFunction ( const ColorSelectFunction aColorSelectFunction)

Definition at line 3504 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 3468 of file tbcontrl.cxx.

References m_nSlotId.

void SvxColorToolBoxControl::updateImage ( )
overridevirtual

Member Data Documentation

ColorSelectFunction SvxColorToolBoxControl::m_aColorSelectFunction
private

Definition at line 212 of file tbcontrl.hxx.

Referenced by createPopupWindow(), and setColorSelectFunction().

ColorStatus SvxColorToolBoxControl::m_aColorStatus
private

Definition at line 209 of file tbcontrl.hxx.

Referenced by createPopupWindow(), and statusChanged().

bool SvxColorToolBoxControl::m_bSplitButton
private

Definition at line 210 of file tbcontrl.hxx.

Referenced by createPopupWindow(), execute(), initialize(), opensSubToolbar(), and statusChanged().

sal_uInt16 SvxColorToolBoxControl::m_nSlotId
private

Definition at line 211 of file tbcontrl.hxx.

Referenced by createPopupWindow(), execute(), initialize(), and update().

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

Definition at line 207 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: