LibreOffice Module i18npool (master) 1
|
#include <transliteration_Numeric.hxx>
Public Member Functions | |
virtual OUString | transliterateImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) override |
virtual sal_Unicode SAL_CALL | transliterateChar2Char (sal_Unicode inChar) override |
virtual sal_Int16 SAL_CALL | getType () override |
virtual OUString | foldingImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) 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 |
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 | |
sal_Int16 | nNativeNumberMode |
sal_Int16 | tableSize |
const sal_Unicode * | table |
bool | recycleSymbol |
Protected Attributes inherited from i18npool::transliteration_commonclass | |
css::lang::Locale | aLocale |
const char * | transliterationName |
const char * | implementationName |
Private Member Functions | |
OUString | transliterateBullet (std::u16string_view inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) const |
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 25 of file transliteration_Numeric.hxx.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 45 of file transliteration_Numeric.cxx.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 39 of file transliteration_Numeric.cxx.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 33 of file transliteration_Numeric.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 61 of file transliteration_Numeric.cxx.
References i, isNumber, nCount, NUMBER_ZERO, recycleSymbol, table, and tableSize.
Referenced by transliterateImpl().
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 127 of file transliteration_Numeric.cxx.
References i18npool::transliteration_commonclass::aLocale, i18npool::NativeNumberSupplierService::getNativeNumberChar(), isNumber, nNativeNumberMode, NUMBER_ZERO, recycleSymbol, table, and tableSize.
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 117 of file transliteration_Numeric.cxx.
References i18npool::transliteration_commonclass::aLocale, nCount, nNativeNumberMode, tableSize, and transliterateBullet().
|
overridevirtual |
Implements i18npool::transliteration_commonclass.
Definition at line 51 of file transliteration_Numeric.cxx.
|
protected |
Definition at line 45 of file transliteration_Numeric.hxx.
Referenced by transliterateChar2Char(), and transliterateImpl().
|
protected |
Definition at line 48 of file transliteration_Numeric.hxx.
Referenced by transliterateBullet(), and transliterateChar2Char().
|
protected |
Definition at line 47 of file transliteration_Numeric.hxx.
Referenced by transliterateBullet(), and transliterateChar2Char().
|
protected |
Definition at line 46 of file transliteration_Numeric.hxx.
Referenced by transliterateBullet(), transliterateChar2Char(), and transliterateImpl().