summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-12-11 03:31:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-07 12:04:44 +0100
commit6005dd5366a86d6b7b1535233a99e24501e053a3 (patch)
tree9dc7d5bd88cbf874f9da21bfc1988bd8f5b75c21 /offapi
parent5f62dc930687a02b5958280e942d4ab5fa7980a4 (diff)
Resolves: #i25945# Allow disabling scrollbar tips by API and configuration
(cherry picked from commit a2bbabbe141de1303ebf052e5c22b6e77387785e) Conflicts: offapi/com/sun/star/text/ViewSettings.idl officecfg/registry/schema/org/openoffice/Office/Writer.xcs sw/source/ui/config/usrpref.cxx sw/source/ui/uiview/viewport.cxx Change-Id: I939ec22527a0b654de5f379e781c24c0a3088739
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/ViewSettings.idl34
1 files changed, 19 insertions, 15 deletions
diff --git a/offapi/com/sun/star/text/ViewSettings.idl b/offapi/com/sun/star/text/ViewSettings.idl
index 4b626a9d5161..dd5025d76c07 100644
--- a/offapi/com/sun/star/text/ViewSettings.idl
+++ b/offapi/com/sun/star/text/ViewSettings.idl
@@ -23,8 +23,7 @@
#include <com/sun/star/view/DocumentZoomType.idl>
#include <com/sun/star/lang/IllegalArgumentException.idl>
-
- module com { module sun { module star { module text {
+module com { module sun { module star { module text {
/** provides access to the settings of the controller of a text document.
*/
@@ -65,20 +64,17 @@ published service ViewSettings
*/
[property] boolean ShowHiddenText;
+ /** ShowHoriRuler and ShowVertRuler determine whether a ruler is visible.
+ */
+ [property] boolean ShowRulers;
- /** ShowHoriRuler and ShowVertRuler determine whether a ruler is visible.
- */
- [property] boolean ShowRulers;
-
-
- /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
- the horizontal ruler is displayed.
+ /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
+ the horizontal ruler is displayed.
*/
[property] boolean ShowHoriRuler;
-
- /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
- the horizontal scroll bar is displayed.
+ /** If this property is `TRUE` and the property ShowRulers is `TRUE`,
+ the horizontal scroll bar is displayed.
*/
[property] boolean ShowHoriScrollBar;
@@ -220,7 +216,7 @@ published service ViewSettings
*/
[optional, property] long RasterResolutionY;
- /** If this property is `TRUE`, hidden characters are displayed
+ /** If this property is <TRUE/>, hidden characters are displayed
@since OOo 3.0
*/
@@ -233,6 +229,7 @@ published service ViewSettings
@since OOo 3.0
*/
[optional, property] boolean ShowNonprintingCharacters;
+
/** metric unit of the horizontal ruler
<p>Uses values com::sun::star::awt::FieldUnit</p>
@@ -240,6 +237,7 @@ published service ViewSettings
@since OOo 3.1
*/
[optional, property] long HorizontalRulerMetric;
+
/** metric unit of the vertical ruler
<p>Uses values from com::sun::star::awt::FieldUnit</p>
@@ -247,15 +245,21 @@ published service ViewSettings
@since OOo 3.1
*/
[optional, property] long VerticalRulerMetric;
- //-------------------------------------------------------------------------
+
/** If this property is `TRUE`, tips for document content are shown,
typically in a help balloon when the mouse is over the content.
@since LibreOffice 4.1
*/
[optional, property] boolean ShowContentTips;
-};
+ /** If this property is `TRUE`, and the scroll bar is shown, a tool tip
+ is displayed while scrolling.
+
+ @since LibreOffice 4.2
+ */
+ [optional, property] boolean ShowScrollBarTips;
+};
}; }; }; };