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 ************************************************************************/
27 #ifndef __com_sun_star_sheet_DocumentSettings_idl__
28 #define __com_sun_star_sheet_DocumentSettings_idl__
30 #ifndef __com_sun_star_beans_XPropertySet_idl__
31 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
34 #ifndef __com_sun_star_util_Color_idl__
35 #include
<com
/sun
/star
/util
/Color.idl
>
38 #ifndef __com_sun_star_document_Settings_idl__
39 #include
<com
/sun
/star
/document
/Settings.idl
>
42 //=============================================================================
44 module com
{ module sun
{ module star
{ module sheet
{
46 //=============================================================================
48 /** describes properties that apply to the whole spreadsheet document.
50 <p>For settings that affect view properties, these settings apply to
51 subsequently created views and are saved with the document, while
52 <type>SpreadsheetViewSettings</type> can be used to alter a specific
53 view that is already open.</p>
55 published service DocumentSettings
57 service com
::sun
::star
::document
::Settings
;
59 //-------------------------------------------------------------------------
60 /** provides access to the properties.
62 interface com
::sun
::star
::beans
::XPropertySet
;
64 //-------------------------------------------------------------------------
66 /** enables display of zero-values.
68 [optional, property
] boolean ShowZeroValues
;
70 /** controls whether a marker is shown for notes in cells.
72 [optional, property
] boolean ShowNotes
;
74 /** enables the display of the cell grid.
76 [optional, property
] boolean ShowGrid
;
78 /** specifies the color in which the cell grid is displayed.
80 [optional, property
] com
::sun
::star
::util
::Color GridColor
;
82 /** enables display of page breaks.
84 [optional, property
] boolean ShowPageBreaks
;
86 /** enables the column and row headers of the view.
88 [optional, property
] boolean HasColumnRowHeaders
;
90 /** enables the sheet tabs of the view.
92 [optional, property
] boolean HasSheetTabs
;
94 /** enables the display of outline symbols.
96 [optional, property
] boolean IsOutlineSymbolsSet
;
98 /** enables the restriction of object movement and resizing
99 of drawing objects to the raster.
101 [optional, property
] boolean IsSnapToRaster
;
103 /** enables the display of the drawing object raster.
105 [optional, property
] boolean RasterIsVisible
;
107 /** specifies the distance between horizontal grid elements
110 [optional, property
] long RasterResolutionX
;
112 /** specifies the distance between vertical grid elements
115 [optional, property
] long RasterResolutionY
;
117 /** specifies the number of subdivisions between two horiontal
120 [optional, property
] long RasterSubdivisionX
;
122 /** specifies the number of subdivisions between two vertical
125 [optional, property
] long RasterSubdivisionY
;
127 /** enables the synchronization of horizontal and vertical
128 grid settings in the user interface.
130 [optional, property
] boolean IsRasterAxisSynchronized
;
133 //=============================================================================