merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / sheet / SpreadsheetViewSettings.idl
blobe40ea1dd8fe4f754f9b41d0946cd440e7a0110a2
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_SpreadsheetViewSettings_idl__
29 #define __com_sun_star_sheet_SpreadsheetViewSettings_idl__
31 #ifndef __com_sun_star_beans_XPropertySet_idl__
32 #include <com/sun/star/beans/XPropertySet.idl>
33 #endif
35 #ifndef __com_sun_star_util_Color_idl__
36 #include <com/sun/star/util/Color.idl>
37 #endif
39 //=============================================================================
41 module com { module sun { module star { module sheet {
43 //=============================================================================
45 /** contains settings which are specific to each view of a spreadsheet
47 published service SpreadsheetViewSettings
49 /** provides access to the properties.
51 interface com::sun::star::beans::XPropertySet;
53 //-------------------------------------------------------------------------
55 /** controls whether formulas are displayed instead of their
56 results.
58 [property] boolean ShowFormulas;
60 //-------------------------------------------------------------------------
62 /** enables display of zero-values.
64 [property] boolean ShowZeroValues;
66 //-------------------------------------------------------------------------
68 /** controls whether strings, values, and formulas are
69 displayed in different colors.
71 [property] boolean IsValueHighlightingEnabled;
73 //-------------------------------------------------------------------------
75 /** controls whether a marker is shown for notes in cells.
77 [property] boolean ShowNotes;
79 //-------------------------------------------------------------------------
81 /** enables the vertical scroll bar of the view.
83 [property] boolean HasVerticalScrollBar;
85 //-------------------------------------------------------------------------
87 /** enables the horizontal scroll bar of the view.
89 [property] boolean HasHorizontalScrollBar;
91 //-------------------------------------------------------------------------
93 /** enables the sheet tabs of the view.
95 [property] boolean HasSheetTabs;
97 //-------------------------------------------------------------------------
99 /** enables the display of outline symbols.
101 [property] boolean IsOutlineSymbolsSet;
103 //-------------------------------------------------------------------------
105 /** enables the column and row headers of the view.
107 [property] boolean HasColumnRowHeaders;
109 //-------------------------------------------------------------------------
111 /** enables the display of the cell grid.
113 [property] boolean ShowGrid;
115 //-------------------------------------------------------------------------
117 /** specifies the color in which the cell grid is
118 displayed.
120 [property] com::sun::star::util::Color GridColor;
122 //-------------------------------------------------------------------------
124 /** enables display of help lines when moving drawing
125 objects.
127 [property] boolean ShowHelpLines;
129 //-------------------------------------------------------------------------
131 /** enables display of anchor symbols when drawing
132 objects are selected.
134 [property] boolean ShowAnchor;
136 //-------------------------------------------------------------------------
138 /** enables display of page breaks.
140 [property] boolean ShowPageBreaks;
142 //-------------------------------------------------------------------------
144 /** enables solid (colored) handles when drawing
145 objects are selected.
147 [property] boolean SolidHandles;
149 //-------------------------------------------------------------------------
151 /** enables display of embedded objects in the view.
153 [property] short ShowObjects;
155 //-------------------------------------------------------------------------
157 /** enables the display of charts in the view.
159 [property] short ShowCharts;
161 //-------------------------------------------------------------------------
163 /** enables the display of drawing objects in the view.
165 [property] short ShowDrawing;
167 //-------------------------------------------------------------------------
169 /** disables the display of marks from online spelling.
171 [property] boolean HideSpellMarks;
173 //-------------------------------------------------------------------------
174 /** This property defines the zoom type for the document.
176 @see com::sun::star::view::DocumentZoomType
178 [property] short ZoomType;
180 //-------------------------------------------------------------------------
181 /** Defines the zoom value to use.
182 Valid only if the ZoomType is set to
183 <member scope="com::sun::star::view::DocumentZoomType">BY_VALUE</member>.
185 [property] short ZoomValue;
188 //=============================================================================
190 }; }; }; };
192 #endif