LibreOffice Module vbahelper (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
ScVbaCollectionBase< Ifc > Class Template Referenceabstract

#include <vbacollectionimpl.hxx>

Inheritance diagram for ScVbaCollectionBase< Ifc >:
[legend]
Collaboration diagram for ScVbaCollectionBase< Ifc >:
[legend]

Public Member Functions

 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override=0
 
virtual css::uno::Type SAL_CALL getElementType () override=0
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource)=0
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< 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
 

Protected Member Functions

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

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
 

Private Types

typedef InheritedHelperInterfaceImpl< Ifc... > BaseColBase
 

Detailed Description

template<typename... Ifc>
class ScVbaCollectionBase< Ifc >

Definition at line 236 of file vbacollectionimpl.hxx.

Member Typedef Documentation

◆ BaseColBase

template<typename... Ifc>
typedef InheritedHelperInterfaceImpl< Ifc... > ScVbaCollectionBase< Ifc >::BaseColBase
private

Definition at line 238 of file vbacollectionimpl.hxx.

Constructor & Destructor Documentation

◆ ScVbaCollectionBase()

template<typename... Ifc>
ScVbaCollectionBase< Ifc >::ScVbaCollectionBase ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::container::XIndexAccess >  xIndexAccess,
bool  bIgnoreCase = false 
)
inline

Definition at line 287 of file vbacollectionimpl.hxx.

Member Function Documentation

◆ createCollectionObject()

template<typename... Ifc>
virtual css::uno::Any ScVbaCollectionBase< Ifc >::createCollectionObject ( const css::uno::Any &  aSource)
pure virtual

◆ createEnumeration()

template<typename... Ifc>
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL ScVbaCollectionBase< Ifc >::createEnumeration ( )
overridepure virtual

◆ getCount()

template<typename... Ifc>
virtual ::sal_Int32 SAL_CALL ScVbaCollectionBase< Ifc >::getCount ( )
inlineoverride

Definition at line 290 of file vbacollectionimpl.hxx.

◆ getDefaultMethodName()

template<typename... Ifc>
OUString SAL_CALL ScVbaCollectionBase< Ifc >::getDefaultMethodName ( )
inlineoverride

Definition at line 323 of file vbacollectionimpl.hxx.

◆ getElementType()

template<typename... Ifc>
virtual css::uno::Type SAL_CALL ScVbaCollectionBase< Ifc >::getElementType ( )
overridepure virtual

◆ getItemByIntIndex()

template<typename... Ifc>
virtual css::uno::Any ScVbaCollectionBase< Ifc >::getItemByIntIndex ( const sal_Int32  nIndex)
inlineprotectedvirtual
Exceptions
css::uno::RuntimeException
css::lang::IndexOutOfBoundsException

Definition at line 266 of file vbacollectionimpl.hxx.

References nIndex.

◆ getItemByStringIndex()

template<typename... Ifc>
virtual css::uno::Any ScVbaCollectionBase< Ifc >::getItemByStringIndex ( const OUString &  sIndex)
inlineprotectedvirtual
Exceptions
css::uno::RuntimeException

Definition at line 245 of file vbacollectionimpl.hxx.

◆ hasElements()

template<typename... Ifc>
virtual sal_Bool SAL_CALL ScVbaCollectionBase< Ifc >::hasElements ( )
inlineoverridevirtual

Definition at line 333 of file vbacollectionimpl.hxx.

◆ Item()

template<typename... Ifc>
virtual css::uno::Any SAL_CALL ScVbaCollectionBase< Ifc >::Item ( const css::uno::Any &  Index1,
const css::uno::Any &   
)
inlineoverridevirtual

Reimplemented in ScVbaCommandBars, ScVbaCommandBarControls, and VbaDummyCommandBarControls.

Definition at line 295 of file vbacollectionimpl.hxx.

References nIndex.

◆ UpdateCollectionIndex()

template<typename... Ifc>
void ScVbaCollectionBase< Ifc >::UpdateCollectionIndex ( const css::uno::Reference< css::container::XIndexAccess > &  xIndexAccess)
inlineprotected

Definition at line 279 of file vbacollectionimpl.hxx.

Member Data Documentation

◆ m_xIndexAccess

template<typename... Ifc>
css::uno::Reference< css::container::XIndexAccess > ScVbaCollectionBase< Ifc >::m_xIndexAccess
protected

Definition at line 240 of file vbacollectionimpl.hxx.

◆ m_xNameAccess

template<typename... Ifc>
css::uno::Reference< css::container::XNameAccess > ScVbaCollectionBase< Ifc >::m_xNameAccess
protected

Definition at line 241 of file vbacollectionimpl.hxx.

◆ mbIgnoreCase

template<typename... Ifc>
bool ScVbaCollectionBase< Ifc >::mbIgnoreCase
protected

Definition at line 242 of file vbacollectionimpl.hxx.


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