diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-08-11 12:07:36 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2016-08-25 16:55:05 +0000 |
commit | 3b01af931470c82375b4f962beb9f71243001230 (patch) | |
tree | 79c7ec0bc2582bb8d99c4d62e81d5a361d3dc642 /sfx2/sdi | |
parent | 1594fd83c303139692c5dd6a7f2e236dbf99638e (diff) |
GSoC notebookbar: hiding menubar
+ node in the Notebookbar.xcu determines if menubar is
visible for each implementation
+ new .uno:Menubar command (toggles menubar's visibility)
Change-Id: I8ee4ec5bdb78556a8561cc328cba8ecd9bbef60d
Reviewed-on: https://gerrit.libreoffice.org/28044
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'sfx2/sdi')
-rw-r--r-- | sfx2/sdi/appslots.sdi | 5 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi index d103b962669a..4921f27e0d3e 100644 --- a/sfx2/sdi/appslots.sdi +++ b/sfx2/sdi/appslots.sdi @@ -220,6 +220,11 @@ interface Application [ ExecMethod = MiscExec_Impl ; ] + SID_MENUBAR + [ + ExecMethod = MiscExec_Impl ; + StateMethod = MiscState_Impl ; + ] } diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 3afeb51b32d2..7c24c75f65d7 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -2623,6 +2623,22 @@ SfxBoolItem Sidebar SID_SIDEBAR GroupId = GID_VIEW; ] +SfxBoolItem Menubar SID_MENUBAR +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + AccelConfig = FALSE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = GID_VIEW; +] SfxBoolItem Notebookbar SID_NOTEBOOKBAR (SfxStringItem File SID_NOTEBOOKBAR) |