Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / i18n / TransliterationModules.idl
blobcb13f601d1b63c0e9b5016f31f4daa42a4f83866
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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_TransliterationModules_idl__
20 #define __com_sun_star_i18n_TransliterationModules_idl__
23 module com { module sun { module star { module i18n {
26 /** Old transliteration module enumeration.
28 <p> Use with XTransliteration::loadModule() and
29 com::sun::star::util::SearchOptions::transliterateFlags() </p>
31 <p> Note that values &gt;=0x100 are logically or'ed with other values! </p>
34 published enum TransliterationModules
36 /// Transliterate a string from upper case to lower case
37 UPPERCASE_LOWERCASE = 1,
38 /// Transliterate a string from lower case to upper case
39 LOWERCASE_UPPERCASE = 2,
40 /// Transliterate a string from half width character to full width character
41 HALFWIDTH_FULLWIDTH = 3,
42 /// Transliterate a string from full width character to half width character
43 FULLWIDTH_HALFWIDTH = 4,
44 /// Transliterate a Japanese string from Katakana to Hiragana
45 KATAKANA_HIRAGANA = 5,
46 /// Transliterate a Japanese string from Hiragana to Katakana
47 HIRAGANA_KATAKANA = 6,
48 /// Transliterate an ASCII number string to Simplified Chinese lower case number string in spellout format
49 NumToTextLower_zh_CN = 7,
50 /// Transliterate an ASCII number string to Simplified Chinese upper case number string in spellout format
51 NumToTextUpper_zh_CN = 8,
52 /// Transliterate an ASCII number string to Traditional Chinese lower case number string in spellout format
53 NumToTextLower_zh_TW = 9,
54 /// Transliterate an ASCII number string to Traditional Chinese upper case number string in spellout format
55 NumToTextUpper_zh_TW = 10,
56 /// Transliterate an ASCII number string to formal Korean Hangul number string in spellout format
57 NumToTextFormalHangul_ko = 11,
58 /// Transliterate an ASCII number string to formal Korean Hanja lower case number string in spellout format
59 NumToTextFormalLower_ko = 12,
60 /// Transliterate an ASCII number string to formal Korean Hanja upper case number string in spellout format
61 NumToTextFormalUpper_ko = 13,
62 NON_IGNORE_MASK = 0x000000ff,
63 IGNORE_MASK = -0x100,
64 /// Ignore case when comparing strings by transliteration service
65 IGNORE_CASE = 0x00000100,
66 /// Ignore Hiragana and Katakana when comparing strings by transliteration service
67 IGNORE_KANA = 0x00000200, // ja_JP
68 /// Ignore full width and half width character when comparing strings by transliteration service
69 IGNORE_WIDTH = 0x00000400, // ja_JP
70 /// Ignore Japanese traditional Kanji character in Japanese fuzzy search
71 ignoreTraditionalKanji_ja_JP = 0x00001000,
72 /// Ignore Japanese traditional Katakana and Hiragana character in Japanese fuzzy search
73 ignoreTraditionalKana_ja_JP = 0x00002000,
74 /// Ignore dash or minus sign in Japanese fuzzy search
75 ignoreMinusSign_ja_JP = 0x00004000,
76 /// Ignore Hiragana and Katakana iteration mark in Japanese fuzzy search
77 ignoreIterationMark_ja_JP = 0x00008000,
78 /// Ignore separator punctuations in Japanese fuzzy search
79 ignoreSeparator_ja_JP = 0x00010000,
80 /// Ignore Katakana and Hiragana Zi/Zi and Zu/Zu in Japanese fuzzy search
81 ignoreZiZu_ja_JP = 0x00020000,
82 /// Ignore Katakana and Hiragana Ba/Gua and Ha/Fa in Japanese fuzzy search
83 ignoreBaFa_ja_JP = 0x00040000,
84 /// Ignore Katakana and Hiragana Tsui/Tea/Ti and Dyi/Ji in Japanese fuzzy search
85 ignoreTiJi_ja_JP = 0x00080000,
86 /// Ignore Katakana and Hiragana Hyu/Fyu and Byu/Gyu in Japanese fuzzy search
87 ignoreHyuByu_ja_JP = 0x00100000,
88 /// Ignore Katakana and Hiragana Se/Sye and Ze/Je in Japanese fuzzy search
89 ignoreSeZe_ja_JP = 0x00200000,
90 /// Ignore Katakana YA/A which follows the character in either I or E row in Japanese fuzzy search
91 ignoreIandEfollowedByYa_ja_JP = 0x00400000,
92 /// Ignore Katakana KI/KU which follows the character in SA column in Japanese fuzzy search
93 ignoreKiKuFollowedBySa_ja_JP = 0x00800000,
94 /// Ignore Japanese normal and small sized character in Japanese fuzzy search
95 ignoreSize_ja_JP = 0x01000000,
96 /// Ignore Japanese prolonged sound mark in Japanese fuzzy search
97 ignoreProlongedSoundMark_ja_JP = 0x02000000,
98 /// Ignore middle dot in Japanese fuzzy search
99 ignoreMiddleDot_ja_JP = 0x04000000,
100 /// Ignore white space characters, include space, TAB, return, etc. in Japanese fuzzy search
101 ignoreSpace_ja_JP = 0x08000000,
102 /// transliterate Japanese small sized character to normal sized character
103 smallToLarge_ja_JP = 0x10000000,
104 /// transliterate Japanese normal sized character to small sized character
105 largeToSmall_ja_JP = 0x20000000,
106 END_OF_MODULE = 0
109 }; }; }; };
111 #endif
113 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */