LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScVbaMenuItem Class Reference

#include <vbamenuitem.hxx>

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

Public Member Functions

 ScVbaMenuItem (const css::uno::Reference< ov::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< ov::XCommandBarControl > xCommandBarControl)
 
virtual OUString SAL_CALL getCaption () override
 
virtual void SAL_CALL setCaption (const OUString &_caption) override
 
virtual OUString SAL_CALL getOnAction () override
 
virtual void SAL_CALL setOnAction (const OUString &_onaction) override
 
virtual void SAL_CALL Delete () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Attributes

css::uno::Reference< ov::XCommandBarControl > m_xCommandBarControl
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 17 of file vbamenuitem.hxx.

Constructor & Destructor Documentation

◆ ScVbaMenuItem()

ScVbaMenuItem::ScVbaMenuItem ( const css::uno::Reference< ov::XHelperInterface > &  rParent,
const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::uno::Reference< ov::XCommandBarControl >  xCommandBarControl 
)
Exceptions
css::uno::RuntimeException

Definition at line 16 of file vbamenuitem.cxx.

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaMenuItem::Delete ( )
overridevirtual

Definition at line 45 of file vbamenuitem.cxx.

References m_xCommandBarControl.

◆ getCaption()

OUString SAL_CALL ScVbaMenuItem::getCaption ( )
overridevirtual

Definition at line 21 of file vbamenuitem.cxx.

References m_xCommandBarControl.

◆ getOnAction()

OUString SAL_CALL ScVbaMenuItem::getOnAction ( )
overridevirtual

Definition at line 33 of file vbamenuitem.cxx.

References m_xCommandBarControl.

◆ getServiceImplName()

OUString ScVbaMenuItem::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > ScVbaMenuItem::getServiceNames ( )
overridevirtual

◆ setCaption()

void SAL_CALL ScVbaMenuItem::setCaption ( const OUString &  _caption)
overridevirtual

Definition at line 27 of file vbamenuitem.cxx.

References m_xCommandBarControl.

◆ setOnAction()

void SAL_CALL ScVbaMenuItem::setOnAction ( const OUString &  _onaction)
overridevirtual

Definition at line 39 of file vbamenuitem.cxx.

References m_xCommandBarControl.

Member Data Documentation

◆ m_xCommandBarControl

css::uno::Reference< ov::XCommandBarControl > ScVbaMenuItem::m_xCommandBarControl
private

Definition at line 20 of file vbamenuitem.hxx.

Referenced by Delete(), getCaption(), getOnAction(), setCaption(), and setOnAction().


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