merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sheet / SpreadsheetDocumentSettings.idl
blob449df6c3cf1dd5c9ddcab62f2aa7819785c38929
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SpreadsheetDocumentSettings.idl,v $
10 * $Revision: 1.13 $
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_sheet_SpreadsheetDocumentSettings_idl__
32 #define __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__
34 #ifndef __com_sun_star_beans_XPropertySet_idl__
35 #include <com/sun/star/beans/XPropertySet.idl>
36 #endif
38 #ifndef __com_sun_star_util_Date_idl__
39 #include <com/sun/star/util/Date.idl>
40 #endif
42 #ifndef __com_sun_star_i18n_XForbiddenCharacters_idl__
43 #include <com/sun/star/i18n/XForbiddenCharacters.idl>
44 #endif
46 #ifndef __com_sun_star_lang_Locale_idl__
47 #include <com/sun/star/lang/Locale.idl>
48 #endif
50 #ifndef __com_sun_star_awt_XDevice_idl__
51 #include <com/sun/star/awt/XDevice.idl>
52 #endif
54 //=============================================================================
56 module com { module sun { module star { module sheet {
58 //=============================================================================
60 /** contributes properties to control the configuration which is global
61 for all views of a spreadsheet document.
63 @deprecated
65 @see com::sun::star::sheet::SpreadsheetDocument
67 published service SpreadsheetDocumentSettings
69 //-------------------------------------------------------------------------
71 //!published service PropertySet
72 /** provides access to the properties.
74 interface com::sun::star::beans::XPropertySet;
76 //=========================================================================
78 /** enables iterated calculation of circular references.
80 [property] boolean IsIterationEnabled;
82 //-------------------------------------------------------------------------
84 /** specifies how many iterations are carried out.
86 <p>This setting is only used, if iteration is enabled using
87 <member>SpreadsheetDocumentSettings::IsIterationEnabled</member>.</p>
89 [property] long IterationCount;
91 //-------------------------------------------------------------------------
93 /** specifies the point at which a change in results will stop
94 the iteration.
96 <p>More exactly it specifies a difference in the change of the
97 result between two iterations. If the result difference
98 is less than or equal to this epsilon-value, the iteration
99 is stopped.</p>
101 <p>This setting is only used, if iteration is enabled using
102 <member>SpreadsheetDocumentSettings::IsIterationEnabled</member>.</p>
104 [property] double IterationEpsilon;
106 //-------------------------------------------------------------------------
108 /** specifies the number of decimals in the default number format.
110 [property] short StandardDecimals;
112 //-------------------------------------------------------------------------
114 /** specifies the date that is represented by the value zero.
116 [property] com::sun::star::util::Date NullDate;
118 //-------------------------------------------------------------------------
120 /** specifies the width of default tabulators.
122 [property] short DefaultTabStop;
124 //-------------------------------------------------------------------------
126 /** specifies whether upper and lower cases are treated as equal
127 when comparing cells.
129 [property] boolean IgnoreCase;
131 //-------------------------------------------------------------------------
133 /** specifies whether calculations are performed with the rounded
134 values displayed in cells (set to <TRUE/>) instead of the
135 internal values (set to <FALSE/>).
137 [property] boolean CalcAsShown;
139 //-------------------------------------------------------------------------
141 /** specifies whether filter criteria must match entire cell contents.
143 [property] boolean MatchWholeCell;
145 //-------------------------------------------------------------------------
147 /** enables online spell checking.
149 [property] boolean SpellOnline;
151 //-------------------------------------------------------------------------
153 /** specifies whether column or row labels are looked up from
154 anywhere on the sheet.
156 <p>Explicitly defined label ranges are used even if this property
157 is set to <FALSE/>.</p>
159 @see com::sun::star::sheet::LabelRanges
161 [property] boolean LookUpLabels;
163 //-------------------------------------------------------------------------
165 /** specifies whether regular expressions in formulas are enabled,
166 e.g., for functions which look up spreadsheet contents.
168 [property] boolean RegularExpressions;
170 //-------------------------------------------------------------------------
172 /** contains the interface XForbiddenCharacters.
174 [readonly, optional, property] com::sun::star::i18n::XForbiddenCharacters ForbiddenCharacters;
176 //-------------------------------------------------------------------------
178 /** If this property is set the document has DrawPages. Use this
179 property to find out, whether the document has DrawPages or not,
180 because the getDrawPage method on the XDrawPageSupplier and the
181 getDrawPages method on the XDrawPagesSupplier always creates the
182 DrawPages if there are none; and this is very slow and needs more
183 memory.
185 [readonly, optional, property] boolean HasDrawPages;
187 //-------------------------------------------------------------------------
189 /** contains the standard document language for Western text.
191 [optional, property] com::sun::star::lang::Locale CharLocale;
193 //-------------------------------------------------------------------------
195 /** contains the standard document language for Asian text.
197 [optional, property] com::sun::star::lang::Locale CharLocaleAsian;
199 //-------------------------------------------------------------------------
201 /** contains the standard document language for Complex text.
203 [optional, property] com::sun::star::lang::Locale CharLocaleComplex;
205 //-------------------------------------------------------------------------
207 /** specifies whether the document data are already loaded.
209 @since OOo 3.0
211 [optional, property] boolean IsLoaded;
213 //-------------------------------------------------------------------------
215 /** specifies whether the undo command is enabled.
217 @since OOo 3.0
219 [optional, property] boolean IsUndoEnabled;
221 //-------------------------------------------------------------------------
223 /** specifies whether the automatic adjustment of the row height is
224 enabled.
226 @since OOo 3.0
228 [optional, property] boolean IsAdjustHeightEnabled;
230 //-------------------------------------------------------------------------
232 /** specifies whether the automatic execution of links is enabled.
234 @since OOo 3.0
236 [optional, property] boolean IsExecuteLinkEnabled;
238 //-------------------------------------------------------------------------
240 /** contains the reference device used for formatting the document.
242 @since OOo 3.0
244 [readonly, optional, property] com::sun::star::awt::XDevice ReferenceDevice;
248 //=============================================================================
250 }; }; }; };
252 #endif