LibreOffice Module svx (master) 1
StylesPropertyPanel.hxx
Go to the documentation of this file.
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.
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#pragma once
10
12#include <sfx2/weldutils.hxx>
13
14namespace svx::sidebar{
15
17{
18private:
19 std::unique_ptr<weld::Toolbar> m_xFontStyle;
20 std::unique_ptr<ToolbarUnoDispatcher> m_xFontStyleDispatch;
21
22 std::unique_ptr<weld::Toolbar> m_xStyle;
23 std::unique_ptr<ToolbarUnoDispatcher> m_xStyleDispatch;
24
25public:
26 virtual ~StylesPropertyPanel() override;
27
28 static std::unique_ptr<PanelLayout> Create (
29 weld::Widget* pParent,
30 const css::uno::Reference<css::frame::XFrame>& rxFrame);
31
33 weld::Widget* pParent,
34 const css::uno::Reference<css::frame::XFrame>& rxFrame);
35};
36
37} //end of namespace svx::sidebar
38/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
std::unique_ptr< weld::Toolbar > m_xFontStyle
std::unique_ptr< ToolbarUnoDispatcher > m_xFontStyleDispatch
static std::unique_ptr< PanelLayout > Create(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
StylesPropertyPanel(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
std::unique_ptr< ToolbarUnoDispatcher > m_xStyleDispatch
std::unique_ptr< weld::Toolbar > m_xStyle