LibreOffice Module i18npool (master) 1
|
#include <transliterationImpl.hxx>
Public Member Functions | |
TransliterationImpl (const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual | ~TransliterationImpl () override |
virtual OUString SAL_CALL | getName () override |
virtual sal_Int16 SAL_CALL | getType () override |
virtual void SAL_CALL | loadModule (css::i18n::TransliterationModules modName, const css::lang::Locale &rLocale) override |
virtual void SAL_CALL | loadModuleNew (const css::uno::Sequence< css::i18n::TransliterationModulesNew > &modName, const css::lang::Locale &rLocale) override |
virtual void SAL_CALL | loadModuleByImplName (const OUString &implName, const css::lang::Locale &rLocale) override |
virtual void SAL_CALL | loadModulesByImplNames (const css::uno::Sequence< OUString > &modNamelist, const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getAvailableModules (const css::lang::Locale &rLocale, sal_Int16 sType) override |
virtual OUString SAL_CALL | transliterate (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override |
virtual OUString SAL_CALL | folding (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override |
virtual OUString SAL_CALL | transliterateString2String (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount) override |
virtual OUString SAL_CALL | transliterateChar2String (sal_Unicode inChar) override |
virtual sal_Unicode SAL_CALL | transliterateChar2Char (sal_Unicode inChar) 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 css::uno::Sequence< OUString > SAL_CALL | transliterateRange (const OUString &str1, const OUString &str2) 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_Int32 SAL_CALL | compareString (const OUString &s1, const OUString &s2) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
bool | loadModuleByName (std::u16string_view implName, css::uno::Reference< css::i18n::XExtendedTransliteration > &body, const css::lang::Locale &rLocale) |
void | clear () |
void | loadBody (OUString const &implName, css::uno::Reference< css::i18n::XExtendedTransliteration > &body) |
css::uno::Sequence< OUString > | getRange (const css::uno::Sequence< OUString > &inStrs, sal_Int32 length, const sal_Int16 _nCascade) |
Private Attributes | |
css::uno::Reference< css::i18n::XExtendedTransliteration > | bodyCascade [maxCascade] |
sal_Int16 | numCascade |
bool | caseignoreOnly |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
css::uno::Reference< css::i18n::XLocaleData5 > | mxLocaledata |
css::uno::Reference< css::i18n::XExtendedTransliteration > | caseignore |
Definition at line 31 of file transliterationImpl.hxx.
i18npool::TransliterationImpl::TransliterationImpl | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
Definition at line 165 of file transliterationImpl.cxx.
References caseignoreOnly, mxContext, mxLocaledata, and numCascade.
|
overridevirtual |
Definition at line 173 of file transliterationImpl.cxx.
References clear(), and mxLocaledata.
|
private |
Definition at line 590 of file transliterationImpl.cxx.
References bodyCascade, caseignore, caseignoreOnly, i, and numCascade.
Referenced by loadModule(), loadModuleByImplName(), loadModuleNew(), loadModulesByImplNames(), and ~TransliterationImpl().
|
overridevirtual |
Definition at line 580 of file transliterationImpl.cxx.
References caseignore, caseignoreOnly, and compareSubstring().
|
overridevirtual |
Definition at line 553 of file transliterationImpl.cxx.
References caseignore, caseignoreOnly, and transliterate().
Referenced by compareString().
|
overridevirtual |
Definition at line 456 of file transliterationImpl.cxx.
References caseignore, caseignoreOnly, folding(), and i.
|
overridevirtual |
Definition at line 364 of file transliterationImpl.cxx.
References begin, bodyCascade, end, from, i, nCount, numCascade, and to.
Referenced by equals().
|
overridevirtual |
Definition at line 297 of file transliterationImpl.cxx.
References comphelper::containerToSequence(), loadModuleByName(), mxLocaledata, and sType.
|
overridevirtual |
Definition at line 655 of file transliterationImpl.cxx.
|
overridevirtual |
Definition at line 182 of file transliterationImpl.cxx.
References bodyCascade, and numCascade.
|
private |
css::uno::RuntimeException |
Definition at line 516 of file transliterationImpl.cxx.
References bodyCascade, comphelper::containerToSequence(), getRange(), length, and numCascade.
Referenced by getRange(), and transliterateRange().
|
overridevirtual |
Definition at line 667 of file transliterationImpl.cxx.
|
overridevirtual |
Definition at line 192 of file transliterationImpl.cxx.
References bodyCascade, and numCascade.
|
private |
css::uno::RuntimeException |
Definition at line 610 of file transliterationImpl.cxx.
References implName, and mxContext.
Referenced by loadModuleByName().
|
overridevirtual |
Definition at line 209 of file transliterationImpl.cxx.
References bodyCascade, clear(), i, implName, loadModuleByName(), numCascade, tm, i18npool::TMlist, TransliterationModules_IGNORE_CASE_MASK, and u.
|
overridevirtual |
Definition at line 275 of file transliterationImpl.cxx.
References bodyCascade, clear(), implName, loadModuleByName(), and numCascade.
|
private |
css::uno::RuntimeException |
Definition at line 626 of file transliterationImpl.cxx.
References caseignore, caseignoreOnly, o3tl::equalsAscii(), i, implName, loadBody(), tm, i18npool::TMlist, and TRLT_IMPLNAME_PREFIX.
Referenced by getAvailableModules(), loadModule(), loadModuleByImplName(), loadModuleNew(), and loadModulesByImplNames().
|
overridevirtual |
Definition at line 250 of file transliterationImpl.cxx.
References bodyCascade, clear(), count, i, implName, loadModuleByName(), maxCascade, numCascade, tm, i18npool::TMlist, and tmn.
|
overridevirtual |
Definition at line 284 of file transliterationImpl.cxx.
References bodyCascade, clear(), loadModuleByName(), maxCascade, and numCascade.
|
overridevirtual |
Definition at line 661 of file transliterationImpl.cxx.
References cppu::supportsService().
|
overridevirtual |
Definition at line 316 of file transliterationImpl.cxx.
References begin, bodyCascade, end, from, i, nCount, numCascade, and to.
Referenced by compareSubstring().
|
overridevirtual |
Definition at line 446 of file transliterationImpl.cxx.
References bodyCascade, i, numCascade, and transliterateChar2Char().
Referenced by transliterateChar2Char().
|
overridevirtual |
Definition at line 430 of file transliterationImpl.cxx.
References bodyCascade, i, numCascade, and transliterateString2String().
|
overridevirtual |
Definition at line 541 of file transliterationImpl.cxx.
References bodyCascade, getRange(), and numCascade.
|
overridevirtual |
Definition at line 414 of file transliterationImpl.cxx.
References bodyCascade, i, nCount, numCascade, and transliterateString2String().
Referenced by transliterateChar2String(), and transliterateString2String().
|
private |
Definition at line 86 of file transliterationImpl.hxx.
Referenced by clear(), folding(), getName(), getRange(), getType(), loadModule(), loadModuleByImplName(), loadModuleNew(), loadModulesByImplNames(), transliterate(), transliterateChar2Char(), transliterateChar2String(), transliterateRange(), and transliterateString2String().
|
private |
Definition at line 91 of file transliterationImpl.hxx.
Referenced by clear(), compareString(), compareSubstring(), equals(), and loadModuleByName().
|
private |
Definition at line 88 of file transliterationImpl.hxx.
Referenced by clear(), compareString(), compareSubstring(), equals(), loadModuleByName(), and TransliterationImpl().
|
private |
Definition at line 89 of file transliterationImpl.hxx.
Referenced by loadBody().
|
private |
Definition at line 90 of file transliterationImpl.hxx.
Referenced by getAvailableModules(), TransliterationImpl(), and ~TransliterationImpl().
|
private |
Definition at line 87 of file transliterationImpl.hxx.
Referenced by clear(), folding(), getName(), getRange(), getType(), loadModule(), loadModuleByImplName(), loadModuleNew(), loadModulesByImplNames(), transliterate(), transliterateChar2Char(), transliterateChar2String(), transliterateRange(), transliterateString2String(), and TransliterationImpl().