office-gobmx/i18npool/inc/bullet.h
2006-07-12 06:58:29 +00:00

430 lines
16 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: bullet.h,v $
*
* $Revision: 1.10 $
*
* last change: $Author: obo $ $Date: 2006-07-12 07:58:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
namespace com { namespace sun { namespace star { namespace i18n {
static sal_Unicode table_AIUFullWidth_ja_JP[] = {
0x30A2, // KATAKANA LETTER A
0x30A4, // KATAKANA LETTER I
0x30A6, // KATAKANA LETTER U
0x30A8, // KATAKANA LETTER E
0x30AA, // KATAKANA LETTER O
0x30AB, // KATAKANA LETTER KA
0x30AD, // KATAKANA LETTER KI
0x30AF, // KATAKANA LETTER KU
0x30B1, // KATAKANA LETTER KE
0x30B3, // KATAKANA LETTER KO
0x30B5, // KATAKANA LETTER SA
0x30B7, // KATAKANA LETTER SI
0x30B9, // KATAKANA LETTER SU
0x30BB, // KATAKANA LETTER SE
0x30BD, // KATAKANA LETTER SO
0x30BF, // KATAKANA LETTER TA
0x30C1, // KATAKANA LETTER TI
0x30C4, // KATAKANA LETTER TU
0x30C6, // KATAKANA LETTER TE
0x30C8, // KATAKANA LETTER TO
0x30CA, // KATAKANA LETTER NA
0x30CB, // KATAKANA LETTER NI
0x30CC, // KATAKANA LETTER NU
0x30CD, // KATAKANA LETTER NE
0x30CE, // KATAKANA LETTER NO
0x30CF, // KATAKANA LETTER HA
0x30D2, // KATAKANA LETTER HI
0x30D5, // KATAKANA LETTER HU
0x30D8, // KATAKANA LETTER HE
0x30DB, // KATAKANA LETTER HO
0x30DE, // KATAKANA LETTER MA
0x30DF, // KATAKANA LETTER MI
0x30E0, // KATAKANA LETTER MU
0x30E1, // KATAKANA LETTER ME
0x30E2, // KATAKANA LETTER MO
0x30E4, // KATAKANA LETTER YA
0x30E6, // KATAKANA LETTER YU
0x30E8, // KATAKANA LETTER YO
0x30E9, // KATAKANA LETTER RA
0x30EA, // KATAKANA LETTER RI
0x30EB, // KATAKANA LETTER RU
0x30EC, // KATAKANA LETTER RE
0x30ED, // KATAKANA LETTER RO
0x30EF, // KATAKANA LETTER WA
0x30F2, // KATAKANA LETTER WO
0x30F3 // KATAKANA LETTER N
};
static sal_Unicode table_AIUHalfWidth_ja_JP[] = {
0xFF71, // HALFWIDTH KATAKANA LETTER A
0xFF72, // HALFWIDTH KATAKANA LETTER I
0xFF73, // HALFWIDTH KATAKANA LETTER U
0xFF74, // HALFWIDTH KATAKANA LETTER E
0xFF75, // HALFWIDTH KATAKANA LETTER O
0xFF76, // HALFWIDTH KATAKANA LETTER KA
0xFF77, // HALFWIDTH KATAKANA LETTER KI
0xFF78, // HALFWIDTH KATAKANA LETTER KU
0xFF79, // HALFWIDTH KATAKANA LETTER KE
0xFF7A, // HALFWIDTH KATAKANA LETTER KO
0xFF7B, // HALFWIDTH KATAKANA LETTER SA
0xFF7C, // HALFWIDTH KATAKANA LETTER SI
0xFF7D, // HALFWIDTH KATAKANA LETTER SU
0xFF7E, // HALFWIDTH KATAKANA LETTER SE
0xFF7F, // HALFWIDTH KATAKANA LETTER SO
0xFF80, // HALFWIDTH KATAKANA LETTER TA
0xFF81, // HALFWIDTH KATAKANA LETTER TI
0xFF82, // HALFWIDTH KATAKANA LETTER TU
0xFF83, // HALFWIDTH KATAKANA LETTER TE
0xFF84, // HALFWIDTH KATAKANA LETTER TO
0xFF85, // HALFWIDTH KATAKANA LETTER NA
0xFF86, // HALFWIDTH KATAKANA LETTER NI
0xFF87, // HALFWIDTH KATAKANA LETTER NU
0xFF88, // HALFWIDTH KATAKANA LETTER NE
0xFF89, // HALFWIDTH KATAKANA LETTER NO
0xFF8A, // HALFWIDTH KATAKANA LETTER HA
0xFF8B, // HALFWIDTH KATAKANA LETTER HI
0xFF8C, // HALFWIDTH KATAKANA LETTER HU
0xFF8D, // HALFWIDTH KATAKANA LETTER HE
0xFF8E, // HALFWIDTH KATAKANA LETTER HO
0xFF8F, // HALFWIDTH KATAKANA LETTER MA
0xFF90, // HALFWIDTH KATAKANA LETTER MI
0xFF91, // HALFWIDTH KATAKANA LETTER MU
0xFF92, // HALFWIDTH KATAKANA LETTER ME
0xFF93, // HALFWIDTH KATAKANA LETTER MO
0xFF94, // HALFWIDTH KATAKANA LETTER YA
0xFF95, // HALFWIDTH KATAKANA LETTER YU
0xFF96, // HALFWIDTH KATAKANA LETTER YO
0xFF97, // HALFWIDTH KATAKANA LETTER RA
0xFF98, // HALFWIDTH KATAKANA LETTER RI
0xFF99, // HALFWIDTH KATAKANA LETTER RU
0xFF9A, // HALFWIDTH KATAKANA LETTER RE
0xFF9B, // HALFWIDTH KATAKANA LETTER RO
0xFF9C, // HALFWIDTH KATAKANA LETTER WA
0xFF66, // HALFWIDTH KATAKANA LETTER WO
0xFF9D // HALFWIDTH KATAKANA LETTER N
};
static sal_Unicode table_IROHAFullWidth_ja_JP[] = {
0x30A4, // KATAKANA LETTER I
0x30ED, // KATAKANA LETTER RO
0x30CF, // KATAKANA LETTER HA
0x30CB, // KATAKANA LETTER NI
0x30DB, // KATAKANA LETTER HO
0x30D8, // KATAKANA LETTER HE
0x30C8, // KATAKANA LETTER TO
0x30C1, // KATAKANA LETTER TI
0x30EA, // KATAKANA LETTER RI
0x30CC, // KATAKANA LETTER NU
0x30EB, // KATAKANA LETTER RU
0x30F2, // KATAKANA LETTER WO
0x30EF, // KATAKANA LETTER WA
0x30AB, // KATAKANA LETTER KA
0x30E8, // KATAKANA LETTER YO
0x30BF, // KATAKANA LETTER TA
0x30EC, // KATAKANA LETTER RE
0x30BD, // KATAKANA LETTER SO
0x30C4, // KATAKANA LETTER TU
0x30CD, // KATAKANA LETTER NE
0x30CA, // KATAKANA LETTER NA
0x30E9, // KATAKANA LETTER RA
0x30E0, // KATAKANA LETTER MU
0x30A6, // KATAKANA LETTER U
0x30F0, // KATAKANA LETTER WI
0x30CE, // KATAKANA LETTER NO
0x30AA, // KATAKANA LETTER O
0x30AF, // KATAKANA LETTER KU
0x30E4, // KATAKANA LETTER YA
0x30DE, // KATAKANA LETTER MA
0x30B1, // KATAKANA LETTER KE
0x30D5, // KATAKANA LETTER HU
0x30B3, // KATAKANA LETTER KO
0x30A8, // KATAKANA LETTER E
0x30C6, // KATAKANA LETTER TE
0x30A2, // KATAKANA LETTER A
0x30B5, // KATAKANA LETTER SA
0x30AD, // KATAKANA LETTER KI
0x30E6, // KATAKANA LETTER YU
0x30E1, // KATAKANA LETTER ME
0x30DF, // KATAKANA LETTER MI
0x30B7, // KATAKANA LETTER SI
0x30F1, // KATAKANA LETTER WE
0x30D2, // KATAKANA LETTER HI
0x30E2, // KATAKANA LETTER MO
0x30BB, // KATAKANA LETTER SE
0x30B9, // KATAKANA LETTER SU
0x30F3 // KATAKANA LETTER N
};
static sal_Unicode table_IROHAHalfWidth_ja_JP[] = {
0xFF72, // HALFWIDTH KATAKANA LETTER I
0xFF9B, // HALFWIDTH KATAKANA LETTER RO
0xFF8A, // HALFWIDTH KATAKANA LETTER HA
0xFF86, // HALFWIDTH KATAKANA LETTER NI
0xFF8E, // HALFWIDTH KATAKANA LETTER HO
0xFF8D, // HALFWIDTH KATAKANA LETTER HE
0xFF84, // HALFWIDTH KATAKANA LETTER TO
0xFF81, // HALFWIDTH KATAKANA LETTER TI
0xFF98, // HALFWIDTH KATAKANA LETTER RI
0xFF87, // HALFWIDTH KATAKANA LETTER NU
0xFF99, // HALFWIDTH KATAKANA LETTER RU
0xFF66, // HALFWIDTH KATAKANA LETTER WO
0xFF9C, // HALFWIDTH KATAKANA LETTER WA
0xFF76, // HALFWIDTH KATAKANA LETTER KA
0xFF96, // HALFWIDTH KATAKANA LETTER YO
0xFF80, // HALFWIDTH KATAKANA LETTER TA
0xFF9A, // HALFWIDTH KATAKANA LETTER RE
0xFF7F, // HALFWIDTH KATAKANA LETTER SO
0xFF82, // HALFWIDTH KATAKANA LETTER TU
0xFF88, // HALFWIDTH KATAKANA LETTER NE
0xFF85, // HALFWIDTH KATAKANA LETTER NA
0xFF97, // HALFWIDTH KATAKANA LETTER RA
0xFF91, // HALFWIDTH KATAKANA LETTER MU
0xFF73, // HALFWIDTH KATAKANA LETTER U
0x30F0, // KATAKANA LETTER WI
0xFF89, // HALFWIDTH KATAKANA LETTER NO
0xFF75, // HALFWIDTH KATAKANA LETTER O
0xFF78, // HALFWIDTH KATAKANA LETTER KU
0xFF94, // HALFWIDTH KATAKANA LETTER YA
0xFF8F, // HALFWIDTH KATAKANA LETTER MA
0xFF79, // HALFWIDTH KATAKANA LETTER KE
0xFF8C, // HALFWIDTH KATAKANA LETTER HU
0xFF7A, // HALFWIDTH KATAKANA LETTER KO
0xFF74, // HALFWIDTH KATAKANA LETTER E
0xFF83, // HALFWIDTH KATAKANA LETTER TE
0xFF71, // HALFWIDTH KATAKANA LETTER A
0xFF7B, // HALFWIDTH KATAKANA LETTER SA
0xFF77, // HALFWIDTH KATAKANA LETTER KI
0xFF95, // HALFWIDTH KATAKANA LETTER YU
0xFF92, // HALFWIDTH KATAKANA LETTER ME
0xFF90, // HALFWIDTH KATAKANA LETTER MI
0xFF7C, // HALFWIDTH KATAKANA LETTER SI
0x30F1, // KATAKANA LETTER WE
0xFF8B, // HALFWIDTH KATAKANA LETTER HI
0xFF93, // HALFWIDTH KATAKANA LETTER MO
0xFF7E, // HALFWIDTH KATAKANA LETTER SE
0xFF7D, // HALFWIDTH KATAKANA LETTER SU
0xFF9D // HALFWIDTH KATAKANA LETTER N
};
static sal_Unicode table_CircledNumber[] = {
0x2460, // CIRCLED DIGIT ONE
0x2461, // CIRCLED DIGIT TWO
0x2462, // CIRCLED DIGIT THREE
0x2463, // CIRCLED DIGIT FOUR
0x2464, // CIRCLED DIGIT FIVE
0x2465, // CIRCLED DIGIT SIX
0x2466, // CIRCLED DIGIT SEVEN
0x2467, // CIRCLED DIGIT EIGHT
0x2468, // CIRCLED DIGIT NINE
0x2469, // CIRCLED NUMBER TEN
0x246A, // CIRCLED NUMBER ELEVEN
0x246B, // CIRCLED NUMBER TWELVE
0x246C, // CIRCLED NUMBER THIRTEEN
0x246D, // CIRCLED NUMBER FOURTEEN
0x246E, // CIRCLED NUMBER FIFTEEN
0x246F, // CIRCLED NUMBER SIXTEEN
0x2470, // CIRCLED NUMBER SEVENTEEN
0x2471, // CIRCLED NUMBER EIGHTEEN
0x2472, // CIRCLED NUMBER NINETEEN
0x2473 // CIRCLED NUMBER TWENTY
};
static sal_Unicode table_HangulJamo_ko[] = {
0x3131, // HANGUL LETTER KIYEOK
0x3134, // HANGUL LETTER NIEUN
0x3137, // HANGUL LETTER TIKEUT
0x3139, // HANGUL LETTER RIEUL
0x3141, // HANGUL LETTER MIEUM
0x3142, // HANGUL LETTER PIEUP
0x3145, // HANGUL LETTER SIOS
0x3147, // HANGUL LETTER IEUNG
0x3148, // HANGUL LETTER CIEUC
0x314A, // HANGUL LETTER CHIEUCH
0x314B, // HANGUL LETTER KHIEUKH
0x314C, // HANGUL LETTER THIEUTH
0x314D, // HANGUL LETTER PHIEUPH
0x314E // HANGUL LETTER HIEUH
};
static sal_Unicode table_HangulSyllable_ko[] = {
0xAC00, // HANGUL SYLLABLE GA
0xB098, // HANGUL SYLLABLE NA
0xB2E4, // HANGUL SYLLABLE DA
0xB77C, // HANGUL SYLLABLE LA
0xB9C8, // HANGUL SYLLABLE MA
0xBC14, // HANGUL SYLLABLE BA
0xC0AC, // HANGUL SYLLABLE SA
0xC544, // HANGUL SYLLABLE A
0xC790, // HANGUL SYLLABLE JA
0xCC28, // HANGUL SYLLABLE CA
0xCE74, // HANGUL SYLLABLE KA
0xD0C0, // HANGUL SYLLABLE TA
0xD30C, // HANGUL SYLLABLE PA
0xD558 // HANGUL SYLLABLE HA
};
static sal_Unicode table_HangulCircledJamo_ko[] = {
0x3260, // CIRCLED HANGUL LETTER KIYEOK
0x3261, // CIRCLED HANGUL LETTER NIEUN
0x3262, // CIRCLED HANGUL LETTER TIKEUT
0x3263, // CIRCLED HANGUL LETTER RIEUL
0x3264, // CIRCLED HANGUL LETTER MIEUM
0x3265, // CIRCLED HANGUL LETTER PIEUP
0x3266, // CIRCLED HANGUL LETTER SIOS
0x3267, // CIRCLED HANGUL LETTER IEUNG
0x3268, // CIRCLED HANGUL LETTER CIEUC
0x3269, // CIRCLED HANGUL LETTER CHIEUCH
0x326A, // CIRCLED HANGUL LETTER KHIEUKH
0x326B, // CIRCLED HANGUL LETTER THIEUTH
0x326C, // CIRCLED HANGUL LETTER PHIEUPH
0x326D // CIRCLED HANGUL LETTER HIEUH
};
static sal_Unicode table_HangulCircledSyllable_ko[] = {
0x326E, // CIRCLED HANGUL SYLLABLE GA
0x326F, // CIRCLED HANGUL SYLLABLE NA
0x3270, // CIRCLED HANGUL SYLLABLE DA
0x3271, // CIRCLED HANGUL SYLLABLE LA
0x3272, // CIRCLED HANGUL SYLLABLE MA
0x3273, // CIRCLED HANGUL SYLLABLE BA
0x3274, // CIRCLED HANGUL SYLLABLE SA
0x3275, // CIRCLED HANGUL SYLLABLE A
0x3276, // CIRCLED HANGUL SYLLABLE JA
0x3277, // CIRCLED HANGUL SYLLABLE CA
0x3278, // CIRCLED HANGUL SYLLABLE KA
0x3279, // CIRCLED HANGUL SYLLABLE TA
0x327A, // CIRCLED HANGUL SYLLABLE PA
0x327B // CIRCLED HANGUL SYLLABLE HA
};
static sal_Unicode table_TianGan_zh[] = {
0x7532,0x4e59,0x4e19,0x4e01,0x620a,0x5df1,0x5e9a,0x8f9b,0x58ec,0x7678
};
static sal_Unicode table_DiZi_zh[] = {
0x5b50,0x4e11,0x5bc5,0x536f,0x8fb0,0x5df3,0x5348,0x672a,0x7533,0x9149,0x620c,0x4ea5
};
// To avoid warnings, include table_Alphabet_... only where needed.
// Later, the tables should be moved to a single cxx file anyway.
#ifdef I18N_NEED_ALPHABET_TABLES
static sal_Unicode table_Alphabet_ar[] = {
0x0623, 0x0628, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E,
0x062F, 0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635,
0x0636, 0x0637, 0x0638, 0x0639, 0x063A, 0x0641, 0x0642,
0x0643, 0x0644, 0x0645, 0x0646, 0x0647, 0x0648, 0x0649
};
static sal_Unicode table_Alphabet_th[] = {
0x0E01, 0x0E02, 0x0E04, 0x0E07,
0x0E08, 0x0E09, 0x0E0A, 0x0E0B, 0x0E0C, 0x0E0D, 0x0E0E, 0x0E0F,
0x0E10, 0x0E11, 0x0E12, 0x0E13, 0x0E14, 0x0E15, 0x0E16, 0x0E17,
0x0E18, 0x0E19, 0x0E1A, 0x0E1B, 0x0E1C, 0x0E1D, 0x0E1E, 0x0E1F,
0x0E20, 0x0E21, 0x0E22, 0x0E23, 0x0E24, 0x0E25, 0x0E26, 0x0E27,
0x0E28, 0x0E29, 0x0E2A, 0x0E2B, 0x0E2C, 0x0E2D, 0x0E2E
};
static sal_Unicode table_Alphabet_he[] = {
0x05D0, 0x05D1, 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7,
0x05D8, 0x05D9, 0x05DB, 0x05DC, 0x05DE, 0x05E0, 0x05E1, 0x05E2,
0x05E4, 0x05E6, 0x05E7, 0x05E8, 0x05E9, 0x05EA
};
static sal_Unicode table_Alphabet_ne[] = {
0x0915, 0x0916, 0x0917, 0x0918, 0x0919, 0x091A, 0x091B, 0x091C,
0x091D, 0x091E, 0x091F, 0x0920, 0x0921, 0x0922, 0x0923, 0x0924,
0x0925, 0x0926, 0x0927, 0x0928, 0x092A, 0x092B, 0x092C, 0x092D,
0x092E, 0x092F, 0x0930, 0x0932, 0x0935, 0x0936, 0x0937, 0x0938,
0x0939
};
static sal_Unicode table_Alphabet_km[] = {
0x1780, 0x1781, 0x1782, 0x1783, 0x1784, 0x1785, 0x1786, 0x1787,
0x1788, 0x1789, 0x178A, 0x178B, 0x178C, 0x178D, 0x178E, 0x178F,
0x1790, 0x1791, 0x1792, 0x1793, 0x1794, 0x1795, 0x1796, 0x1797,
0x1798, 0x1799, 0x179A, 0x179B, 0x179C, 0x179F,
0x17A0, 0x17A1, 0x17A2
};
static sal_Unicode table_Alphabet_lo[] = {
0x0E81, 0x0E82, 0x0E84, 0x0E87, 0x0E88, 0x0E8A, 0x0E8D, 0x0E94,
0x0E95, 0x0E96, 0x0E97, 0x0E99, 0x0E9A, 0x0E9B, 0x0E9C,
0x0E9D, 0x0E9E, 0x0E9F, 0x0EA1, 0x0EA2, 0x0EA3, 0x0EA5, 0x0EA7,
0x0EAA, 0x0EAB, 0x0EAD, 0x0EAE, 0x0EAF, 0x0EAE, 0x0EDC, 0x0EDD
};
static sal_Unicode table_Alphabet_dz[] = {
0x0F40, 0x0F41, 0x0F42, 0x0F44, 0x0F45, 0x0F46, 0x0F47, 0x0F49,
0x0F4F, 0x0F50, 0x0F51, 0x0F53, 0x0F54, 0x0F55, 0x0F56, 0x0F58,
0x0F59, 0x0F5A, 0x0F5B, 0x0F5D, 0x0F5E, 0x0F5F, 0x0F60, 0x0F61,
0x0F62, 0x0F63, 0x0F64, 0x0F66, 0x0F67, 0x0F68
};
// Bulgarian Cyrillic upper case letters
static sal_Unicode table_CyrillicUpperLetter_bg[] = {
0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418,
0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422,
0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042E,
0x042F
};
// Bulgarian cyrillic lower case letters
static sal_Unicode table_CyrillicLowerLetter_bg[] = {
0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438,
0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442,
0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044E,
0x044F
};
// Russian Cyrillic upper letters
static sal_Unicode table_CyrillicUpperLetter_ru[] = {
0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417,
0x0418, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420,
0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428,
0x0429, 0x042B, 0x042D, 0x042E, 0x042F
};
// Russian cyrillic lower letters
static sal_Unicode table_CyrillicLowerLetter_ru[] = {
0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437,
0x0438, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440,
0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448,
0x0449, 0x044B, 0x044D, 0x044E, 0x044F
};
#endif
} } } }