class JPLangUtil |
This is the only class provided buy the JPLangUtil Library, and is intended for encapsulation only. As such, it should not be instantiated.
Public Member Functions | |
---|---|
IMPORT_C TInt | ConvertFullHiragnaToFullKatakana (const TDesC16 &, TDes16 &) |
IMPORT_C TInt | ConvertFullToHalfWidth (const TDesC16 &, TDes16 &) |
IMPORT_C TInt | ConvertFullToHalfWidthKatakana (const TDesC16 &, TDes16 &) |
IMPORT_C TInt | ConvertHalfToFullWidth (const TDesC16 &, TDes16 &) |
IMPORT_C TInt | ConvertHalfToFullWidthKatakana (const TDesC16 &, TDes16 &) |
IMPORT_C TBool | IsFullWidth (const TText ) |
IMPORT_C TBool | IsHalfWidth (const TText ) |
IMPORT_C TBool | IsHiragana (const TText ) |
IMPORT_C TBool | IsKanji (const TText ) |
IMPORT_C TBool | IsKatakana (const TText ) |
IMPORT_C TInt | ConvertFullHiragnaToFullKatakana | ( | const TDesC16 & | aUnicodeSource, |
TDes16 & | aUnicodeTarget | |||
) | [static] |
Converts Full-width Hiragana and Special Character text found in aUnicodeSource to their Full-width counterparts and places the resulting text into aUnicodeTarget.
IMPORT_C TInt | ConvertFullToHalfWidth | ( | const TDesC16 & | aUnicodeSource, |
TDes16 & | aUnicodeTarget | |||
) | [static] |
Converts all Full-width conformant text found in aUnicodeSource to their Half-width counterparts and places the resulting text into aUnicodeTarget. Only those characters with existing Half-width variants are converted. There will be a 2-for-1 conversion for each Full-width Voiced and Semi-voiced Katakana character.
IMPORT_C TInt | ConvertFullToHalfWidthKatakana | ( | const TDesC16 & | aUnicodeSource, |
TDes16 & | aUnicodeTarget | |||
) | [static] |
Converts Full-width Katakana and Special Character text found in aUnicodeSource to their Half-width counterparts and places the resulting text into aUnicodeTarget. There will be a 2-for-1 conversion for each Full-width Voiced and Semi-voiced Katakana character.
IMPORT_C TInt | ConvertHalfToFullWidth | ( | const TDesC16 & | aUnicodeSource, |
TDes16 & | aUnicodeTarget | |||
) | [static] |
Converts all Half-width conformant text (including ASCII, Special Characters and Katakana) found in aUnicodeSource to their Full-width counterparts and places the resulting text into aUnicodeTarget.
IMPORT_C TInt | ConvertHalfToFullWidthKatakana | ( | const TDesC16 & | aUnicodeSource, |
TDes16 & | aUnicodeTarget | |||
) | [static] |
Converts Half-width Katakana and Special Character text found in aUnicodeSource to their Full-width counterparts and places the resulting text into aUnicodeTarget.
IMPORT_C TBool | IsFullWidth | ( | const TText | aUnicodeChar | ) | [static] |
Returns ETrue if aUnicodeChar is Full-width. Essentially, all text that is not Half-width.
const TText aUnicodeChar | The unicode character to test. |
IMPORT_C TBool | IsHalfWidth | ( | const TText | aUnicodeChar | ) | [static] |
Returns ETrue if aUnicodeChar is Half-width according to the UNICODE definition of the term.
const TText aUnicodeChar | The unicode character to test. |
IMPORT_C TBool | IsHiragana | ( | const TText | aUnicodeChar | ) | [static] |
Returns ETrue if aUnicodeChar is Hiragana. There are no Half-width Hiragana variants.
const TText aUnicodeChar | The unicode character to test. |
IMPORT_C TBool | IsKanji | ( | const TText | aUnicodeChar | ) | [static] |
Returns ETrue if aUnicodeChar is Kanji, or CJK ideographic All characters in the CJK ideographic range are Full-width.
const TText aUnicodeChar | The unicode character to test. |
IMPORT_C TBool | IsKatakana | ( | const TText | aUnicodeChar | ) | [static] |
Returns ETrue if aUnicodeChar is Katakana. This includes both Full and Half-width Katakana.
const TText aUnicodeChar | The unicode character to test. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.