summaryrefslogtreecommitdiff
path: root/i18npool/source/transliteration/data/numberchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/transliteration/data/numberchar.h')
-rw-r--r--i18npool/source/transliteration/data/numberchar.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/i18npool/source/transliteration/data/numberchar.h b/i18npool/source/transliteration/data/numberchar.h
index a87ad29fa4c7..e204f19d95d5 100644
--- a/i18npool/source/transliteration/data/numberchar.h
+++ b/i18npool/source/transliteration/data/numberchar.h
@@ -2,9 +2,9 @@
*
* $RCSfile: numberchar.h,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: khong $ $Date: 2002-05-03 20:40:35 $
+ * last change: $Author: khong $ $Date: 2002-05-30 06:56:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -119,8 +119,6 @@ static sal_Unicode MinusChar[] = {
#define isDecimal(n) ( n == NUMBER_DECIMAL )
#define isMinus(n) ( n == NUMBER_MINUS )
-const sal_Int16 ExponentCount_CJK = 6;
-
const sal_Int16 Multiplier_Lower_zh = 0;
const sal_Int16 Multiplier_Upper_zh = 1;
const sal_Int16 Multiplier_Lower_zh_TW = 2;
@@ -130,6 +128,8 @@ const sal_Int16 Multiplier_Modern_ja = 5;
const sal_Int16 Multiplier_Traditional_ja = 6;
const sal_Int16 Multiplier_Count = 7;
+const sal_Int16 ExponentCount_CJK = 6;
+
static sal_Int16 MultiplierExponent_CJK[ExponentCount_CJK] = {
12, 8, 4, 3, 2, 1
};
@@ -143,6 +143,22 @@ static sal_Unicode MultiplierChar_CJK[][ExponentCount_CJK] = {
0x5146, 0x5104, 0x842C, 0x9621, 0x767E, 0x62FE, // Japanese Traditional
};
+const sal_Int16 ExponentCount_short_CJK = 2;
+
+static sal_Int16 MultiplierExponent_short_CJK[ExponentCount_short_CJK] = {
+ 8, 4,
+};
+
+static sal_Unicode MultiplierChar_short_CJK[][ExponentCount_short_CJK] = {
+ 0x4EBF, 0x4E07, // S. Chinese Lower
+ 0x4EBF, 0x4E07, // S. Chinese Upper
+ 0x5104, 0x842C, // T. Chinese & Korean Lower
+ 0x5104, 0x842C, // T. Chinese & Korean Upper
+ 0xC5B5, 0xB9CC, // Korean Hangul
+ 0x5104, 0x4E07, // Japanese Modern
+ 0x5104, 0x842C, // Japanese Traditional
+};
+
} } } }
#endif // _L10N_TRANSLITERATION_NUMTOCHAR_H_