1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module sheet
{
24 /** describes properties that apply to the whole spreadsheet document.
26 <p>For settings that affect view properties, these settings apply to
27 subsequently created views and are saved with the document, while
28 SpreadsheetViewSettings can be used to alter a specific
29 view that is already open.</p>
31 published service DocumentSettings
33 service com
::sun
::star
::document
::Settings
;
35 /** provides access to the properties.
37 interface com
::sun
::star
::beans
::XPropertySet
;
40 /** enables display of zero-values.
42 [optional, property
] boolean ShowZeroValues
;
44 /** controls whether a marker is shown for notes in cells.
46 [optional, property
] boolean ShowNotes
;
48 /** enables the display of the cell grid.
50 [optional, property
] boolean ShowGrid
;
52 /** specifies the color in which the cell grid is displayed.
54 [optional, property
] com
::sun
::star
::util
::Color GridColor
;
56 /** enables display of page breaks.
58 [optional, property
] boolean ShowPageBreaks
;
60 /** enables the column and row headers of the view.
62 [optional, property
] boolean HasColumnRowHeaders
;
64 /** enables the sheet tabs of the view.
66 [optional, property
] boolean HasSheetTabs
;
68 /** enables the display of outline symbols.
70 [optional, property
] boolean IsOutlineSymbolsSet
;
72 /** enables the restriction of object movement and resizing
73 of drawing objects to the raster.
75 [optional, property
] boolean IsSnapToRaster
;
77 /** enables the display of the drawing object raster.
79 [optional, property
] boolean RasterIsVisible
;
81 /** specifies the distance between horizontal grid elements
84 [optional, property
] long RasterResolutionX
;
86 /** specifies the distance between vertical grid elements
89 [optional, property
] long RasterResolutionY
;
91 /** specifies the number of subdivisions between two horizontal
94 [optional, property
] long RasterSubdivisionX
;
96 /** specifies the number of subdivisions between two vertical
99 [optional, property
] long RasterSubdivisionY
;
101 /** enables the synchronization of horizontal and vertical
102 grid settings in the user interface.
104 [optional, property
] boolean IsRasterAxisSynchronized
;
106 /** enables the document sharing feature (Tools->Share Spreadsheet)
108 [optional, property
] boolean IsDocumentShared
;
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */