LibreOffice Module vcl (master)  1
WeldedTabbedNotebookbar.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
11 #include <vcl/svapp.hxx>
13 
15  const VclPtr<vcl::Window>& pContainerWindow, const OUString& rUIFilePath,
16  const css::uno::Reference<css::frame::XFrame>& rFrame, sal_uInt64 nWindowId)
17  : m_xBuilder(JSInstanceBuilder::CreateNotebookbarBuilder(
18  pContainerWindow, AllSettings::GetUIRootDir(), rUIFilePath, rFrame, nWindowId))
19 {
20  m_xContainer = m_xBuilder->weld_container("NotebookBar");
21  m_xNotebook = m_xBuilder->weld_notebook("ContextContainer");
22  m_xNotebook->set_current_page("HomeLabel");
23 }
24 
25 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
WeldedTabbedNotebookbar(const VclPtr< vcl::Window > &pContainerWindow, const OUString &rUIFilePath, const css::uno::Reference< css::frame::XFrame > &rFrame, sal_uInt64 nWindowId)
std::unique_ptr< weld::Container > m_xContainer
std::unique_ptr< weld::Notebook > m_xNotebook
std::unique_ptr< weld::Builder > m_xBuilder