LibreOffice Module sw (master) 1
watermarkdialog.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#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_WATERMARKDIALOG_HXX
10#define INCLUDED_SW_SOURCE_UIBASE_INC_WATERMARKDIALOG_HXX
11
12#include <sfx2/bindings.hxx>
13#include <vcl/weld.hxx>
14#include <svx/colorbox.hxx>
15#include <sfx2/basedlgs.hxx>
16
18{
19public:
20 SwWatermarkDialog(weld::Window* pParent, SfxBindings& rBindings);
21 virtual ~SwWatermarkDialog() override;
22
23 void InitFields();
24
25private:
26 DECL_LINK(OKButtonHdl, weld::Button&, void);
27
29
30 std::unique_ptr<weld::Entry> m_xTextInput;
31 std::unique_ptr<weld::Button> m_xOKButton;
32 std::unique_ptr<weld::ComboBox> m_xFont;
33 std::unique_ptr<weld::MetricSpinButton> m_xAngle;
34 std::unique_ptr<weld::MetricSpinButton> m_xTransparency;
35 std::unique_ptr<ColorListBox> m_xColor;
36};
37
38#endif
39
40/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
virtual ~SwWatermarkDialog() override
std::unique_ptr< weld::Button > m_xOKButton
DECL_LINK(OKButtonHdl, weld::Button &, void)
SfxBindings & m_rBindings
SwWatermarkDialog(weld::Window *pParent, SfxBindings &rBindings)
std::unique_ptr< ColorListBox > m_xColor
std::unique_ptr< weld::MetricSpinButton > m_xTransparency
std::unique_ptr< weld::ComboBox > m_xFont
std::unique_ptr< weld::Entry > m_xTextInput
std::unique_ptr< weld::MetricSpinButton > m_xAngle