Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: i18n ::
interface XExtendedTransliteration
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XTransliteration
          |
          +-XExtendedTransliteration
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 version OpenOffice.org 1.1.1

Methods' Summary
transliterateString2String | Transliterate a substring. The functionality is the same as XTransliteration::transliterate() but omits the offset prameter to improve performance.
transliterateChar2String | Transliterate a character to a string.
transliterateChar2Char | Transliterate a character to a character.

Methods' Details
transliterateString2String
string transliterateString2String( | [in] string [in] long [in] long | aStr, nStartPos, 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
char transliterateChar2Char( | [in] char raises( | cChar ) 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

Copyright © 2003 Sun Microsystems, Inc.