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