diff options
author | James Raykowski <raykowj@gmail.com> | 2017-08-04 06:48:42 -0800 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-08-10 08:43:56 +0200 |
commit | 0e8208057d098f961a62efa5318a80b0d3372d2a (patch) | |
tree | 52da596e9f90b03554fc08353b73ce3f1efd842a /sw/sdi | |
parent | 67a61e54531801645d51ad89aac30064b8c4b4e8 (diff) |
tdf#79167 Change search type through a drop down control
drop down control to change 'navigate by' search element
small navigation popup relationally linked to drop down control
dynamic tool tips added to previous and next 'navigate by' toolbar
controls
Change-Id: I4b1215b74b488f2571b529d9946f6574de6e270a
Reviewed-on: https://gerrit.libreoffice.org/40776
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 9 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 38 |
2 files changed, 24 insertions, 23 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 361d6818a8b9..62e67f6b0d5c 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -67,15 +67,16 @@ interface BaseTextEditView ExecMethod = Execute ; StateMethod = NoState ; ] + FN_NAV_ELEMENT + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] FN_SCROLL_NAVIGATION [ ExecMethod = NoExec ; StateMethod = NoState ; ] - FN_NAVIGATION_POPUP - [ - ExecMethod = Execute; - ] FN_SCROLL_PREV [ ExecMethod = Execute; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index ed71f495a8cc..999b03c166ad 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -4940,23 +4940,6 @@ SfxBoolItem ScrollNavigation FN_SCROLL_NAVIGATION GroupId = SfxGroupId::View; ] -SfxVoidItem NavigationPopup FN_NAVIGATION_POPUP -() -[ - AutoUpdate = FALSE, - FastCall = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - - AccelConfig = FALSE, - MenuConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = SfxGroupId::Navigator; -] - SfxVoidItem ScrollToPrevious FN_SCROLL_PREV () [ @@ -4970,7 +4953,7 @@ SfxVoidItem ScrollToPrevious FN_SCROLL_PREV AccelConfig = FALSE, MenuConfig = FALSE, - ToolBoxConfig = FALSE, + ToolBoxConfig = TRUE, GroupId = SfxGroupId::Navigator; ] @@ -4987,7 +4970,7 @@ SfxVoidItem ScrollToNext FN_SCROLL_NEXT AccelConfig = FALSE, MenuConfig = FALSE, - ToolBoxConfig = FALSE, + ToolBoxConfig = TRUE, GroupId = SfxGroupId::Navigator; ] @@ -7613,3 +7596,20 @@ SfxUInt16Item JumpToSpecificPage SID_JUMP_TO_SPECIFIC_PAGE ToolBoxConfig = TRUE, GroupId = SfxGroupId::Navigator; ] + +SfxVoidItem NavElement FN_NAV_ELEMENT + +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = FALSE, + MenuConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Navigator; +] |