Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / SpreadsheetViewSettings.idl
blob2ba99d5a9f62e2e81b29f444a0b0291f5bc8d96e
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_SpreadsheetViewSettings_idl__
21 #define __com_sun_star_sheet_SpreadsheetViewSettings_idl__
23 #include <com/sun/star/beans/XPropertySet.idl>
25 #include <com/sun/star/util/Color.idl>
28 module com { module sun { module star { module sheet {
31 /** contains settings which are specific to each view of a spreadsheet
33 published service SpreadsheetViewSettings
35 /** provides access to the properties.
37 interface com::sun::star::beans::XPropertySet;
40 /** controls whether formulas are displayed instead of their
41 results.
43 [property] boolean ShowFormulas;
46 /** enables display of zero-values.
48 [property] boolean ShowZeroValues;
51 /** controls whether strings, values, and formulas are
52 displayed in different colors.
54 [property] boolean IsValueHighlightingEnabled;
57 /** controls whether a marker is shown for notes in cells.
59 [property] boolean ShowNotes;
62 /** enables the vertical scroll bar of the view.
64 [property] boolean HasVerticalScrollBar;
67 /** enables the horizontal scroll bar of the view.
69 [property] boolean HasHorizontalScrollBar;
72 /** enables the sheet tabs of the view.
74 [property] boolean HasSheetTabs;
77 /** enables the display of outline symbols.
79 [property] boolean IsOutlineSymbolsSet;
82 /** enables the column and row headers of the view.
84 [property] boolean HasColumnRowHeaders;
87 /** enables the display of the cell grid.
89 [property] boolean ShowGrid;
92 /** specifies the color in which the cell grid is
93 displayed.
95 [property] com::sun::star::util::Color GridColor;
98 /** enables display of help lines when moving drawing
99 objects.
101 [property] boolean ShowHelpLines;
104 /** enables display of anchor symbols when drawing
105 objects are selected.
107 [property] boolean ShowAnchor;
110 /** enables display of page breaks.
112 [property] boolean ShowPageBreaks;
115 /** enables display of embedded objects in the view.
117 @see SpreadsheetViewObjectsMode
119 [property] short ShowObjects;
122 /** enables the display of charts in the view.
124 @see SpreadsheetViewObjectsMode
126 [property] short ShowCharts;
129 /** enables the display of drawing objects in the view.
131 @see SpreadsheetViewObjectsMode
133 [property] short ShowDrawing;
136 /** disables the display of marks from online spelling.
138 [property] boolean HideSpellMarks;
140 /** This property defines the zoom type for the document.
142 @see com::sun::star::view::DocumentZoomType
144 [property] short ZoomType;
146 /** Defines the zoom value to use.
147 Valid only if the ZoomType is set to
148 com::sun::star::view::DocumentZoomType::BY_VALUE.
150 [property] short ZoomValue;
154 }; }; }; };
156 #endif
158 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */