40 #define UP_ 1 // ChandraBindu & Anuswar
41 #define NP_ 2 // Visarg
42 #define IV_ 3 // Independent Vowels
43 #define CN_ 4 // Consonants except _CK & _RC
44 #define CK_ 5 // Consonants that can be followed by Nukta
46 #define NM_ 7 // Matra
47 #define RM_ 8 // Ra + HAL
48 #define IM_ 9 // Choti I Matra
50 #define NK_ 11 // Nukta
51 #define VD_ 12 // Vedic
52 #define HD_ 13 // Hindu Numerals
83 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
84 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
85 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
86 { 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
87 { 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0 },
88 { 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0 },
89 { 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0 },
90 { 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
91 { 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
92 { 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
93 { 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 },
94 { 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0 },
95 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
96 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
106 return (x >= 0x0900 && x < 0x097f) ? devaCT[x - 0x0900] :
ND_;
113 sal_Int16 inputCheckMode)
119 return (DEV_Composible[inputCheckMode][dev_cell_check[ch2][ch1]]);
126 sal_Int16 inputCheckMode)
129 Text = Text.replaceAt(++nStartPos, 0, rtl::OUStringChar(inputChar));
131 nStartPos=Text.getLength();
const sal_uInt16 devaCT[128]
const sal_uInt16 dev_cell_check[14][14]
static constexpr sal_uInt16 getCharType(sal_Unicode x)
Constant values shared between i18npool and, for example, the number formatter.
bool const DEV_Composible[2][2]