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

#include <textToPronounce_zh.hxx>

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

Public Member Functions

 TextToPronounce_zh (const char *func_name)
 
virtual ~TextToPronounce_zh () override
 
OUString foldingImpl (const OUString &inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > *pOffset) override
 
sal_Int16 SAL_CALL getType () 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
 
OUString SAL_CALL transliterateChar2String (sal_Unicode inChar) override
 
sal_Unicode SAL_CALL transliterateChar2Char (sal_Unicode inChar) override
 
- Public Member Functions inherited from i18npool::transliteration_Ignore
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
 

Protected Member Functions

const sal_UnicodegetPronounce (const sal_Unicode ch)
 
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

oslModule hModule
 
sal_uInt16 const ** idx
 
- Protected Attributes inherited from i18npool::transliteration_Ignore
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

- Static Public Member Functions inherited from i18npool::transliteration_Ignore
static css::uno::Sequence< OUString > transliterateRange (const OUString &str1, const OUString &str2, XTransliteration &t1, XTransliteration &t2)
 

Detailed Description

Definition at line 27 of file textToPronounce_zh.hxx.

Constructor & Destructor Documentation

◆ TextToPronounce_zh()

i18npool::TextToPronounce_zh::TextToPronounce_zh ( const char *  func_name)

◆ ~TextToPronounce_zh()

i18npool::TextToPronounce_zh::~TextToPronounce_zh ( )
overridevirtual

Definition at line 189 of file textToPronounce_zh.cxx.

References hModule.

Member Function Documentation

◆ equals()

sal_Bool SAL_CALL i18npool::TextToPronounce_zh::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

Implements i18npool::transliteration_commonclass.

Definition at line 97 of file textToPronounce_zh.cxx.

References getPronounce(), and i.

◆ foldingImpl()

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

Reimplemented from i18npool::transliteration_Ignore.

Definition at line 54 of file textToPronounce_zh.cxx.

References getPronounce(), i, and nCount.

◆ getPronounce()

const sal_Unicode * i18npool::TextToPronounce_zh::getPronounce ( const sal_Unicode  ch)
protected

Definition at line 41 of file textToPronounce_zh.cxx.

References ch, and idx.

Referenced by equals(), foldingImpl(), transliterateChar2Char(), and transliterateChar2String().

◆ getType()

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

Implements i18npool::transliteration_commonclass.

Definition at line 35 of file textToPronounce_zh.cxx.

◆ transliterateChar2Char()

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

Reimplemented from i18npool::transliteration_Ignore.

Definition at line 86 of file textToPronounce_zh.cxx.

References getPronounce().

◆ transliterateChar2String()

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

Reimplemented from i18npool::transliteration_commonclass.

Definition at line 80 of file textToPronounce_zh.cxx.

References getPronounce().

Member Data Documentation

◆ hModule

oslModule i18npool::TextToPronounce_zh::hModule
protected

Definition at line 31 of file textToPronounce_zh.hxx.

Referenced by TextToPronounce_zh(), and ~TextToPronounce_zh().

◆ idx

sal_uInt16 const** i18npool::TextToPronounce_zh::idx
protected

Definition at line 33 of file textToPronounce_zh.hxx.

Referenced by getPronounce(), and TextToPronounce_zh().


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