1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_linguistic2_LinguProperties_idl__
25cdf0e10cSrcweir#define __com_sun_star_linguistic2_LinguProperties_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
28cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir#ifndef __com_sun_star_beans_XFastPropertySet_idl__
31cdf0e10cSrcweir#include <com/sun/star/beans/XFastPropertySet.idl>
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir#ifndef __com_sun_star_lang_XComponent_idl__
34cdf0e10cSrcweir#include <com/sun/star/lang/XComponent.idl>
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweir#ifndef __com_sun_star_lang_XServiceInfo_idl__
37cdf0e10cSrcweir#include <com/sun/star/lang/XServiceInfo.idl>
38cdf0e10cSrcweir#endif
39cdf0e10cSrcweir#ifndef __com_sun_star_lang_Locale_idl__
40cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl>
41cdf0e10cSrcweir#endif
42cdf0e10cSrcweir
43cdf0e10cSrcweir//=============================================================================
44cdf0e10cSrcweir
45cdf0e10cSrcweirmodule com { module sun { module star { module linguistic2 {
46cdf0e10cSrcweir
47cdf0e10cSrcweir//=============================================================================
48cdf0e10cSrcweir/**	the set of linguistic relevant properties.
49cdf0e10cSrcweir*/
50cdf0e10cSrcweirpublished service LinguProperties
51cdf0e10cSrcweir{
52cdf0e10cSrcweir	interface com::sun::star::beans::XPropertySet;
53cdf0e10cSrcweir	interface com::sun::star::beans::XFastPropertySet;
54cdf0e10cSrcweir	interface com::sun::star::lang::XComponent;
55cdf0e10cSrcweir	interface com::sun::star::lang::XServiceInfo;
56cdf0e10cSrcweir
57cdf0e10cSrcweir	//-------------------------------------------------------------------------
58cdf0e10cSrcweir	/**	defines whether new German spelling rules should be used for German
59cdf0e10cSrcweir	 	text or not when doing spellchecking or hyphenation, or using the
60cdf0e10cSrcweir	 	thesaurus.
61cdf0e10cSrcweir
62cdf0e10cSrcweir        @deprecated since OOo 3.0.1
63cdf0e10cSrcweir	  */
64cdf0e10cSrcweir    [property, maybevoid] boolean IsGermanPreReform;
65cdf0e10cSrcweir
66cdf0e10cSrcweir	//-------------------------------------------------------------------------
67cdf0e10cSrcweir	/**	defines if the dictionary-list should be used for spellchecking
68cdf0e10cSrcweir	 	and hyphenation or not.
69cdf0e10cSrcweir	*/
70cdf0e10cSrcweir	[property] boolean IsUseDictionaryList;
71cdf0e10cSrcweir
72cdf0e10cSrcweir	//-------------------------------------------------------------------------
73cdf0e10cSrcweir	/**	defines if control characters should be ignored or not, by the linguistic
74cdf0e10cSrcweir	 	(i.e., spellchecker, hyphenator and thesaurus).
75cdf0e10cSrcweir	*/
76cdf0e10cSrcweir	[property] boolean IsIgnoreControlCharacters;
77cdf0e10cSrcweir
78cdf0e10cSrcweir	//-------------------------------------------------------------------------
79cdf0e10cSrcweir	/**	defines if words with only uppercase letters should be
80cdf0e10cSrcweir	 	subject to spellchecking or not.
81cdf0e10cSrcweir	*/
82cdf0e10cSrcweir	[property] boolean IsSpellUpperCase;
83cdf0e10cSrcweir
84cdf0e10cSrcweir	//-------------------------------------------------------------------------
85cdf0e10cSrcweir	/**	defines if words containing digits (or numbers) should be
86cdf0e10cSrcweir	 	subject to spellchecking or not.
87cdf0e10cSrcweir	*/
88cdf0e10cSrcweir	[property] boolean IsSpellWithDigits;
89cdf0e10cSrcweir
90cdf0e10cSrcweir	//-------------------------------------------------------------------------
91cdf0e10cSrcweir	/**	defines if the captitalization of words should be checked or not.
92cdf0e10cSrcweir	*/
93cdf0e10cSrcweir	[property] boolean IsSpellCapitalization;
94cdf0e10cSrcweir
95cdf0e10cSrcweir	//-------------------------------------------------------------------------
96cdf0e10cSrcweir	/**	the minimum number of characters of a word to remain before the
97cdf0e10cSrcweir	 	hyphen when doing hyphenation.
98cdf0e10cSrcweir	*/
99cdf0e10cSrcweir	[property] short HyphMinLeading;
100cdf0e10cSrcweir
101cdf0e10cSrcweir	//-------------------------------------------------------------------------
102cdf0e10cSrcweir	/**	the minimum number of characters of a word to remain after the
103cdf0e10cSrcweir	 	hyphen when doing hyphenation.
104cdf0e10cSrcweir	*/
105cdf0e10cSrcweir	[property] short HyphMinTrailing;
106cdf0e10cSrcweir
107cdf0e10cSrcweir	//-------------------------------------------------------------------------
108cdf0e10cSrcweir	/**	the minimum length of a word in order to be hyphenated.
109cdf0e10cSrcweir	*/
110cdf0e10cSrcweir	[property] short HyphMinWordLength;
111cdf0e10cSrcweir
112cdf0e10cSrcweir	//-------------------------------------------------------------------------
113cdf0e10cSrcweir    /** the default western language for new documents.
114cdf0e10cSrcweir	*/
115cdf0e10cSrcweir	[property] com::sun::star::lang::Locale DefaultLocale;
116cdf0e10cSrcweir
117cdf0e10cSrcweir	//-------------------------------------------------------------------------
118cdf0e10cSrcweir	/**	defines whether interactive hyphenation should be performed without
119cdf0e10cSrcweir        requiring the user to select every hyphenation position after the user
120cdf0e10cSrcweir        has triggered the hyphenation.
121cdf0e10cSrcweir	*/
122cdf0e10cSrcweir	[property] boolean IsHyphAuto;
123cdf0e10cSrcweir
124cdf0e10cSrcweir	//-------------------------------------------------------------------------
125cdf0e10cSrcweir	/**	defines whether hyphenation should be done in special regions of
126cdf0e10cSrcweir	 	documents or not.
127cdf0e10cSrcweir	*/
128cdf0e10cSrcweir	[property] boolean IsHyphSpecial;
129cdf0e10cSrcweir
130cdf0e10cSrcweir	//-------------------------------------------------------------------------
131cdf0e10cSrcweir	/**	indicates whether spellchecking should be done automatically or not.
132cdf0e10cSrcweir	*/
133cdf0e10cSrcweir	[property] boolean IsSpellAuto;
134cdf0e10cSrcweir
135cdf0e10cSrcweir	//-------------------------------------------------------------------------
136cdf0e10cSrcweir	/**	indicates whether the markings for incorrectly spelled text should be
137cdf0e10cSrcweir	 	hidden or not.
138cdf0e10cSrcweir
139cdf0e10cSrcweir        @deprecated since OOo 3.0.1
140cdf0e10cSrcweir	*/
141cdf0e10cSrcweir    [property, maybevoid] boolean IsSpellHide;
142cdf0e10cSrcweir
143cdf0e10cSrcweir	//-------------------------------------------------------------------------
144cdf0e10cSrcweir	/**	indicates if spellchecking should be performed in all available
145cdf0e10cSrcweir	 	languages.
146cdf0e10cSrcweir
147cdf0e10cSrcweir        @deprecated since OOo 3.0.1
148cdf0e10cSrcweir    */
149cdf0e10cSrcweir    [property, maybevoid] boolean IsSpellInAllLanguages;
150cdf0e10cSrcweir
151cdf0e10cSrcweir	//-------------------------------------------------------------------------
152cdf0e10cSrcweir	/**	defines whether spellchecking should be done in special regions of
153cdf0e10cSrcweir	 	documents or not.
154cdf0e10cSrcweir	*/
155cdf0e10cSrcweir	[property] boolean IsSpellSpecial;
156cdf0e10cSrcweir
157cdf0e10cSrcweir	//-------------------------------------------------------------------------
158cdf0e10cSrcweir	/**	defines whether spellchecking should be done in reverse
159cdf0e10cSrcweir	 	direction or not.
160cdf0e10cSrcweir	*/
161cdf0e10cSrcweir	[property] boolean IsWrapReverse;
162cdf0e10cSrcweir
163cdf0e10cSrcweir	//-------------------------------------------------------------------------
164cdf0e10cSrcweir	/**	the default language for CJK languages.
165cdf0e10cSrcweir	*/
166cdf0e10cSrcweir	[property] com::sun::star::lang::Locale DefaultLocale_CJK;
167cdf0e10cSrcweir
168cdf0e10cSrcweir	//-------------------------------------------------------------------------
169cdf0e10cSrcweir	/**	the default language for CTL languages.
170cdf0e10cSrcweir	*/
171cdf0e10cSrcweir	[property] com::sun::star::lang::Locale DefaultLocale_CTL;
172cdf0e10cSrcweir
173cdf0e10cSrcweir};
174cdf0e10cSrcweir
175cdf0e10cSrcweir//=============================================================================
176cdf0e10cSrcweir
177cdf0e10cSrcweir}; }; }; };
178cdf0e10cSrcweir
179cdf0e10cSrcweir#endif
180