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

#include <miscuno.hxx>

Inheritance diagram for ScNameToIndexAccess:
Collaboration diagram for ScNameToIndexAccess:

Public Member Functions

 ScNameToIndexAccess (const css::uno::Reference< css::container::XNameAccess > &rNameObj)
virtual ~ScNameToIndexAccess () override
virtual sal_Int32 SAL_CALL getCount () override
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
virtual css::uno::Type SAL_CALL getElementType () override
virtual sal_Bool SAL_CALL hasElements () 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< css::container::XNameAccess > xNameAccess
css::uno::Sequence< OUString > aNames

Detailed Description

Definition at line 122 of file miscuno.hxx.

Constructor & Destructor Documentation

ScNameToIndexAccess::ScNameToIndexAccess ( const css::uno::Reference< css::container::XNameAccess > &  rNameObj)

test for XIndexAccess interface at rNameObj, use that instead!

Definition at line 234 of file miscuno.cxx.

References aNames, and xNameAccess.

ScNameToIndexAccess::~ScNameToIndexAccess ( )

Definition at line 244 of file miscuno.cxx.

Member Function Documentation

css::uno::Any SAL_CALL ScNameToIndexAccess::getByIndex ( sal_Int32  Index)

Definition at line 255 of file miscuno.cxx.

References aNames, and xNameAccess.

sal_Int32 SAL_CALL ScNameToIndexAccess::getCount ( )

Definition at line 250 of file miscuno.cxx.

References aNames.

Referenced by hasElements(), ScDPObject::ParseFilters(), and ScDPOutput::ScDPOutput().

css::uno::Type SAL_CALL ScNameToIndexAccess::getElementType ( )

Definition at line 265 of file miscuno.cxx.

References xNameAccess.

virtual OUString SAL_CALL ScNameToIndexAccess::getImplementationName ( )
virtual css::uno::Sequence< OUString > SAL_CALL ScNameToIndexAccess::getSupportedServiceNames ( )
sal_Bool SAL_CALL ScNameToIndexAccess::hasElements ( )

Definition at line 273 of file miscuno.cxx.

References getCount().

virtual sal_Bool SAL_CALL ScNameToIndexAccess::supportsService ( const OUString &  ServiceName)

Member Data Documentation

css::uno::Sequence<OUString> ScNameToIndexAccess::aNames

Definition at line 128 of file miscuno.hxx.

Referenced by getByIndex(), getCount(), and ScNameToIndexAccess().

css::uno::Reference<css::container::XNameAccess> ScNameToIndexAccess::xNameAccess

Definition at line 127 of file miscuno.hxx.

Referenced by getByIndex(), getElementType(), and ScNameToIndexAccess().

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