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