Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / XGlobalSheetSettings.idl
blobc0a7c32182aa930348d3b03946d646fef775a50c
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 .
20 #ifndef __com_sun_star_sheet_XGlobalSheetSettings_idl__
21 #define __com_sun_star_sheet_XGlobalSheetSettings_idl__
23 #include <com/sun/star/uno/XInterface.idl>
26 module com { module sun { module star { module sheet {
29 /**
30 @since LibreOffice 4.1
32 published interface XGlobalSheetSettings
34 /** specifies whether the cursor is moved after entering into cells.
36 [attribute] boolean MoveSelection;
39 /** contains the direction the cursor moves after entering cells.
41 @see com::sun::star::sheet::MoveDirection
43 [attribute] short MoveDirection;
46 /** specifies whether the enter key can be used to start editing a cell.
48 [attribute] boolean EnterEdit;
51 /** specifies whether cell formatting is extended when entering data.
53 [attribute] boolean ExtendFormat;
56 /** specifies whether ranges are highlighted on the sheet when
57 editing a formula.
59 [attribute] boolean RangeFinder;
62 /** specifies whether formula references are extended when cells
63 are inserted below or to the right of them.
65 [attribute] boolean ExpandReferences;
68 /** specifies whether the current selection is highlighted in
69 column and row headers.
71 [attribute] boolean MarkHeader;
74 /** specifies whether the enter key moves the cursor to the column
75 it was in before using the tab key to change columns.
77 [attribute] boolean UseTabCol;
80 /** contains the metric for all spreadsheet documents.
82 @see com::sun::star::util::MeasureUnit
84 [attribute] short Metric;
87 /** contains the default scale for new spreadsheet documents
88 (in percent).
90 <p>There are several special values:</p>
91 <p>-1 = Optimal width</p>
92 <p>-2 = Show whole page</p>
93 <p>-3 = Page width</p>
95 [attribute] short Scale;
98 /** specifies whether automatic completion of text in a cell is used.
100 [attribute] boolean DoAutoComplete;
103 /** contains the function that is displayed in the status bar.
105 @see com::sun::star::sheet::StatusBarFunction
107 [attribute] short StatusBarFunction;
110 /** contains the string lists used for sorting and filling.
112 <p>Each string contains the members of a list, separated by
113 commas.</p>
115 [attribute] sequence< string > UserLists;
118 /** specifies the update mode for external linked data.
120 <p>0 = always</p>
121 <p>1 = never</p>
122 <p>2 = on demand</p>
124 [attribute] short LinkUpdateMode;
127 /** specifies whether all sheets or only selected sheets are printed.
129 [attribute] boolean PrintAllSheets;
132 /** specifies whether empty pages are printed.
134 [attribute] boolean PrintEmptyPages;
137 /** specifies whether printer metrics are used for display.
139 [attribute] boolean UsePrinterMetrics;
142 /** specifies whether a warning is shown before replacing cells
143 (i.e. when pasting from clipboard).
145 [attribute] boolean ReplaceCellsWarning;
150 }; }; }; };
152 #endif
154 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */