9eaaf3b7e1
Notebookbar always gets window id 0 what causes conflict in map and some widgets doesn't work Change-Id: I15b4e83d385e83bcf898148a871ddf540257cc81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97099 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97816 Tested-by: Jenkins
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef INCLUDED_SFX2_NOTEBOOKBAR_WRITERTABBEDNOTEBOOKBAR_HXX
|
|
#define INCLUDED_SFX2_NOTEBOOKBAR_WRITERTABBEDNOTEBOOKBAR_HXX
|
|
|
|
#include <vcl/dllapi.h>
|
|
#include <rtl/ustring.hxx>
|
|
#include <vcl/weld.hxx>
|
|
#include <com/sun/star/frame/XFrame.hpp>
|
|
|
|
/** Tabbed implementation of NotebookBar for Writer
|
|
*/
|
|
class VCL_DLLPUBLIC WeldedTabbedNotebookbar
|
|
{
|
|
std::unique_ptr<weld::Builder> m_xBuilder;
|
|
|
|
std::unique_ptr<weld::Container> m_xContainer;
|
|
std::unique_ptr<weld::Notebook> m_xNotebook;
|
|
|
|
public:
|
|
WeldedTabbedNotebookbar(VclPtr<vcl::Window>& pContainerWindow, const OUString& rUIFilePath,
|
|
const css::uno::Reference<css::frame::XFrame>& rFrame,
|
|
sal_uInt64 nWindowId);
|
|
};
|
|
|
|
#endif // INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|