diff options
author | Kshitij Pathania <kshitijpathania@gmail.com> | 2018-05-18 19:50:01 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2018-05-21 20:58:18 +0200 |
commit | 24d43f21e92c0db040f549a226c0889db20621ac (patch) | |
tree | 6eb927497ca5dd05689cd8bdd1d28314a6dc116c /sfx2 | |
parent | 82e9d2e68fcb2f66b78501f3613386ac1e36aae7 (diff) |
Activated notebookbar in draw
Added tabbed and two groupedbars mode of notebookbar.
Change-Id: I208a365139ca6c83510a73a8ffa0260b05787793
Reviewed-on: https://gerrit.libreoffice.org/54547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 2d3093205eaa..3289638bcdef 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -68,6 +68,9 @@ static OUString lcl_getAppName( vcl::EnumContext::Application eApp ) case vcl::EnumContext::Application::Impress: return OUString( "Impress" ); break; + case vcl::EnumContext::Application::Draw: + return OUString( "Draw" ); + break; default: return OUString(); break; @@ -89,6 +92,9 @@ static void lcl_setNotebookbarFileName( vcl::EnumContext::Application eApp, cons case vcl::EnumContext::Application::Impress: officecfg::Office::UI::ToolbarMode::ActiveImpress::set( sFileName, aBatch ); break; + case vcl::EnumContext::Application::Draw: + officecfg::Office::UI::ToolbarMode::ActiveDraw::set( sFileName, aBatch ); + break; default: break; } @@ -108,6 +114,10 @@ static OUString lcl_getNotebookbarFileName( vcl::EnumContext::Application eApp ) case vcl::EnumContext::Application::Impress: return officecfg::Office::UI::ToolbarMode::ActiveImpress::get(); break; + case vcl::EnumContext::Application::Draw: + return officecfg::Office::UI::ToolbarMode::ActiveDraw::get(); + break; + default: break; } |