21#include <com/sun/star/i18n/XExtendedTransliteration.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
33 css::i18n::XExtendedTransliteration,
34 css::lang::XServiceInfo
44 virtual OUString SAL_CALL
getName( )
override ;
45 virtual sal_Int16 SAL_CALL
getType( )
override ;
47 virtual void SAL_CALL
loadModule( css::i18n::TransliterationModules modName,
const css::lang::Locale& rLocale )
override ;
48 virtual void SAL_CALL
loadModuleNew(
const css::uno::Sequence< css::i18n::TransliterationModulesNew >& modName,
49 const css::lang::Locale& rLocale )
override ;
51 const css::lang::Locale& rLocale )
override;
53 const css::lang::Locale& rLocale)
override;
56 const css::lang::Locale& rLocale, sal_Int16
sType )
override;
58 virtual OUString SAL_CALL
transliterate(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount,
59 css::uno::Sequence< sal_Int32 >& offset )
override ;
61 virtual OUString SAL_CALL
folding(
const OUString& inStr, sal_Int32 startPos, sal_Int32
nCount,
62 css::uno::Sequence< sal_Int32 >& offset )
override;
69 virtual sal_Bool SAL_CALL
equals(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1,
70 sal_Int32& nMatch1,
const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
override;
71 virtual css::uno::Sequence< OUString > SAL_CALL
transliterateRange(
const OUString& str1,
72 const OUString& str2 )
override ;
74 virtual sal_Int32 SAL_CALL
compareSubstring(
const OUString& s1, sal_Int32 off1, sal_Int32 len1,
75 const OUString& s2, sal_Int32 off2, sal_Int32 len2)
override;
77 virtual sal_Int32 SAL_CALL
compareString(
const OUString& s1,
const OUString& s2)
override;
89 css::uno::Reference< css::uno::XComponentContext >
mxContext;
91 css::uno::Reference< css::i18n::XExtendedTransliteration >
caseignore;
95 css::uno::Reference<css::i18n::XExtendedTransliteration> & body,
const css::lang::Locale& rLocale);
101 css::uno::Reference< css::i18n::XExtendedTransliteration >& body );
104 css::uno::Sequence< OUString >
getRange(
105 const css::uno::Sequence< OUString > &inStrs,
106 sal_Int32 length,
const sal_Int16 _nCascade);
css::uno::Reference< css::i18n::XExtendedTransliteration > caseignore
virtual OUString SAL_CALL folding(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override
virtual void SAL_CALL loadModuleNew(const css::uno::Sequence< css::i18n::TransliterationModulesNew > &modName, const css::lang::Locale &rLocale) override
virtual void SAL_CALL loadModulesByImplNames(const css::uno::Sequence< OUString > &modNamelist, const css::lang::Locale &rLocale) override
virtual sal_Int32 SAL_CALL compareString(const OUString &s1, const OUString &s2) override
virtual OUString SAL_CALL transliterateString2String(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount) override
virtual css::uno::Sequence< OUString > SAL_CALL transliterateRange(const OUString &str1, const OUString &str2) override
virtual OUString SAL_CALL transliterateChar2String(sal_Unicode inChar) 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 sal_Unicode SAL_CALL transliterateChar2Char(sal_Unicode inChar) override
virtual OUString SAL_CALL getName() override
css::uno::Sequence< OUString > getRange(const css::uno::Sequence< OUString > &inStrs, sal_Int32 length, const sal_Int16 _nCascade)
virtual OUString SAL_CALL transliterate(const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override
virtual void SAL_CALL loadModule(css::i18n::TransliterationModules modName, const css::lang::Locale &rLocale) override
virtual ~TransliterationImpl() override
virtual void SAL_CALL loadModuleByImplName(const OUString &implName, const css::lang::Locale &rLocale) override
virtual 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 sal_Int16 SAL_CALL getType() override
TransliterationImpl(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableModules(const css::lang::Locale &rLocale, sal_Int16 sType) override
void loadBody(OUString const &implName, css::uno::Reference< css::i18n::XExtendedTransliteration > &body)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
css::uno::Reference< css::uno::XComponentContext > mxContext
bool loadModuleByName(std::u16string_view implName, css::uno::Reference< css::i18n::XExtendedTransliteration > &body, const css::lang::Locale &rLocale)
css::uno::Reference< css::i18n::XLocaleData5 > mxLocaledata
css::uno::Reference< css::i18n::XExtendedTransliteration > bodyCascade[maxCascade]
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Constant values shared between i18npool and, for example, the number formatter.