1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_GlobalSheetSettings_idl__ 29*cdf0e10cSrcweir#define __com_sun_star_sheet_GlobalSheetSettings_idl__ 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 32*cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 33*cdf0e10cSrcweir#endif 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir//============================================================================= 36*cdf0e10cSrcweir 37*cdf0e10cSrcweirmodule com { module sun { module star { module sheet { 38*cdf0e10cSrcweir 39*cdf0e10cSrcweir//============================================================================= 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir/** contributes properties to access the settings for all spreadsheets of 42*cdf0e10cSrcweir a spreadsheet document. 43*cdf0e10cSrcweir */ 44*cdf0e10cSrcweirpublished service GlobalSheetSettings 45*cdf0e10cSrcweir{ 46*cdf0e10cSrcweir //------------------------------------------------------------------------- 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir//! service com::sun::star::beans::PropertySet; 49*cdf0e10cSrcweir /** provides access to the properties. 50*cdf0e10cSrcweir */ 51*cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir //========================================================================= 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir /** specifies whether the cursor is moved after entering into cells. 56*cdf0e10cSrcweir */ 57*cdf0e10cSrcweir [property] boolean MoveSelection; 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir //------------------------------------------------------------------------- 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir /** contains the direction the cursor moves after entering cells. 62*cdf0e10cSrcweir 63*cdf0e10cSrcweir @see com::sun::star::sheet::MoveDirection 64*cdf0e10cSrcweir */ 65*cdf0e10cSrcweir [property] short MoveDirection; 66*cdf0e10cSrcweir 67*cdf0e10cSrcweir //------------------------------------------------------------------------- 68*cdf0e10cSrcweir 69*cdf0e10cSrcweir /** specifies whether the enter key can be used to start editing a cell. 70*cdf0e10cSrcweir */ 71*cdf0e10cSrcweir [property] boolean EnterEdit; 72*cdf0e10cSrcweir 73*cdf0e10cSrcweir //------------------------------------------------------------------------- 74*cdf0e10cSrcweir 75*cdf0e10cSrcweir /** specifies whether cell formatting is extended when entering data. 76*cdf0e10cSrcweir */ 77*cdf0e10cSrcweir [property] boolean ExtendFormat; 78*cdf0e10cSrcweir 79*cdf0e10cSrcweir //------------------------------------------------------------------------- 80*cdf0e10cSrcweir 81*cdf0e10cSrcweir /** specifies whether ranges are highlighted on the sheet when 82*cdf0e10cSrcweir editing a formula. 83*cdf0e10cSrcweir */ 84*cdf0e10cSrcweir [property] boolean RangeFinder; 85*cdf0e10cSrcweir 86*cdf0e10cSrcweir //------------------------------------------------------------------------- 87*cdf0e10cSrcweir 88*cdf0e10cSrcweir /** specifies whether formula references are extended when cells 89*cdf0e10cSrcweir are inserted below or to the right of them. 90*cdf0e10cSrcweir */ 91*cdf0e10cSrcweir [property] boolean ExpandReferences; 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir //------------------------------------------------------------------------- 94*cdf0e10cSrcweir 95*cdf0e10cSrcweir /** specifies whether the current selection is highlighted in 96*cdf0e10cSrcweir column and row headers. 97*cdf0e10cSrcweir */ 98*cdf0e10cSrcweir [property] boolean MarkHeader; 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir //------------------------------------------------------------------------- 101*cdf0e10cSrcweir 102*cdf0e10cSrcweir /** specifies whether the enter key moves the cursor to the column 103*cdf0e10cSrcweir it was in before using the tab key to change columns. 104*cdf0e10cSrcweir */ 105*cdf0e10cSrcweir [property] boolean UseTabCol; 106*cdf0e10cSrcweir 107*cdf0e10cSrcweir //------------------------------------------------------------------------- 108*cdf0e10cSrcweir 109*cdf0e10cSrcweir /** contains the metric for all spreadsheet documents. 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir @see com::sun::star::util::MeasureUnit 112*cdf0e10cSrcweir */ 113*cdf0e10cSrcweir [property] short Metric; 114*cdf0e10cSrcweir 115*cdf0e10cSrcweir //------------------------------------------------------------------------- 116*cdf0e10cSrcweir 117*cdf0e10cSrcweir /** contains the default scale for new spreadsheet documents 118*cdf0e10cSrcweir (in percent). 119*cdf0e10cSrcweir 120*cdf0e10cSrcweir <p>There are several special values:</p> 121*cdf0e10cSrcweir <p>-1 = Optimal width</p> 122*cdf0e10cSrcweir <p>-2 = Show whole page</p> 123*cdf0e10cSrcweir <p>-3 = Page width</p> 124*cdf0e10cSrcweir */ 125*cdf0e10cSrcweir [property] short Scale; 126*cdf0e10cSrcweir 127*cdf0e10cSrcweir //------------------------------------------------------------------------- 128*cdf0e10cSrcweir 129*cdf0e10cSrcweir /** specifies whether automatic completion of text in a cell is used. 130*cdf0e10cSrcweir */ 131*cdf0e10cSrcweir [property] boolean DoAutoComplete; 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir //------------------------------------------------------------------------- 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir /** contains the function that is displayed in the status bar. 136*cdf0e10cSrcweir 137*cdf0e10cSrcweir @see com::sun::star::sheet::StatusBarFunction 138*cdf0e10cSrcweir */ 139*cdf0e10cSrcweir [property] short StatusBarFunction; 140*cdf0e10cSrcweir 141*cdf0e10cSrcweir //------------------------------------------------------------------------- 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir /** contains the string lists used for sorting and filling. 144*cdf0e10cSrcweir 145*cdf0e10cSrcweir <p>Each string contains the members of a list, separated by 146*cdf0e10cSrcweir commas.</p> 147*cdf0e10cSrcweir */ 148*cdf0e10cSrcweir [property] sequence< string > UserLists; 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir //------------------------------------------------------------------------- 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir /** specifies the update mode for external linked data. 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir <p>0 = always</p> 155*cdf0e10cSrcweir <p>1 = never</p> 156*cdf0e10cSrcweir <p>2 = on demand</p> 157*cdf0e10cSrcweir */ 158*cdf0e10cSrcweir [optional, property] short LinkUpdateMode; 159*cdf0e10cSrcweir 160*cdf0e10cSrcweir //------------------------------------------------------------------------- 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir /** specifies whether all sheets or only selected sheets are printed. 163*cdf0e10cSrcweir */ 164*cdf0e10cSrcweir [optional, property] boolean PrintAllSheets; 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir //------------------------------------------------------------------------- 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir /** specifies whether empty pages are printed. 169*cdf0e10cSrcweir */ 170*cdf0e10cSrcweir [optional, property] boolean PrintEmptyPages; 171*cdf0e10cSrcweir 172*cdf0e10cSrcweir //------------------------------------------------------------------------- 173*cdf0e10cSrcweir 174*cdf0e10cSrcweir /** specifies whether printer metrics are used for display. 175*cdf0e10cSrcweir */ 176*cdf0e10cSrcweir [optional, property] boolean UsePrinterMetrics; 177*cdf0e10cSrcweir 178*cdf0e10cSrcweir //------------------------------------------------------------------------- 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir /** specifies whether a warning is shown before replacing cells 181*cdf0e10cSrcweir (i.e. when pasting from clipboard). 182*cdf0e10cSrcweir */ 183*cdf0e10cSrcweir [optional, property] boolean ReplaceCellsWarning; 184*cdf0e10cSrcweir 185*cdf0e10cSrcweir}; 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir//============================================================================= 188*cdf0e10cSrcweir 189*cdf0e10cSrcweir}; }; }; }; 190*cdf0e10cSrcweir 191*cdf0e10cSrcweir#endif 192*cdf0e10cSrcweir 193