interface XTransliteration in module com::sun::star::i18n::

(Global Index)

Syntax

interface XTransliteration : com::sun::star::uno::XInterface ;

Method Summary

getName

getType

loadModule

loadModuleNew

loadModuleByImplName

loadModulesByImplNames

getAvailableModules

transliterate

folding

equals

transliterateRange

compareSubstring compares 2 sub-strings

compareString compares 2 strings

Known Services Which Export this Interface

com::sun::star::i18n::Transliteration

com::sun::star::i18n::Transliterationl10n

com::sun::star::i18n::Transliterationja_JP

Method Details



getName

Syntax

string getName ();

getType

Syntax

short getType ();

loadModule

Syntax

void loadModule (
com::sun::star::i18n::TransliterationModules modType,
com::sun::star::lang::Locale rLocale );

loadModuleNew

Syntax

void loadModuleNew (
sequence< com::sun::star::i18n::TransliterationModulesNew > modType,
com::sun::star::lang::Locale rLocale );

loadModuleByImplName

Syntax

void loadModuleByImplName (
string implName,
com::sun::star::lang::Locale rLocale );

loadModulesByImplNames

Syntax

void loadModulesByImplNames (
sequence< string > implNamelist,
com::sun::star::lang::Locale rLocale );

getAvailableModules

Syntax

sequence< string > getAvailableModules (
com::sun::star::lang::Locale rLocale,
short sType );

transliterate

Syntax

string transliterate (
string inStr,
long startPos,
long nCount,
sequence< long > offset );

folding

Syntax

string folding (
string inStr,
long startPos,
long nCount,
sequence< long > offset );

equals

Syntax

boolean equals (
string str1,
long pos1,
long nCount1,
long nMatch1,
string str2,
long pos2,
long nCount2,
long nMatch2 );

transliterateRange

Syntax

sequence< string > transliterateRange (
string str1,
string str2 );

compareSubstring

Syntax

long compareSubstring (
string s1,
long off1,
long len1,
string s2,
long off2,
long len2 );

Description

compares 2 sub-strings

Parameter s1

first String

Parameter off1

offset (from 0) of the first substring

Parameter len1

length (from offset) of the first substring

Parameter s2

second String

Parameter off2

offset (from 0) of the second substring

Parameter len2

length (from offset) of the second substring

Returns

1 if the first string is more than second string 0 if the first string is equals to second string -1 if the first string is less than second string

compareString

Syntax

long compareString (
string s1,
string s2 );

Description

compares 2 strings

Parameter s1

first String

Parameter s2

second String

Returns

1 if the first string is more than second string 0 if the first string is equals to second string -1 if the first string is less than second string
Top of Page