This class is a helper to convert strings containing bi-directional text-parts.
More...
#include <ArabicUTFConverter.h>
This class is a helper to convert strings containing bi-directional text-parts.
◆ ConvertArabic()
static eC_String ArabicUTFConverter::ConvertArabic |
( |
const eC_String & |
rkSourceString, |
|
|
eC_Bool & |
bConverted |
|
) |
| |
|
static |
This method is used to convert an input string containing arabic unicode-characters into a new string with all characters replaced with their correct replacement according to their position in the text.
- Parameters
-
rkSourceString | the input-string |
bConverted | set to true if conversion has been done |
- Returns
- the converted string
◆ GetCharRep()
static CharRep_t ArabicUTFConverter::GetCharRep |
( |
eC_UTF16 |
c | ) |
|
|
static |
Get the visual representation of character
- Parameters
-
- Returns
- visual representation
◆ GetCode()
static eC_UTF16 ArabicUTFConverter::GetCode |
( |
eC_UTF16 |
c | ) |
|
|
static |
Get code for unicode character
- Parameters
-
- Returns
- code
◆ GetcombCharRep()
static CombCharRep_t ArabicUTFConverter::GetcombCharRep |
( |
eC_UTF16 |
c | ) |
|
|
static |
Get the visual representation of character-combination
- Parameters
-
- Returns
- visual representation
◆ GetInternTextData()
static eC_String ArabicUTFConverter::GetInternTextData |
( |
const eC_String & |
rkSourceString, |
|
|
const eC_Bool & |
bGlobalCodePresentation = true |
|
) |
| |
|
static |
Get internal data of text
- Parameters
-
rkSourceString | source-string |
bGlobalCodePresentation | if global is active |
- Returns
- internal text-data
◆ GetTextInUTF16()
static void ArabicUTFConverter::GetTextInUTF16 |
( |
const eC_String & |
kSource, |
|
|
eC_UInt & |
ruiLength |
|
) |
| |
|
static |
Get the text in utf16-encoding
- Parameters
-
kSource | source-string |
ruiLength | length of string in bytes |
◆ IsArabicChar()
static eC_Bool ArabicUTFConverter::IsArabicChar |
( |
eC_UTF16 |
cCharacter | ) |
|
|
static |
check if provided character is arabic
- Parameters
-
cCharacter | character to check |
- Returns
- true if arabic
The documentation for this class was generated from the following file: