Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / DocumentSettings.idl
blob36402ee95dc5f1b2e8c3f9c57eced9e156fb692c
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 .
19 #ifndef __com_sun_star_sheet_DocumentSettings_idl__
20 #define __com_sun_star_sheet_DocumentSettings_idl__
22 #include <com/sun/star/beans/XPropertySet.idl>
23 #include <com/sun/star/util/Color.idl>
24 #include <com/sun/star/document/Settings.idl>
27 module com { module sun { module star { module sheet {
30 /** describes properties that apply to the whole spreadsheet document.
32 <p>For settings that affect view properties, these settings apply to
33 subsequently created views and are saved with the document, while
34 SpreadsheetViewSettings can be used to alter a specific
35 view that is already open.</p>
37 published service DocumentSettings
39 service com::sun::star::document::Settings;
41 /** provides access to the properties.
43 interface com::sun::star::beans::XPropertySet;
46 /** enables display of zero-values.
48 [optional, property] boolean ShowZeroValues;
50 /** controls whether a marker is shown for notes in cells.
52 [optional, property] boolean ShowNotes;
54 /** enables the display of the cell grid.
56 [optional, property] boolean ShowGrid;
58 /** specifies the color in which the cell grid is displayed.
60 [optional, property] com::sun::star::util::Color GridColor;
62 /** enables display of page breaks.
64 [optional, property] boolean ShowPageBreaks;
66 /** enables the column and row headers of the view.
68 [optional, property] boolean HasColumnRowHeaders;
70 /** enables the sheet tabs of the view.
72 [optional, property] boolean HasSheetTabs;
74 /** enables the display of outline symbols.
76 [optional, property] boolean IsOutlineSymbolsSet;
78 /** enables the restriction of object movement and resizing
79 of drawing objects to the raster.
81 [optional, property] boolean IsSnapToRaster;
83 /** enables the display of the drawing object raster.
85 [optional, property] boolean RasterIsVisible;
87 /** specifies the distance between horizontal grid elements
88 in 1/100 mm.
90 [optional, property] long RasterResolutionX;
92 /** specifies the distance between vertical grid elements
93 in 1/100 mm.
95 [optional, property] long RasterResolutionY;
97 /** specifies the number of subdivisions between two horizontal
98 grid elements.
100 [optional, property] long RasterSubdivisionX;
102 /** specifies the number of subdivisions between two vertical
103 grid elements.
105 [optional, property] long RasterSubdivisionY;
107 /** enables the synchronization of horizontal and vertical
108 grid settings in the user interface.
110 [optional, property] boolean IsRasterAxisSynchronized;
114 }; }; }; };
116 #endif
118 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */