LibreOffice Module i18npool (master) 1
|
#include <transliteration_body.hxx>
Public Member Functions | |
Transliteration_body () | |
sal_Int16 SAL_CALL | getType () override |
OUString | transliterateImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) override |
OUString SAL_CALL | transliterateChar2String (sal_Unicode inChar) override |
virtual sal_Unicode SAL_CALL | transliterateChar2Char (sal_Unicode inChar) override |
OUString | foldingImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) 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 |
css::uno::Sequence< OUString > SAL_CALL | transliterateRange (const OUString &str1, const OUString &str2) override |
Public Member Functions inherited from i18npool::transliteration_commonclass | |
transliteration_commonclass () | |
void SAL_CALL | loadModule (css::i18n::TransliterationModules modName, const css::lang::Locale &rLocale) override |
void SAL_CALL | loadModuleNew (const css::uno::Sequence< css::i18n::TransliterationModulesNew > &modName, const css::lang::Locale &rLocale) override |
void SAL_CALL | loadModuleByImplName (const OUString &implName, const css::lang::Locale &rLocale) override |
void SAL_CALL | loadModulesByImplNames (const css::uno::Sequence< OUString > &modNamelist, const css::lang::Locale &rLocale) override |
css::uno::Sequence< OUString > SAL_CALL | getAvailableModules (const css::lang::Locale &rLocale, sal_Int16 sType) override |
virtual OUString SAL_CALL | getName () override |
virtual sal_Int16 SAL_CALL | getType () override=0 |
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 | folding (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > &offset) override final |
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=0 |
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=0 |
virtual css::uno::Sequence< OUString > SAL_CALL | transliterateRange (const OUString &str1, const OUString &str2) override=0 |
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 |
Protected Attributes | |
MappingType | nMappingType |
Protected Attributes inherited from i18npool::transliteration_commonclass | |
css::lang::Locale | aLocale |
const char * | transliterationName |
const char * | implementationName |
Additional Inherited Members | |
virtual OUString | transliterateImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset)=0 |
virtual OUString | foldingImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset)=0 |
Definition at line 26 of file transliteration_body.hxx.
i18npool::Transliteration_body::Transliteration_body | ( | ) |
Definition at line 45 of file transliteration_body.cxx.
References i18npool::transliteration_commonclass::implementationName, nMappingType, and i18npool::transliteration_commonclass::transliterationName.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Reimplemented in i18npool::Transliteration_caseignore.
Definition at line 57 of file transliteration_body.cxx.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 191 of file transliteration_body.cxx.
References nCount, and transliterateImpl().
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Reimplemented in i18npool::Transliteration_caseignore.
Definition at line 52 of file transliteration_body.cxx.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 182 of file transliteration_body.cxx.
References i18npool::transliteration_commonclass::aLocale, map, and nMappingType.
|
overridevirtual |
Reimplemented from i18npool::transliteration_commonclass.
Definition at line 167 of file transliteration_body.cxx.
References i18npool::transliteration_commonclass::aLocale, i, map, and nMappingType.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Reimplemented in i18npool::Transliteration_titlecase, and i18npool::Transliteration_sentencecase.
Definition at line 93 of file transliteration_body.cxx.
References i18npool::transliteration_commonclass::aLocale, i, in, i18npool::lcl_getMappingTypeForToggleCase(), map, nCount, NMAPPINGMAX, and nMappingType.
Referenced by foldingImpl().
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Reimplemented in i18npool::Transliteration_caseignore.
Definition at line 65 of file transliteration_body.cxx.
|
protected |
Definition at line 54 of file transliteration_body.hxx.
Referenced by i18npool::Transliteration_caseignore::compare(), i18npool::Transliteration_casemapping::setMappingType(), transliterateChar2Char(), transliterateChar2String(), transliterateImpl(), Transliteration_body(), i18npool::Transliteration_caseignore::Transliteration_caseignore(), i18npool::Transliteration_casemapping::Transliteration_casemapping(), i18npool::Transliteration_l2u::Transliteration_l2u(), i18npool::Transliteration_sentencecase::Transliteration_sentencecase(), i18npool::Transliteration_titlecase::Transliteration_titlecase(), i18npool::Transliteration_togglecase::Transliteration_togglecase(), and i18npool::Transliteration_u2l::Transliteration_u2l().