LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::MacrosMenuController Class Referencefinal

#include <macrosmenucontroller.hxx>

Inheritance diagram for framework::MacrosMenuController:
[legend]
Collaboration diagram for framework::MacrosMenuController:
[legend]

Public Member Functions

 MacrosMenuController (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~MacrosMenuController () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 

Private Member Functions

void fillPopupMenu (const css::uno::Reference< css::awt::XPopupMenu > &rPopupMenu)
 
void addScriptItems (const css::uno::Reference< css::awt::XPopupMenu > &rPopupMenu, sal_uInt16 startItemId)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 26 of file macrosmenucontroller.hxx.

Constructor & Destructor Documentation

◆ MacrosMenuController()

framework::MacrosMenuController::MacrosMenuController ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)

Definition at line 60 of file macrosmenucontroller.cxx.

◆ ~MacrosMenuController()

framework::MacrosMenuController::~MacrosMenuController ( )
overridevirtual

Definition at line 66 of file macrosmenucontroller.cxx.

Member Function Documentation

◆ addScriptItems()

void framework::MacrosMenuController::addScriptItems ( const css::uno::Reference< css::awt::XPopupMenu > &  rPopupMenu,
sal_uInt16  startItemId 
)
private

Definition at line 120 of file macrosmenucontroller.cxx.

References aCommand, m_xContext, nPos, and u.

Referenced by fillPopupMenu().

◆ disposing()

void SAL_CALL framework::MacrosMenuController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 94 of file macrosmenucontroller.cxx.

References m_aMutex, m_xContext, m_xDispatch, and m_xFrame.

◆ fillPopupMenu()

void framework::MacrosMenuController::fillPopupMenu ( const css::uno::Reference< css::awt::XPopupMenu > &  rPopupMenu)
private

◆ getImplementationName()

OUString SAL_CALL framework::MacrosMenuController::getImplementationName ( )
overridevirtual

Definition at line 45 of file macrosmenucontroller.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL framework::MacrosMenuController::getSupportedServiceNames ( )
overridevirtual

◆ statusChanged()

void SAL_CALL framework::MacrosMenuController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Definition at line 111 of file macrosmenucontroller.cxx.

References fillPopupMenu(), and m_aMutex.

◆ supportsService()

sal_Bool SAL_CALL framework::MacrosMenuController::supportsService ( const OUString &  sServiceName)
overridevirtual

Definition at line 50 of file macrosmenucontroller.cxx.

References sServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::MacrosMenuController::m_xContext
private

Definition at line 30 of file macrosmenucontroller.hxx.

Referenced by addScriptItems(), and disposing().


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