1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <sal/types.h>
26 const sal_Unicode table_AIUFullWidth_ja_JP
[] = {
27 0x30A2, // KATAKANA LETTER A
28 0x30A4, // KATAKANA LETTER I
29 0x30A6, // KATAKANA LETTER U
30 0x30A8, // KATAKANA LETTER E
31 0x30AA, // KATAKANA LETTER O
32 0x30AB, // KATAKANA LETTER KA
33 0x30AD, // KATAKANA LETTER KI
34 0x30AF, // KATAKANA LETTER KU
35 0x30B1, // KATAKANA LETTER KE
36 0x30B3, // KATAKANA LETTER KO
37 0x30B5, // KATAKANA LETTER SA
38 0x30B7, // KATAKANA LETTER SI
39 0x30B9, // KATAKANA LETTER SU
40 0x30BB, // KATAKANA LETTER SE
41 0x30BD, // KATAKANA LETTER SO
42 0x30BF, // KATAKANA LETTER TA
43 0x30C1, // KATAKANA LETTER TI
44 0x30C4, // KATAKANA LETTER TU
45 0x30C6, // KATAKANA LETTER TE
46 0x30C8, // KATAKANA LETTER TO
47 0x30CA, // KATAKANA LETTER NA
48 0x30CB, // KATAKANA LETTER NI
49 0x30CC, // KATAKANA LETTER NU
50 0x30CD, // KATAKANA LETTER NE
51 0x30CE, // KATAKANA LETTER NO
52 0x30CF, // KATAKANA LETTER HA
53 0x30D2, // KATAKANA LETTER HI
54 0x30D5, // KATAKANA LETTER HU
55 0x30D8, // KATAKANA LETTER HE
56 0x30DB, // KATAKANA LETTER HO
57 0x30DE, // KATAKANA LETTER MA
58 0x30DF, // KATAKANA LETTER MI
59 0x30E0, // KATAKANA LETTER MU
60 0x30E1, // KATAKANA LETTER ME
61 0x30E2, // KATAKANA LETTER MO
62 0x30E4, // KATAKANA LETTER YA
63 0x30E6, // KATAKANA LETTER YU
64 0x30E8, // KATAKANA LETTER YO
65 0x30E9, // KATAKANA LETTER RA
66 0x30EA, // KATAKANA LETTER RI
67 0x30EB, // KATAKANA LETTER RU
68 0x30EC, // KATAKANA LETTER RE
69 0x30ED, // KATAKANA LETTER RO
70 0x30EF, // KATAKANA LETTER WA
71 0x30F2, // KATAKANA LETTER WO
72 0x30F3 // KATAKANA LETTER N
75 const sal_Unicode table_AIUHalfWidth_ja_JP
[] = {
76 0xFF71, // HALFWIDTH KATAKANA LETTER A
77 0xFF72, // HALFWIDTH KATAKANA LETTER I
78 0xFF73, // HALFWIDTH KATAKANA LETTER U
79 0xFF74, // HALFWIDTH KATAKANA LETTER E
80 0xFF75, // HALFWIDTH KATAKANA LETTER O
81 0xFF76, // HALFWIDTH KATAKANA LETTER KA
82 0xFF77, // HALFWIDTH KATAKANA LETTER KI
83 0xFF78, // HALFWIDTH KATAKANA LETTER KU
84 0xFF79, // HALFWIDTH KATAKANA LETTER KE
85 0xFF7A, // HALFWIDTH KATAKANA LETTER KO
86 0xFF7B, // HALFWIDTH KATAKANA LETTER SA
87 0xFF7C, // HALFWIDTH KATAKANA LETTER SI
88 0xFF7D, // HALFWIDTH KATAKANA LETTER SU
89 0xFF7E, // HALFWIDTH KATAKANA LETTER SE
90 0xFF7F, // HALFWIDTH KATAKANA LETTER SO
91 0xFF80, // HALFWIDTH KATAKANA LETTER TA
92 0xFF81, // HALFWIDTH KATAKANA LETTER TI
93 0xFF82, // HALFWIDTH KATAKANA LETTER TU
94 0xFF83, // HALFWIDTH KATAKANA LETTER TE
95 0xFF84, // HALFWIDTH KATAKANA LETTER TO
96 0xFF85, // HALFWIDTH KATAKANA LETTER NA
97 0xFF86, // HALFWIDTH KATAKANA LETTER NI
98 0xFF87, // HALFWIDTH KATAKANA LETTER NU
99 0xFF88, // HALFWIDTH KATAKANA LETTER NE
100 0xFF89, // HALFWIDTH KATAKANA LETTER NO
101 0xFF8A, // HALFWIDTH KATAKANA LETTER HA
102 0xFF8B, // HALFWIDTH KATAKANA LETTER HI
103 0xFF8C, // HALFWIDTH KATAKANA LETTER HU
104 0xFF8D, // HALFWIDTH KATAKANA LETTER HE
105 0xFF8E, // HALFWIDTH KATAKANA LETTER HO
106 0xFF8F, // HALFWIDTH KATAKANA LETTER MA
107 0xFF90, // HALFWIDTH KATAKANA LETTER MI
108 0xFF91, // HALFWIDTH KATAKANA LETTER MU
109 0xFF92, // HALFWIDTH KATAKANA LETTER ME
110 0xFF93, // HALFWIDTH KATAKANA LETTER MO
111 0xFF94, // HALFWIDTH KATAKANA LETTER YA
112 0xFF95, // HALFWIDTH KATAKANA LETTER YU
113 0xFF96, // HALFWIDTH KATAKANA LETTER YO
114 0xFF97, // HALFWIDTH KATAKANA LETTER RA
115 0xFF98, // HALFWIDTH KATAKANA LETTER RI
116 0xFF99, // HALFWIDTH KATAKANA LETTER RU
117 0xFF9A, // HALFWIDTH KATAKANA LETTER RE
118 0xFF9B, // HALFWIDTH KATAKANA LETTER RO
119 0xFF9C, // HALFWIDTH KATAKANA LETTER WA
120 0xFF66, // HALFWIDTH KATAKANA LETTER WO
121 0xFF9D // HALFWIDTH KATAKANA LETTER N
124 const sal_Unicode table_IROHAFullWidth_ja_JP
[] = {
125 0x30A4, // KATAKANA LETTER I
126 0x30ED, // KATAKANA LETTER RO
127 0x30CF, // KATAKANA LETTER HA
128 0x30CB, // KATAKANA LETTER NI
129 0x30DB, // KATAKANA LETTER HO
130 0x30D8, // KATAKANA LETTER HE
131 0x30C8, // KATAKANA LETTER TO
132 0x30C1, // KATAKANA LETTER TI
133 0x30EA, // KATAKANA LETTER RI
134 0x30CC, // KATAKANA LETTER NU
135 0x30EB, // KATAKANA LETTER RU
136 0x30F2, // KATAKANA LETTER WO
137 0x30EF, // KATAKANA LETTER WA
138 0x30AB, // KATAKANA LETTER KA
139 0x30E8, // KATAKANA LETTER YO
140 0x30BF, // KATAKANA LETTER TA
141 0x30EC, // KATAKANA LETTER RE
142 0x30BD, // KATAKANA LETTER SO
143 0x30C4, // KATAKANA LETTER TU
144 0x30CD, // KATAKANA LETTER NE
145 0x30CA, // KATAKANA LETTER NA
146 0x30E9, // KATAKANA LETTER RA
147 0x30E0, // KATAKANA LETTER MU
148 0x30A6, // KATAKANA LETTER U
149 0x30F0, // KATAKANA LETTER WI
150 0x30CE, // KATAKANA LETTER NO
151 0x30AA, // KATAKANA LETTER O
152 0x30AF, // KATAKANA LETTER KU
153 0x30E4, // KATAKANA LETTER YA
154 0x30DE, // KATAKANA LETTER MA
155 0x30B1, // KATAKANA LETTER KE
156 0x30D5, // KATAKANA LETTER HU
157 0x30B3, // KATAKANA LETTER KO
158 0x30A8, // KATAKANA LETTER E
159 0x30C6, // KATAKANA LETTER TE
160 0x30A2, // KATAKANA LETTER A
161 0x30B5, // KATAKANA LETTER SA
162 0x30AD, // KATAKANA LETTER KI
163 0x30E6, // KATAKANA LETTER YU
164 0x30E1, // KATAKANA LETTER ME
165 0x30DF, // KATAKANA LETTER MI
166 0x30B7, // KATAKANA LETTER SI
167 0x30F1, // KATAKANA LETTER WE
168 0x30D2, // KATAKANA LETTER HI
169 0x30E2, // KATAKANA LETTER MO
170 0x30BB, // KATAKANA LETTER SE
171 0x30B9, // KATAKANA LETTER SU
172 0x30F3 // KATAKANA LETTER N
175 const sal_Unicode table_IROHAHalfWidth_ja_JP
[] = {
176 0xFF72, // HALFWIDTH KATAKANA LETTER I
177 0xFF9B, // HALFWIDTH KATAKANA LETTER RO
178 0xFF8A, // HALFWIDTH KATAKANA LETTER HA
179 0xFF86, // HALFWIDTH KATAKANA LETTER NI
180 0xFF8E, // HALFWIDTH KATAKANA LETTER HO
181 0xFF8D, // HALFWIDTH KATAKANA LETTER HE
182 0xFF84, // HALFWIDTH KATAKANA LETTER TO
183 0xFF81, // HALFWIDTH KATAKANA LETTER TI
184 0xFF98, // HALFWIDTH KATAKANA LETTER RI
185 0xFF87, // HALFWIDTH KATAKANA LETTER NU
186 0xFF99, // HALFWIDTH KATAKANA LETTER RU
187 0xFF66, // HALFWIDTH KATAKANA LETTER WO
188 0xFF9C, // HALFWIDTH KATAKANA LETTER WA
189 0xFF76, // HALFWIDTH KATAKANA LETTER KA
190 0xFF96, // HALFWIDTH KATAKANA LETTER YO
191 0xFF80, // HALFWIDTH KATAKANA LETTER TA
192 0xFF9A, // HALFWIDTH KATAKANA LETTER RE
193 0xFF7F, // HALFWIDTH KATAKANA LETTER SO
194 0xFF82, // HALFWIDTH KATAKANA LETTER TU
195 0xFF88, // HALFWIDTH KATAKANA LETTER NE
196 0xFF85, // HALFWIDTH KATAKANA LETTER NA
197 0xFF97, // HALFWIDTH KATAKANA LETTER RA
198 0xFF91, // HALFWIDTH KATAKANA LETTER MU
199 0xFF73, // HALFWIDTH KATAKANA LETTER U
200 0x30F0, // KATAKANA LETTER WI
201 0xFF89, // HALFWIDTH KATAKANA LETTER NO
202 0xFF75, // HALFWIDTH KATAKANA LETTER O
203 0xFF78, // HALFWIDTH KATAKANA LETTER KU
204 0xFF94, // HALFWIDTH KATAKANA LETTER YA
205 0xFF8F, // HALFWIDTH KATAKANA LETTER MA
206 0xFF79, // HALFWIDTH KATAKANA LETTER KE
207 0xFF8C, // HALFWIDTH KATAKANA LETTER HU
208 0xFF7A, // HALFWIDTH KATAKANA LETTER KO
209 0xFF74, // HALFWIDTH KATAKANA LETTER E
210 0xFF83, // HALFWIDTH KATAKANA LETTER TE
211 0xFF71, // HALFWIDTH KATAKANA LETTER A
212 0xFF7B, // HALFWIDTH KATAKANA LETTER SA
213 0xFF77, // HALFWIDTH KATAKANA LETTER KI
214 0xFF95, // HALFWIDTH KATAKANA LETTER YU
215 0xFF92, // HALFWIDTH KATAKANA LETTER ME
216 0xFF90, // HALFWIDTH KATAKANA LETTER MI
217 0xFF7C, // HALFWIDTH KATAKANA LETTER SI
218 0x30F1, // KATAKANA LETTER WE
219 0xFF8B, // HALFWIDTH KATAKANA LETTER HI
220 0xFF93, // HALFWIDTH KATAKANA LETTER MO
221 0xFF7E, // HALFWIDTH KATAKANA LETTER SE
222 0xFF7D, // HALFWIDTH KATAKANA LETTER SU
223 0xFF9D // HALFWIDTH KATAKANA LETTER N
226 const sal_Unicode table_CircledNumber
[] = {
227 0x2460, // CIRCLED DIGIT ONE
228 0x2461, // CIRCLED DIGIT TWO
229 0x2462, // CIRCLED DIGIT THREE
230 0x2463, // CIRCLED DIGIT FOUR
231 0x2464, // CIRCLED DIGIT FIVE
232 0x2465, // CIRCLED DIGIT SIX
233 0x2466, // CIRCLED DIGIT SEVEN
234 0x2467, // CIRCLED DIGIT EIGHT
235 0x2468, // CIRCLED DIGIT NINE
236 0x2469, // CIRCLED NUMBER TEN
237 0x246A, // CIRCLED NUMBER ELEVEN
238 0x246B, // CIRCLED NUMBER TWELVE
239 0x246C, // CIRCLED NUMBER THIRTEEN
240 0x246D, // CIRCLED NUMBER FOURTEEN
241 0x246E, // CIRCLED NUMBER FIFTEEN
242 0x246F, // CIRCLED NUMBER SIXTEEN
243 0x2470, // CIRCLED NUMBER SEVENTEEN
244 0x2471, // CIRCLED NUMBER EIGHTEEN
245 0x2472, // CIRCLED NUMBER NINETEEN
246 0x2473, // CIRCLED NUMBER TWENTY
247 0x3251, // CIRCLED NUMBER TWENTY ONE
248 0x3252, // CIRCLED NUMBER TWENTY TWO
249 0x3253, // CIRCLED NUMBER TWENTY THREE
250 0x3254, // CIRCLED NUMBER TWENTY FOUR
251 0x3255, // CIRCLED NUMBER TWENTY FIVE
252 0x3256, // CIRCLED NUMBER TWENTY SIX
253 0x3257, // CIRCLED NUMBER TWENTY SEVEN
254 0x3258, // CIRCLED NUMBER TWENTY EIGHT
255 0x3259, // CIRCLED NUMBER TWENTY NINE
256 0x325A, // CIRCLED NUMBER THIRTY
257 0x325B, // CIRCLED NUMBER THIRTY ONE
258 0x325C, // CIRCLED NUMBER THIRTY TWO
259 0x325D, // CIRCLED NUMBER THIRTY THREE
260 0x325E, // CIRCLED NUMBER THIRTY FOUR
261 0x325F, // CIRCLED NUMBER THIRTY FIVE
262 0x32B1, // CIRCLED NUMBER THIRTY SIX
263 0x32B2, // CIRCLED NUMBER THIRTY SEVEN
264 0x32B3, // CIRCLED NUMBER THIRTY EIGHT
265 0x32B4, // CIRCLED NUMBER THIRTY NINE
266 0x32B5, // CIRCLED NUMBER FORTY
267 0x32B6, // CIRCLED NUMBER FORTY ONE
268 0x32B7, // CIRCLED NUMBER FORTY TWO
269 0x32B8, // CIRCLED NUMBER FORTY THREE
270 0x32B9, // CIRCLED NUMBER FORTY FOUR
271 0x32BA, // CIRCLED NUMBER FORTY FIVE
272 0x32BB, // CIRCLED NUMBER FORTY SIX
273 0x32BC, // CIRCLED NUMBER FORTY SEVEN
274 0x32BD, // CIRCLED NUMBER FORTY EIGHT
275 0x32BE, // CIRCLED NUMBER FORTY NINE
276 0x32BF // CIRCLED NUMBER FIFTY
279 const sal_Unicode table_HangulJamo_ko
[] = {
280 0x3131, // HANGUL LETTER KIYEOK
281 0x3134, // HANGUL LETTER NIEUN
282 0x3137, // HANGUL LETTER TIKEUT
283 0x3139, // HANGUL LETTER RIEUL
284 0x3141, // HANGUL LETTER MIEUM
285 0x3142, // HANGUL LETTER PIEUP
286 0x3145, // HANGUL LETTER SIOS
287 0x3147, // HANGUL LETTER IEUNG
288 0x3148, // HANGUL LETTER CIEUC
289 0x314A, // HANGUL LETTER CHIEUCH
290 0x314B, // HANGUL LETTER KHIEUKH
291 0x314C, // HANGUL LETTER THIEUTH
292 0x314D, // HANGUL LETTER PHIEUPH
293 0x314E // HANGUL LETTER HIEUH
296 const sal_Unicode table_HangulSyllable_ko
[] = {
297 0xAC00, // HANGUL SYLLABLE GA
298 0xB098, // HANGUL SYLLABLE NA
299 0xB2E4, // HANGUL SYLLABLE DA
300 0xB77C, // HANGUL SYLLABLE LA
301 0xB9C8, // HANGUL SYLLABLE MA
302 0xBC14, // HANGUL SYLLABLE BA
303 0xC0AC, // HANGUL SYLLABLE SA
304 0xC544, // HANGUL SYLLABLE A
305 0xC790, // HANGUL SYLLABLE JA
306 0xCC28, // HANGUL SYLLABLE CA
307 0xCE74, // HANGUL SYLLABLE KA
308 0xD0C0, // HANGUL SYLLABLE TA
309 0xD30C, // HANGUL SYLLABLE PA
310 0xD558 // HANGUL SYLLABLE HA
314 const sal_Unicode table_HangulCircledJamo_ko
[] = {
315 0x3260, // CIRCLED HANGUL LETTER KIYEOK
316 0x3261, // CIRCLED HANGUL LETTER NIEUN
317 0x3262, // CIRCLED HANGUL LETTER TIKEUT
318 0x3263, // CIRCLED HANGUL LETTER RIEUL
319 0x3264, // CIRCLED HANGUL LETTER MIEUM
320 0x3265, // CIRCLED HANGUL LETTER PIEUP
321 0x3266, // CIRCLED HANGUL LETTER SIOS
322 0x3267, // CIRCLED HANGUL LETTER IEUNG
323 0x3268, // CIRCLED HANGUL LETTER CIEUC
324 0x3269, // CIRCLED HANGUL LETTER CHIEUCH
325 0x326A, // CIRCLED HANGUL LETTER KHIEUKH
326 0x326B, // CIRCLED HANGUL LETTER THIEUTH
327 0x326C, // CIRCLED HANGUL LETTER PHIEUPH
328 0x326D // CIRCLED HANGUL LETTER HIEUH
332 const sal_Unicode table_HangulCircledSyllable_ko
[] = {
333 0x326E, // CIRCLED HANGUL SYLLABLE GA
334 0x326F, // CIRCLED HANGUL SYLLABLE NA
335 0x3270, // CIRCLED HANGUL SYLLABLE DA
336 0x3271, // CIRCLED HANGUL SYLLABLE LA
337 0x3272, // CIRCLED HANGUL SYLLABLE MA
338 0x3273, // CIRCLED HANGUL SYLLABLE BA
339 0x3274, // CIRCLED HANGUL SYLLABLE SA
340 0x3275, // CIRCLED HANGUL SYLLABLE A
341 0x3276, // CIRCLED HANGUL SYLLABLE JA
342 0x3277, // CIRCLED HANGUL SYLLABLE CA
343 0x3278, // CIRCLED HANGUL SYLLABLE KA
344 0x3279, // CIRCLED HANGUL SYLLABLE TA
345 0x327A, // CIRCLED HANGUL SYLLABLE PA
346 0x327B // CIRCLED HANGUL SYLLABLE HA
349 const sal_Unicode table_TianGan_zh
[] = {
350 0x7532,0x4e59,0x4e19,0x4e01,0x620a,0x5df1,0x5e9a,0x8f9b,0x58ec,0x7678
353 const sal_Unicode table_DiZi_zh
[] = {
354 0x5b50,0x4e11,0x5bc5,0x536f,0x8fb0,0x5df3,0x5348,0x672a,0x7533,0x9149,0x620c,0x4ea5
359 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */