1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__ 25cdf0e10cSrcweir#define __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 28cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#ifndef __com_sun_star_util_Date_idl__ 32cdf0e10cSrcweir#include <com/sun/star/util/Date.idl> 33cdf0e10cSrcweir#endif 34cdf0e10cSrcweir 35cdf0e10cSrcweir#ifndef __com_sun_star_i18n_XForbiddenCharacters_idl__ 36cdf0e10cSrcweir#include <com/sun/star/i18n/XForbiddenCharacters.idl> 37cdf0e10cSrcweir#endif 38cdf0e10cSrcweir 39cdf0e10cSrcweir#ifndef __com_sun_star_lang_Locale_idl__ 40cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl> 41cdf0e10cSrcweir#endif 42cdf0e10cSrcweir 43cdf0e10cSrcweir#ifndef __com_sun_star_awt_XDevice_idl__ 44cdf0e10cSrcweir#include <com/sun/star/awt/XDevice.idl> 45cdf0e10cSrcweir#endif 46cdf0e10cSrcweir 47cdf0e10cSrcweir//============================================================================= 48cdf0e10cSrcweir 49cdf0e10cSrcweirmodule com { module sun { module star { module sheet { 50cdf0e10cSrcweir 51cdf0e10cSrcweir//============================================================================= 52cdf0e10cSrcweir 53cdf0e10cSrcweir/** contributes properties to control the configuration which is global 54cdf0e10cSrcweir for all views of a spreadsheet document. 55cdf0e10cSrcweir 56cdf0e10cSrcweir @deprecated 57cdf0e10cSrcweir 58cdf0e10cSrcweir @see com::sun::star::sheet::SpreadsheetDocument 59cdf0e10cSrcweir */ 60cdf0e10cSrcweirpublished service SpreadsheetDocumentSettings 61cdf0e10cSrcweir{ 62cdf0e10cSrcweir //------------------------------------------------------------------------- 63cdf0e10cSrcweir 64cdf0e10cSrcweir//!published service PropertySet 65cdf0e10cSrcweir /** provides access to the properties. 66cdf0e10cSrcweir */ 67cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 68cdf0e10cSrcweir 69cdf0e10cSrcweir //========================================================================= 70cdf0e10cSrcweir 71cdf0e10cSrcweir /** enables iterated calculation of circular references. 72cdf0e10cSrcweir */ 73cdf0e10cSrcweir [property] boolean IsIterationEnabled; 74cdf0e10cSrcweir 75cdf0e10cSrcweir //------------------------------------------------------------------------- 76cdf0e10cSrcweir 77cdf0e10cSrcweir /** specifies how many iterations are carried out. 78cdf0e10cSrcweir 79cdf0e10cSrcweir <p>This setting is only used, if iteration is enabled using 80cdf0e10cSrcweir <member>SpreadsheetDocumentSettings::IsIterationEnabled</member>.</p> 81cdf0e10cSrcweir */ 82cdf0e10cSrcweir [property] long IterationCount; 83cdf0e10cSrcweir 84cdf0e10cSrcweir //------------------------------------------------------------------------- 85cdf0e10cSrcweir 86cdf0e10cSrcweir /** specifies the point at which a change in results will stop 87cdf0e10cSrcweir the iteration. 88cdf0e10cSrcweir 89cdf0e10cSrcweir <p>More exactly it specifies a difference in the change of the 90cdf0e10cSrcweir result between two iterations. If the result difference 91cdf0e10cSrcweir is less than or equal to this epsilon-value, the iteration 92cdf0e10cSrcweir is stopped.</p> 93cdf0e10cSrcweir 94cdf0e10cSrcweir <p>This setting is only used, if iteration is enabled using 95cdf0e10cSrcweir <member>SpreadsheetDocumentSettings::IsIterationEnabled</member>.</p> 96cdf0e10cSrcweir */ 97cdf0e10cSrcweir [property] double IterationEpsilon; 98cdf0e10cSrcweir 99cdf0e10cSrcweir //------------------------------------------------------------------------- 100cdf0e10cSrcweir 101cdf0e10cSrcweir /** specifies the number of decimals in the default number format. 102cdf0e10cSrcweir */ 103cdf0e10cSrcweir [property] short StandardDecimals; 104cdf0e10cSrcweir 105cdf0e10cSrcweir //------------------------------------------------------------------------- 106cdf0e10cSrcweir 107cdf0e10cSrcweir /** specifies the date that is represented by the value zero. 108cdf0e10cSrcweir */ 109cdf0e10cSrcweir [property] com::sun::star::util::Date NullDate; 110cdf0e10cSrcweir 111cdf0e10cSrcweir //------------------------------------------------------------------------- 112cdf0e10cSrcweir 113cdf0e10cSrcweir /** specifies the width of default tabulators. 114cdf0e10cSrcweir */ 115cdf0e10cSrcweir [property] short DefaultTabStop; 116cdf0e10cSrcweir 117cdf0e10cSrcweir //------------------------------------------------------------------------- 118cdf0e10cSrcweir 119cdf0e10cSrcweir /** specifies whether upper and lower cases are treated as equal 120cdf0e10cSrcweir when comparing cells. 121cdf0e10cSrcweir */ 122cdf0e10cSrcweir [property] boolean IgnoreCase; 123cdf0e10cSrcweir 124cdf0e10cSrcweir //------------------------------------------------------------------------- 125cdf0e10cSrcweir 126cdf0e10cSrcweir /** specifies whether calculations are performed with the rounded 127cdf0e10cSrcweir values displayed in cells (set to <TRUE/>) instead of the 128cdf0e10cSrcweir internal values (set to <FALSE/>). 129cdf0e10cSrcweir */ 130cdf0e10cSrcweir [property] boolean CalcAsShown; 131cdf0e10cSrcweir 132cdf0e10cSrcweir //------------------------------------------------------------------------- 133cdf0e10cSrcweir 134cdf0e10cSrcweir /** specifies whether filter criteria must match entire cell contents. 135cdf0e10cSrcweir */ 136cdf0e10cSrcweir [property] boolean MatchWholeCell; 137cdf0e10cSrcweir 138cdf0e10cSrcweir //------------------------------------------------------------------------- 139cdf0e10cSrcweir 140cdf0e10cSrcweir /** enables online spell checking. 141cdf0e10cSrcweir */ 142cdf0e10cSrcweir [property] boolean SpellOnline; 143cdf0e10cSrcweir 144cdf0e10cSrcweir //------------------------------------------------------------------------- 145cdf0e10cSrcweir 146cdf0e10cSrcweir /** specifies whether column or row labels are looked up from 147cdf0e10cSrcweir anywhere on the sheet. 148cdf0e10cSrcweir 149cdf0e10cSrcweir <p>Explicitly defined label ranges are used even if this property 150cdf0e10cSrcweir is set to <FALSE/>.</p> 151cdf0e10cSrcweir 152cdf0e10cSrcweir @see com::sun::star::sheet::LabelRanges 153cdf0e10cSrcweir */ 154cdf0e10cSrcweir [property] boolean LookUpLabels; 155cdf0e10cSrcweir 156cdf0e10cSrcweir //------------------------------------------------------------------------- 157cdf0e10cSrcweir 158cdf0e10cSrcweir /** specifies whether regular expressions in formulas are enabled, 159cdf0e10cSrcweir e.g., for functions which look up spreadsheet contents. 160cdf0e10cSrcweir */ 161cdf0e10cSrcweir [property] boolean RegularExpressions; 162cdf0e10cSrcweir 163cdf0e10cSrcweir //------------------------------------------------------------------------- 164cdf0e10cSrcweir 165cdf0e10cSrcweir /** contains the interface XForbiddenCharacters. 166cdf0e10cSrcweir */ 167cdf0e10cSrcweir [readonly, optional, property] com::sun::star::i18n::XForbiddenCharacters ForbiddenCharacters; 168cdf0e10cSrcweir 169cdf0e10cSrcweir //------------------------------------------------------------------------- 170cdf0e10cSrcweir 171cdf0e10cSrcweir /** If this property is set the document has DrawPages. Use this 172cdf0e10cSrcweir property to find out, whether the document has DrawPages or not, 173cdf0e10cSrcweir because the getDrawPage method on the XDrawPageSupplier and the 174cdf0e10cSrcweir getDrawPages method on the XDrawPagesSupplier always creates the 175cdf0e10cSrcweir DrawPages if there are none; and this is very slow and needs more 176cdf0e10cSrcweir memory. 177cdf0e10cSrcweir */ 178cdf0e10cSrcweir [readonly, optional, property] boolean HasDrawPages; 179cdf0e10cSrcweir 180cdf0e10cSrcweir //------------------------------------------------------------------------- 181cdf0e10cSrcweir 182cdf0e10cSrcweir /** contains the standard document language for Western text. 183cdf0e10cSrcweir */ 184cdf0e10cSrcweir [optional, property] com::sun::star::lang::Locale CharLocale; 185cdf0e10cSrcweir 186cdf0e10cSrcweir //------------------------------------------------------------------------- 187cdf0e10cSrcweir 188cdf0e10cSrcweir /** contains the standard document language for Asian text. 189cdf0e10cSrcweir */ 190cdf0e10cSrcweir [optional, property] com::sun::star::lang::Locale CharLocaleAsian; 191cdf0e10cSrcweir 192cdf0e10cSrcweir //------------------------------------------------------------------------- 193cdf0e10cSrcweir 194cdf0e10cSrcweir /** contains the standard document language for Complex text. 195cdf0e10cSrcweir */ 196cdf0e10cSrcweir [optional, property] com::sun::star::lang::Locale CharLocaleComplex; 197cdf0e10cSrcweir 198cdf0e10cSrcweir //------------------------------------------------------------------------- 199cdf0e10cSrcweir 200cdf0e10cSrcweir /** specifies whether the document data are already loaded. 201cdf0e10cSrcweir 202*fbef625eSJürgen Schmidt @since OpenOffice 3.0 203cdf0e10cSrcweir */ 204cdf0e10cSrcweir [optional, property] boolean IsLoaded; 205cdf0e10cSrcweir 206cdf0e10cSrcweir //------------------------------------------------------------------------- 207cdf0e10cSrcweir 208cdf0e10cSrcweir /** specifies whether the undo command is enabled. 209cdf0e10cSrcweir 210*fbef625eSJürgen Schmidt @since OpenOffice 3.0 211cdf0e10cSrcweir */ 212cdf0e10cSrcweir [optional, property] boolean IsUndoEnabled; 213cdf0e10cSrcweir 214cdf0e10cSrcweir //------------------------------------------------------------------------- 215cdf0e10cSrcweir 216cdf0e10cSrcweir /** specifies whether the automatic adjustment of the row height is 217cdf0e10cSrcweir enabled. 218cdf0e10cSrcweir 219*fbef625eSJürgen Schmidt @since OpenOffice 3.0 220cdf0e10cSrcweir */ 221cdf0e10cSrcweir [optional, property] boolean IsAdjustHeightEnabled; 222cdf0e10cSrcweir 223cdf0e10cSrcweir //------------------------------------------------------------------------- 224cdf0e10cSrcweir 225cdf0e10cSrcweir /** specifies whether the automatic execution of links is enabled. 226cdf0e10cSrcweir 227*fbef625eSJürgen Schmidt @since OpenOffice 3.0 228cdf0e10cSrcweir */ 229cdf0e10cSrcweir [optional, property] boolean IsExecuteLinkEnabled; 230cdf0e10cSrcweir 231cdf0e10cSrcweir //------------------------------------------------------------------------- 232cdf0e10cSrcweir 233cdf0e10cSrcweir /** contains the reference device used for formatting the document. 234cdf0e10cSrcweir 235*fbef625eSJürgen Schmidt @since OpenOffice 3.0 236cdf0e10cSrcweir */ 237cdf0e10cSrcweir [readonly, optional, property] com::sun::star::awt::XDevice ReferenceDevice; 238cdf0e10cSrcweir 239cdf0e10cSrcweir}; 240cdf0e10cSrcweir 241cdf0e10cSrcweir//============================================================================= 242cdf0e10cSrcweir 243cdf0e10cSrcweir}; }; }; }; 244cdf0e10cSrcweir 245cdf0e10cSrcweir#endif 246cdf0e10cSrcweir 247