LibreOffice Module i18npool (master) 1
|
#include <transliteration_commonclass.hxx>
Public Member Functions | |
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 Member Functions | |
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 |
Protected Attributes | |
css::lang::Locale | aLocale |
const char * | transliterationName |
const char * | implementationName |
Definition at line 28 of file transliteration_commonclass.hxx.
i18npool::transliteration_commonclass::transliteration_commonclass | ( | ) |
Definition at line 29 of file transliteration_commonclass.cxx.
References implementationName, and transliterationName.
|
overridevirtual |
Reimplemented in i18npool::Transliteration_caseignore.
Definition at line 101 of file transliteration_commonclass.cxx.
References compareSubstring().
|
overridevirtual |
Reimplemented in i18npool::Transliteration_caseignore.
Definition at line 72 of file transliteration_commonclass.cxx.
References transliterate().
Referenced by compareString().
|
overridepure virtual |
|
inlinefinaloverridevirtual |
Definition at line 62 of file transliteration_commonclass.hxx.
References foldingImpl(), and nCount.
Referenced by i18npool::transliteration_Ignore::equals().
|
protectedpure virtual |
|
override |
Definition at line 66 of file transliteration_commonclass.cxx.
|
overridevirtual |
Definition at line 118 of file transliteration_commonclass.cxx.
References implementationName.
|
overridevirtual |
Definition at line 35 of file transliteration_commonclass.cxx.
References transliterationName.
|
overridevirtual |
Definition at line 128 of file transliteration_commonclass.cxx.
|
overridepure virtual |
|
override |
Definition at line 40 of file transliteration_commonclass.cxx.
References aLocale.
|
override |
Definition at line 54 of file transliteration_commonclass.cxx.
|
override |
Definition at line 47 of file transliteration_commonclass.cxx.
|
override |
Definition at line 60 of file transliteration_commonclass.cxx.
|
overridevirtual |
Definition at line 123 of file transliteration_commonclass.cxx.
References cppu::supportsService().
|
inlinefinaloverridevirtual |
Definition at line 58 of file transliteration_commonclass.hxx.
References nCount, and transliterateImpl().
Referenced by compareSubstring().
|
overridepure virtual |
|
overridevirtual |
Reimplemented in i18npool::TextToPronounce_zh, and i18npool::Transliteration_body.
Definition at line 113 of file transliteration_commonclass.cxx.
References transliterateString2String().
|
protectedpure virtual |
Implemented in i18npool::Transliteration_body, i18npool::Transliteration_titlecase, i18npool::Transliteration_sentencecase, i18npool::transliteration_Ignore, i18npool::transliteration_Numeric, i18npool::transliteration_OneToOne, i18npool::halfwidthToFullwidth, i18npool::HALFWIDTHKATAKANA_FULLWIDTHKATAKANA, and i18npool::HALFWIDTH_FULLWIDTH_LIKE_JIS.
Referenced by transliterate(), and transliterateString2String().
|
overridepure virtual |
|
overridevirtual |
Definition at line 107 of file transliteration_commonclass.cxx.
References nCount, and transliterateImpl().
Referenced by transliterateChar2String().
|
protected |
Definition at line 96 of file transliteration_commonclass.hxx.
Referenced by i18npool::Transliteration_caseignore::compare(), i18npool::Transliteration_caseignore::loadModule(), loadModule(), i18npool::Transliteration_casemapping::setLocale(), i18npool::Transliteration_body::transliterateChar2Char(), i18npool::transliteration_Numeric::transliterateChar2Char(), i18npool::Transliteration_body::transliterateChar2String(), i18npool::Transliteration_body::transliterateImpl(), i18npool::Transliteration_titlecase::transliterateImpl(), i18npool::Transliteration_sentencecase::transliterateImpl(), i18npool::transliteration_Numeric::transliterateImpl(), and i18npool::Transliteration_caseignore::transliterateRange().
|
protected |
Definition at line 98 of file transliteration_commonclass.hxx.
Referenced by getImplementationName(), i18npool::HALFWIDTH_FULLWIDTH_LIKE_JIS::HALFWIDTH_FULLWIDTH_LIKE_JIS(), i18npool::HALFWIDTHKATAKANA_FULLWIDTHKATAKANA::HALFWIDTHKATAKANA_FULLWIDTHKATAKANA(), i18npool::halfwidthToFullwidth::halfwidthToFullwidth(), i18npool::ignoreDiacritics_CTL::ignoreDiacritics_CTL(), i18npool::Transliteration_body::Transliteration_body(), i18npool::Transliteration_caseignore::Transliteration_caseignore(), i18npool::Transliteration_casemapping::Transliteration_casemapping(), transliteration_commonclass(), 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().
|
protected |
Definition at line 97 of file transliteration_commonclass.hxx.
Referenced by getName(), i18npool::HALFWIDTH_FULLWIDTH_LIKE_JIS::HALFWIDTH_FULLWIDTH_LIKE_JIS(), i18npool::HALFWIDTHKATAKANA_FULLWIDTHKATAKANA::HALFWIDTHKATAKANA_FULLWIDTHKATAKANA(), i18npool::halfwidthToFullwidth::halfwidthToFullwidth(), i18npool::ignoreDiacritics_CTL::ignoreDiacritics_CTL(), i18npool::Transliteration_body::Transliteration_body(), i18npool::Transliteration_caseignore::Transliteration_caseignore(), i18npool::Transliteration_casemapping::Transliteration_casemapping(), transliteration_commonclass(), 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().