cid#1640468 Dereference after null check
[LibreOffice.git] / offapi / com / sun / star / sheet / SpreadsheetDocumentSettings.idl
blob88ba76947da1943c4d54a0aa3b8ae4ff10e4b126
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 .
21 module com { module sun { module star { module sheet {
24 /** contributes properties to control the configuration which is global
25 for all views of a spreadsheet document.
27 @deprecated
29 @see com::sun::star::sheet::SpreadsheetDocument
31 published service SpreadsheetDocumentSettings
34 //!published service PropertySet
35 /** provides access to the properties.
37 interface com::sun::star::beans::XPropertySet;
40 /** enables iterated calculation of circular references.
42 [property] boolean IsIterationEnabled;
45 /** specifies how many iterations are carried out.
47 <p>This setting is only used, if iteration is enabled using
48 SpreadsheetDocumentSettings::IsIterationEnabled.</p>
50 [property] long IterationCount;
53 /** specifies the point at which a change in results will stop
54 the iteration.
56 <p>More exactly it specifies a difference in the change of the
57 result between two iterations. If the result difference
58 is less than or equal to this epsilon-value, the iteration
59 is stopped.</p>
61 <p>This setting is only used, if iteration is enabled using
62 SpreadsheetDocumentSettings::IsIterationEnabled.</p>
64 [property] double IterationEpsilon;
67 /** specifies the number of decimals in the default number format.
69 [property] short StandardDecimals;
72 /** specifies the date that is represented by the value zero.
74 [property] com::sun::star::util::Date NullDate;
77 /** specifies the width of default tabulators.
79 [property] short DefaultTabStop;
82 /** specifies whether upper and lower cases are treated as equal
83 when comparing cells.
85 [property] boolean IgnoreCase;
88 /** specifies whether calculations are performed with the rounded
89 values displayed in cells (set to `TRUE`) instead of the
90 internal values (set to `FALSE`).
92 [property] boolean CalcAsShown;
95 /** specifies whether filter criteria must match entire cell contents.
97 [property] boolean MatchWholeCell;
100 /** enables online spell checking.
102 [property] boolean SpellOnline;
105 /** specifies whether column or row labels are looked up from
106 anywhere on the sheet.
108 <p>Explicitly defined label ranges are used even if this property
109 is set to `FALSE`.</p>
111 @see com::sun::star::sheet::LabelRanges
113 [property] boolean LookUpLabels;
116 /** specifies whether regular expressions in formulas are enabled,
117 e.g., for functions which look up spreadsheet contents.
119 <p>RegularExpressions and Wildcards are mutually exclusive, only
120 one can have the value `TRUE`. If both are set to `TRUE` via API
121 calls then the last one set takes precedence.</p>
123 [property] boolean RegularExpressions;
126 /** contains the interface XForbiddenCharacters.
128 [readonly, optional, property] com::sun::star::i18n::XForbiddenCharacters ForbiddenCharacters;
131 /** If this property is set the document has DrawPages. Use this
132 property to find out, whether the document has DrawPages or not,
133 because the getDrawPage method on the XDrawPageSupplier and the
134 getDrawPages method on the XDrawPagesSupplier always creates the
135 DrawPages if there are none; and this is very slow and needs more
136 memory.
138 [readonly, optional, property] boolean HasDrawPages;
141 /** contains the standard document language for Western text.
143 [optional, property] com::sun::star::lang::Locale CharLocale;
146 /** contains the standard document language for Asian text.
148 [optional, property] com::sun::star::lang::Locale CharLocaleAsian;
151 /** contains the standard document language for Complex text.
153 [optional, property] com::sun::star::lang::Locale CharLocaleComplex;
156 /** specifies whether the document data are already loaded.
158 @since OOo 3.0
160 [optional, property] boolean IsLoaded;
163 /** specifies whether the undo command is enabled.
165 @since OOo 3.0
167 [optional, property] boolean IsUndoEnabled;
170 /** specifies whether the automatic adjustment of the row height is
171 enabled.
173 </p>This boolean is actually a counter internally, of the number of times
174 something has locked the height, so setting it to false will only perform one
175 unlock operation, and might leave it still locked</p>
177 @since OOo 3.0
179 [optional, property] boolean IsAdjustHeightEnabled;
182 /** specifies whether the automatic execution of links is enabled.
184 @since OOo 3.0
186 [optional, property] boolean IsExecuteLinkEnabled;
189 /** contains the reference device used for formatting the document.
191 @since OOo 3.0
193 [readonly, optional, property] com::sun::star::awt::XDevice ReferenceDevice;
195 /** specifies whether changes record is enabled.
197 <p>No modification applied if the record changes protection is activated
198 information given by SpreadsheetDocumentSettings::IsRecordChangesProtected</p>
200 @since LibreOffice 5.0
202 [optional, property] boolean RecordChanges;
204 /** specifies whether changes record is protected.
206 @since LibreOffice 5.0
208 [readonly,optional, property] boolean IsRecordChangesProtected;
211 /** specifies whether wildcards in formulas are enabled,
212 e.g., for functions which look up spreadsheet contents.
214 <p>Wildcards and RegularExpressions are mutually exclusive, only
215 one can have the value `TRUE`. If both are set to `TRUE` via API
216 calls then the last one set takes precedence.</p>
218 @since LibreOffice 5.2
220 [optional, property] boolean Wildcards;
225 }; }; }; };
227 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */