LibreOffice Module svx (master) 1
TextPropertyPanel.hxx
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_TEXT_TEXTPROPERTYPANEL_HXX
20#define INCLUDED_SVX_SOURCE_SIDEBAR_TEXT_TEXTPROPERTYPANEL_HXX
21
23#include <sfx2/weldutils.hxx>
24#include <vcl/EnumContext.hxx>
26
27namespace svx::sidebar {
28
30 : public PanelLayout,
32{
33public:
34 virtual ~TextPropertyPanel() override;
35
36 static std::unique_ptr<PanelLayout> Create (
37 weld::Widget* pParent,
38 const css::uno::Reference<css::frame::XFrame>& rxFrame);
39
40 virtual void HandleContextChange (
41 const vcl::EnumContext& rContext) override;
42
44 weld::Widget* pParent,
45 const css::uno::Reference<css::frame::XFrame>& rxFrame);
46
47private:
48 std::unique_ptr<weld::Toolbar> mxFont;
49 std::unique_ptr<ToolbarUnoDispatcher> mxFontDispatch;
50 std::unique_ptr<weld::Toolbar> mxFontHeight;
51 std::unique_ptr<ToolbarUnoDispatcher> mxFontHeightDispatch;
52 std::unique_ptr<weld::Toolbar> mxFontEffects;
53 std::unique_ptr<ToolbarUnoDispatcher> mxFontEffectsDispatch;
54 std::unique_ptr<weld::Toolbar> mxFontAdjust;
55 std::unique_ptr<ToolbarUnoDispatcher> mxFontAdjustDispatch;
56 std::unique_ptr<weld::Toolbar> mxToolBoxFontColorSw;
57 std::unique_ptr<ToolbarUnoDispatcher> mxToolBoxFontColorSwDispatch;
58 std::unique_ptr<weld::Toolbar> mxToolBoxFontColor;
59 std::unique_ptr<ToolbarUnoDispatcher> mxToolBoxFontColorDispatch;
60 std::unique_ptr<weld::Toolbar> mxToolBoxBackgroundColor;
61 std::unique_ptr<ToolbarUnoDispatcher> mxToolBoxBackgroundColorDispatch;
62 std::unique_ptr<weld::Toolbar> mxResetBar;
63 std::unique_ptr<ToolbarUnoDispatcher> mxResetBarDispatch;
64 std::unique_ptr<weld::Toolbar> mxDefaultBar;
65 std::unique_ptr<ToolbarUnoDispatcher> mxDefaultBarDispatch;
66 std::unique_ptr<weld::Toolbar> mxPositionBar;
67 std::unique_ptr<ToolbarUnoDispatcher> mxPositionBarDispatch;
68 std::unique_ptr<weld::Toolbar> mxSpacingBar;
69 std::unique_ptr<ToolbarUnoDispatcher> mxSpacingBarDispatch;
70
72};
73
74} // end of namespace svx::sidebar
75
76#endif
77
78/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Toolbar > mxFontAdjust
std::unique_ptr< ToolbarUnoDispatcher > mxFontAdjustDispatch
std::unique_ptr< weld::Toolbar > mxResetBar
std::unique_ptr< weld::Toolbar > mxSpacingBar
static std::unique_ptr< PanelLayout > Create(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
std::unique_ptr< ToolbarUnoDispatcher > mxFontDispatch
virtual void HandleContextChange(const vcl::EnumContext &rContext) override
std::unique_ptr< ToolbarUnoDispatcher > mxToolBoxFontColorSwDispatch
std::unique_ptr< weld::Toolbar > mxPositionBar
TextPropertyPanel(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
std::unique_ptr< weld::Toolbar > mxToolBoxFontColor
std::unique_ptr< weld::Toolbar > mxFontEffects
std::unique_ptr< ToolbarUnoDispatcher > mxDefaultBarDispatch
std::unique_ptr< ToolbarUnoDispatcher > mxPositionBarDispatch
std::unique_ptr< weld::Toolbar > mxToolBoxFontColorSw
std::unique_ptr< weld::Toolbar > mxFontHeight
std::unique_ptr< ToolbarUnoDispatcher > mxResetBarDispatch
std::unique_ptr< weld::Toolbar > mxDefaultBar
std::unique_ptr< weld::Toolbar > mxToolBoxBackgroundColor
std::unique_ptr< ToolbarUnoDispatcher > mxFontEffectsDispatch
std::unique_ptr< ToolbarUnoDispatcher > mxSpacingBarDispatch
std::unique_ptr< ToolbarUnoDispatcher > mxToolBoxFontColorDispatch
std::unique_ptr< ToolbarUnoDispatcher > mxFontHeightDispatch
std::unique_ptr< ToolbarUnoDispatcher > mxToolBoxBackgroundColorDispatch
std::unique_ptr< weld::Toolbar > mxFont