LibreOffice Module i18npool (master) 1
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
i18npool::transliteration_Ignore Class Reference

#include <transliteration_Ignore.hxx>

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

Classes

struct  Mapping
 

Public Member Functions

virtual 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
 
sal_Int16 SAL_CALL getType () override
 
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
 
- 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
 

Static Public Member Functions

static css::uno::Sequence< OUString > transliterateRange (const OUString &str1, const OUString &str2, XTransliteration &t1, XTransliteration &t2)
 

Protected Attributes

TransFunc func
 
i18nutil::oneToOneMapping * table
 
const Mappingmap
 
- 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
 

Detailed Description

Definition at line 31 of file transliteration_Ignore.hxx.

Member Function Documentation

◆ equals()

sal_Bool SAL_CALL i18npool::transliteration_Ignore::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 
)
overridevirtual

◆ foldingImpl()

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

Implements i18npool::transliteration_commonclass.

Reimplemented in i18npool::TextToPronounce_zh, and i18npool::ignoreDiacritics_CTL.

Definition at line 109 of file transliteration_Ignore.cxx.

References func, m, map, nCount, p, position(), and u.

Referenced by transliterateImpl().

◆ getType()

sal_Int16 SAL_CALL i18npool::transliteration_Ignore::getType ( )
overridevirtual

Implements i18npool::transliteration_commonclass.

Definition at line 74 of file transliteration_Ignore.cxx.

◆ transliterateChar2Char()

sal_Unicode SAL_CALL i18npool::transliteration_Ignore::transliterateChar2Char ( sal_Unicode  inChar)
overridevirtual

◆ transliterateImpl()

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

Implements i18npool::transliteration_commonclass.

Definition at line 82 of file transliteration_Ignore.cxx.

References foldingImpl(), and nCount.

◆ transliterateRange() [1/2]

Sequence< OUString > SAL_CALL i18npool::transliteration_Ignore::transliterateRange ( const OUString &  str1,
const OUString &  str2 
)
overridevirtual

Implements i18npool::transliteration_commonclass.

Definition at line 64 of file transliteration_Ignore.cxx.

◆ transliterateRange() [2/2]

Sequence< OUString > i18npool::transliteration_Ignore::transliterateRange ( const OUString &  str1,
const OUString &  str2,
XTransliteration &  t1,
XTransliteration &  t2 
)
static
Exceptions
css::uno::RuntimeException

Definition at line 90 of file transliteration_Ignore.cxx.

Member Data Documentation

◆ func

TransFunc i18npool::transliteration_Ignore::func
protected

◆ map

const Mapping* i18npool::transliteration_Ignore::map
protected

◆ table

i18nutil::oneToOneMapping* i18npool::transliteration_Ignore::table
protected

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