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