merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / i18n / TransliterationModulesNew.idl
blob796cf44f5b6e70b850c9a9799197a1d6aeb1ee6a
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 ************************************************************************/
27 #ifndef __com_sun_star_i18n_TransliterationModulesNew_idl__
28 #define __com_sun_star_i18n_TransliterationModulesNew_idl__
30 //=============================================================================
32 module com { module sun { module star { module i18n {
34 //=============================================================================
36 /** New transliteration module enumeration to use with
37 <member>XTransliteration::loadModuleNew()</member>
40 published enum TransliterationModulesNew
42 /// Transliterate a string from upper case to lower case
43 UPPERCASE_LOWERCASE = 1,
44 /// Transliterate a string from lower case to upper case
45 LOWERCASE_UPPERCASE = 2,
46 /// Transliterate a string from half width character to full width character
47 HALFWIDTH_FULLWIDTH = 3,
48 /// Transliterate a string from full width character to half width character
49 FULLWIDTH_HALFWIDTH = 4,
50 /// Transliterate a Japanese string from Katakana to Hiragana
51 KATAKANA_HIRAGANA = 5,
52 /// Transliterate a Japanese string from Hiragnan to Katakana
53 HIRAGANA_KATAKANA = 6,
54 /// Ignore case when comparing strings by transliteration service
55 IGNORE_CASE = 7,
56 /// Ignore Hiragana and Katakana when comparing strings by transliteration service
57 IGNORE_KANA = 8, // ja_JP
58 /// Ignore full width and half width characters when comparing strings by transliteration service
59 IGNORE_WIDTH = 9, // ja_JP
60 /// Ignore Japanese traditional Kanji characters in Japanese fuzzy search
61 ignoreTraditionalKanji_ja_JP = 10,
62 /// Ignore Japanese traditional Katakana and Hiragana characters in Japanese fuzzy search
63 ignoreTraditionalKana_ja_JP = 11,
64 /// Ignore dash or minus sign in Japanese fuzzy search
65 ignoreMinusSign_ja_JP = 12,
66 /// Ignore Hiragana and Katakana iteration mark in Japanese fuzzy search
67 ignoreIterationMark_ja_JP = 13,
68 /// Ignore separator punctuations in Japanese fuzzy search
69 ignoreSeparator_ja_JP = 14,
70 /// Ignore Katakana and Hiragana Zi/Zi and Zu/Zu in Japanese fuzzy search
71 ignoreZiZu_ja_JP = 15,
72 /// Ignore Katakana and Hiragana Ba/Gua and Ha/Fa in Japanese fuzzy search
73 ignoreBaFa_ja_JP = 16,
74 /// Ignore Katakana and Hiragana Tsui/Tea/Ti and Dyi/Ji in Japanese fuzzy search
75 ignoreTiJi_ja_JP = 17,
76 /// Ignore Katakana and Hiragana Hyu/Fyu and Byu/Gyu in Japanese fuzzy search
77 ignoreHyuByu_ja_JP = 18,
78 /// Ignore Katakana and Hiragana Se/Sye and Ze/Je in Japanese fuzzy search
79 ignoreSeZe_ja_JP = 19,
80 /// Ignore Katakana YA/A following the character in either I or E row in Japanese fuzzy search
81 ignoreIandEfollowedByYa_ja_JP = 20,
82 /// Ignore Katakana KI/KU following the character in SA column in Japanese fuzzy search
83 ignoreKiKuFollowedBySa_ja_JP = 21,
84 /// Ignore Japanese normal and small sized character in Japanese fuzzy search
85 ignoreSize_ja_JP = 22,
86 /// Ignore Japanese prolonged sound mark in Japanese fuzzy search
87 ignoreProlongedSoundMark_ja_JP = 23,
88 /// Ignore middle dot in Japanese fuzzy search
89 ignoreMiddleDot_ja_JP = 24,
90 /// Ignore white space characters, include space, TAB, return, etc. in Japanese fuzzy search
91 ignoreSpace_ja_JP = 25,
92 /// transliterate Japanese small sized character to normal sized character
93 smallToLarge_ja_JP = 26,
94 /// transliterate Japanese normal sized character to small sized character
95 largeToSmall_ja_JP = 27,
96 /// Transliterate an ascii number string to Simplified Chinese lower case number string in spellout format
97 NumToTextLower_zh_CN = 28,
98 /// Transliterate an ascii number string to Simplified Chinese upper case number string in spellout format
99 NumToTextUpper_zh_CN = 29,
100 /// Transliterate an ascii number string to Traditional Chinese lower case number string in spellout format
101 NumToTextLower_zh_TW = 30,
102 /// Transliterate an ascii number string to Traditional Chinese upper case number string in spellout format
103 NumToTextUpper_zh_TW = 31,
104 /// Transliterate an ascii number string to formal Korean Hangul number string in spellout format
105 NumToTextFormalHangul_ko = 32,
106 /// Transliterate an ascii number string to formal Korean Hanja lower case number string in spellout format
107 NumToTextFormalLower_ko = 33,
108 /// Transliterate an ascii number string to formal Korean Hanja upper case number string in spellout format
109 NumToTextFormalUpper_ko = 34,
110 /// Transliterate an ascii number string to informal Korean Hangul number string in spellout format
111 NumToTextInformalHangul_ko = 35,
112 /// Transliterate an ascii number string to informal Korean Hanja lower case number string in spellout format
113 NumToTextInformalLower_ko = 36,
114 /// Transliterate an ascii number string to informal Korean Hanja upper case number string in spellout format
115 NumToTextInformalUpper_ko = 37,
116 /// Transliterate an ascii number string to Simplified Chinese lower case number string
117 NumToCharLower_zh_CN = 38,
118 /// Transliterate an ascii number string to Simplified Chinese upper case number string
119 NumToCharUpper_zh_CN = 39,
120 /// Transliterate an ascii number string to Traditional Chinese lower case number string
121 NumToCharLower_zh_TW = 40,
122 /// Transliterate an ascii number string to Traditional Chinese upper case number string
123 NumToCharUpper_zh_TW = 41,
124 /// Transliterate an ascii number string to Korean Hangul number string
125 NumToCharHangul_ko = 42,
126 /// Transliterate an ascii number string to Korean Hanja lower case number string
127 NumToCharLower_ko = 43,
128 /// Transliterate an ascii number string to Korean Hanja upper case number string
129 NumToCharUpper_ko = 44,
130 /// Transliterate a half width number string to full width number string
131 NumToCharFullwidth = 45,
132 /// Transliterate an ascii number string to Japanese Kanji number string
133 NumToCharKanjiShort_ja_JP = 46,
134 /// Transliterate a Simplified Chinese lower case number string (sepllout) to ascii number string
135 TextToNumLower_zh_CN = 47,
136 /// Transliterate a Simplified Chinese upper case number string (sepllout) to ascii number string
137 TextToNumUpper_zh_CN = 48,
138 /// Transliterate a Traditional Chinese lower case number string (sepllout) to ascii number string
139 TextToNumLower_zh_TW = 49,
140 /// Transliterate a Traditional Chinese upper case number string (sepllout) to ascii number string
141 TextToNumUpper_zh_TW = 50,
142 /// Transliterate a Korean formal Hangul number string (sepllout) to ascii number string
143 TextToNumFormalHangul_ko = 51,
144 /// Transliterate a Korean formal Hanja lower case number string (sepllout) to ascii number string
145 TextToNumFormalLower_ko = 52,
146 /// Transliterate a Korean formal Hanja upper case number string (sepllout) to ascii number string
147 TextToNumFormalUpper_ko = 53,
148 /// Transliterate a Korean informal Hangul number string (sepllout) to ascii number string
149 TextToNumInformalHangul_ko = 54,
150 /// Transliterate a Korean informal Hanja lower case number string (sepllout) to ascii number string
151 TextToNumInformalLower_ko = 55,
152 /// Transliterate a Korean informal Hanja upper case number string (sepllout) to ascii number string
153 TextToNumInformalUpper_ko = 56,
154 // 2 Spaces for Japanese TextToNum
155 /// Transliterate a Simplified Chinese lower case number string to ascii number string
156 CharToNumLower_zh_CN = 59,
157 /// Transliterate a Simplified Chinese upper case number string to ascii number string
158 CharToNumUpper_zh_CN = 60,
159 /// Transliterate a Traditional Chinese lower case number string to ascii number string
160 CharToNumLower_zh_TW = 61,
161 /// Transliterate a Traditional Chinese upper case number string to ascii number string
162 CharToNumUpper_zh_TW = 62,
163 /// Transliterate a Korean Hangul number string to ascii number string
164 CharToNumHangul_ko = 63,
165 /// Transliterate a Korean Hanja lower case number string to ascii number string
166 CharToNumLower_ko = 64,
167 /// Transliterate a Korean Hanja upper case number string to ascii number string
168 CharToNumUpper_ko = 65,
169 END_OF_MODULE = 0
172 //=============================================================================
173 }; }; }; };
175 #endif