20 #ifndef INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX
21 #define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX
36 const css::lang::Locale& rLocale,
const OUString& rSortAlgorithm )
override;
37 virtual OUString SAL_CALL
getIndexKey(
const OUString& IndexEntry,
38 const OUString& PhoneticEntry,
const css::lang::Locale& rLocale )
override;
40 const OUString& PhoneticEntry1,
const css::lang::Locale& rLocale1,
41 const OUString& IndexEntry2,
const OUString& PhoneticEntry2,
42 const css::lang::Locale& rLocale2 )
override;
45 #define INDEXENTRYSUPPLIER_JA_PHONETIC( algorithm, algo_descr ) \
46 class IndexEntrySupplier_##algorithm final : public IndexEntrySupplier_ja_phonetic {\
48 IndexEntrySupplier_##algorithm (const css::uno::Reference < css::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
49 implementationName = "com.sun.star.i18n.IndexEntrySupplier_"#algo_descr;\
51 virtual sal_Bool SAL_CALL loadAlgorithm(\
52 const css::lang::Locale& rLocale,\
53 const OUString& SortAlgorithm, sal_Int32 collatorOptions ) override;\
IndexEntrySupplier_ja_phonetic(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
constexpr OUStringLiteral last
const char * implementationName
virtual OUString SAL_CALL getIndexKey(const OUString &IndexEntry, const OUString &PhoneticEntry, const css::lang::Locale &rLocale) override
virtual OUString SAL_CALL getIndexCharacter(const OUString &rIndexEntry, const css::lang::Locale &rLocale, const OUString &rSortAlgorithm) override
INDEXENTRYSUPPLIER_JA_PHONETIC(ja_phonetic_alphanumeric_first_by_syllable," (alphanumeric first) (grouped by syllable)") INDEXENTRYSUPPLIER_JA_PHONETIC(ja_phonetic_alphanumeric_first_by_consonant
descriptions formed by concatenating strings here must match names in .component file ...
Constant values shared between i18npool and, for example, the number formatter.
const sal_Unicode consonant[]
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
constexpr OUStringLiteral first