1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _LINGUISTIC_LNGPROPS_HHX_
25 #define _LINGUISTIC_LNGPROPS_HHX_
26 
27 #include <unotools/linguprops.hxx>
28 
29 // maximal number of suggestions to be returned in spelling  context-menu
30 // (may not include results added by looking up user dictionaries)
31 #define UPN_MAX_NUMBER_OF_SUGGESTIONS       "MaxNumberOfSuggestions"
32 
33 // WIDs for property names
34 //!! Don't change values! They are used as the property handles in
35 //!! the service description
36 #define WID_IS_GERMAN_PRE_REFORM            UPH_IS_GERMAN_PRE_REFORM        /*! deprecated !*/
37 #define	WID_IS_USE_DICTIONARY_LIST			UPH_IS_USE_DICTIONARY_LIST
38 #define WID_IS_IGNORE_CONTROL_CHARACTERS	UPH_IS_IGNORE_CONTROL_CHARACTERS
39 #define WID_IS_SPELL_UPPER_CASE				UPH_IS_SPELL_UPPER_CASE
40 #define WID_IS_SPELL_WITH_DIGITS			UPH_IS_SPELL_WITH_DIGITS
41 #define WID_IS_SPELL_CAPITALIZATION			UPH_IS_SPELL_CAPITALIZATION
42 #define WID_HYPH_MIN_LEADING				UPH_HYPH_MIN_LEADING
43 #define WID_HYPH_MIN_TRAILING				UPH_HYPH_MIN_TRAILING
44 #define WID_HYPH_MIN_WORD_LENGTH			UPH_HYPH_MIN_WORD_LENGTH
45 #define WID_DEFAULT_LOCALE					UPH_DEFAULT_LOCALE
46 #define WID_IS_SPELL_AUTO					UPH_IS_SPELL_AUTO
47 #define WID_IS_SPELL_HIDE                   UPH_IS_SPELL_HIDE               /*! deprecated !*/
48 #define WID_IS_SPELL_IN_ALL_LANGUAGES       UPH_IS_SPELL_IN_ALL_LANGUAGES   /*! deprecated !*/
49 #define WID_IS_SPELL_SPECIAL				UPH_IS_SPELL_SPECIAL
50 #define WID_IS_HYPH_AUTO					UPH_IS_HYPH_AUTO
51 #define WID_IS_HYPH_SPECIAL					UPH_IS_HYPH_SPECIAL
52 #define WID_IS_WRAP_REVERSE					UPH_IS_WRAP_REVERSE
53 #define WID_DEFAULT_LANGUAGE				UPH_DEFAULT_LANGUAGE
54 #define WID_DEFAULT_LOCALE_CJK				UPH_DEFAULT_LOCALE_CJK
55 #define WID_DEFAULT_LOCALE_CTL				UPH_DEFAULT_LOCALE_CTL
56 
57 #endif
58 
59