1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 namespace com
{ namespace sun
{ namespace star
{ namespace i18n
{
30 static sal_Unicode table_AIUFullWidth_ja_JP
[] = {
31 0x30A2, // KATAKANA LETTER A
32 0x30A4, // KATAKANA LETTER I
33 0x30A6, // KATAKANA LETTER U
34 0x30A8, // KATAKANA LETTER E
35 0x30AA, // KATAKANA LETTER O
36 0x30AB, // KATAKANA LETTER KA
37 0x30AD, // KATAKANA LETTER KI
38 0x30AF, // KATAKANA LETTER KU
39 0x30B1, // KATAKANA LETTER KE
40 0x30B3, // KATAKANA LETTER KO
41 0x30B5, // KATAKANA LETTER SA
42 0x30B7, // KATAKANA LETTER SI
43 0x30B9, // KATAKANA LETTER SU
44 0x30BB, // KATAKANA LETTER SE
45 0x30BD, // KATAKANA LETTER SO
46 0x30BF, // KATAKANA LETTER TA
47 0x30C1, // KATAKANA LETTER TI
48 0x30C4, // KATAKANA LETTER TU
49 0x30C6, // KATAKANA LETTER TE
50 0x30C8, // KATAKANA LETTER TO
51 0x30CA, // KATAKANA LETTER NA
52 0x30CB, // KATAKANA LETTER NI
53 0x30CC, // KATAKANA LETTER NU
54 0x30CD, // KATAKANA LETTER NE
55 0x30CE, // KATAKANA LETTER NO
56 0x30CF, // KATAKANA LETTER HA
57 0x30D2, // KATAKANA LETTER HI
58 0x30D5, // KATAKANA LETTER HU
59 0x30D8, // KATAKANA LETTER HE
60 0x30DB, // KATAKANA LETTER HO
61 0x30DE, // KATAKANA LETTER MA
62 0x30DF, // KATAKANA LETTER MI
63 0x30E0, // KATAKANA LETTER MU
64 0x30E1, // KATAKANA LETTER ME
65 0x30E2, // KATAKANA LETTER MO
66 0x30E4, // KATAKANA LETTER YA
67 0x30E6, // KATAKANA LETTER YU
68 0x30E8, // KATAKANA LETTER YO
69 0x30E9, // KATAKANA LETTER RA
70 0x30EA, // KATAKANA LETTER RI
71 0x30EB, // KATAKANA LETTER RU
72 0x30EC, // KATAKANA LETTER RE
73 0x30ED, // KATAKANA LETTER RO
74 0x30EF, // KATAKANA LETTER WA
75 0x30F2, // KATAKANA LETTER WO
76 0x30F3 // KATAKANA LETTER N
79 static sal_Unicode table_AIUHalfWidth_ja_JP
[] = {
80 0xFF71, // HALFWIDTH KATAKANA LETTER A
81 0xFF72, // HALFWIDTH KATAKANA LETTER I
82 0xFF73, // HALFWIDTH KATAKANA LETTER U
83 0xFF74, // HALFWIDTH KATAKANA LETTER E
84 0xFF75, // HALFWIDTH KATAKANA LETTER O
85 0xFF76, // HALFWIDTH KATAKANA LETTER KA
86 0xFF77, // HALFWIDTH KATAKANA LETTER KI
87 0xFF78, // HALFWIDTH KATAKANA LETTER KU
88 0xFF79, // HALFWIDTH KATAKANA LETTER KE
89 0xFF7A, // HALFWIDTH KATAKANA LETTER KO
90 0xFF7B, // HALFWIDTH KATAKANA LETTER SA
91 0xFF7C, // HALFWIDTH KATAKANA LETTER SI
92 0xFF7D, // HALFWIDTH KATAKANA LETTER SU
93 0xFF7E, // HALFWIDTH KATAKANA LETTER SE
94 0xFF7F, // HALFWIDTH KATAKANA LETTER SO
95 0xFF80, // HALFWIDTH KATAKANA LETTER TA
96 0xFF81, // HALFWIDTH KATAKANA LETTER TI
97 0xFF82, // HALFWIDTH KATAKANA LETTER TU
98 0xFF83, // HALFWIDTH KATAKANA LETTER TE
99 0xFF84, // HALFWIDTH KATAKANA LETTER TO
100 0xFF85, // HALFWIDTH KATAKANA LETTER NA
101 0xFF86, // HALFWIDTH KATAKANA LETTER NI
102 0xFF87, // HALFWIDTH KATAKANA LETTER NU
103 0xFF88, // HALFWIDTH KATAKANA LETTER NE
104 0xFF89, // HALFWIDTH KATAKANA LETTER NO
105 0xFF8A, // HALFWIDTH KATAKANA LETTER HA
106 0xFF8B, // HALFWIDTH KATAKANA LETTER HI
107 0xFF8C, // HALFWIDTH KATAKANA LETTER HU
108 0xFF8D, // HALFWIDTH KATAKANA LETTER HE
109 0xFF8E, // HALFWIDTH KATAKANA LETTER HO
110 0xFF8F, // HALFWIDTH KATAKANA LETTER MA
111 0xFF90, // HALFWIDTH KATAKANA LETTER MI
112 0xFF91, // HALFWIDTH KATAKANA LETTER MU
113 0xFF92, // HALFWIDTH KATAKANA LETTER ME
114 0xFF93, // HALFWIDTH KATAKANA LETTER MO
115 0xFF94, // HALFWIDTH KATAKANA LETTER YA
116 0xFF95, // HALFWIDTH KATAKANA LETTER YU
117 0xFF96, // HALFWIDTH KATAKANA LETTER YO
118 0xFF97, // HALFWIDTH KATAKANA LETTER RA
119 0xFF98, // HALFWIDTH KATAKANA LETTER RI
120 0xFF99, // HALFWIDTH KATAKANA LETTER RU
121 0xFF9A, // HALFWIDTH KATAKANA LETTER RE
122 0xFF9B, // HALFWIDTH KATAKANA LETTER RO
123 0xFF9C, // HALFWIDTH KATAKANA LETTER WA
124 0xFF66, // HALFWIDTH KATAKANA LETTER WO
125 0xFF9D // HALFWIDTH KATAKANA LETTER N
128 static sal_Unicode table_IROHAFullWidth_ja_JP
[] = {
129 0x30A4, // KATAKANA LETTER I
130 0x30ED, // KATAKANA LETTER RO
131 0x30CF, // KATAKANA LETTER HA
132 0x30CB, // KATAKANA LETTER NI
133 0x30DB, // KATAKANA LETTER HO
134 0x30D8, // KATAKANA LETTER HE
135 0x30C8, // KATAKANA LETTER TO
136 0x30C1, // KATAKANA LETTER TI
137 0x30EA, // KATAKANA LETTER RI
138 0x30CC, // KATAKANA LETTER NU
139 0x30EB, // KATAKANA LETTER RU
140 0x30F2, // KATAKANA LETTER WO
141 0x30EF, // KATAKANA LETTER WA
142 0x30AB, // KATAKANA LETTER KA
143 0x30E8, // KATAKANA LETTER YO
144 0x30BF, // KATAKANA LETTER TA
145 0x30EC, // KATAKANA LETTER RE
146 0x30BD, // KATAKANA LETTER SO
147 0x30C4, // KATAKANA LETTER TU
148 0x30CD, // KATAKANA LETTER NE
149 0x30CA, // KATAKANA LETTER NA
150 0x30E9, // KATAKANA LETTER RA
151 0x30E0, // KATAKANA LETTER MU
152 0x30A6, // KATAKANA LETTER U
153 0x30F0, // KATAKANA LETTER WI
154 0x30CE, // KATAKANA LETTER NO
155 0x30AA, // KATAKANA LETTER O
156 0x30AF, // KATAKANA LETTER KU
157 0x30E4, // KATAKANA LETTER YA
158 0x30DE, // KATAKANA LETTER MA
159 0x30B1, // KATAKANA LETTER KE
160 0x30D5, // KATAKANA LETTER HU
161 0x30B3, // KATAKANA LETTER KO
162 0x30A8, // KATAKANA LETTER E
163 0x30C6, // KATAKANA LETTER TE
164 0x30A2, // KATAKANA LETTER A
165 0x30B5, // KATAKANA LETTER SA
166 0x30AD, // KATAKANA LETTER KI
167 0x30E6, // KATAKANA LETTER YU
168 0x30E1, // KATAKANA LETTER ME
169 0x30DF, // KATAKANA LETTER MI
170 0x30B7, // KATAKANA LETTER SI
171 0x30F1, // KATAKANA LETTER WE
172 0x30D2, // KATAKANA LETTER HI
173 0x30E2, // KATAKANA LETTER MO
174 0x30BB, // KATAKANA LETTER SE
175 0x30B9, // KATAKANA LETTER SU
176 0x30F3 // KATAKANA LETTER N
179 static sal_Unicode table_IROHAHalfWidth_ja_JP
[] = {
180 0xFF72, // HALFWIDTH KATAKANA LETTER I
181 0xFF9B, // HALFWIDTH KATAKANA LETTER RO
182 0xFF8A, // HALFWIDTH KATAKANA LETTER HA
183 0xFF86, // HALFWIDTH KATAKANA LETTER NI
184 0xFF8E, // HALFWIDTH KATAKANA LETTER HO
185 0xFF8D, // HALFWIDTH KATAKANA LETTER HE
186 0xFF84, // HALFWIDTH KATAKANA LETTER TO
187 0xFF81, // HALFWIDTH KATAKANA LETTER TI
188 0xFF98, // HALFWIDTH KATAKANA LETTER RI
189 0xFF87, // HALFWIDTH KATAKANA LETTER NU
190 0xFF99, // HALFWIDTH KATAKANA LETTER RU
191 0xFF66, // HALFWIDTH KATAKANA LETTER WO
192 0xFF9C, // HALFWIDTH KATAKANA LETTER WA
193 0xFF76, // HALFWIDTH KATAKANA LETTER KA
194 0xFF96, // HALFWIDTH KATAKANA LETTER YO
195 0xFF80, // HALFWIDTH KATAKANA LETTER TA
196 0xFF9A, // HALFWIDTH KATAKANA LETTER RE
197 0xFF7F, // HALFWIDTH KATAKANA LETTER SO
198 0xFF82, // HALFWIDTH KATAKANA LETTER TU
199 0xFF88, // HALFWIDTH KATAKANA LETTER NE
200 0xFF85, // HALFWIDTH KATAKANA LETTER NA
201 0xFF97, // HALFWIDTH KATAKANA LETTER RA
202 0xFF91, // HALFWIDTH KATAKANA LETTER MU
203 0xFF73, // HALFWIDTH KATAKANA LETTER U
204 0x30F0, // KATAKANA LETTER WI
205 0xFF89, // HALFWIDTH KATAKANA LETTER NO
206 0xFF75, // HALFWIDTH KATAKANA LETTER O
207 0xFF78, // HALFWIDTH KATAKANA LETTER KU
208 0xFF94, // HALFWIDTH KATAKANA LETTER YA
209 0xFF8F, // HALFWIDTH KATAKANA LETTER MA
210 0xFF79, // HALFWIDTH KATAKANA LETTER KE
211 0xFF8C, // HALFWIDTH KATAKANA LETTER HU
212 0xFF7A, // HALFWIDTH KATAKANA LETTER KO
213 0xFF74, // HALFWIDTH KATAKANA LETTER E
214 0xFF83, // HALFWIDTH KATAKANA LETTER TE
215 0xFF71, // HALFWIDTH KATAKANA LETTER A
216 0xFF7B, // HALFWIDTH KATAKANA LETTER SA
217 0xFF77, // HALFWIDTH KATAKANA LETTER KI
218 0xFF95, // HALFWIDTH KATAKANA LETTER YU
219 0xFF92, // HALFWIDTH KATAKANA LETTER ME
220 0xFF90, // HALFWIDTH KATAKANA LETTER MI
221 0xFF7C, // HALFWIDTH KATAKANA LETTER SI
222 0x30F1, // KATAKANA LETTER WE
223 0xFF8B, // HALFWIDTH KATAKANA LETTER HI
224 0xFF93, // HALFWIDTH KATAKANA LETTER MO
225 0xFF7E, // HALFWIDTH KATAKANA LETTER SE
226 0xFF7D, // HALFWIDTH KATAKANA LETTER SU
227 0xFF9D // HALFWIDTH KATAKANA LETTER N
230 static sal_Unicode table_CircledNumber
[] = {
231 0x2460, // CIRCLED DIGIT ONE
232 0x2461, // CIRCLED DIGIT TWO
233 0x2462, // CIRCLED DIGIT THREE
234 0x2463, // CIRCLED DIGIT FOUR
235 0x2464, // CIRCLED DIGIT FIVE
236 0x2465, // CIRCLED DIGIT SIX
237 0x2466, // CIRCLED DIGIT SEVEN
238 0x2467, // CIRCLED DIGIT EIGHT
239 0x2468, // CIRCLED DIGIT NINE
240 0x2469, // CIRCLED NUMBER TEN
241 0x246A, // CIRCLED NUMBER ELEVEN
242 0x246B, // CIRCLED NUMBER TWELVE
243 0x246C, // CIRCLED NUMBER THIRTEEN
244 0x246D, // CIRCLED NUMBER FOURTEEN
245 0x246E, // CIRCLED NUMBER FIFTEEN
246 0x246F, // CIRCLED NUMBER SIXTEEN
247 0x2470, // CIRCLED NUMBER SEVENTEEN
248 0x2471, // CIRCLED NUMBER EIGHTEEN
249 0x2472, // CIRCLED NUMBER NINETEEN
250 0x2473 // CIRCLED NUMBER TWENTY
253 static sal_Unicode table_HangulJamo_ko
[] = {
254 0x3131, // HANGUL LETTER KIYEOK
255 0x3134, // HANGUL LETTER NIEUN
256 0x3137, // HANGUL LETTER TIKEUT
257 0x3139, // HANGUL LETTER RIEUL
258 0x3141, // HANGUL LETTER MIEUM
259 0x3142, // HANGUL LETTER PIEUP
260 0x3145, // HANGUL LETTER SIOS
261 0x3147, // HANGUL LETTER IEUNG
262 0x3148, // HANGUL LETTER CIEUC
263 0x314A, // HANGUL LETTER CHIEUCH
264 0x314B, // HANGUL LETTER KHIEUKH
265 0x314C, // HANGUL LETTER THIEUTH
266 0x314D, // HANGUL LETTER PHIEUPH
267 0x314E // HANGUL LETTER HIEUH
270 static sal_Unicode table_HangulSyllable_ko
[] = {
271 0xAC00, // HANGUL SYLLABLE GA
272 0xB098, // HANGUL SYLLABLE NA
273 0xB2E4, // HANGUL SYLLABLE DA
274 0xB77C, // HANGUL SYLLABLE LA
275 0xB9C8, // HANGUL SYLLABLE MA
276 0xBC14, // HANGUL SYLLABLE BA
277 0xC0AC, // HANGUL SYLLABLE SA
278 0xC544, // HANGUL SYLLABLE A
279 0xC790, // HANGUL SYLLABLE JA
280 0xCC28, // HANGUL SYLLABLE CA
281 0xCE74, // HANGUL SYLLABLE KA
282 0xD0C0, // HANGUL SYLLABLE TA
283 0xD30C, // HANGUL SYLLABLE PA
284 0xD558 // HANGUL SYLLABLE HA
288 static sal_Unicode table_HangulCircledJamo_ko
[] = {
289 0x3260, // CIRCLED HANGUL LETTER KIYEOK
290 0x3261, // CIRCLED HANGUL LETTER NIEUN
291 0x3262, // CIRCLED HANGUL LETTER TIKEUT
292 0x3263, // CIRCLED HANGUL LETTER RIEUL
293 0x3264, // CIRCLED HANGUL LETTER MIEUM
294 0x3265, // CIRCLED HANGUL LETTER PIEUP
295 0x3266, // CIRCLED HANGUL LETTER SIOS
296 0x3267, // CIRCLED HANGUL LETTER IEUNG
297 0x3268, // CIRCLED HANGUL LETTER CIEUC
298 0x3269, // CIRCLED HANGUL LETTER CHIEUCH
299 0x326A, // CIRCLED HANGUL LETTER KHIEUKH
300 0x326B, // CIRCLED HANGUL LETTER THIEUTH
301 0x326C, // CIRCLED HANGUL LETTER PHIEUPH
302 0x326D // CIRCLED HANGUL LETTER HIEUH
306 static sal_Unicode table_HangulCircledSyllable_ko
[] = {
307 0x326E, // CIRCLED HANGUL SYLLABLE GA
308 0x326F, // CIRCLED HANGUL SYLLABLE NA
309 0x3270, // CIRCLED HANGUL SYLLABLE DA
310 0x3271, // CIRCLED HANGUL SYLLABLE LA
311 0x3272, // CIRCLED HANGUL SYLLABLE MA
312 0x3273, // CIRCLED HANGUL SYLLABLE BA
313 0x3274, // CIRCLED HANGUL SYLLABLE SA
314 0x3275, // CIRCLED HANGUL SYLLABLE A
315 0x3276, // CIRCLED HANGUL SYLLABLE JA
316 0x3277, // CIRCLED HANGUL SYLLABLE CA
317 0x3278, // CIRCLED HANGUL SYLLABLE KA
318 0x3279, // CIRCLED HANGUL SYLLABLE TA
319 0x327A, // CIRCLED HANGUL SYLLABLE PA
320 0x327B // CIRCLED HANGUL SYLLABLE HA
323 static sal_Unicode table_TianGan_zh
[] = {
324 0x7532,0x4e59,0x4e19,0x4e01,0x620a,0x5df1,0x5e9a,0x8f9b,0x58ec,0x7678
327 static sal_Unicode table_DiZi_zh
[] = {
328 0x5b50,0x4e11,0x5bc5,0x536f,0x8fb0,0x5df3,0x5348,0x672a,0x7533,0x9149,0x620c,0x4ea5