22#include <unicode/translit.h>
25namespace i18nutil {
class oneToOneMapping; }
35 foldingImpl(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount, css::uno::Sequence< sal_Int32 >* pOffset )
override;
39 equals(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
40 const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
override;
43 css::uno::Sequence< OUString > SAL_CALL
48 sal_Int16 SAL_CALL
getType( )
override;
51 transliterateImpl(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount, css::uno::Sequence< sal_Int32 >* pOffset )
override;
57 static css::uno::Sequence< OUString >
58 transliterateRange(
const OUString& str1,
const OUString& str2, XTransliteration& t1, XTransliteration& t2 );
69 i18nutil::oneToOneMapping *
table;
73#define TRANSLITERATION_IGNORE( name ) \
74class ignore##name final : public transliteration_Ignore {\
100 foldingImpl(
const OUString& rInStr, sal_Int32 nStartPos, sal_Int32 nCount, css::uno::Sequence<sal_Int32>* pOffset)
override;
103 transliterateChar2Char(
sal_Unicode nInChar)
override;
106#undef TRANSLITERATION_IGNORE
108#define TRANSLITERATION_IGNORE( name ) \
109class ignore##name final : public transliteration_Ignore {\
115 transliterationName = "ignore"#name;\
116 implementationName = "com.sun.star.i18n.Transliteration.ignore"#name;\
118 OUString foldingImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, \
119 css::uno::Sequence< sal_Int32 >* pOffset) override; \
127#undef TRANSLITERATION_IGNORE
129#define TRANSLITERATION_IGNORE( name, implname ) \
130class ignore##name final : public transliteration_Ignore {\
136 transliterationName = "ignore"#name;\
137 implementationName = "com.sun.star.i18n.Transliteration." implname;\
139 OUString foldingImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, \
140 css::uno::Sequence< sal_Int32 >* pOffset) override; \
141 using transliteration_Ignore::transliterateRange;\
142 css::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1, \
143 const OUString& str2 ) override; \
144 sal_Unicode SAL_CALL \
145 transliterateChar2Char( sal_Unicode inChar) \
153#undef TRANSLITERATION_IGNORE
std::unique_ptr< icu::Transliterator > m_transliterator
OUString transliterateImpl(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) override
css::uno::Sequence< OUString > SAL_CALL transliterateRange(const OUString &str1, const OUString &str2) override
virtual sal_Unicode SAL_CALL transliterateChar2Char(sal_Unicode inChar) override
sal_Bool SAL_CALL equals(const OUString &str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32 &nMatch1, const OUString &str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32 &nMatch2) override
virtual OUString foldingImpl(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) override
sal_Int16 SAL_CALL getType() override
i18nutil::oneToOneMapping * table
Constant values shared between i18npool and, for example, the number formatter.
sal_Unicode(* TransFunc)(const sal_Unicode)
sal_Unicode(* TransFunc)(const sal_Unicode)
#define TRANSLITERATION_IGNORE(name)