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