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