1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2 /* 3 * This file is part of the LibreOffice project. 4 * 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/. 8 * 9 * This file incorporates work covered by the following license notice: 10 * 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 . 18 */ 19 20 #ifndef INCLUDED_UNOTOOLS_LINGUPROPS_HXX 21 #define INCLUDED_UNOTOOLS_LINGUPROPS_HXX 22 23 // UNO property names for general options 24 #define UPN_IS_GERMAN_PRE_REFORM "IsGermanPreReform" /*! deprecated #i91949 !*/ 25 #define UPN_IS_USE_DICTIONARY_LIST "IsUseDictionaryList" 26 #define UPN_IS_IGNORE_CONTROL_CHARACTERS "IsIgnoreControlCharacters" 27 #define UPN_ACTIVE_DICTIONARIES "ActiveDictionaries" 28 29 // UNO property names for SpellChecker 30 #define UPN_IS_SPELL_UPPER_CASE "IsSpellUpperCase" 31 #define UPN_IS_SPELL_WITH_DIGITS "IsSpellWithDigits" 32 #define UPN_IS_SPELL_CAPITALIZATION "IsSpellCapitalization" 33 34 // UNO property names for Hyphenator 35 #define UPN_HYPH_MIN_LEADING "HyphMinLeading" 36 #define UPN_HYPH_MIN_TRAILING "HyphMinTrailing" 37 #define UPN_HYPH_MIN_WORD_LENGTH "HyphMinWordLength" 38 #define UPN_HYPH_NO_CAPS "HyphNoCaps" 39 40 // UNO property names for Lingu 41 // (those not covered by the SpellChecker and Hyphenator 42 // properties and more likely to be used in other modules only) 43 #define UPN_DEFAULT_LANGUAGE "DefaultLanguage" 44 #define UPN_DEFAULT_LOCALE "DefaultLocale" 45 #define UPN_DEFAULT_LOCALE_CJK "DefaultLocale_CJK" 46 #define UPN_DEFAULT_LOCALE_CTL "DefaultLocale_CTL" 47 #define UPN_IS_HYPH_AUTO "IsHyphAuto" 48 #define UPN_IS_HYPH_SPECIAL "IsHyphSpecial" 49 #define UPN_IS_SPELL_AUTO "IsSpellAuto" 50 #define UPN_IS_SPELL_HIDE "IsSpellHide" /*! deprecated #i91949 !*/ 51 #define UPN_IS_SPELL_IN_ALL_LANGUAGES "IsSpellInAllLanguages" /*! deprecated #i91949 !*/ 52 #define UPN_IS_SPELL_SPECIAL "IsSpellSpecial" 53 #define UPN_IS_WRAP_REVERSE "IsWrapReverse" 54 #define UPN_DATA_FILES_CHANGED_CHECK_VALUE "DataFilesChangedCheckValue" 55 56 // UNO property names for text conversion options 57 #define UPN_ACTIVE_CONVERSION_DICTIONARIES "ActiveConversionDictionaries" 58 #define UPN_IS_IGNORE_POST_POSITIONAL_WORD "IsIgnorePostPositionalWord" 59 #define UPN_IS_AUTO_CLOSE_DIALOG "IsAutoCloseDialog" 60 #define UPN_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST "IsShowEntriesRecentlyUsedFirst" 61 #define UPN_IS_AUTO_REPLACE_UNIQUE_ENTRIES "IsAutoReplaceUniqueEntries" 62 #define UPN_IS_DIRECTION_TO_SIMPLIFIED "IsDirectionToSimplified" 63 #define UPN_IS_USE_CHARACTER_VARIANTS "IsUseCharacterVariants" 64 #define UPN_IS_TRANSLATE_COMMON_TERMS "IsTranslateCommonTerms" 65 #define UPN_IS_REVERSE_MAPPING "IsReverseMapping" 66 67 #define UPN_IS_GRAMMAR_AUTO "IsAutoGrammarCheck" 68 #define UPN_IS_GRAMMAR_INTERACTIVE "IsInteractiveGrammarCheck" 69 70 // uno property handles 71 #define UPH_IS_GERMAN_PRE_REFORM 0 72 #define UPH_IS_USE_DICTIONARY_LIST 1 73 #define UPH_IS_IGNORE_CONTROL_CHARACTERS 2 74 #define UPH_IS_SPELL_UPPER_CASE 3 75 #define UPH_IS_SPELL_WITH_DIGITS 4 76 #define UPH_IS_SPELL_CAPITALIZATION 5 77 #define UPH_HYPH_MIN_LEADING 6 78 #define UPH_HYPH_MIN_TRAILING 7 79 #define UPH_HYPH_MIN_WORD_LENGTH 8 80 #define UPH_DEFAULT_LOCALE 9 81 #define UPH_IS_SPELL_AUTO 10 82 #define UPH_IS_SPELL_HIDE 11 83 #define UPH_IS_SPELL_IN_ALL_LANGUAGES 12 84 #define UPH_IS_SPELL_SPECIAL 13 85 #define UPH_IS_HYPH_AUTO 14 86 #define UPH_IS_HYPH_SPECIAL 15 87 #define UPH_IS_WRAP_REVERSE 16 88 #define UPH_DATA_FILES_CHANGED_CHECK_VALUE 17 89 #define UPH_DEFAULT_LANGUAGE 21 90 #define UPH_DEFAULT_LOCALE_CJK 22 91 #define UPH_DEFAULT_LOCALE_CTL 23 92 #define UPH_ACTIVE_DICTIONARIES 24 93 #define UPH_ACTIVE_CONVERSION_DICTIONARIES 25 94 #define UPH_IS_IGNORE_POST_POSITIONAL_WORD 26 95 #define UPH_IS_AUTO_CLOSE_DIALOG 27 96 #define UPH_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST 28 97 #define UPH_IS_AUTO_REPLACE_UNIQUE_ENTRIES 29 98 #define UPH_IS_DIRECTION_TO_SIMPLIFIED 30 99 #define UPH_IS_USE_CHARACTER_VARIANTS 31 100 #define UPH_IS_TRANSLATE_COMMON_TERMS 32 101 #define UPH_IS_REVERSE_MAPPING 33 102 #define UPH_IS_GRAMMAR_AUTO 34 103 #define UPH_IS_GRAMMAR_INTERACTIVE 35 104 #define UPH_HYPH_NO_CAPS 36 105 #endif 106 107 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 108