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 .
20 #ifndef _unotools_LINGUPROPS_HXX_
21 #define _unotools_LINGUPROPS_HXX_
24 // UNO property names for general options
25 #define UPN_IS_GERMAN_PRE_REFORM "IsGermanPreReform" /*! deprecated #i91949 !*/
26 #define UPN_IS_USE_DICTIONARY_LIST "IsUseDictionaryList"
27 #define UPN_IS_IGNORE_CONTROL_CHARACTERS "IsIgnoreControlCharacters"
28 #define UPN_ACTIVE_DICTIONARIES "ActiveDictionaries"
30 // UNO property names for SpellChecker
31 #define UPN_IS_SPELL_UPPER_CASE "IsSpellUpperCase"
32 #define UPN_IS_SPELL_WITH_DIGITS "IsSpellWithDigits"
33 #define UPN_IS_SPELL_CAPITALIZATION "IsSpellCapitalization"
35 // UNO property names for Hyphenator
36 #define UPN_HYPH_MIN_LEADING "HyphMinLeading"
37 #define UPN_HYPH_MIN_TRAILING "HyphMinTrailing"
38 #define UPN_HYPH_MIN_WORD_LENGTH "HyphMinWordLength"
40 // UNO property names for Lingu
41 // (those not covered by the SpellChecker and Hyphenator
42 // properties and more likely to be used in other modules only)
43 #define UPN_DEFAULT_LANGUAGE "DefaultLanguage"
44 #define UPN_DEFAULT_LOCALE "DefaultLocale"
45 #define UPN_DEFAULT_LOCALE_CJK "DefaultLocale_CJK"
46 #define UPN_DEFAULT_LOCALE_CTL "DefaultLocale_CTL"
47 #define UPN_IS_HYPH_AUTO "IsHyphAuto"
48 #define UPN_IS_HYPH_SPECIAL "IsHyphSpecial"
49 #define UPN_IS_SPELL_AUTO "IsSpellAuto"
50 #define UPN_IS_SPELL_HIDE "IsSpellHide" /*! deprecated #i91949 !*/
51 #define UPN_IS_SPELL_IN_ALL_LANGUAGES "IsSpellInAllLanguages" /*! deprecated #i91949 !*/
52 #define UPN_IS_SPELL_SPECIAL "IsSpellSpecial"
53 #define UPN_IS_WRAP_REVERSE "IsWrapReverse"
54 #define UPN_DATA_FILES_CHANGED_CHECK_VALUE "DataFilesChangedCheckValue"
56 // UNO property names for text conversion options
57 #define UPN_ACTIVE_CONVERSION_DICTIONARIES "ActiveConversionDictionaries"
58 #define UPN_IS_IGNORE_POST_POSITIONAL_WORD "IsIgnorePostPositionalWord"
59 #define UPN_IS_AUTO_CLOSE_DIALOG "IsAutoCloseDialog"
60 #define UPN_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST "IsShowEntriesRecentlyUsedFirst"
61 #define UPN_IS_AUTO_REPLACE_UNIQUE_ENTRIES "IsAutoReplaceUniqueEntries"
62 #define UPN_IS_DIRECTION_TO_SIMPLIFIED "IsDirectionToSimplified"
63 #define UPN_IS_USE_CHARACTER_VARIANTS "IsUseCharacterVariants"
64 #define UPN_IS_TRANSLATE_COMMON_TERMS "IsTranslateCommonTerms"
65 #define UPN_IS_REVERSE_MAPPING "IsReverseMapping"
67 // new UNO propertynames to be used with 'dictionaries as extensions'
68 #define UPN_DICTIONARIES "Dictionaries"
69 #define UPN_SPELL_CHECKERS "SpellCheckers"
70 #define UPN_HYPHENATORS "Hyphenators"
71 #define UPN_THESAURI "Thesauri"
72 #define UPN_CURRENT_ACTIVE_DICTIONARIES "CurrentActiveDictionaries"
73 #define UPN_LAST_ACTIVE_DICTIONARIES "LastActiveDictionaries"
75 #define UPN_IS_GRAMMAR_AUTO "IsAutoGrammarCheck"
76 #define UPN_IS_GRAMMAR_INTERACTIVE "IsInteractiveGrammarCheck"
78 // uno property handles
79 #define UPH_IS_GERMAN_PRE_REFORM 0
80 #define UPH_IS_USE_DICTIONARY_LIST 1
81 #define UPH_IS_IGNORE_CONTROL_CHARACTERS 2
82 #define UPH_IS_SPELL_UPPER_CASE 3
83 #define UPH_IS_SPELL_WITH_DIGITS 4
84 #define UPH_IS_SPELL_CAPITALIZATION 5
85 #define UPH_HYPH_MIN_LEADING 6
86 #define UPH_HYPH_MIN_TRAILING 7
87 #define UPH_HYPH_MIN_WORD_LENGTH 8
88 #define UPH_DEFAULT_LOCALE 9
89 #define UPH_IS_SPELL_AUTO 10
90 #define UPH_IS_SPELL_HIDE 11
91 #define UPH_IS_SPELL_IN_ALL_LANGUAGES 12
92 #define UPH_IS_SPELL_SPECIAL 13
93 #define UPH_IS_HYPH_AUTO 14
94 #define UPH_IS_HYPH_SPECIAL 15
95 #define UPH_IS_WRAP_REVERSE 16
96 #define UPH_DATA_FILES_CHANGED_CHECK_VALUE 17
97 #define UPH_DEFAULT_LANGUAGE 21
98 #define UPH_DEFAULT_LOCALE_CJK 22
99 #define UPH_DEFAULT_LOCALE_CTL 23
100 #define UPH_ACTIVE_DICTIONARIES 24
101 #define UPH_ACTIVE_CONVERSION_DICTIONARIES 25
102 #define UPH_IS_IGNORE_POST_POSITIONAL_WORD 26
103 #define UPH_IS_AUTO_CLOSE_DIALOG 27
104 #define UPH_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST 28
105 #define UPH_IS_AUTO_REPLACE_UNIQUE_ENTRIES 29
106 #define UPH_IS_DIRECTION_TO_SIMPLIFIED 30
107 #define UPH_IS_USE_CHARACTER_VARIANTS 31
108 #define UPH_IS_TRANSLATE_COMMON_TERMS 32
109 #define UPH_IS_REVERSE_MAPPING 33
110 #define UPH_IS_GRAMMAR_AUTO 34
111 #define UPH_IS_GRAMMAR_INTERACTIVE 35
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */