20#ifndef INCLUDED_I18NPOOL_SOURCE_NATIVENUMBER_DATA_NUMBERCHAR_H
21#define INCLUDED_I18NPOOL_SOURCE_NATIVENUMBER_DATA_NUMBERCHAR_H
63 { 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039 },
64 { 0xFF10, 0xFF11, 0xFF12, 0xFF13, 0xFF14, 0xFF15, 0xFF16, 0xFF17, 0xFF18, 0xFF19 },
65 { 0x3007, 0x4E00, 0x4E8c, 0x4E09, 0x56DB, 0x4E94, 0x516D, 0x4E03, 0x516B, 0x4E5D },
66 { 0x96F6, 0x58F9, 0x8D30, 0x53C1, 0x8086, 0x4F0D, 0x9646, 0x67D2, 0x634C, 0x7396 },
67 { 0x96F6, 0x58F9, 0x8CB3, 0x53C3, 0x8086, 0x4F0D, 0x9678, 0x67D2, 0x634C, 0x7396 },
68 { 0x3007, 0x4E00, 0x4E8C, 0x4E09, 0x56DB, 0x4E94, 0x516D, 0x4E03, 0x516B, 0x4E5D },
69 { 0x96F6, 0x58F1, 0x5F10, 0x53C2, 0x56DB, 0x4F0D, 0x516D, 0x4E03, 0x516B, 0x4E5D },
70 { 0x96F6, 0x4E00, 0x4E8C, 0x4E09, 0x56DB, 0x4E94, 0x516D, 0x4E03, 0x516B, 0x4E5D },
71 { 0x96F6, 0x58F9, 0x8CB3, 0x53C3, 0x56DB, 0x4F0D, 0x516D, 0x4E03, 0x516B, 0x4E5D },
72 { 0xC601, 0xC77C, 0xC774, 0xC0BC, 0xC0AC, 0xC624, 0xC721, 0xCE60, 0xD314, 0xAD6C },
73 { 0x0660, 0x0661, 0x0662, 0x0663, 0x0664, 0x0665, 0x0666, 0x0667, 0x0668, 0x0669 },
74 { 0x06F0, 0x06F1, 0x06F2, 0x06F3, 0x06F4, 0x06F5, 0x06F6, 0x06F7, 0x06F8, 0x06F9 },
75 { 0x0966, 0x0967, 0x0968, 0x0969, 0x096A, 0x096B, 0x096C, 0x096D, 0x096E, 0x096F },
76 { 0x0E50, 0x0E51, 0x0E52, 0x0E53, 0x0E54, 0x0E55, 0x0E56, 0x0E57, 0x0E58, 0x0E59 },
77 { 0x0866, 0x0867, 0x0868, 0x0869, 0x086A, 0x086B, 0x086C, 0x086D, 0x086E, 0x086F },
78 { 0x0966, 0x0967, 0x0968, 0x0969, 0x096A, 0x096B, 0x096C, 0x096D, 0x096E, 0x096F },
79 { 0x09E6, 0x09E7, 0x09E8, 0x09E9, 0x09EA, 0x09EB, 0x09EC, 0x09ED, 0x09EE, 0x09EF },
80 { 0x0A66, 0x0A67, 0x0A68, 0x0A69, 0x0A6A, 0x0A6B, 0x0A6C, 0x0A6D, 0x0A6E, 0x0A6F },
81 { 0x0AE6, 0x0AE7, 0x0AE8, 0x0AE9, 0x0AEA, 0x0AEB, 0x0AEC, 0x0AED, 0x0AEE, 0x0AEF },
82 { 0x0030, 0x0BE7, 0x0BE8, 0x0BE9, 0x0BEA, 0x0BEB, 0x0BEC, 0x0BED, 0x0BEE, 0x0BEF },
83 { 0x0C66, 0x0C67, 0x0C68, 0x0C69, 0x0C6A, 0x0C6B, 0x0C6C, 0x0C6D, 0x0C6E, 0x0C6F },
84 { 0x0CE6, 0x0CE7, 0x0CE8, 0x0CE9, 0x0CEA, 0x0CEB, 0x0CEC, 0x0CED, 0x0CEE, 0x0CEF },
85 { 0x0DE6, 0x0DE7, 0x0DE8, 0x0DE9, 0x0DEA, 0x0DEB, 0x0DEC, 0x0DED, 0x0DEE, 0x0DEF },
86 { 0x0ED0, 0x0ED1, 0x0ED2, 0x0ED3, 0x0ED4, 0x0ED5, 0x0ED6, 0x0ED7, 0x0ED8, 0x0ED9 },
87 { 0x0F20, 0x0F21, 0x0F22, 0x0F23, 0x0F24, 0x0F25, 0x0F26, 0x0F27, 0x0F28, 0x0F29 },
88 { 0x1040, 0x1041, 0x1042, 0x1043, 0x1044, 0x1045, 0x1046, 0x1047, 0x1048, 0x1049 },
89 { 0x17E0, 0x17E1, 0x17E2, 0x17E3, 0x17E4, 0x17E5, 0x17E6, 0x17E7, 0x17E8, 0x17E9 },
90 { 0x1810, 0x1811, 0x1812, 0x1813, 0x1814, 0x1815, 0x1816, 0x1817, 0x1818, 0x1819 },
91 { 0x0020, 0x05D0, 0x05D1, 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, 0x05D8 },
92 { 0x0966, 0x0967, 0x0968, 0x0969, 0x096A, 0x096B, 0x096C, 0x096D, 0x096E, 0x096F },
93 { 0x0F20, 0x0F21, 0x0F22, 0x0F23, 0x0F24, 0x0F25, 0x0F26, 0x0F27, 0x0F28, 0x0F29 },
94 { 0x0030, 0x0430, 0x0432, 0x0433, 0x0434, 0x0454, 0x0455, 0x0437, 0x0438, 0x0473 },
202#define NUMBER_ZERO NumberChar[NumberChar_HalfWidth][0]
203#define NUMBER_ONE NumberChar[NumberChar_HalfWidth][1]
204#define NUMBER_NINE NumberChar[NumberChar_HalfWidth][9]
205#define isNumber(n) ( NUMBER_ZERO <= n && n <= NUMBER_NINE )
206#define isDecimal(n) ( n == DecimalChar[NumberChar_HalfWidth] )
207#define isMinus(n) ( n == MinusChar[NumberChar_HalfWidth] )
208#define isSeparator(n) ( n == SeparatorChar[NumberChar_HalfWidth] )
227 {0x5146, 0x4EBF, 0x4E07, 0x5343, 0x767E, 0x5341},
228 {0x5146, 0x4EBF, 0x4E07, 0x4EDF, 0x4F70, 0x62FE},
229 {0x5146, 0x5104, 0x842C, 0x5343, 0x767E, 0x5341},
230 {0x5146, 0x5104, 0x842C, 0x4EDF, 0x4F70, 0x62FE},
231 {0x5146, 0x5104, 0x4E07, 0x5343, 0x767E, 0x5341},
232 {0x5146, 0x5104, 0x842C, 0x9621, 0x4F70, 0x62FE},
233 {0xC870, 0xC5B5, 0xB9CC, 0xCC9C, 0xBC31, 0xC2ED},
234 {0x5146, 0x5104, 0x4E07, 0x5343, 0x767E, 0x5341},
235 {0x5146, 0x5104, 0x842C, 0x9621, 0x767E, 0x62FE}
259 16, 12, 8, 4, 3, 2, 1
262 {0x4EAC, 0x5146, 0x4EBF, 0x4E07, 0x5343, 0x767E, 0x5341},
263 {0x4EAC, 0x5146, 0x4EBF, 0x4E07, 0x4EDF, 0x4F70, 0x62FE},
264 {0x4EAC, 0x5146, 0x5104, 0x842C, 0x5343, 0x767E, 0x5341},
265 {0x4EAC, 0x5146, 0x5104, 0x842C, 0x4EDF, 0x4F70, 0x62FE},
266 {0x4EAC, 0x5146, 0x5104, 0x4E07, 0x5343, 0x767E, 0x5341},
267 {0x4EAC, 0x5146, 0x5104, 0x842C, 0x9621, 0x4F70, 0x62FE},
268 {0x4EAC, 0xC870, 0xC5B5, 0xB9CC, 0xCC9C, 0xBC31, 0xC2ED},
269 {0x4EAC, 0x5146, 0x5104, 0x4E07, 0x5343, 0x767E, 0x5341},
270 {0x4EAC, 0x5146, 0x5104, 0x842C, 0x9621, 0x767E, 0x62FE}
Constant values shared between i18npool and, for example, the number formatter.
const sal_Int16 Multiplier_Hangul_ko
static sal_uInt16 SeparatorChar[]
const sal_Int16 Multiplier_Lower_zh_TW
const sal_Int16 NumberChar_Upper_zh_TW
const sal_Int16 ExponentCount_7_CJK
const sal_Int16 ExponentCount_6_CJK
const sal_Int16 NumberChar_lo
const sal_Unicode MultiplierChar_7_CJK[][ExponentCount_7_CJK]
const sal_Int16 NumberChar_bn
const sal_Int16 NumberChar_or
const sal_Int16 NumberChar_kn
const sal_Int16 Multiplier_Traditional_ja
const sal_Unicode MinusChar[]
const sal_Int16 NumberChar_ne
const sal_Int16 NumberChar_mr
const sal_Int16 NumberChar_Traditional_ja
const sal_Int16 NumberChar_bo
const sal_Int16 NumberChar_cu
const sal_Int16 NumberChar_dz
const sal_Unicode MultiplierChar_2_CJK[][ExponentCount_2_CJK]
const sal_Int16 NumberChar_Upper_zh
const sal_Int16 Multiplier_Count
const sal_Int16 NumberChar_gu
static sal_Unicode DecimalChar[]
const sal_Int16 NumberChar_ml
const sal_Int16 MultiplierExponent_6_CJK[ExponentCount_6_CJK]
const sal_Int16 ExponentCount_2_CJK
const sal_Int16 NumberChar_my
const sal_Int16 NumberChar_ta
const sal_Int16 MultiplierExponent_7_CJK[ExponentCount_7_CJK]
const sal_Int16 NumberChar_HalfWidth
const sal_Int16 Multiplier_Upper_zh_TW
const sal_Int16 NumberChar_Indic_ar
const sal_Int16 NumberChar_FullWidth
const sal_Int16 NumberChar_Lower_zh
const sal_Int16 NumberChar_Modern_ja
const sal_Int16 Multiplier_Upper_zh
const sal_Unicode MultiplierChar_6_CJK[][ExponentCount_6_CJK]
const sal_Int16 Multiplier_Lower_zh
const sal_Int16 MultiplierExponent_2_CJK[ExponentCount_2_CJK]
const sal_Int16 Multiplier_Lower_ko
const sal_Int16 NumberChar_te
const sal_Int16 NumberChar_Count
const sal_Int16 NumberChar_Upper_ko
const sal_Int16 NumberChar_hi
const sal_Unicode NumberChar[][10]
const sal_Int16 NumberChar_Hangul_ko
const sal_Int16 NumberChar_Lower_ko
const sal_Int16 NumberChar_mn
const sal_Int16 Multiplier_Modern_ja
const sal_Int16 NumberChar_th
const sal_Int16 NumberChar_he
const sal_Int16 NumberChar_pa
const sal_Int16 NumberChar_EastIndic_ar
const sal_Int16 NumberChar_km
const sal_Int16 Multiplier_Upper_ko