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

#include <vbamenuitems.hxx>

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

Public Member Functions

 ScVbaMenuItems (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< ov::XCommandBarControls > &xCommandBarControls)
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index, const css::uno::Any &) override
 
virtual css::uno::Reference< ov::excel::XMenuItem > SAL_CALL Add (const OUString &Caption, const css::uno::Any &OnAction, const css::uno::Any &ShortcutKey, const css::uno::Any &Before, const css::uno::Any &Restore, const css::uno::Any &StatusBar, const css::uno::Any &HelpFile, const css::uno::Any &HelpContextID) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from CollTestImplHelper< Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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::XCommandBarControls > m_xCommandBarControls
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 20 of file vbamenuitems.hxx.

Constructor & Destructor Documentation

ScVbaMenuItems::ScVbaMenuItems ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< ov::XCommandBarControls > &  xCommandBarControls 
)
Exceptions
css::uno::RuntimeException

Definition at line 62 of file vbamenuitems.cxx.

References container, and Reference.

Member Function Documentation

uno::Reference< excel::XMenuItem > SAL_CALL ScVbaMenuItems::Add ( const OUString &  Caption,
const css::uno::Any &  OnAction,
const css::uno::Any &  ShortcutKey,
const css::uno::Any &  Before,
const css::uno::Any &  Restore,
const css::uno::Any &  StatusBar,
const css::uno::Any &  HelpFile,
const css::uno::Any &  HelpContextID 
)
overridevirtual
uno::Any ScVbaMenuItems::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > ScVbaMenuItems::createEnumeration ( )
overridevirtual
sal_Int32 SAL_CALL ScVbaMenuItems::getCount ( )
overridevirtual

Definition at line 88 of file vbamenuitems.cxx.

References m_xCommandBarControls.

uno::Type SAL_CALL ScVbaMenuItems::getElementType ( )
overridevirtual
OUString ScVbaMenuItems::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 123 of file vbamenuitems.cxx.

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

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 129 of file vbamenuitems.cxx.

References aServiceNames.

uno::Any SAL_CALL ScVbaMenuItems::Item ( const css::uno::Any &  Index,
const css::uno::Any &   
)
overridevirtual

Member Data Documentation

css::uno::Reference< ov::XCommandBarControls > ScVbaMenuItems::m_xCommandBarControls
private

Definition at line 23 of file vbamenuitems.hxx.

Referenced by Add(), createEnumeration(), getCount(), and Item().


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