bump product version to 4.1.6.2
[LibreOffice.git] / offapi / com / sun / star / linguistic2 / XLinguProperties.idl
blobf793454c19e01e9811e472bd9d254a63b3cad65e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /**
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 __com_sun_star_linguistic2_XLinguProperties_idl__
21 #define __com_sun_star_linguistic2_XLinguProperties_idl__
23 #include <com/sun/star/beans/XPropertySet.idl>
24 #include <com/sun/star/beans/XFastPropertySet.idl>
25 #include <com/sun/star/lang/XComponent.idl>
26 #include <com/sun/star/lang/Locale.idl>
29 module com { module sun { module star { module linguistic2 {
31 /**
32 Interface for LinguProperties service.
34 @since LibreOffice 4.1
36 published interface XLinguProperties
38 interface com::sun::star::beans::XPropertySet;
40 /** defines if the dictionary-list should be used for spell checking
41 and hyphenation or not.
43 [attribute] boolean IsUseDictionaryList;
45 /** defines if control characters should be ignored or not, by the linguistic
46 (i.e., spell checker, hyphenator and thesaurus).
48 [attribute] boolean IsIgnoreControlCharacters;
50 /** defines if words with only uppercase letters should be
51 subject to spell checking or not.
53 [attribute] boolean IsSpellUpperCase;
55 /** defines if words containing digits (or numbers) should be
56 subject to spell checking or not.
58 [attribute] boolean IsSpellWithDigits;
60 /** defines if the capitalization of words should be checked or not.
62 [attribute] boolean IsSpellCapitalization;
64 /** the minimum number of characters of a word to remain before the
65 hyphen when doing hyphenation.
67 [attribute] short HyphMinLeading;
69 /** the minimum number of characters of a word to remain after the
70 hyphen when doing hyphenation.
72 [attribute] short HyphMinTrailing;
74 /** the minimum length of a word in order to be hyphenated.
76 [attribute] short HyphMinWordLength;
78 /** the default western language for new documents.
80 [attribute] com::sun::star::lang::Locale DefaultLocale;
82 /** defines whether interactive hyphenation should be performed without
83 requiring the user to select every hyphenation position after the user
84 has triggered the hyphenation.
86 [attribute] boolean IsHyphAuto;
88 /** defines whether hyphenation should be done in special regions of
89 documents or not.
91 [attribute] boolean IsHyphSpecial;
93 /** indicates whether spell checking should be done automatically or not.
95 [attribute] boolean IsSpellAuto;
97 /** defines whether spell checking should be done in special regions of
98 documents or not.
100 [attribute] boolean IsSpellSpecial;
102 /** defines whether spell checking should be done in reverse
103 direction or not.
105 [attribute] boolean IsWrapReverse;
107 /** the default language for CJK languages.
109 [attribute] com::sun::star::lang::Locale DefaultLocale_CJK;
111 /** the default language for CTL languages.
113 [attribute] com::sun::star::lang::Locale DefaultLocale_CTL;
118 }; }; }; };
120 #endif
122 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */