1*b1cdbd2cSJim Jagielski /**************************************************************
2*b1cdbd2cSJim Jagielski  *
3*b1cdbd2cSJim Jagielski  * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski  * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski  * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski  * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski  * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski  * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski  * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski  *
11*b1cdbd2cSJim Jagielski  *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski  *
13*b1cdbd2cSJim Jagielski  * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski  * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski  * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski  * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski  * under the License.
19*b1cdbd2cSJim Jagielski  *
20*b1cdbd2cSJim Jagielski  *************************************************************/
21*b1cdbd2cSJim Jagielski 
22*b1cdbd2cSJim Jagielski 
23*b1cdbd2cSJim Jagielski 
24*b1cdbd2cSJim Jagielski #ifndef _unotools_LINGUPROPS_HXX_
25*b1cdbd2cSJim Jagielski #define _unotools_LINGUPROPS_HXX_
26*b1cdbd2cSJim Jagielski 
27*b1cdbd2cSJim Jagielski 
28*b1cdbd2cSJim Jagielski // UNO property names for general options
29*b1cdbd2cSJim Jagielski #define UPN_IS_GERMAN_PRE_REFORM			"IsGermanPreReform"		/*! deprecated #i91949 !*/
30*b1cdbd2cSJim Jagielski #define	UPN_IS_USE_DICTIONARY_LIST      	"IsUseDictionaryList"
31*b1cdbd2cSJim Jagielski #define UPN_IS_IGNORE_CONTROL_CHARACTERS	"IsIgnoreControlCharacters"
32*b1cdbd2cSJim Jagielski #define UPN_ACTIVE_DICTIONARIES				"ActiveDictionaries"
33*b1cdbd2cSJim Jagielski 
34*b1cdbd2cSJim Jagielski // UNO property names for SpellChecker
35*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_UPPER_CASE				"IsSpellUpperCase"
36*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_WITH_DIGITS			"IsSpellWithDigits"
37*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_CAPITALIZATION			"IsSpellCapitalization"
38*b1cdbd2cSJim Jagielski 
39*b1cdbd2cSJim Jagielski // UNO property names for Hyphenator
40*b1cdbd2cSJim Jagielski #define UPN_HYPH_MIN_LEADING				"HyphMinLeading"
41*b1cdbd2cSJim Jagielski #define UPN_HYPH_MIN_TRAILING				"HyphMinTrailing"
42*b1cdbd2cSJim Jagielski #define UPN_HYPH_MIN_WORD_LENGTH			"HyphMinWordLength"
43*b1cdbd2cSJim Jagielski 
44*b1cdbd2cSJim Jagielski // UNO property names for Lingu
45*b1cdbd2cSJim Jagielski // (those not covered by the SpellChecker and Hyphenator
46*b1cdbd2cSJim Jagielski // properties and more likely to be used in other modules only)
47*b1cdbd2cSJim Jagielski #define UPN_DEFAULT_LANGUAGE				"DefaultLanguage"
48*b1cdbd2cSJim Jagielski #define UPN_DEFAULT_LOCALE					"DefaultLocale"
49*b1cdbd2cSJim Jagielski #define UPN_DEFAULT_LOCALE_CJK				"DefaultLocale_CJK"
50*b1cdbd2cSJim Jagielski #define UPN_DEFAULT_LOCALE_CTL				"DefaultLocale_CTL"
51*b1cdbd2cSJim Jagielski #define UPN_IS_HYPH_AUTO					"IsHyphAuto"
52*b1cdbd2cSJim Jagielski #define UPN_IS_HYPH_SPECIAL					"IsHyphSpecial"
53*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_AUTO					"IsSpellAuto"
54*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_HIDE					"IsSpellHide"			/*! deprecated #i91949 !*/
55*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_IN_ALL_LANGUAGES		"IsSpellInAllLanguages"	/*! deprecated #i91949 !*/
56*b1cdbd2cSJim Jagielski #define UPN_IS_SPELL_SPECIAL				"IsSpellSpecial"
57*b1cdbd2cSJim Jagielski #define UPN_IS_WRAP_REVERSE					"IsWrapReverse"
58*b1cdbd2cSJim Jagielski #define UPN_DATA_FILES_CHANGED_CHECK_VALUE  "DataFilesChangedCheckValue"
59*b1cdbd2cSJim Jagielski 
60*b1cdbd2cSJim Jagielski // UNO property names for text conversion options
61*b1cdbd2cSJim Jagielski #define UPN_ACTIVE_CONVERSION_DICTIONARIES  "ActiveConversionDictionaries"
62*b1cdbd2cSJim Jagielski #define UPN_IS_IGNORE_POST_POSITIONAL_WORD  "IsIgnorePostPositionalWord"
63*b1cdbd2cSJim Jagielski #define UPN_IS_AUTO_CLOSE_DIALOG            "IsAutoCloseDialog"
64*b1cdbd2cSJim Jagielski #define UPN_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST     "IsShowEntriesRecentlyUsedFirst"
65*b1cdbd2cSJim Jagielski #define UPN_IS_AUTO_REPLACE_UNIQUE_ENTRIES  "IsAutoReplaceUniqueEntries"
66*b1cdbd2cSJim Jagielski #define UPN_IS_DIRECTION_TO_SIMPLIFIED      "IsDirectionToSimplified"
67*b1cdbd2cSJim Jagielski #define UPN_IS_USE_CHARACTER_VARIANTS       "IsUseCharacterVariants"
68*b1cdbd2cSJim Jagielski #define UPN_IS_TRANSLATE_COMMON_TERMS       "IsTranslateCommonTerms"
69*b1cdbd2cSJim Jagielski #define UPN_IS_REVERSE_MAPPING              "IsReverseMapping"
70*b1cdbd2cSJim Jagielski 
71*b1cdbd2cSJim Jagielski // new UNO propertynames to be used with 'dictionaries as extensions'
72*b1cdbd2cSJim Jagielski #define UPN_DICTIONARIES                    "Dictionaries"
73*b1cdbd2cSJim Jagielski #define UPN_SPELL_CHECKERS                  "SpellCheckers"
74*b1cdbd2cSJim Jagielski #define UPN_HYPHENATORS                     "Hyphenators"
75*b1cdbd2cSJim Jagielski #define UPN_THESAURI                        "Thesauri"
76*b1cdbd2cSJim Jagielski #define UPN_CURRENT_ACTIVE_DICTIONARIES     "CurrentActiveDictionaries"
77*b1cdbd2cSJim Jagielski #define UPN_LAST_ACTIVE_DICTIONARIES        "LastActiveDictionaries"
78*b1cdbd2cSJim Jagielski 
79*b1cdbd2cSJim Jagielski #define UPN_IS_GRAMMAR_AUTO                 "IsAutoGrammarCheck"
80*b1cdbd2cSJim Jagielski #define UPN_IS_GRAMMAR_INTERACTIVE          "IsInteractiveGrammarCheck"
81*b1cdbd2cSJim Jagielski 
82*b1cdbd2cSJim Jagielski // uno property handles
83*b1cdbd2cSJim Jagielski #define UPH_IS_GERMAN_PRE_REFORM			 0
84*b1cdbd2cSJim Jagielski #define	UPH_IS_USE_DICTIONARY_LIST			 1
85*b1cdbd2cSJim Jagielski #define UPH_IS_IGNORE_CONTROL_CHARACTERS	 2
86*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_UPPER_CASE				 3
87*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_WITH_DIGITS			 4
88*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_CAPITALIZATION			 5
89*b1cdbd2cSJim Jagielski #define UPH_HYPH_MIN_LEADING				 6
90*b1cdbd2cSJim Jagielski #define UPH_HYPH_MIN_TRAILING				 7
91*b1cdbd2cSJim Jagielski #define UPH_HYPH_MIN_WORD_LENGTH			 8
92*b1cdbd2cSJim Jagielski #define UPH_DEFAULT_LOCALE					 9
93*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_AUTO					10
94*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_HIDE					11
95*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_IN_ALL_LANGUAGES		12
96*b1cdbd2cSJim Jagielski #define UPH_IS_SPELL_SPECIAL				13
97*b1cdbd2cSJim Jagielski #define UPH_IS_HYPH_AUTO					14
98*b1cdbd2cSJim Jagielski #define UPH_IS_HYPH_SPECIAL					15
99*b1cdbd2cSJim Jagielski #define UPH_IS_WRAP_REVERSE					16
100*b1cdbd2cSJim Jagielski #define UPH_DATA_FILES_CHANGED_CHECK_VALUE  17
101*b1cdbd2cSJim Jagielski #define UPH_DEFAULT_LANGUAGE				21
102*b1cdbd2cSJim Jagielski #define UPH_DEFAULT_LOCALE_CJK				22
103*b1cdbd2cSJim Jagielski #define UPH_DEFAULT_LOCALE_CTL				23
104*b1cdbd2cSJim Jagielski #define UPH_ACTIVE_DICTIONARIES				24
105*b1cdbd2cSJim Jagielski #define UPH_ACTIVE_CONVERSION_DICTIONARIES  25
106*b1cdbd2cSJim Jagielski #define UPH_IS_IGNORE_POST_POSITIONAL_WORD  26
107*b1cdbd2cSJim Jagielski #define UPH_IS_AUTO_CLOSE_DIALOG            27
108*b1cdbd2cSJim Jagielski #define UPH_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST     28
109*b1cdbd2cSJim Jagielski #define UPH_IS_AUTO_REPLACE_UNIQUE_ENTRIES  29
110*b1cdbd2cSJim Jagielski #define UPH_IS_DIRECTION_TO_SIMPLIFIED      30
111*b1cdbd2cSJim Jagielski #define UPH_IS_USE_CHARACTER_VARIANTS       31
112*b1cdbd2cSJim Jagielski #define UPH_IS_TRANSLATE_COMMON_TERMS       32
113*b1cdbd2cSJim Jagielski #define UPH_IS_REVERSE_MAPPING              33
114*b1cdbd2cSJim Jagielski #define UPH_IS_GRAMMAR_AUTO                 34
115*b1cdbd2cSJim Jagielski #define UPH_IS_GRAMMAR_INTERACTIVE          35
116*b1cdbd2cSJim Jagielski #endif
117*b1cdbd2cSJim Jagielski 
118