:: com :: sun :: star :: i18n ::
|
interface XExtendedTransliteration |
- Base Interfaces
XExtendedTransliteration
┗ XTransliteration
XTransliteration |
- (referenced interface's summary:)
- Character conversions like case folding or Hiragana to Katakana.
|
|
- Description
- This interface provides character conversions like case folding or
Hiragana to Katakana.
It is derived from
XTransliteration and provides
additional functionality for character to character and
string to string without offset parameter transliteration. These
should be used for performance reason if their full-blown
counterparts aren't neded.
- Since
- OOo 1.1.2
|
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 prameter to improve performance.
- Parameter aStr
- The input string.
- Parameter nStartPos
- Start position within aStr from where transliteration starts.
- Parameter nCount
- Number of codepoints to be transliterated.
|
|
transliterateChar2String
string |
transliterateChar2String( |
[in] char |
cChar ); |
- Description
- Transliterate a character to a string.
- Parameter cChar
- The input character.
|
|
transliterateChar2Char
- 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
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.