nss: upgrade to release 3.73
[LibreOffice.git] / sw / source / uibase / inc / watermarkdialog.hxx
blobdff87a792a570bc78c25f055909fa5f10d0390bd
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 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_WATERMARKDIALOG_HXX
10 #define INCLUDED_SW_SOURCE_UIBASE_INC_WATERMARKDIALOG_HXX
12 #include <sfx2/bindings.hxx>
13 #include <vcl/weld.hxx>
14 #include <svx/colorbox.hxx>
15 #include <sfx2/basedlgs.hxx>
17 class SwWatermarkDialog : public SfxDialogController
19 public:
20 SwWatermarkDialog(weld::Window* pParent, SfxBindings& rBindings);
21 virtual ~SwWatermarkDialog() override;
23 void InitFields();
25 private:
26 DECL_LINK(OKButtonHdl, weld::Button&, void);
28 SfxBindings& m_rBindings;
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;
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */