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) const
 

Protected Attributes

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

Detailed Description

Definition at line 35 of file indexentrysupplier_common.hxx.

Constructor & Destructor Documentation

◆ IndexEntrySupplier_Common()

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.

◆ ~IndexEntrySupplier_Common()

i18npool::IndexEntrySupplier_Common::~IndexEntrySupplier_Common ( )
overridevirtual

Definition at line 38 of file indexentrysupplier_common.cxx.

Member Function Documentation

◆ compareIndexEntry()

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

◆ getAlgorithmList()

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

Definition at line 47 of file indexentrysupplier_common.cxx.

◆ getEntry()

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

◆ getImplementationName()

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

Definition at line 118 of file indexentrysupplier_common.cxx.

References implementationName.

◆ getIndexCharacter()

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

◆ getIndexFollowPageWord()

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.

◆ getIndexKey()

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

◆ getLocaleList()

Sequence< lang::Locale > SAL_CALL i18npool::IndexEntrySupplier_Common::getLocaleList ( )
overridevirtual

Definition at line 42 of file indexentrysupplier_common.cxx.

◆ getPhoneticCandidate()

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.

◆ getSupportedServiceNames()

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

Definition at line 130 of file indexentrysupplier_common.cxx.

References implementationName.

◆ loadAlgorithm()

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

◆ supportsService()

sal_Bool SAL_CALL i18npool::IndexEntrySupplier_Common::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 124 of file indexentrysupplier_common.cxx.

References cppu::supportsService().

◆ usePhoneticEntry()

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

◆ aAlgorithm

OUString i18npool::IndexEntrySupplier_Common::aAlgorithm
protected

◆ aLocale

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

Definition at line 84 of file indexentrysupplier_common.hxx.

Referenced by getEntry(), and loadAlgorithm().

◆ collator

rtl::Reference<CollatorImpl> i18npool::IndexEntrySupplier_Common::collator
protected

◆ implementationName

const char* i18npool::IndexEntrySupplier_Common::implementationName
protected

◆ usePhonetic

bool i18npool::IndexEntrySupplier_Common::usePhonetic
protected

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