25#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
37 css::i18n::XExtendedIndexEntrySupplier,
38 css::lang::XServiceInfo
42 IndexEntrySupplier(
const css::uno::Reference < css::uno::XComponentContext >& rxContext );
45 virtual css::uno::Sequence < css::lang::Locale > SAL_CALL
getLocaleList()
override;
48 const css::lang::Locale& rLocale )
override;
51 const css::lang::Locale& rLocale,
52 const OUString& SortAlgorithm, sal_Int32 collatorOptions )
override;
55 const css::lang::Locale& rLocale )
override;
58 const css::lang::Locale& rLocale )
override;
60 virtual OUString SAL_CALL
getIndexKey(
const OUString& IndexEntry,
61 const OUString& PhoneticEntry,
const css::lang::Locale& rLocale )
override;
64 const OUString& PhoneticEntry1,
const css::lang::Locale& rLocale1,
65 const OUString& IndexEntry2,
const OUString& PhoneticEntry2,
66 const css::lang::Locale& rLocale2 )
override;
69 const css::lang::Locale& rLocale,
const OUString& SortAlgorithm )
override;
72 const css::lang::Locale& rLocale )
override;
80 css::uno::Reference < css::i18n::XExtendedIndexEntrySupplier >
xIES;
81 css::uno::Reference < css::uno::XComponentContext >
m_xContext;
86 const css::lang::Locale& rLocale,
const OUString& rSortAlgorithm);
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) 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 getImplementationName() override
css::lang::Locale aLocale
virtual sal_Bool SAL_CALL usePhoneticEntry(const css::lang::Locale &rLocale) override
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocaleList() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual OUString SAL_CALL getIndexCharacter(const OUString &IndexEntry, const css::lang::Locale &rLocale, const OUString &SortAlgorithm) override
virtual OUString SAL_CALL getIndexKey(const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale) override
css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > const & getLocaleSpecificIndexEntrySupplier(const css::lang::Locale &rLocale, const OUString &rSortAlgorithm)
virtual OUString SAL_CALL getPhoneticCandidate(const OUString &IndexEntry, const css::lang::Locale &rLocale) override
virtual OUString SAL_CALL getIndexFollowPageWord(sal_Bool MorePages, const css::lang::Locale &rLocale) override
IndexEntrySupplier(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual css::uno::Sequence< OUString > SAL_CALL getAlgorithmList(const css::lang::Locale &rLocale) override
bool createLocaleSpecificIndexEntrySupplier(std::u16string_view name)
css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > xIES
virtual sal_Bool SAL_CALL loadAlgorithm(const css::lang::Locale &rLocale, const OUString &SortAlgorithm, sal_Int32 collatorOptions) override
Constant values shared between i18npool and, for example, the number formatter.