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: LinguProperties.idl,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 __com_sun_star_linguistic2_LinguProperties_idl__
32 #define __com_sun_star_linguistic2_LinguProperties_idl__
34 #ifndef __com_sun_star_beans_XPropertySet_idl__
35 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
37 #ifndef __com_sun_star_beans_XFastPropertySet_idl__
38 #include
<com
/sun
/star
/beans
/XFastPropertySet.idl
>
40 #ifndef __com_sun_star_lang_XComponent_idl__
41 #include
<com
/sun
/star
/lang
/XComponent.idl
>
43 #ifndef __com_sun_star_lang_XServiceInfo_idl__
44 #include
<com
/sun
/star
/lang
/XServiceInfo.idl
>
46 #ifndef __com_sun_star_lang_Locale_idl__
47 #include
<com
/sun
/star
/lang
/Locale.idl
>
50 //=============================================================================
52 module com
{ module sun
{ module star
{ module linguistic2
{
54 //=============================================================================
55 /** the set of linguistic relevant properties.
57 published service LinguProperties
59 interface com
::sun
::star
::beans
::XPropertySet
;
60 interface com
::sun
::star
::beans
::XFastPropertySet
;
61 interface com
::sun
::star
::lang
::XComponent
;
62 interface com
::sun
::star
::lang
::XServiceInfo
;
64 //-------------------------------------------------------------------------
65 /** defines whether new German spelling rules should be used for German
66 text or not when doing spellchecking or hyphenation, or using the
69 @deprecated since OOo 3.0.1
71 [property
, maybevoid
] boolean IsGermanPreReform
;
73 //-------------------------------------------------------------------------
74 /** defines if the dictionary-list should be used for spellchecking
75 and hyphenation or not.
77 [property
] boolean IsUseDictionaryList
;
79 //-------------------------------------------------------------------------
80 /** defines if control characters should be ignored or not, by the linguistic
81 (i.e., spellchecker, hyphenator and thesaurus).
83 [property
] boolean IsIgnoreControlCharacters
;
85 //-------------------------------------------------------------------------
86 /** defines if words with only uppercase letters should be
87 subject to spellchecking or not.
89 [property
] boolean IsSpellUpperCase
;
91 //-------------------------------------------------------------------------
92 /** defines if words containing digits (or numbers) should be
93 subject to spellchecking or not.
95 [property
] boolean IsSpellWithDigits
;
97 //-------------------------------------------------------------------------
98 /** defines if the captitalization of words should be checked or not.
100 [property
] boolean IsSpellCapitalization
;
102 //-------------------------------------------------------------------------
103 /** the minimum number of characters of a word to remain before the
104 hyphen when doing hyphenation.
106 [property
] short HyphMinLeading
;
108 //-------------------------------------------------------------------------
109 /** the minimum number of characters of a word to remain after the
110 hyphen when doing hyphenation.
112 [property
] short HyphMinTrailing
;
114 //-------------------------------------------------------------------------
115 /** the minimum length of a word in order to be hyphenated.
117 [property
] short HyphMinWordLength
;
119 //-------------------------------------------------------------------------
120 /** the default western language for new documents.
122 [property
] com
::sun
::star
::lang
::Locale DefaultLocale
;
124 //-------------------------------------------------------------------------
125 /** defines whether interactive hyphenation should be performed without
126 requiring the user to select every hyphenation position after the user
127 has triggered the hyphenation.
129 [property
] boolean IsHyphAuto
;
131 //-------------------------------------------------------------------------
132 /** defines whether hyphenation should be done in special regions of
135 [property
] boolean IsHyphSpecial
;
137 //-------------------------------------------------------------------------
138 /** indicates whether spellchecking should be done automatically or not.
140 [property
] boolean IsSpellAuto
;
142 //-------------------------------------------------------------------------
143 /** indicates whether the markings for incorrectly spelled text should be
146 @deprecated since OOo 3.0.1
148 [property
, maybevoid
] boolean IsSpellHide
;
150 //-------------------------------------------------------------------------
151 /** indicates if spellchecking should be performed in all available
154 @deprecated since OOo 3.0.1
156 [property
, maybevoid
] boolean IsSpellInAllLanguages
;
158 //-------------------------------------------------------------------------
159 /** defines whether spellchecking should be done in special regions of
162 [property
] boolean IsSpellSpecial
;
164 //-------------------------------------------------------------------------
165 /** defines whether spellchecking should be done in reverse
168 [property
] boolean IsWrapReverse
;
170 //-------------------------------------------------------------------------
171 /** the default language for CJK languages.
173 [property
] com
::sun
::star
::lang
::Locale DefaultLocale_CJK
;
175 //-------------------------------------------------------------------------
176 /** the default language for CTL languages.
178 [property
] com
::sun
::star
::lang
::Locale DefaultLocale_CTL
;
182 //=============================================================================