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 .
20 module com
{ module sun
{ module star
{ module text
{
22 /** provides access to the settings of the controller of a text document.
24 published service ViewSettings
26 interface com
::sun
::star
::beans
::XPropertySet
;
28 /** If this property is `TRUE`, annotations (notes) are visible.
30 [property
] boolean ShowAnnotations
;
32 /** If this property is `TRUE`, paragraph line breaks are visible.
34 [property
] boolean ShowBreaks
;
36 /** If this property is `TRUE`, shapes are visible.
38 [property
] boolean ShowDrawings
;
40 /** If this property is `TRUE`, text fields are shown with their commands; otherwise
41 the content is visible.
43 [property
] boolean ShowFieldCommands
;
45 /** If this property is `TRUE`, footnotes symbols are displayed with gray background.
47 [property
] boolean ShowFootnoteBackground
;
49 /** If this property is `TRUE`, graphic objects are visible.
51 [property
] boolean ShowGraphics
;
53 /** If this property is `TRUE`, hidden paragraphs are displayed.
55 [property
] boolean ShowHiddenParagraphs
;
57 /** If this property is `TRUE`, hidden text is displayed.
59 [property
] boolean ShowHiddenText
;
61 /** ShowHoriRuler and ShowVertRuler determine whether a ruler is visible.
63 [property
] boolean ShowRulers
;
65 /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
66 the horizontal ruler is displayed.
68 [property
] boolean ShowHoriRuler
;
70 /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
71 the horizontal scroll bar is displayed.
73 [property
] boolean ShowHoriScrollBar
;
75 /** If this property is `TRUE`, index marks are displayed with gray background.
77 [property
] boolean ShowIndexMarkBackground
;
79 /** If this property is `TRUE`, paragraph breaks are visible.
81 [property
] boolean ShowParaBreaks
;
83 /** If this property is `TRUE`, protected spaces (hard spaces) are displayed with gray
86 [property
] boolean ShowProtectedSpaces
;
88 /** If this property is `TRUE`, soft hyphens are displayed with gray background.
90 [property
] boolean ShowSoftHyphens
;
92 /** If this property is `TRUE`, spaces are displayed with dots.
94 [property
] boolean ShowSpaces
;
96 /** If this property is `TRUE`, table boundaries are displayed.
98 [property
] boolean ShowTableBoundaries
;
100 /** If this property is `TRUE`, tables are visible.
102 [property
] boolean ShowTables
;
104 /** If this property is `TRUE`, tab stops are visible.
106 [property
] boolean ShowTabstops
;
108 /** If this property is `TRUE`, text boundaries are displayed.
110 [property
] boolean ShowTextBoundaries
;
112 /** If this property is `TRUE`, text fields are displayed with gray background.
114 [property
] boolean ShowTextFieldBackground
;
116 /** If this property is `TRUE`, the vertical ruler is displayed.
118 [property
] boolean ShowVertRuler
;
120 /** If this property is `TRUE`, the vertical scroll bar is displayed.
122 [property
] boolean ShowVertScrollBar
;
124 /** If this property is `TRUE`, smooth scrolling is active.
126 [property
] boolean SmoothScrolling
;
128 /** If this property is `TRUE`, the vertical ruler is aligned to the right side
129 of the view and the vertical scrollbar is on the left.
131 [property
] boolean IsVertRulerRightAligned
;
133 /** If this property is `TRUE` the document will be displayed as if it
134 were a HTML document.
136 [property
] boolean ShowOnlineLayout
;
138 /** This property defines the zoom type for the document.
140 @see com::sun::star::view::DocumentZoomType
142 [property
] short ZoomType
;
144 /** Defines the zoom value to use.
145 Valid only if the ZoomType is set to
146 com::sun::star::view::DocumentZoomType::BY_VALUE.
148 [property
] short ZoomValue
;
149 /** If this property is `TRUE` hyperlinks in the document are executed (loaded) on
150 mouse click. Otherwise they are handled like normal text.
152 [optional, property
] boolean IsExecuteHyperlinks
;
154 /** Specifies whether to display the grid or not
158 [optional, property
] boolean IsRasterVisible
;
160 /** Specifies whether to move frames, drawing elements, and form
161 functions only between grid points.
165 [optional, property
] boolean IsSnapToRaster
;
167 /** Specifies the number of intervals between grid points on the X-axis.
169 <p>The value must be greater or equal to 0, and the application
170 may enforce an upper bound for the value.</p>
173 @throws com::sun::star::lang::IllegalArgumentException
174 if the value is out of bounds.
176 [optional, property
] long RasterSubdivisionX
;
178 /** Specifies the number of intervals between grid points on the Y-axis.
180 <p>The value must be greater or equal to 0, and the application
181 may enforce an upper bound for the value.</p>
184 @throws com::sun::star::lang::IllegalArgumentException
185 if the value is out of bounds.
187 [optional, property
] long RasterSubdivisionY
;
189 /** Defines the unit of measure for the spacing between grid points
192 <p>The value must be greater than 0. The application
193 may enforce more restricting bounds for the value.</p>
196 @throws com::sun::star::lang::IllegalArgumentException
197 if the value is out of bounds.
199 [optional, property
] long RasterResolutionX
;
201 /** Defines the unit of measure for the spacing between grid points
204 <p>The value must be greater than 0. The application
205 may enforce more restricting bounds for the value.</p>
208 @throws com::sun::star::lang::IllegalArgumentException
209 if the value is out of bounds.
211 [optional, property
] long RasterResolutionY
;
213 /** If this property is `TRUE`, hidden characters are displayed
217 [optional, property
] boolean ShowHiddenCharacters
;
218 /** If this property is `TRUE`, the settings of non-printing characters are applied.
220 <p>This option controls the use of the settings ShowHiddenCharacters,
221 ShowTabstops, ShowSpaces, ShowBreaks and ShowParaBreaks </p>
225 [optional, property
] boolean ShowNonprintingCharacters
;
227 /** metric unit of the horizontal ruler
229 <p>Uses values com::sun::star::awt::FieldUnit</p>
233 [optional, property
] long HorizontalRulerMetric
;
235 /** metric unit of the vertical ruler
237 <p>Uses values from com::sun::star::awt::FieldUnit</p>
241 [optional, property
] long VerticalRulerMetric
;
243 /** If this property is `TRUE`, tips for document content are shown,
244 typically in a help balloon when the mouse is over the content.
246 @since LibreOffice 4.1
248 [optional, property
] boolean ShowContentTips
;
250 /** If this property is `TRUE`, and the scroll bar is shown, a tool tip
251 is displayed while scrolling.
253 @since LibreOffice 4.2
255 [optional, property
] boolean ShowScrollBarTips
;
257 /** If this property is `TRUE`, whitespaces around pages are hidden.
259 @since LibreOffice 5.1
261 [optional, property
] boolean HideWhitespace
;
263 /** If this property is `TRUE`, tooltips for tracked changes are shown.
265 @since LibreOffice 6.1
267 [optional, property
] boolean ShowInlineTooltips
;
269 /** If this property is `TRUE`, the advanced menu for header/footer is shown
271 @since LibreOffice 6.2
273 [optional, property
] boolean UseHeaderFooterMenu
;
275 /** If this property is `TRUE`, bookmark positions are displayed.
277 @since LibreOffice 7.0
279 [optional, property
] boolean ShowBookmarks
;
281 /** If this property is `TRUE`, the outline content visibility toggle button is shown.
283 @since LibreOffice 7.1
285 [optional, property
] boolean ShowOutlineContentVisibilityButton
;
287 /** If this property is `TRUE`, tracked deletions are shown in margin.
289 @since LibreOffice 7.1
291 [optional, property
] boolean ShowChangesInMargin
;
293 /** If this property is `TRUE`, sub outline levels are treated as content in
294 outline content visibility actions.
296 @since LibreOffice 7.2
298 [optional, property
] boolean TreatSubOutlineLevelsAsContent
;
303 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */