LibreOffice Module svx (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SmartTagMenuController Class Reference
Inheritance diagram for SmartTagMenuController:
[legend]
Collaboration diagram for SmartTagMenuController:
[legend]

Classes

struct  InvokeAction
 

Public Member Functions

 SmartTagMenuController (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from svt::PopupMenuControllerBase
 PopupMenuControllerBase (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~PopupMenuControllerBase () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual void SAL_CALL setPopupMenu (const css::uno::Reference< css::awt::XPopupMenu > &PopupMenu) override
 
virtual void SAL_CALL updatePopupMenu () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL itemHighlighted (const css::awt::MenuEvent &rEvent) override
 
virtual void SAL_CALL itemSelected (const css::awt::MenuEvent &rEvent) override
 
virtual void SAL_CALL itemActivated (const css::awt::MenuEvent &rEvent) override
 
virtual void SAL_CALL itemDeactivated (const css::awt::MenuEvent &rEvent) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &sTarget, sal_Int32 nFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &lDescriptor) override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &seqProperties) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void dispatchCommand (const OUString &sCommandURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs, const OUString &sTarget=OUString())
 

Private Member Functions

void FillMenu ()
 
 DECL_LINK (MenuSelect, Menu *, bool)
 

Private Attributes

std::vector< InvokeActionm_aInvokeActions
 
std::unique_ptr< const SvxSmartTagItemm_pSmartTagItem
 

Additional Inherited Members

- Protected Member Functions inherited from svt::PopupMenuControllerBase
void throwIfDisposed ()
 
void updateCommand (const OUString &rCommandURL)
 
virtual void SAL_CALL disposing () override
 
virtual void impl_setPopupMenu ()
 
 DECL_STATIC_LINK (PopupMenuControllerBase, ExecuteHdl_Impl, void *, void)
 
- Static Protected Member Functions inherited from svt::PopupMenuControllerBase
static void resetPopupMenu (css::uno::Reference< css::awt::XPopupMenu > const &rPopupMenu)
 
static OUString determineBaseURL (const OUString &aURL)
 
- Protected Attributes inherited from svt::PopupMenuControllerBase
bool m_bInitialized
 
OUString m_aCommandURL
 
OUString m_aBaseURL
 
OUString m_aModuleName
 
css::uno::Reference< css::frame::XDispatch > m_xDispatch
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer
 
css::uno::Reference< css::awt::XPopupMenu > m_xPopupMenu
 

Detailed Description

Definition at line 29 of file smarttagmenu.cxx.

Constructor & Destructor Documentation

SmartTagMenuController::SmartTagMenuController ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit

Definition at line 57 of file smarttagmenu.cxx.

Member Function Documentation

SmartTagMenuController::DECL_LINK ( MenuSelect  ,
Menu ,
bool   
)
private
void SmartTagMenuController::FillMenu ( )
private
OUString SmartTagMenuController::getImplementationName ( )
overridevirtual

Implements svt::PopupMenuControllerBase.

Definition at line 219 of file smarttagmenu.cxx.

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

Implements svt::PopupMenuControllerBase.

Definition at line 224 of file smarttagmenu.cxx.

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

Member Data Documentation

std::vector< InvokeAction > SmartTagMenuController::m_aInvokeActions
private

Definition at line 53 of file smarttagmenu.cxx.

Referenced by FillMenu().

std::unique_ptr< const SvxSmartTagItem > SmartTagMenuController::m_pSmartTagItem
private

Definition at line 54 of file smarttagmenu.cxx.

Referenced by FillMenu(), and statusChanged().


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