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 28 of file transliteration_commonclass.hxx.

Constructor & Destructor Documentation

◆ transliteration_commonclass()

i18npool::transliteration_commonclass::transliteration_commonclass ( )

Definition at line 29 of file transliteration_commonclass.cxx.

References implementationName, and transliterationName.

Member Function Documentation

◆ compareString()

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().

◆ 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().

◆ equals()

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

◆ folding()

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 62 of file transliteration_commonclass.hxx.

References foldingImpl(), and nCount.

Referenced by i18npool::transliteration_Ignore::equals().

◆ foldingImpl()

virtual OUString i18npool::transliteration_commonclass::foldingImpl ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > *  pOffset 
)
protectedpure virtual

◆ getAvailableModules()

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.

◆ getImplementationName()

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

Definition at line 118 of file transliteration_commonclass.cxx.

References implementationName.

◆ getName()

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

Definition at line 35 of file transliteration_commonclass.cxx.

References transliterationName.

◆ getSupportedServiceNames()

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

Definition at line 128 of file transliteration_commonclass.cxx.

◆ getType()

virtual sal_Int16 SAL_CALL i18npool::transliteration_commonclass::getType ( )
overridepure virtual

◆ loadModule()

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.

◆ loadModuleByImplName()

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.

◆ loadModuleNew()

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.

◆ loadModulesByImplNames()

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.

◆ supportsService()

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

Definition at line 123 of file transliteration_commonclass.cxx.

References cppu::supportsService().

◆ transliterate()

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 58 of file transliteration_commonclass.hxx.

References nCount, and transliterateImpl().

Referenced by compareSubstring().

◆ transliterateChar2Char()

virtual sal_Unicode SAL_CALL i18npool::transliteration_commonclass::transliterateChar2Char ( sal_Unicode  inChar)
overridepure virtual

◆ transliterateChar2String()

OUString SAL_CALL i18npool::transliteration_commonclass::transliterateChar2String ( sal_Unicode  inChar)
overridevirtual

◆ transliterateImpl()

virtual OUString i18npool::transliteration_commonclass::transliterateImpl ( const OUString &  inStr,
sal_Int32  startPos,
sal_Int32  nCount,
css::uno::Sequence< sal_Int32 > *  pOffset 
)
protectedpure virtual

◆ transliterateRange()

virtual css::uno::Sequence< OUString > SAL_CALL i18npool::transliteration_commonclass::transliterateRange ( const OUString &  str1,
const OUString &  str2 
)
overridepure virtual

◆ transliterateString2String()

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 nCount, and transliterateImpl().

Referenced by transliterateChar2String().

Member Data Documentation

◆ aLocale

css::lang::Locale i18npool::transliteration_commonclass::aLocale
protected

◆ implementationName

const char* i18npool::transliteration_commonclass::implementationName
protected

◆ transliterationName

const char* i18npool::transliteration_commonclass::transliterationName
protected

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