merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sheet / DocumentSettings.idl
blobe628e8754fa0c260b0433212001eab27acc6f96e
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: DocumentSettings.idl,v $
10 * $Revision: 1.7 $
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 ************************************************************************/
30 #ifndef __com_sun_star_sheet_DocumentSettings_idl__
31 #define __com_sun_star_sheet_DocumentSettings_idl__
33 #ifndef __com_sun_star_beans_XPropertySet_idl__
34 #include <com/sun/star/beans/XPropertySet.idl>
35 #endif
37 #ifndef __com_sun_star_util_Color_idl__
38 #include <com/sun/star/util/Color.idl>
39 #endif
41 #ifndef __com_sun_star_document_Settings_idl__
42 #include <com/sun/star/document/Settings.idl>
43 #endif
45 //=============================================================================
47 module com { module sun { module star { module sheet {
49 //=============================================================================
51 /** describes properties that apply to the whole spreadsheet document.
53 <p>For settings that affect view properties, these settings apply to
54 subsequently created views and are saved with the document, while
55 <type>SpreadsheetViewSettings</type> can be used to alter a specific
56 view that is already open.</p>
58 published service DocumentSettings
60 service com::sun::star::document::Settings;
62 //-------------------------------------------------------------------------
63 /** provides access to the properties.
65 interface com::sun::star::beans::XPropertySet;
67 //-------------------------------------------------------------------------
69 /** enables display of zero-values.
71 [optional, property] boolean ShowZeroValues;
73 /** controls whether a marker is shown for notes in cells.
75 [optional, property] boolean ShowNotes;
77 /** enables the display of the cell grid.
79 [optional, property] boolean ShowGrid;
81 /** specifies the color in which the cell grid is displayed.
83 [optional, property] com::sun::star::util::Color GridColor;
85 /** enables display of page breaks.
87 [optional, property] boolean ShowPageBreaks;
89 /** enables the column and row headers of the view.
91 [optional, property] boolean HasColumnRowHeaders;
93 /** enables the sheet tabs of the view.
95 [optional, property] boolean HasSheetTabs;
97 /** enables the display of outline symbols.
99 [optional, property] boolean IsOutlineSymbolsSet;
101 /** enables the restriction of object movement and resizing
102 of drawing objects to the raster.
104 [optional, property] boolean IsSnapToRaster;
106 /** enables the display of the drawing object raster.
108 [optional, property] boolean RasterIsVisible;
110 /** specifies the distance between horizontal grid elements
111 in 1/100 mm.
113 [optional, property] long RasterResolutionX;
115 /** specifies the distance between vertical grid elements
116 in 1/100 mm.
118 [optional, property] long RasterResolutionY;
120 /** specifies the number of subdivisions between two horiontal
121 grid elements.
123 [optional, property] long RasterSubdivisionX;
125 /** specifies the number of subdivisions between two vertical
126 grid elements.
128 [optional, property] long RasterSubdivisionY;
130 /** enables the synchronization of horizontal and vertical
131 grid settings in the user interface.
133 [optional, property] boolean IsRasterAxisSynchronized;
136 //=============================================================================
138 }; }; }; };
140 #endif