LibreOffice Module i18npool (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
i18npool::transliteration_commonclass Class Referenceabstract

#include <transliteration_commonclass.hxx>

Inheritance diagram for i18npool::transliteration_commonclass:
[legend]
Collaboration diagram for i18npool::transliteration_commonclass:
[legend]

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
 

Detailed Description

Definition at line 29 of file transliteration_commonclass.hxx.

Constructor & Destructor Documentation

i18npool::transliteration_commonclass::transliteration_commonclass ( )

Definition at line 29 of file transliteration_commonclass.cxx.

References implementationName, and transliterationName.

Member Function Documentation

sal_Int32 SAL_CALL i18npool::transliteration_commonclass::compareString ( const OUString &  s1,
const OUString &  s2 
)
overridevirtual

Reimplemented in i18npool::Transliteration_caseignore.

Definition at line 101 of file transliteration_commonclass.cxx.

References compareSubstring().

sal_Int32 SAL_CALL i18npool::transliteration_commonclass::compareSubstring ( const OUString &  s1,
sal_Int32  off1,
sal_Int32  len1,
const OUString &  s2,
sal_Int32  off2,
sal_Int32  len2 
)
overridevirtual

Reimplemented in i18npool::Transliteration_caseignore.

Definition at line 72 of file transliteration_commonclass.cxx.

References transliterate().

Referenced by compareString().

virtual sal_Bool SAL_CALL i18npool::transliteration_commonclass::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 
)
overridepure virtual
virtual OUString SAL_CALL i18npool::transliteration_commonclass::folding ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > &  offset 
)
inlinefinaloverridevirtual

Definition at line 63 of file transliteration_commonclass.hxx.

References foldingImpl(), and nCount.

virtual OUString i18npool::transliteration_commonclass::foldingImpl ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > *  pOffset 
)
protectedpure virtual
Sequence< OUString > SAL_CALL i18npool::transliteration_commonclass::getAvailableModules ( const css::lang::Locale &  rLocale,
sal_Int16  sType 
)
override

Definition at line 66 of file transliteration_commonclass.cxx.

OUString SAL_CALL i18npool::transliteration_commonclass::getImplementationName ( )
overridevirtual

Definition at line 118 of file transliteration_commonclass.cxx.

References implementationName.

OUString SAL_CALL i18npool::transliteration_commonclass::getName ( )
overridevirtual

Definition at line 35 of file transliteration_commonclass.cxx.

References transliterationName.

Sequence< OUString > SAL_CALL i18npool::transliteration_commonclass::getSupportedServiceNames ( )
overridevirtual

Definition at line 128 of file transliteration_commonclass.cxx.

virtual sal_Int16 SAL_CALL i18npool::transliteration_commonclass::getType ( )
overridepure virtual
void SAL_CALL i18npool::transliteration_commonclass::loadModule ( css::i18n::TransliterationModules  modName,
const css::lang::Locale &  rLocale 
)
override

Definition at line 40 of file transliteration_commonclass.cxx.

References aLocale.

void SAL_CALL i18npool::transliteration_commonclass::loadModuleByImplName ( const OUString &  implName,
const css::lang::Locale &  rLocale 
)
override

Definition at line 54 of file transliteration_commonclass.cxx.

void SAL_CALL i18npool::transliteration_commonclass::loadModuleNew ( const css::uno::Sequence< css::i18n::TransliterationModulesNew > &  modName,
const css::lang::Locale &  rLocale 
)
override

Definition at line 47 of file transliteration_commonclass.cxx.

void SAL_CALL i18npool::transliteration_commonclass::loadModulesByImplNames ( const css::uno::Sequence< OUString > &  modNamelist,
const css::lang::Locale &  rLocale 
)
override

Definition at line 60 of file transliteration_commonclass.cxx.

sal_Bool SAL_CALL i18npool::transliteration_commonclass::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 123 of file transliteration_commonclass.cxx.

References cppu::supportsService().

virtual OUString SAL_CALL i18npool::transliteration_commonclass::transliterate ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > &  offset 
)
inlinefinaloverridevirtual

Definition at line 59 of file transliteration_commonclass.hxx.

References nCount, and transliterateImpl().

Referenced by compareSubstring().

virtual sal_Unicode SAL_CALL i18npool::transliteration_commonclass::transliterateChar2Char ( sal_Unicode  inChar)
overridepure virtual
OUString SAL_CALL i18npool::transliteration_commonclass::transliterateChar2String ( sal_Unicode  inChar)
overridevirtual
virtual OUString i18npool::transliteration_commonclass::transliterateImpl ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > *  pOffset 
)
protectedpure virtual
virtual css::uno::Sequence< OUString > SAL_CALL i18npool::transliteration_commonclass::transliterateRange ( const OUString &  str1,
const OUString &  str2 
)
overridepure virtual
OUString SAL_CALL i18npool::transliteration_commonclass::transliterateString2String ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount 
)
overridevirtual

Definition at line 107 of file transliteration_commonclass.cxx.

References transliterateImpl().

Referenced by transliterateChar2String().

Member Data Documentation

css::lang::Locale i18npool::transliteration_commonclass::aLocale
protected
const char* i18npool::transliteration_commonclass::implementationName
protected
const char* i18npool::transliteration_commonclass::transliterationName
protected

The documentation for this class was generated from the following files: