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