diff options
author | Ashod Nakashian <ashodnakashian@yahoo.com> | 2015-07-22 00:47:11 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-17 12:38:42 +0000 |
commit | 2c346d669648bdecbe4be0e6013af14abef2526a (patch) | |
tree | dbcb88a713aefd8620fe87b514473cda39446eb4 /sw/sdi | |
parent | 17ac8354c97e107712d3ad59ab3140a8d0d3b78c (diff) |
tdf#39080 Hide Whitespace UI option added to the View menu.
Change-Id: I1f9ba9ef489159ca54db802393d958d7fd6ac8ff
Reviewed-on: https://gerrit.libreoffice.org/17280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 7 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 26 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 51d593748e33..78deb1fd17ab 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -685,6 +685,13 @@ interface BaseTextEditView Export = FALSE; ] + FN_VIEW_HIDE_WHITESPACE + [ + ExecMethod = ExecViewOptions ; + StateMethod = StateViewOptions ; + Export = FALSE; + ] + FN_VIEW_NOTES [ ExecMethod = ExecViewOptions ; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 6fc3b750feac..1b6829e1be7f 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -7318,6 +7318,32 @@ SfxBoolItem ShowHiddenParagraphs FN_VIEW_HIDDEN_PARA GroupId = GID_OPTIONS; ] +SfxBoolItem HideWhitespace FN_VIEW_HIDE_WHITESPACE + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] + SfxBoolItem ShowTrackedChanges FN_REDLINE_SHOW [ |