20 #ifndef INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_COMMON_HXX
21 #define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_COMMON_HXX
23 #include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
25 #include <com/sun/star/lang/XServiceInfo.hpp>
26 #include <rtl/ref.hxx>
29 namespace i18npool {
class CollatorImpl; }
38 css::i18n::XExtendedIndexEntrySupplier,
39 css::lang::XServiceInfo
46 virtual css::uno::Sequence < css::lang::Locale > SAL_CALL
getLocaleList()
override;
49 const css::lang::Locale& rLocale )
override;
52 const css::lang::Locale& rLocale )
override;
55 const css::lang::Locale& rLocale )
override;
58 const css::lang::Locale& rLocale,
59 const OUString& SortAlgorithm, sal_Int32 collatorOptions )
override;
61 virtual OUString SAL_CALL
getIndexKey(
const OUString& IndexEntry,
62 const OUString& PhoneticEntry,
const css::lang::Locale& rLocale )
override;
65 const OUString& PhoneticEntry1,
const css::lang::Locale& rLocale1,
66 const OUString& IndexEntry2,
const OUString& PhoneticEntry2,
67 const css::lang::Locale& rLocale2 )
override;
70 const css::lang::Locale& rLocale,
const OUString& rSortAlgorithm )
override;
73 const css::lang::Locale& rLocale )
override;
89 const OUString&
getEntry(
const OUString& IndexEntry,
90 const OUString& PhoneticEntry,
const css::lang::Locale& rLocale );
virtual sal_Bool SAL_CALL usePhoneticEntry(const css::lang::Locale &rLocale) override
const OUString & getEntry(const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale)
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocaleList() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
const char * implementationName
virtual OUString SAL_CALL getIndexFollowPageWord(sal_Bool MorePages, const css::lang::Locale &rLocale) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~IndexEntrySupplier_Common() override
virtual css::uno::Sequence< OUString > SAL_CALL getAlgorithmList(const css::lang::Locale &rLocale) override
Constant values shared between i18npool and, for example, the number formatter.
virtual OUString SAL_CALL getIndexCharacter(const OUString &rIndexEntry, const css::lang::Locale &rLocale, const OUString &rSortAlgorithm) override
virtual OUString SAL_CALL getIndexKey(const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale) override
virtual OUString SAL_CALL getPhoneticCandidate(const OUString &IndexEntry, const css::lang::Locale &rLocale) override
css::lang::Locale aLocale
IndexEntrySupplier_Common(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
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
rtl::Reference< CollatorImpl > collator
virtual sal_Bool SAL_CALL loadAlgorithm(const css::lang::Locale &rLocale, const OUString &SortAlgorithm, sal_Int32 collatorOptions) override