Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / svx / source / sidebar / styles / StylesPropertyPanel.hxx
blob66f773ae95a303d2dec885010bd1a18f1bd37fb0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 #pragma once
11 #include <sfx2/sidebar/PanelLayout.hxx>
12 #include <sfx2/weldutils.hxx>
14 namespace svx::sidebar{
16 class StylesPropertyPanel : public PanelLayout
18 private:
19 std::unique_ptr<weld::Toolbar> m_xFontStyle;
20 std::unique_ptr<ToolbarUnoDispatcher> m_xFontStyleDispatch;
22 std::unique_ptr<weld::Toolbar> m_xStyle;
23 std::unique_ptr<ToolbarUnoDispatcher> m_xStyleDispatch;
25 public:
26 virtual ~StylesPropertyPanel() override;
28 static std::unique_ptr<PanelLayout> Create (
29 weld::Widget* pParent,
30 const css::uno::Reference<css::frame::XFrame>& rxFrame);
32 StylesPropertyPanel(
33 weld::Widget* pParent,
34 const css::uno::Reference<css::frame::XFrame>& rxFrame);
37 } //end of namespace svx::sidebar
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */