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

interface XExtendedTransliteration
Base Interfaces
XExtendedTransliterationXTransliteration

XTransliteration
(referenced interface's summary:)

Methods' Summary
transliterateString2String Transliterate a substring. The functionality is the same as XTransliteration::transliterate() but omits the offset parameter to improve performance.  
transliterateChar2String Transliterate a character to a string.  
transliterateChar2Char Transliterate a character to a character.  
Methods' Details
transliterateString2String
string
transliterateString2String( [in] string  aStr,
[in] long  nStartPos,
[in] long  nCount );

Description
Transliterate a substring. The functionality is the same as XTransliteration::transliterate() but omits the offset parameter to improve performance.
Parameter aStr
The input string.
Parameter nStartPos
Start position within aStr from where transliteration starts.
Parameter nCount
Number of code points to be transliterated.
transliterateChar2String
string
transliterateChar2String( [in] char  cChar );

Description
Transliterate a character to a string.
Parameter cChar
The input character.
transliterateChar2Char
char
transliterateChar2Char( [in] char  cChar )
raises( MultipleCharsOutputException );

Description
Transliterate a character to a character.

If the output contains multiple characters, for example when transliterating German sharp "s" (the one that looks like a Greek Beta) to upper case "SS", MultipleCharsOutputException will be thrown, the caller must catch the exception and then call XTransliteration::transliterateChar2String() to obtain the correct result.

Parameter cChar
The input character.
Top of Page