From af97c180983e5a8ac147b97f7773d483bba8cfef Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 11 Aug 2016 13:53:20 +0200 Subject: GSoC notebookbar: multiple .ui implementations + added menu controller for .uno:Notebookbar showing all implementations + switching between .ui files + officecfg stores implementation description + added second implementation file notebookbar_groups.ui Change-Id: I9f406daced7a111793f61a2e9f939cba27d92184 Reviewed-on: https://gerrit.libreoffice.org/28067 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- officecfg/Configuration_officecfg.mk | 1 + officecfg/files.mk | 1 + .../data/org/openoffice/Office/UI/Controller.xcu | 11 +++++ .../data/org/openoffice/Office/UI/Notebookbar.xcu | 33 ++++++++++++++ .../org/openoffice/Office/UI/Notebookbar.xcs | 53 ++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu create mode 100644 officecfg/registry/schema/org/openoffice/Office/UI/Notebookbar.xcs (limited to 'officecfg') diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk index 01741a5efdb7..388bf54fa393 100644 --- a/officecfg/Configuration_officecfg.mk +++ b/officecfg/Configuration_officecfg.mk @@ -165,6 +165,7 @@ $(eval $(call gb_Configuration_add_localized_datas,registry,officecfg/registry/d org/openoffice/Office/UI/DrawWindowState.xcu \ org/openoffice/Office/UI/ImpressWindowState.xcu \ org/openoffice/Office/UI/MathWindowState.xcu \ + org/openoffice/Office/UI/Notebookbar.xcu \ org/openoffice/Office/UI/ReportCommands.xcu \ org/openoffice/Office/UI/Sidebar.xcu \ org/openoffice/Office/UI/StartModuleWindowState.xcu \ diff --git a/officecfg/files.mk b/officecfg/files.mk index 69d0cf1e0a9f..ed3f460cfe64 100644 --- a/officecfg/files.mk +++ b/officecfg/files.mk @@ -81,6 +81,7 @@ officecfg_XCSFILES := \ Office/UI/ImpressWindowState \ Office/UI/MathCommands \ Office/UI/MathWindowState \ + Office/UI/Notebookbar \ Office/UI/ReportCommands \ Office/UI/Sidebar \ Office/UI/StartModuleCommands \ diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu index 0f7d229ed4d0..14f6fc649293 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu @@ -347,6 +347,17 @@ anchor + + + .uno:Notebookbar + + + + + + com.sun.star.comp.framework.NotebookbarMenuController + + diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu new file mode 100644 index 000000000000..776dd9fdf545 --- /dev/null +++ b/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu @@ -0,0 +1,33 @@ + + + + + + + + + + Off + + + + + + + + Tabbed + + + notebookbar.ui + + + + + Contextual groups + + + notebookbar_groups.ui + + + + diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Notebookbar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Notebookbar.xcs new file mode 100644 index 000000000000..51dbeed451f6 --- /dev/null +++ b/officecfg/registry/schema/org/openoffice/Office/UI/Notebookbar.xcs @@ -0,0 +1,53 @@ + + + + + + Contains information about Notebookbar. + + + + + The implementation description container. + + + + The implementation name. + + + + + The .ui file name. + + + + + + + + Contains name of currently used implementation. + + + + + List of implementations. + + + + -- cgit