Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / i18n / TransliterationModulesExtra.idl
blobbe82cf74821adf3c69bca1454472d7c3e29db98e
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_TransliterationModulesExtra_idl__
20 #define __com_sun_star_i18n_TransliterationModulesExtra_idl__
23 module com { module sun { module star { module i18n {
26 /** Extra transliteration module enumeration to use with
27 XTransliteration::loadModule()
29 The values used in this group need to be different from the ones in
30 TransliterationModules and TransliterationModulesNew!
34 // using a constant group instead of enum leaves room for additional values later on...
35 constants TransliterationModulesExtra
37 /** The first character of the sentence is put in upper case
39 const short SENTENCE_CASE = 200;
42 /** The first character of the word is put in upper case.
43 * This one is part
45 const short TITLE_CASE = 201;
48 /** All characters of the word are to change their case from small letters
49 * to capital letters and vice versa.
51 const short TOGGLE_CASE = 202;
53 /// because we cannot extend TransliterationModule we used TranslationModuleExtra and it will act the same way
54 const long IGNORE_DIACRITICS_CTL = 0x40000000;
55 const long IGNORE_KASHIDA_CTL = 0x00000800;
57 const long END_OF_MODULE = 0;
60 }; }; }; };
62 #endif
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */