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

#include <linectrl.hxx>

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

Public Member Functions

 SvxLineStyleToolBoxControl (const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL execute (sal_Int16 nKeyModifier) override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
virtual ~SvxLineStyleToolBoxControl () override
 
void setLineStyleSelectFunction (const LineStyleSelectFunction &aLineStyleSelectFunction)
 
void setLineStyleIsNoneFunction (const LineStyleIsNoneFunction &aLineStyleIsNoneFunction)
 
void dispatchLineStyleCommand (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
- Public Member Functions inherited from svt::PopupWindowController
 PopupWindowController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &aCommandURL)
 
virtual ~PopupWindowController () override
 
void EndPopupMode ()
 
virtual VclPtr< vcl::WindowcreateVclPopupWindow (vcl::Window *pParent)
 
virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow ()=0
 
virtual OUString SAL_CALL getImplementationName () override=0
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override=0
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual void SAL_CALL click () override
 

Private Member Functions

virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow () override
 
virtual VclPtr< vcl::WindowcreateVclPopupWindow (vcl::Window *pParent) override
 

Private Attributes

std::unique_ptr< svx::ToolboxButtonLineStyleUpdaterm_xBtnUpdater
 
LineStyleSelectFunction m_aLineStyleSelectFunction
 
LineStyleIsNoneFunction m_aLineStyleIsNoneFunction
 

Additional Inherited Members

- Protected Attributes inherited from svt::PopupWindowController
std::unique_ptr< ToolbarPopupContainermxPopoverContainer
 
VclPtr< InterimToolbarPopupmxInterimPopover
 

Detailed Description

Definition at line 38 of file linectrl.hxx.

Constructor & Destructor Documentation

◆ SvxLineStyleToolBoxControl()

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

Definition at line 62 of file linectrl.cxx.

◆ ~SvxLineStyleToolBoxControl()

SvxLineStyleToolBoxControl::~SvxLineStyleToolBoxControl ( )
overridevirtual

Definition at line 68 of file linectrl.cxx.

Member Function Documentation

◆ createVclPopupWindow()

VclPtr< vcl::Window > SvxLineStyleToolBoxControl::createVclPopupWindow ( vcl::Window pParent)
overrideprivatevirtual

◆ dispatchLineStyleCommand()

void SvxLineStyleToolBoxControl::dispatchLineStyleCommand ( const OUString &  rCommand,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)

Definition at line 184 of file linectrl.cxx.

References dispatchCommand(), m_aLineStyleSelectFunction, and Value.

◆ execute()

void SAL_CALL SvxLineStyleToolBoxControl::execute ( sal_Int16  nKeyModifier)
overridevirtual

Definition at line 140 of file linectrl.cxx.

References svt::PopupWindowController::createPopupWindow().

◆ getImplementationName()

OUString SvxLineStyleToolBoxControl::getImplementationName ( )
overridevirtual

Implements svt::PopupWindowController.

Definition at line 207 of file linectrl.cxx.

◆ getSupportedServiceNames()

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

Implements svt::PopupWindowController.

Definition at line 212 of file linectrl.cxx.

◆ initialize()

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

◆ setLineStyleIsNoneFunction()

void SvxLineStyleToolBoxControl::setLineStyleIsNoneFunction ( const LineStyleIsNoneFunction aLineStyleIsNoneFunction)

Definition at line 179 of file linectrl.cxx.

References m_aLineStyleIsNoneFunction.

Referenced by svx::sidebar::LinePropertyPanelBase::Initialize().

◆ setLineStyleSelectFunction()

void SvxLineStyleToolBoxControl::setLineStyleSelectFunction ( const LineStyleSelectFunction aLineStyleSelectFunction)

Definition at line 174 of file linectrl.cxx.

References m_aLineStyleSelectFunction.

◆ statusChanged()

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

◆ weldPopupWindow()

std::unique_ptr< WeldToolbarPopup > SvxLineStyleToolBoxControl::weldPopupWindow ( )
overrideprivatevirtual

Implements svt::PopupWindowController.

Definition at line 192 of file linectrl.cxx.

References m_xBtnUpdater.

Member Data Documentation

◆ m_aLineStyleIsNoneFunction

LineStyleIsNoneFunction SvxLineStyleToolBoxControl::m_aLineStyleIsNoneFunction
private

Definition at line 44 of file linectrl.hxx.

Referenced by setLineStyleIsNoneFunction(), and statusChanged().

◆ m_aLineStyleSelectFunction

LineStyleSelectFunction SvxLineStyleToolBoxControl::m_aLineStyleSelectFunction
private

Definition at line 43 of file linectrl.hxx.

Referenced by dispatchLineStyleCommand(), and setLineStyleSelectFunction().

◆ m_xBtnUpdater

std::unique_ptr<svx::ToolboxButtonLineStyleUpdater> SvxLineStyleToolBoxControl::m_xBtnUpdater
private

Definition at line 41 of file linectrl.hxx.

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


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