28#ifndef __ARABIC_UTF_CONVERTER_H__
29#define __ARABIC_UTF_CONVERTER_H__
35#define COMB_MAP_LENGTH 4
36#define TRANS_CHARS_LENGTH 39
73 static eC_String
ConvertArabic(
const eC_String& rkSourceString, eC_Bool& bConverted);
104 static eC_String
GetInternTextData(
const eC_String& rkSourceString,
const eC_Bool& bGlobalCodePresentation =
true);
113 static eC_Int GetTextContextualForm(eC_UTF16* pcInputString,
const eC_UInt& uiLength, eC_UTF16* pcOutputString,
const eC_Bool& bGlobalCodePresentation =
true);
114 static eC_UTF16* GetCombCode(eC_UTF16 c);
116 static eC_Int ShapeArabic(eC_UTF16* paInputString,
const eC_UInt& uiLength, eC_UTF16* paOutputString, eC_Bool& bConverted);
118 static eC_Bool CharacterMapContains(eC_UTF16 c);
119 static eC_Bool CombiCharacterMapContains(eC_UTF16 c);
121 static CombCharRep_t GetCombCharRep(eC_UTF16 c1, eC_UTF16 c2);
123 static eC_Bool IsTransparent(eC_UTF16 c);
This class is a helper to convert strings containing bi-directional text-parts.
Definition: ArabicUTFConverter.h:42
static void GetTextInUTF16(const eC_String &kSource, eC_UInt &ruiLength)
static eC_String ConvertArabic(const eC_String &rkSourceString, eC_Bool &bConverted)
static eC_String GetInternTextData(const eC_String &rkSourceString, const eC_Bool &bGlobalCodePresentation=true)
static eC_UTF16 GetCode(eC_UTF16 c)
static CombCharRep_t GetcombCharRep(eC_UTF16 c)
static CharRep_t GetCharRep(eC_UTF16 c)
static eC_Bool IsArabicChar(eC_UTF16 cCharacter)
Definition: ArabicUTFConverter.h:47
eC_UTF16 mInitial
character-code for use as first character
Definition: ArabicUTFConverter.h:50
eC_UTF16 code
character-code
Definition: ArabicUTFConverter.h:48
eC_UTF16 mIsolated
character-code for isolated use
Definition: ArabicUTFConverter.h:49
eC_UTF16 mMedial
character-code for use as middle-character
Definition: ArabicUTFConverter.h:51
eC_UTF16 mFinal
character-code for use as terminating character
Definition: ArabicUTFConverter.h:52
Definition: ArabicUTFConverter.h:58
eC_UTF16 mFinal
character-code for use as terminating character
Definition: ArabicUTFConverter.h:63
eC_UTF16 mInitial
character-code for use as first character
Definition: ArabicUTFConverter.h:61
eC_UTF16 mMedial
character-code for use as middle-character
Definition: ArabicUTFConverter.h:62
eC_UTF16 mIsolated
character-code for isolated use
Definition: ArabicUTFConverter.h:60