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

weld::WindowGetParentFrame () const
 

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 204 of file tbcontrl.hxx.

Constructor & Destructor Documentation

◆ SvxColorToolBoxControl()

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

Definition at line 3486 of file tbcontrl.cxx.

◆ ~SvxColorToolBoxControl()

SvxColorToolBoxControl::~SvxColorToolBoxControl ( )
overridevirtual

Definition at line 3589 of file tbcontrl.cxx.

References m_xPaletteManager.

Member Function Documentation

◆ createVclPopupWindow()

VclPtr< vcl::Window > SvxColorToolBoxControl::createVclPopupWindow ( vcl::Window pParent)
overridevirtual

◆ EnsurePaletteManager()

void SvxColorToolBoxControl::EnsurePaletteManager ( )

Definition at line 3580 of file tbcontrl.cxx.

References m_xBtnUpdater, and m_xPaletteManager.

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

◆ execute()

void SvxColorToolBoxControl::execute ( sal_Int16  nSelectModifier)
overridevirtual

◆ functionSelected()

void SvxColorToolBoxControl::functionSelected ( const OUString &  rCommand)
overridevirtual

Definition at line 3741 of file tbcontrl.cxx.

◆ getImplementationName()

OUString SvxColorToolBoxControl::getImplementationName ( )
overridevirtual

Definition at line 3745 of file tbcontrl.cxx.

◆ GetParentFrame()

weld::Window * SvxColorToolBoxControl::GetParentFrame ( ) const
private

Definition at line 3602 of file tbcontrl.cxx.

References Application::GetFrameWeld(), and m_xFrame.

Referenced by createVclPopupWindow(), and weldPopupWindow().

◆ getSubToolbarName()

OUString SvxColorToolBoxControl::getSubToolbarName ( )
overridevirtual

Definition at line 3736 of file tbcontrl.cxx.

◆ getSupportedServiceNames()

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

Definition at line 3750 of file tbcontrl.cxx.

◆ initialize()

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

◆ opensSubToolbar()

sal_Bool SvxColorToolBoxControl::opensSubToolbar ( )
overridevirtual

Definition at line 3723 of file tbcontrl.cxx.

◆ setColorSelectFunction()

void SvxColorToolBoxControl::setColorSelectFunction ( const ColorSelectFunction aColorSelectFunction)

Definition at line 3595 of file tbcontrl.cxx.

References m_aColorSelectFunction, and m_xPaletteManager.

◆ statusChanged()

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

◆ update()

void SvxColorToolBoxControl::update ( )
overridevirtual

Definition at line 3558 of file tbcontrl.cxx.

References m_nSlotId.

◆ updateImage()

void SvxColorToolBoxControl::updateImage ( )
overridevirtual

Definition at line 3731 of file tbcontrl.cxx.

References m_xBtnUpdater.

◆ weldPopupWindow()

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

Member Data Documentation

◆ m_aColorSelectFunction

ColorSelectFunction SvxColorToolBoxControl::m_aColorSelectFunction
private

Definition at line 212 of file tbcontrl.hxx.

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

◆ m_aColorStatus

ColorStatus SvxColorToolBoxControl::m_aColorStatus
private

Definition at line 209 of file tbcontrl.hxx.

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

◆ m_bSplitButton

bool SvxColorToolBoxControl::m_bSplitButton
private

Definition at line 210 of file tbcontrl.hxx.

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

◆ m_nSlotId

sal_uInt16 SvxColorToolBoxControl::m_nSlotId
private

Definition at line 211 of file tbcontrl.hxx.

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

◆ m_xBtnUpdater

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

Definition at line 207 of file tbcontrl.hxx.

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

◆ m_xPaletteManager

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

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