LibreOffice Module i18npool (master) 1
|
#include <indexentrysupplier_common.hxx>
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< CollatorImpl > | collator |
css::lang::Locale | aLocale |
OUString | aAlgorithm |
Definition at line 35 of file indexentrysupplier_common.hxx.
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.
|
overridevirtual |
Definition at line 38 of file indexentrysupplier_common.cxx.
|
overridevirtual |
Reimplemented in i18npool::IndexEntrySupplier_Unicode, i18npool::IndexEntrySupplier_ja_phonetic, and i18npool::IndexEntrySupplier_asian.
Definition at line 80 of file indexentrysupplier_common.cxx.
References collator.
Referenced by i18npool::IndexEntrySupplier_Unicode::compareIndexEntry(), and i18npool::IndexEntrySupplier_ja_phonetic::compareIndexEntry().
|
overridevirtual |
Definition at line 47 of file indexentrysupplier_common.cxx.
|
protected |
css::uno::RuntimeException |
Definition at line 102 of file indexentrysupplier_common.cxx.
References aLocale, and usePhonetic.
Referenced by i18npool::IndexEntrySupplier_Unicode::compareIndexEntry(), i18npool::IndexEntrySupplier_asian::compareIndexEntry(), i18npool::IndexEntrySupplier_Unicode::getIndexKey(), and i18npool::IndexEntrySupplier_asian::getIndexKey().
|
overridevirtual |
Definition at line 118 of file indexentrysupplier_common.cxx.
References implementationName.
|
overridevirtual |
Reimplemented in i18npool::IndexEntrySupplier_asian, i18npool::IndexEntrySupplier_Unicode, and i18npool::IndexEntrySupplier_ja_phonetic.
Definition at line 89 of file indexentrysupplier_common.cxx.
References getIndexKey().
Referenced by i18npool::IndexEntrySupplier_Unicode::getIndexCharacter().
|
overridevirtual |
Definition at line 95 of file indexentrysupplier_common.cxx.
|
overridevirtual |
Reimplemented in i18npool::IndexEntrySupplier_Unicode, i18npool::IndexEntrySupplier_ja_phonetic, and i18npool::IndexEntrySupplier_asian.
Definition at line 73 of file indexentrysupplier_common.cxx.
References o3tl::temporary().
Referenced by getIndexCharacter().
|
overridevirtual |
Definition at line 42 of file indexentrysupplier_common.cxx.
|
overridevirtual |
Reimplemented in i18npool::IndexEntrySupplier_asian.
Definition at line 52 of file indexentrysupplier_common.cxx.
|
overridevirtual |
Definition at line 130 of file indexentrysupplier_common.cxx.
References implementationName.
|
overridevirtual |
Reimplemented in i18npool::IndexEntrySupplier_Unicode.
Definition at line 63 of file indexentrysupplier_common.cxx.
References aAlgorithm, aLocale, collator, i18npool::LocaleDataImpl::get(), and usePhonetic.
Referenced by i18npool::IndexEntrySupplier_Unicode::loadAlgorithm().
|
overridevirtual |
Definition at line 124 of file indexentrysupplier_common.cxx.
References cppu::supportsService().
|
overridevirtual |
Definition at line 58 of file indexentrysupplier_common.cxx.
|
protected |
Definition at line 85 of file indexentrysupplier_common.hxx.
Referenced by i18npool::IndexEntrySupplier_asian::getIndexKey(), and loadAlgorithm().
|
protected |
Definition at line 84 of file indexentrysupplier_common.hxx.
Referenced by getEntry(), and loadAlgorithm().
|
protected |
Definition at line 83 of file indexentrysupplier_common.hxx.
Referenced by compareIndexEntry(), i18npool::IndexEntrySupplier_ja_phonetic::compareIndexEntry(), i18npool::IndexEntrySupplier_asian::compareIndexEntry(), IndexEntrySupplier_Common(), and loadAlgorithm().
|
protected |
Definition at line 80 of file indexentrysupplier_common.hxx.
Referenced by getImplementationName(), i18npool::IndexEntrySupplier_ja_phonetic::getIndexCharacter(), getSupportedServiceNames(), i18npool::IndexEntrySupplier_asian::IndexEntrySupplier_asian(), IndexEntrySupplier_Common(), i18npool::IndexEntrySupplier_ja_phonetic::IndexEntrySupplier_ja_phonetic(), and i18npool::IndexEntrySupplier_Unicode::IndexEntrySupplier_Unicode().
|
protected |
Definition at line 81 of file indexentrysupplier_common.hxx.
Referenced by i18npool::IndexEntrySupplier_asian::compareIndexEntry(), getEntry(), IndexEntrySupplier_Common(), and loadAlgorithm().