1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TransliterationModulesNew.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_i18n_TransliterationModulesNew_idl__
31 #define __com_sun_star_i18n_TransliterationModulesNew_idl__
33 //=============================================================================
35 module com
{ module sun
{ module star
{ module i18n
{
37 //=============================================================================
39 /** New transliteration module enumeration to use with
40 <member>XTransliteration::loadModuleNew()</member>
43 published
enum TransliterationModulesNew
45 /// Transliterate a string from upper case to lower case
46 UPPERCASE_LOWERCASE
= 1,
47 /// Transliterate a string from lower case to upper case
48 LOWERCASE_UPPERCASE
= 2,
49 /// Transliterate a string from half width character to full width character
50 HALFWIDTH_FULLWIDTH
= 3,
51 /// Transliterate a string from full width character to half width character
52 FULLWIDTH_HALFWIDTH
= 4,
53 /// Transliterate a Japanese string from Katakana to Hiragana
54 KATAKANA_HIRAGANA
= 5,
55 /// Transliterate a Japanese string from Hiragnan to Katakana
56 HIRAGANA_KATAKANA
= 6,
57 /// Ignore case when comparing strings by transliteration service
59 /// Ignore Hiragana and Katakana when comparing strings by transliteration service
60 IGNORE_KANA
= 8, // ja_JP
61 /// Ignore full width and half width characters when comparing strings by transliteration service
62 IGNORE_WIDTH
= 9, // ja_JP
63 /// Ignore Japanese traditional Kanji characters in Japanese fuzzy search
64 ignoreTraditionalKanji_ja_JP
= 10,
65 /// Ignore Japanese traditional Katakana and Hiragana characters in Japanese fuzzy search
66 ignoreTraditionalKana_ja_JP
= 11,
67 /// Ignore dash or minus sign in Japanese fuzzy search
68 ignoreMinusSign_ja_JP
= 12,
69 /// Ignore Hiragana and Katakana iteration mark in Japanese fuzzy search
70 ignoreIterationMark_ja_JP
= 13,
71 /// Ignore separator punctuations in Japanese fuzzy search
72 ignoreSeparator_ja_JP
= 14,
73 /// Ignore Katakana and Hiragana Zi/Zi and Zu/Zu in Japanese fuzzy search
74 ignoreZiZu_ja_JP
= 15,
75 /// Ignore Katakana and Hiragana Ba/Gua and Ha/Fa in Japanese fuzzy search
76 ignoreBaFa_ja_JP
= 16,
77 /// Ignore Katakana and Hiragana Tsui/Tea/Ti and Dyi/Ji in Japanese fuzzy search
78 ignoreTiJi_ja_JP
= 17,
79 /// Ignore Katakana and Hiragana Hyu/Fyu and Byu/Gyu in Japanese fuzzy search
80 ignoreHyuByu_ja_JP
= 18,
81 /// Ignore Katakana and Hiragana Se/Sye and Ze/Je in Japanese fuzzy search
82 ignoreSeZe_ja_JP
= 19,
83 /// Ignore Katakana YA/A following the character in either I or E row in Japanese fuzzy search
84 ignoreIandEfollowedByYa_ja_JP
= 20,
85 /// Ignore Katakana KI/KU following the character in SA column in Japanese fuzzy search
86 ignoreKiKuFollowedBySa_ja_JP
= 21,
87 /// Ignore Japanese normal and small sized character in Japanese fuzzy search
88 ignoreSize_ja_JP
= 22,
89 /// Ignore Japanese prolonged sound mark in Japanese fuzzy search
90 ignoreProlongedSoundMark_ja_JP
= 23,
91 /// Ignore middle dot in Japanese fuzzy search
92 ignoreMiddleDot_ja_JP
= 24,
93 /// Ignore white space characters, include space, TAB, return, etc. in Japanese fuzzy search
94 ignoreSpace_ja_JP
= 25,
95 /// transliterate Japanese small sized character to normal sized character
96 smallToLarge_ja_JP
= 26,
97 /// transliterate Japanese normal sized character to small sized character
98 largeToSmall_ja_JP
= 27,
99 /// Transliterate an ascii number string to Simplified Chinese lower case number string in spellout format
100 NumToTextLower_zh_CN
= 28,
101 /// Transliterate an ascii number string to Simplified Chinese upper case number string in spellout format
102 NumToTextUpper_zh_CN
= 29,
103 /// Transliterate an ascii number string to Traditional Chinese lower case number string in spellout format
104 NumToTextLower_zh_TW
= 30,
105 /// Transliterate an ascii number string to Traditional Chinese upper case number string in spellout format
106 NumToTextUpper_zh_TW
= 31,
107 /// Transliterate an ascii number string to formal Korean Hangul number string in spellout format
108 NumToTextFormalHangul_ko
= 32,
109 /// Transliterate an ascii number string to formal Korean Hanja lower case number string in spellout format
110 NumToTextFormalLower_ko
= 33,
111 /// Transliterate an ascii number string to formal Korean Hanja upper case number string in spellout format
112 NumToTextFormalUpper_ko
= 34,
113 /// Transliterate an ascii number string to informal Korean Hangul number string in spellout format
114 NumToTextInformalHangul_ko
= 35,
115 /// Transliterate an ascii number string to informal Korean Hanja lower case number string in spellout format
116 NumToTextInformalLower_ko
= 36,
117 /// Transliterate an ascii number string to informal Korean Hanja upper case number string in spellout format
118 NumToTextInformalUpper_ko
= 37,
119 /// Transliterate an ascii number string to Simplified Chinese lower case number string
120 NumToCharLower_zh_CN
= 38,
121 /// Transliterate an ascii number string to Simplified Chinese upper case number string
122 NumToCharUpper_zh_CN
= 39,
123 /// Transliterate an ascii number string to Traditional Chinese lower case number string
124 NumToCharLower_zh_TW
= 40,
125 /// Transliterate an ascii number string to Traditional Chinese upper case number string
126 NumToCharUpper_zh_TW
= 41,
127 /// Transliterate an ascii number string to Korean Hangul number string
128 NumToCharHangul_ko
= 42,
129 /// Transliterate an ascii number string to Korean Hanja lower case number string
130 NumToCharLower_ko
= 43,
131 /// Transliterate an ascii number string to Korean Hanja upper case number string
132 NumToCharUpper_ko
= 44,
133 /// Transliterate a half width number string to full width number string
134 NumToCharFullwidth
= 45,
135 /// Transliterate an ascii number string to Japanese Kanji number string
136 NumToCharKanjiShort_ja_JP
= 46,
137 /// Transliterate a Simplified Chinese lower case number string (sepllout) to ascii number string
138 TextToNumLower_zh_CN
= 47,
139 /// Transliterate a Simplified Chinese upper case number string (sepllout) to ascii number string
140 TextToNumUpper_zh_CN
= 48,
141 /// Transliterate a Traditional Chinese lower case number string (sepllout) to ascii number string
142 TextToNumLower_zh_TW
= 49,
143 /// Transliterate a Traditional Chinese upper case number string (sepllout) to ascii number string
144 TextToNumUpper_zh_TW
= 50,
145 /// Transliterate a Korean formal Hangul number string (sepllout) to ascii number string
146 TextToNumFormalHangul_ko
= 51,
147 /// Transliterate a Korean formal Hanja lower case number string (sepllout) to ascii number string
148 TextToNumFormalLower_ko
= 52,
149 /// Transliterate a Korean formal Hanja upper case number string (sepllout) to ascii number string
150 TextToNumFormalUpper_ko
= 53,
151 /// Transliterate a Korean informal Hangul number string (sepllout) to ascii number string
152 TextToNumInformalHangul_ko
= 54,
153 /// Transliterate a Korean informal Hanja lower case number string (sepllout) to ascii number string
154 TextToNumInformalLower_ko
= 55,
155 /// Transliterate a Korean informal Hanja upper case number string (sepllout) to ascii number string
156 TextToNumInformalUpper_ko
= 56,
157 // 2 Spaces for Japanese TextToNum
158 /// Transliterate a Simplified Chinese lower case number string to ascii number string
159 CharToNumLower_zh_CN
= 59,
160 /// Transliterate a Simplified Chinese upper case number string to ascii number string
161 CharToNumUpper_zh_CN
= 60,
162 /// Transliterate a Traditional Chinese lower case number string to ascii number string
163 CharToNumLower_zh_TW
= 61,
164 /// Transliterate a Traditional Chinese upper case number string to ascii number string
165 CharToNumUpper_zh_TW
= 62,
166 /// Transliterate a Korean Hangul number string to ascii number string
167 CharToNumHangul_ko
= 63,
168 /// Transliterate a Korean Hanja lower case number string to ascii number string
169 CharToNumLower_ko
= 64,
170 /// Transliterate a Korean Hanja upper case number string to ascii number string
171 CharToNumUpper_ko
= 65,
175 //=============================================================================