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