65Sequence< OUString > SAL_CALL
73 const OUString& str1, sal_Int32 off1, sal_Int32 len1,
74 const OUString& str2, sal_Int32 off2, sal_Int32 len2)
76 Sequence <sal_Int32> offset1(2*len1);
77 Sequence <sal_Int32> offset2(2*len2);
81 sal_Int32 strlen1 = in_str1.getLength();
82 sal_Int32 strlen2 = in_str2.getLength();
86 while (strlen1 && strlen2)
88 sal_Int32 ret = *unistr1 - *unistr2;
97 return strlen1 - strlen2;
103 return compareSubstring(str1, 0, str1.getLength(), str2, 0, str2.getLength());
130 return {
"com.sun.star.i18n.Transliteration.l10n" };
virtual OUString SAL_CALL transliterate(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override final
virtual OUString SAL_CALL transliterateChar2String(sal_Unicode inChar) override
css::lang::Locale aLocale
const char * transliterationName
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getName() override
transliteration_commonclass()
void SAL_CALL loadModuleByImplName(const OUString &implName, const css::lang::Locale &rLocale) override
const char * implementationName
void SAL_CALL loadModulesByImplNames(const css::uno::Sequence< OUString > &modNamelist, const css::lang::Locale &rLocale) override
void SAL_CALL loadModuleNew(const css::uno::Sequence< css::i18n::TransliterationModulesNew > &modName, const css::lang::Locale &rLocale) override
virtual OUString transliterateImpl(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset)=0
virtual OUString SAL_CALL getImplementationName() override
void SAL_CALL loadModule(css::i18n::TransliterationModules modName, const css::lang::Locale &rLocale) override
virtual sal_Int32 SAL_CALL compareString(const OUString &s1, const OUString &s2) override
virtual sal_Int32 SAL_CALL compareSubstring(const OUString &s1, sal_Int32 off1, sal_Int32 len1, const OUString &s2, sal_Int32 off2, sal_Int32 len2) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Sequence< OUString > SAL_CALL getAvailableModules(const css::lang::Locale &rLocale, sal_Int16 sType) override
virtual OUString SAL_CALL transliterateString2String(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount) override
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
Constant values shared between i18npool and, for example, the number formatter.