LibreOffice Module i18npool (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
i18npool::IndexEntrySupplier Class Referencefinal

#include <indexentrysupplier.hxx>

Inheritance diagram for i18npool::IndexEntrySupplier:
[legend]
Collaboration diagram for i18npool::IndexEntrySupplier:
[legend]

Public Member Functions

 IndexEntrySupplier (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocaleList () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAlgorithmList (const css::lang::Locale &rLocale) override
 
virtual sal_Bool SAL_CALL loadAlgorithm (const css::lang::Locale &rLocale, const OUString &SortAlgorithm, sal_Int32 collatorOptions) override
 
virtual sal_Bool SAL_CALL usePhoneticEntry (const css::lang::Locale &rLocale) override
 
virtual OUString SAL_CALL getPhoneticCandidate (const OUString &IndexEntry, const css::lang::Locale &rLocale) override
 
virtual OUString SAL_CALL getIndexKey (const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale) override
 
virtual sal_Int16 SAL_CALL compareIndexEntry (const OUString &IndexEntry1, const OUString &PhoneticEntry1, const css::lang::Locale &rLocale1, const OUString &IndexEntry2, const OUString &PhoneticEntry2, const css::lang::Locale &rLocale2) override
 
virtual OUString SAL_CALL getIndexCharacter (const OUString &IndexEntry, const css::lang::Locale &rLocale, const OUString &SortAlgorithm) override
 
virtual OUString SAL_CALL getIndexFollowPageWord (sal_Bool MorePages, const css::lang::Locale &rLocale) 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 Member Functions

bool createLocaleSpecificIndexEntrySupplier (std::u16string_view name)
 
css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > const & getLocaleSpecificIndexEntrySupplier (const css::lang::Locale &rLocale, const OUString &rSortAlgorithm)
 

Private Attributes

css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > xIES
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::lang::Locale aLocale
 
OUString aSortAlgorithm
 

Detailed Description

Definition at line 36 of file indexentrysupplier.hxx.

Constructor & Destructor Documentation

i18npool::IndexEntrySupplier::IndexEntrySupplier ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)

Definition at line 32 of file indexentrysupplier.cxx.

References m_xContext.

Member Function Documentation

sal_Int16 SAL_CALL i18npool::IndexEntrySupplier::compareIndexEntry ( const OUString &  IndexEntry1,
const OUString &  PhoneticEntry1,
const css::lang::Locale &  rLocale1,
const OUString &  IndexEntry2,
const OUString &  PhoneticEntry2,
const css::lang::Locale &  rLocale2 
)
overridevirtual

Definition at line 79 of file indexentrysupplier.cxx.

References xIES.

bool i18npool::IndexEntrySupplier::createLocaleSpecificIndexEntrySupplier ( std::u16string_view  name)
private
Exceptions
css::uno::RuntimeException

Definition at line 96 of file indexentrysupplier.cxx.

References m_xContext, and xIES.

Referenced by getLocaleSpecificIndexEntrySupplier().

Sequence< OUString > SAL_CALL i18npool::IndexEntrySupplier::getAlgorithmList ( const css::lang::Locale &  rLocale)
overridevirtual

Definition at line 41 of file indexentrysupplier.cxx.

References i18npool::LocaleDataImpl::get().

Referenced by loadAlgorithm().

OUString SAL_CALL i18npool::IndexEntrySupplier::getImplementationName ( )
overridevirtual

Definition at line 177 of file indexentrysupplier.cxx.

References i18npool::implementationName.

OUString SAL_CALL i18npool::IndexEntrySupplier::getIndexCharacter ( const OUString &  IndexEntry,
const css::lang::Locale &  rLocale,
const OUString &  SortAlgorithm 
)
overridevirtual

Definition at line 89 of file indexentrysupplier.cxx.

References getLocaleSpecificIndexEntrySupplier().

OUString SAL_CALL i18npool::IndexEntrySupplier::getIndexFollowPageWord ( sal_Bool  MorePages,
const css::lang::Locale &  rLocale 
)
overridevirtual

Definition at line 164 of file indexentrysupplier.cxx.

References i18npool::LocaleDataImpl::get().

OUString SAL_CALL i18npool::IndexEntrySupplier::getIndexKey ( const OUString &  IndexEntry,
const OUString &  PhoneticEntry,
const css::lang::Locale &  rLocale 
)
overridevirtual

Definition at line 71 of file indexentrysupplier.cxx.

References xIES.

Sequence< Locale > SAL_CALL i18npool::IndexEntrySupplier::getLocaleList ( )
overridevirtual

Definition at line 36 of file indexentrysupplier.cxx.

References i18npool::LocaleDataImpl::get().

Reference< css::i18n::XExtendedIndexEntrySupplier > const & i18npool::IndexEntrySupplier::getLocaleSpecificIndexEntrySupplier ( const css::lang::Locale &  rLocale,
const OUString &  rSortAlgorithm 
)
private
OUString SAL_CALL i18npool::IndexEntrySupplier::getPhoneticCandidate ( const OUString &  IndexEntry,
const css::lang::Locale &  rLocale 
)
overridevirtual

Definition at line 63 of file indexentrysupplier.cxx.

References getLocaleSpecificIndexEntrySupplier(), and xIES.

Sequence< OUString > SAL_CALL i18npool::IndexEntrySupplier::getSupportedServiceNames ( )
overridevirtual

Definition at line 189 of file indexentrysupplier.cxx.

References i18npool::implementationName.

sal_Bool SAL_CALL i18npool::IndexEntrySupplier::loadAlgorithm ( const css::lang::Locale &  rLocale,
const OUString &  SortAlgorithm,
sal_Int32  collatorOptions 
)
overridevirtual
sal_Bool SAL_CALL i18npool::IndexEntrySupplier::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 183 of file indexentrysupplier.cxx.

References cppu::supportsService().

sal_Bool SAL_CALL i18npool::IndexEntrySupplier::usePhoneticEntry ( const css::lang::Locale &  rLocale)
overridevirtual

Definition at line 58 of file indexentrysupplier.cxx.

References i18npool::LocaleDataImpl::get().

Member Data Documentation

css::lang::Locale i18npool::IndexEntrySupplier::aLocale
private

Definition at line 89 of file indexentrysupplier.hxx.

Referenced by getLocaleSpecificIndexEntrySupplier().

OUString i18npool::IndexEntrySupplier::aSortAlgorithm
private

Definition at line 90 of file indexentrysupplier.hxx.

Referenced by getLocaleSpecificIndexEntrySupplier().

css::uno::Reference< css::uno::XComponentContext > i18npool::IndexEntrySupplier::m_xContext
private

Definition at line 82 of file indexentrysupplier.hxx.

Referenced by createLocaleSpecificIndexEntrySupplier().

css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > i18npool::IndexEntrySupplier::xIES
private

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