LibreOffice Module i18npool (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
i18npool::IndexEntrySupplier_Common Class Reference

#include <indexentrysupplier_common.hxx>

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

Public Member Functions

 IndexEntrySupplier_Common (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~IndexEntrySupplier_Common () override
 
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 usePhoneticEntry (const css::lang::Locale &rLocale) override
 
virtual OUString SAL_CALL getPhoneticCandidate (const OUString &IndexEntry, 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 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 &rIndexEntry, const css::lang::Locale &rLocale, const OUString &rSortAlgorithm) 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
 

Protected Member Functions

const OUString & getEntry (const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale)
 

Protected Attributes

const char * implementationName
 
bool usePhonetic
 
rtl::Reference< CollatorImplcollator
 
css::lang::Locale aLocale
 
OUString aAlgorithm
 

Detailed Description

Definition at line 36 of file indexentrysupplier_common.hxx.

Constructor & Destructor Documentation

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

Definition at line 31 of file indexentrysupplier_common.cxx.

References collator, implementationName, and usePhonetic.

i18npool::IndexEntrySupplier_Common::~IndexEntrySupplier_Common ( )
overridevirtual

Definition at line 38 of file indexentrysupplier_common.cxx.

Member Function Documentation

sal_Int16 SAL_CALL i18npool::IndexEntrySupplier_Common::compareIndexEntry ( const OUString &  IndexEntry1,
const OUString &  PhoneticEntry1,
const css::lang::Locale &  rLocale1,
const OUString &  IndexEntry2,
const OUString &  PhoneticEntry2,
const css::lang::Locale &  rLocale2 
)
overridevirtual
Sequence< OUString > SAL_CALL i18npool::IndexEntrySupplier_Common::getAlgorithmList ( const css::lang::Locale &  rLocale)
overridevirtual

Definition at line 47 of file indexentrysupplier_common.cxx.

const OUString & i18npool::IndexEntrySupplier_Common::getEntry ( const OUString &  IndexEntry,
const OUString &  PhoneticEntry,
const css::lang::Locale &  rLocale 
)
protected
OUString SAL_CALL i18npool::IndexEntrySupplier_Common::getImplementationName ( )
overridevirtual

Definition at line 118 of file indexentrysupplier_common.cxx.

References implementationName.

OUString SAL_CALL i18npool::IndexEntrySupplier_Common::getIndexCharacter ( const OUString &  rIndexEntry,
const css::lang::Locale &  rLocale,
const OUString &  rSortAlgorithm 
)
overridevirtual
OUString SAL_CALL i18npool::IndexEntrySupplier_Common::getIndexFollowPageWord ( sal_Bool  MorePages,
const css::lang::Locale &  rLocale 
)
overridevirtual

Definition at line 95 of file indexentrysupplier_common.cxx.

OUString SAL_CALL i18npool::IndexEntrySupplier_Common::getIndexKey ( const OUString &  IndexEntry,
const OUString &  PhoneticEntry,
const css::lang::Locale &  rLocale 
)
overridevirtual
Sequence< lang::Locale > SAL_CALL i18npool::IndexEntrySupplier_Common::getLocaleList ( )
overridevirtual

Definition at line 42 of file indexentrysupplier_common.cxx.

OUString SAL_CALL i18npool::IndexEntrySupplier_Common::getPhoneticCandidate ( const OUString &  IndexEntry,
const css::lang::Locale &  rLocale 
)
overridevirtual

Reimplemented in i18npool::IndexEntrySupplier_asian.

Definition at line 52 of file indexentrysupplier_common.cxx.

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

Definition at line 130 of file indexentrysupplier_common.cxx.

References implementationName.

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

Definition at line 124 of file indexentrysupplier_common.cxx.

References cppu::supportsService().

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

Definition at line 58 of file indexentrysupplier_common.cxx.

Member Data Documentation

OUString i18npool::IndexEntrySupplier_Common::aAlgorithm
protected
css::lang::Locale i18npool::IndexEntrySupplier_Common::aLocale
protected

Definition at line 85 of file indexentrysupplier_common.hxx.

Referenced by getEntry(), and loadAlgorithm().

rtl::Reference<CollatorImpl> i18npool::IndexEntrySupplier_Common::collator
protected
const char* i18npool::IndexEntrySupplier_Common::implementationName
protected
bool i18npool::IndexEntrySupplier_Common::usePhonetic
protected

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