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

#include <vbamenu.hxx>

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

Public Member Functions

 ScVbaMenu (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 void SAL_CALL Delete () override
 
virtual css::uno::Any SAL_CALL MenuItems (const css::uno::Any &aIndex) 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 vbamenu.hxx.

Constructor & Destructor Documentation

◆ ScVbaMenu()

ScVbaMenu::ScVbaMenu ( 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 18 of file vbamenu.cxx.

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaMenu::Delete ( )
overridevirtual

Definition at line 35 of file vbamenu.cxx.

References m_xCommandBarControl.

◆ getCaption()

OUString SAL_CALL ScVbaMenu::getCaption ( )
overridevirtual

Definition at line 23 of file vbamenu.cxx.

References m_xCommandBarControl.

◆ getServiceImplName()

OUString ScVbaMenu::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ MenuItems()

uno::Any SAL_CALL ScVbaMenu::MenuItems ( const css::uno::Any &  aIndex)
overridevirtual

◆ setCaption()

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

Definition at line 29 of file vbamenu.cxx.

References m_xCommandBarControl.

Member Data Documentation

◆ m_xCommandBarControl

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

Definition at line 20 of file vbamenu.hxx.

Referenced by Delete(), getCaption(), MenuItems(), and setCaption().


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