GSoC: tdf#101249 Toolbar Mode switching

Desktop / LibreOffice - Szymon Kłos [gmail.com] - 22 August 2016 14:38 UTC

+ added registry entry for storing current toolbar mode for each application + registry entries to store toolbar mode configuration, remember additional visible toolbars activated by user + changing toolbar mode hides and shows suitable toolbars + added menu controller for toolbar mode + notebookbar implementation entries are disabled when notebookbar mode is not active + each mode can open/collapse the sidebar

Change-Id: I2b03f87c6dce53190d12102892d9ad30fbfd3bf6 Reviewed-on: https://gerrit.libreoffice.org/27991

dabb20e GSoC: tdf#101249 Toolbar Mode switching
framework/Library_fwl.mk | 1 +
framework/inc/services.h | 1 +
.../inc/uielement/toolbarmodemenucontroller.hxx | 86 ++++++
framework/source/register/registertemp.cxx | 2 +
.../source/uielement/notebookbarmenucontroller.cxx | 42 ++-
.../source/uielement/toolbarmodemenucontroller.cxx | 325 ++++++++++++++++++++
framework/util/fwl.component | 3 +
include/sfx2/notebookbar/SfxNotebookBar.hxx | 6 +-
include/sfx2/sfxsids.hrc | 3 +-
include/sfx2/sidebar/SidebarController.hxx | 3 +
officecfg/Configuration_officecfg.mk | 1 +
officecfg/files.mk | 1 +
.../data/org/openoffice/Office/UI/Controller.xcu | 11 +
.../org/openoffice/Office/UI/GenericCommands.xcu | 5 +
.../data/org/openoffice/Office/UI/Notebookbar.xcu | 10 +-
.../data/org/openoffice/Office/UI/ToolbarMode.xcu | 288 +++++++++++++++++
.../org/openoffice/Office/UI/ToolbarMode.xcs | 93 ++++++
postprocess/CustomTarget_registry.mk | 2 +
sc/source/ui/docshell/docsh4.cxx | 16 +-
sc/uiconfig/scalc/menubar/menubar.xml | 2 +
sd/source/ui/docshell/docshel3.cxx | 10 +-
sd/source/ui/docshell/docshell.cxx | 4 +-
sd/uiconfig/simpress/menubar/menubar.xml | 2 +
sfx2/sdi/appslots.sdi | 5 +
sfx2/sdi/sfx.sdi | 16 +
sfx2/source/appl/appserv.cxx | 242 +++++++++++++++
sfx2/source/notebookbar/SfxNotebookBar.cxx | 92 +++++-
sfx2/source/sidebar/SidebarController.cxx | 12 +
sw/source/uibase/app/docsh.cxx | 4 +-
sw/source/uibase/app/docsh2.cxx | 8 +-
sw/uiconfig/swriter/menubar/menubar.xml | 2 +
31 files changed, 1247 insertions(+), 51 deletions(-)

Upstream: cgit.freedesktop.org


  • Share