35 const css::lang::Locale& rLocale,
const OUString& rSortAlgorithm )
override;
36 virtual OUString SAL_CALL
getIndexKey(
const OUString& IndexEntry,
37 const OUString& PhoneticEntry,
const css::lang::Locale& rLocale )
override;
39 const OUString& PhoneticEntry1,
const css::lang::Locale& rLocale1,
40 const OUString& IndexEntry2,
const OUString& PhoneticEntry2,
41 const css::lang::Locale& rLocale2 )
override;
44#define INDEXENTRYSUPPLIER_JA_PHONETIC( algorithm, algo_descr ) \
45class IndexEntrySupplier_##algorithm final : public IndexEntrySupplier_ja_phonetic {\
47 IndexEntrySupplier_##algorithm (const css::uno::Reference < css::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
48 implementationName = "com.sun.star.i18n.IndexEntrySupplier_ja_phonetic" algo_descr;\
50 virtual sal_Bool SAL_CALL loadAlgorithm(\
51 const css::lang::Locale& rLocale,\
52 const OUString& SortAlgorithm, sal_Int32 collatorOptions ) override;\
const char * implementationName
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
IndexEntrySupplier_ja_phonetic(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
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
const sal_Unicode consonant[]
const sal_Unicode syllable[]
Constant values shared between i18npool and, for example, the number formatter.
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
constexpr OUStringLiteral first
constexpr OUStringLiteral last