1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef __com_sun_star_sheet_GlobalSheetSettings_idl__
29 #define __com_sun_star_sheet_GlobalSheetSettings_idl__
31 #ifndef __com_sun_star_beans_XPropertySet_idl__
32 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
35 //=============================================================================
37 module com
{ module sun
{ module star
{ module sheet
{
39 //=============================================================================
41 /** contributes properties to access the settings for all spreadsheets of
42 a spreadsheet document.
44 published service GlobalSheetSettings
46 //-------------------------------------------------------------------------
48 //! service com::sun::star::beans::PropertySet;
49 /** provides access to the properties.
51 interface com
::sun
::star
::beans
::XPropertySet
;
53 //=========================================================================
55 /** specifies whether the cursor is moved after entering into cells.
57 [property
] boolean MoveSelection
;
59 //-------------------------------------------------------------------------
61 /** contains the direction the cursor moves after entering cells.
63 @see com::sun::star::sheet::MoveDirection
65 [property
] short MoveDirection
;
67 //-------------------------------------------------------------------------
69 /** specifies whether the enter key can be used to start editing a cell.
71 [property
] boolean EnterEdit
;
73 //-------------------------------------------------------------------------
75 /** specifies whether cell formatting is extended when entering data.
77 [property
] boolean ExtendFormat
;
79 //-------------------------------------------------------------------------
81 /** specifies whether ranges are highlighted on the sheet when
84 [property
] boolean RangeFinder
;
86 //-------------------------------------------------------------------------
88 /** specifies whether formula references are extended when cells
89 are inserted below or to the right of them.
91 [property
] boolean ExpandReferences
;
93 //-------------------------------------------------------------------------
95 /** specifies whether the current selection is highlighted in
96 column and row headers.
98 [property
] boolean MarkHeader
;
100 //-------------------------------------------------------------------------
102 /** specifies whether the enter key moves the cursor to the column
103 it was in before using the tab key to change columns.
105 [property
] boolean UseTabCol
;
107 //-------------------------------------------------------------------------
109 /** contains the metric for all spreadsheet documents.
111 @see com::sun::star::util::MeasureUnit
113 [property
] short Metric
;
115 //-------------------------------------------------------------------------
117 /** contains the default scale for new spreadsheet documents
120 <p>There are several special values:</p>
121 <p>-1 = Optimal width</p>
122 <p>-2 = Show whole page</p>
123 <p>-3 = Page width</p>
125 [property
] short Scale
;
127 //-------------------------------------------------------------------------
129 /** specifies whether automatic completion of text in a cell is used.
131 [property
] boolean DoAutoComplete
;
133 //-------------------------------------------------------------------------
135 /** contains the function that is displayed in the status bar.
137 @see com::sun::star::sheet::StatusBarFunction
139 [property
] short StatusBarFunction
;
141 //-------------------------------------------------------------------------
143 /** contains the string lists used for sorting and filling.
145 <p>Each string contains the members of a list, separated by
148 [property
] sequence
< string > UserLists
;
150 //-------------------------------------------------------------------------
152 /** specifies the update mode for external linked data.
158 [optional, property
] short LinkUpdateMode
;
160 //-------------------------------------------------------------------------
162 /** specifies whether all sheets or only selected sheets are printed.
164 [optional, property
] boolean PrintAllSheets
;
166 //-------------------------------------------------------------------------
168 /** specifies whether empty pages are printed.
170 [optional, property
] boolean PrintEmptyPages
;
172 //-------------------------------------------------------------------------
174 /** specifies whether printer metrics are used for display.
176 [optional, property
] boolean UsePrinterMetrics
;
178 //-------------------------------------------------------------------------
180 /** specifies whether a warning is shown before replacing cells
181 (i.e. when pasting from clipboard).
183 [optional, property
] boolean ReplaceCellsWarning
;
187 //=============================================================================