LibreOffice Module cui (master) 1
SignatureLineDialog.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
13#include <com/sun/star/beans/XPropertySet.hpp>
14#include <com/sun/star/uno/Reference.hxx>
15
17{
18public:
19 SignatureLineDialog(weld::Widget* pParent, css::uno::Reference<css::frame::XModel> xModel,
20 bool bEditExisting);
21
22private:
23 std::unique_ptr<weld::Entry> m_xEditName;
24 std::unique_ptr<weld::Entry> m_xEditTitle;
25 std::unique_ptr<weld::Entry> m_xEditEmail;
26 std::unique_ptr<weld::TextView> m_xEditInstructions;
27 std::unique_ptr<weld::CheckButton> m_xCheckboxCanAddComments;
28 std::unique_ptr<weld::CheckButton> m_xCheckboxShowSignDate;
29
30 css::uno::Reference<css::beans::XPropertySet> m_xExistingShapeProperties;
32
33 virtual void Apply() override;
34};
35
36/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
std::unique_ptr< weld::Entry > m_xEditName
css::uno::Reference< css::beans::XPropertySet > m_xExistingShapeProperties
std::unique_ptr< weld::Entry > m_xEditTitle
std::unique_ptr< weld::CheckButton > m_xCheckboxShowSignDate
std::unique_ptr< weld::Entry > m_xEditEmail
std::unique_ptr< weld::TextView > m_xEditInstructions
std::unique_ptr< weld::CheckButton > m_xCheckboxCanAddComments
SignatureLineDialog(weld::Widget *pParent, css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)
virtual void Apply() override
Reference< XModel > xModel