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 /** contains settings which are specific to each view of a spreadsheet
26 published service SpreadsheetViewSettings
28 /** provides access to the properties.
30 interface com
::sun
::star
::beans
::XPropertySet
;
33 /** controls whether formulas are displayed instead of their
36 [property
] boolean ShowFormulas
;
39 /** enables display of zero-values.
41 [property
] boolean ShowZeroValues
;
44 /** controls whether strings, values, and formulas are
45 displayed in different colors.
47 [property
] boolean IsValueHighlightingEnabled
;
50 /** controls whether a marker is shown for notes in cells.
52 [property
] boolean ShowNotes
;
55 /** enables the vertical scroll bar of the view.
57 [property
] boolean HasVerticalScrollBar
;
60 /** enables the horizontal scroll bar of the view.
62 [property
] boolean HasHorizontalScrollBar
;
65 /** enables the sheet tabs of the view.
67 [property
] boolean HasSheetTabs
;
70 /** enables the display of outline symbols.
72 [property
] boolean IsOutlineSymbolsSet
;
75 /** enables the column and row headers of the view.
77 [property
] boolean HasColumnRowHeaders
;
80 /** enables the display of the cell grid.
82 [property
] boolean ShowGrid
;
85 /** specifies the color in which the cell grid is
88 [property
] com
::sun
::star
::util
::Color GridColor
;
91 /** enables display of help lines when moving drawing
94 [property
] boolean ShowHelpLines
;
97 /** enables display of anchor symbols when drawing
100 [property
] boolean ShowAnchor
;
103 /** enables display of page breaks.
105 [property
] boolean ShowPageBreaks
;
108 /** enables display of embedded objects in the view.
110 @see SpreadsheetViewObjectsMode
112 [property
] short ShowObjects
;
115 /** enables the display of charts in the view.
117 @see SpreadsheetViewObjectsMode
119 [property
] short ShowCharts
;
122 /** enables the display of drawing objects in the view.
124 @see SpreadsheetViewObjectsMode
126 [property
] short ShowDrawing
;
129 /** disables the display of marks from online spelling.
133 [property
] boolean HideSpellMarks
;
136 /** This property defines the zoom type for the document.
138 @see com::sun::star::view::DocumentZoomType
140 [property
] short ZoomType
;
143 /** Defines the zoom value to use.
144 Valid only if the ZoomType is set to
145 com::sun::star::view::DocumentZoomType::BY_VALUE.
147 [property
] short ZoomValue
;
149 /** Number of lines shown in the Formula bar
150 Default is 1, maximum value is 25.
152 @since LibreOffice 7.4
154 [optional, property
] short FormulaBarHeight
;
160 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */