1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef _LINGUISTIC_LNGPROPS_HHX_
29 #define _LINGUISTIC_LNGPROPS_HHX_
30 
31 #include <unotools/linguprops.hxx>
32 
33 // maximal number of suggestions to be returned in spelling  context-menu
34 // (may not include results added by looking up user dictionaries)
35 #define UPN_MAX_NUMBER_OF_SUGGESTIONS       "MaxNumberOfSuggestions"
36 
37 // WIDs for property names
38 //!! Don't change values! They are used as the property handles in
39 //!! the service description
40 #define WID_IS_GERMAN_PRE_REFORM            UPH_IS_GERMAN_PRE_REFORM        /*! deprecated !*/
41 #define	WID_IS_USE_DICTIONARY_LIST			UPH_IS_USE_DICTIONARY_LIST
42 #define WID_IS_IGNORE_CONTROL_CHARACTERS	UPH_IS_IGNORE_CONTROL_CHARACTERS
43 #define WID_IS_SPELL_UPPER_CASE				UPH_IS_SPELL_UPPER_CASE
44 #define WID_IS_SPELL_WITH_DIGITS			UPH_IS_SPELL_WITH_DIGITS
45 #define WID_IS_SPELL_CAPITALIZATION			UPH_IS_SPELL_CAPITALIZATION
46 #define WID_HYPH_MIN_LEADING				UPH_HYPH_MIN_LEADING
47 #define WID_HYPH_MIN_TRAILING				UPH_HYPH_MIN_TRAILING
48 #define WID_HYPH_MIN_WORD_LENGTH			UPH_HYPH_MIN_WORD_LENGTH
49 #define WID_DEFAULT_LOCALE					UPH_DEFAULT_LOCALE
50 #define WID_IS_SPELL_AUTO					UPH_IS_SPELL_AUTO
51 #define WID_IS_SPELL_HIDE                   UPH_IS_SPELL_HIDE               /*! deprecated !*/
52 #define WID_IS_SPELL_IN_ALL_LANGUAGES       UPH_IS_SPELL_IN_ALL_LANGUAGES   /*! deprecated !*/
53 #define WID_IS_SPELL_SPECIAL				UPH_IS_SPELL_SPECIAL
54 #define WID_IS_HYPH_AUTO					UPH_IS_HYPH_AUTO
55 #define WID_IS_HYPH_SPECIAL					UPH_IS_HYPH_SPECIAL
56 #define WID_IS_WRAP_REVERSE					UPH_IS_WRAP_REVERSE
57 #define WID_DEFAULT_LANGUAGE				UPH_DEFAULT_LANGUAGE
58 #define WID_DEFAULT_LOCALE_CJK				UPH_DEFAULT_LOCALE_CJK
59 #define WID_DEFAULT_LOCALE_CTL				UPH_DEFAULT_LOCALE_CTL
60 
61 #endif
62 
63