update dev300-m58
[ooovba.git] / offapi / com / sun / star / sheet / SpreadsheetViewSettings.idl
blob26f7538d966f8263921b1a2f2750e73045cb6914
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SpreadsheetViewSettings.idl,v $
10 * $Revision: 1.9 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_SpreadsheetViewSettings_idl__
32 #define __com_sun_star_sheet_SpreadsheetViewSettings_idl__
34 #ifndef __com_sun_star_beans_XPropertySet_idl__
35 #include <com/sun/star/beans/XPropertySet.idl>
36 #endif
38 #ifndef __com_sun_star_util_Color_idl__
39 #include <com/sun/star/util/Color.idl>
40 #endif
42 //=============================================================================
44 module com { module sun { module star { module sheet {
46 //=============================================================================
48 /** contains settings which are specific to each view of a spreadsheet
50 published service SpreadsheetViewSettings
52 /** provides access to the properties.
54 interface com::sun::star::beans::XPropertySet;
56 //-------------------------------------------------------------------------
58 /** controls whether formulas are displayed instead of their
59 results.
61 [property] boolean ShowFormulas;
63 //-------------------------------------------------------------------------
65 /** enables display of zero-values.
67 [property] boolean ShowZeroValues;
69 //-------------------------------------------------------------------------
71 /** controls whether strings, values, and formulas are
72 displayed in different colors.
74 [property] boolean IsValueHighlightingEnabled;
76 //-------------------------------------------------------------------------
78 /** controls whether a marker is shown for notes in cells.
80 [property] boolean ShowNotes;
82 //-------------------------------------------------------------------------
84 /** enables the vertical scroll bar of the view.
86 [property] boolean HasVerticalScrollBar;
88 //-------------------------------------------------------------------------
90 /** enables the horizontal scroll bar of the view.
92 [property] boolean HasHorizontalScrollBar;
94 //-------------------------------------------------------------------------
96 /** enables the sheet tabs of the view.
98 [property] boolean HasSheetTabs;
100 //-------------------------------------------------------------------------
102 /** enables the display of outline symbols.
104 [property] boolean IsOutlineSymbolsSet;
106 //-------------------------------------------------------------------------
108 /** enables the column and row headers of the view.
110 [property] boolean HasColumnRowHeaders;
112 //-------------------------------------------------------------------------
114 /** enables the display of the cell grid.
116 [property] boolean ShowGrid;
118 //-------------------------------------------------------------------------
120 /** specifies the color in which the cell grid is
121 displayed.
123 [property] com::sun::star::util::Color GridColor;
125 //-------------------------------------------------------------------------
127 /** enables display of help lines when moving drawing
128 objects.
130 [property] boolean ShowHelpLines;
132 //-------------------------------------------------------------------------
134 /** enables display of anchor symbols when drawing
135 objects are selected.
137 [property] boolean ShowAnchor;
139 //-------------------------------------------------------------------------
141 /** enables display of page breaks.
143 [property] boolean ShowPageBreaks;
145 //-------------------------------------------------------------------------
147 /** enables solid (colored) handles when drawing
148 objects are selected.
150 [property] boolean SolidHandles;
152 //-------------------------------------------------------------------------
154 /** enables display of embedded objects in the view.
156 [property] short ShowObjects;
158 //-------------------------------------------------------------------------
160 /** enables the display of charts in the view.
162 [property] short ShowCharts;
164 //-------------------------------------------------------------------------
166 /** enables the display of drawing objects in the view.
168 [property] short ShowDrawing;
170 //-------------------------------------------------------------------------
172 /** disables the display of marks from online spelling.
174 [property] boolean HideSpellMarks;
176 //-------------------------------------------------------------------------
177 /** This property defines the zoom type for the document.
179 @see com::sun::star::view::DocumentZoomType
181 [property] short ZoomType;
183 //-------------------------------------------------------------------------
184 /** Defines the zoom value to use.
185 Valid only if the ZoomType is set to
186 <member scope="com::sun::star::view::DocumentZoomType">BY_VALUE</member>.
188 [property] short ZoomValue;
191 //=============================================================================
193 }; }; }; };
195 #endif