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 INCLUDED_LINGUISTIC_LNGPROPS_HXX
21 #define INCLUDED_LINGUISTIC_LNGPROPS_HXX
23 #include <unotools/linguprops.hxx>
25 // maximal number of suggestions to be returned in spelling context-menu
26 // (may not include results added by looking up user dictionaries)
27 #define UPN_MAX_NUMBER_OF_SUGGESTIONS "MaxNumberOfSuggestions"
29 // WIDs for property names
30 //!! Don't change values! They are used as the property handles in
31 //!! the service description
32 #define WID_IS_GERMAN_PRE_REFORM UPH_IS_GERMAN_PRE_REFORM /*! deprecated !*/
33 #define WID_IS_USE_DICTIONARY_LIST UPH_IS_USE_DICTIONARY_LIST
34 #define WID_IS_IGNORE_CONTROL_CHARACTERS UPH_IS_IGNORE_CONTROL_CHARACTERS
35 #define WID_IS_SPELL_UPPER_CASE UPH_IS_SPELL_UPPER_CASE
36 #define WID_IS_SPELL_WITH_DIGITS UPH_IS_SPELL_WITH_DIGITS
37 #define WID_IS_SPELL_CAPITALIZATION UPH_IS_SPELL_CAPITALIZATION
38 #define WID_HYPH_MIN_LEADING UPH_HYPH_MIN_LEADING
39 #define WID_HYPH_MIN_TRAILING UPH_HYPH_MIN_TRAILING
40 #define WID_HYPH_MIN_WORD_LENGTH UPH_HYPH_MIN_WORD_LENGTH
41 #define WID_DEFAULT_LOCALE UPH_DEFAULT_LOCALE
42 #define WID_IS_SPELL_AUTO UPH_IS_SPELL_AUTO
43 #define WID_IS_SPELL_HIDE UPH_IS_SPELL_HIDE /*! deprecated !*/
44 #define WID_IS_SPELL_IN_ALL_LANGUAGES UPH_IS_SPELL_IN_ALL_LANGUAGES /*! deprecated !*/
45 #define WID_IS_SPELL_SPECIAL UPH_IS_SPELL_SPECIAL
46 #define WID_IS_HYPH_AUTO UPH_IS_HYPH_AUTO
47 #define WID_IS_HYPH_SPECIAL UPH_IS_HYPH_SPECIAL
48 #define WID_IS_WRAP_REVERSE UPH_IS_WRAP_REVERSE
49 #define WID_DEFAULT_LANGUAGE UPH_DEFAULT_LANGUAGE
50 #define WID_DEFAULT_LOCALE_CJK UPH_DEFAULT_LOCALE_CJK
51 #define WID_DEFAULT_LOCALE_CTL UPH_DEFAULT_LOCALE_CTL
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */