LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SignSignatureLineDialog Class Reference

#include <SignSignatureLineDialog.hxx>

Inheritance diagram for SignSignatureLineDialog:
[legend]
Collaboration diagram for SignSignatureLineDialog:
[legend]

Public Member Functions

 SignSignatureLineDialog (weld::Widget *pParent, css::uno::Reference< css::frame::XModel > xModel)
 
- Public Member Functions inherited from SignatureLineDialogBase
 SignatureLineDialogBase (weld::Widget *pParent, css::uno::Reference< css::frame::XModel > xModel, const OUString &rUIFile, const OUString &rDialogId)
 
virtual short run () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void ValidateFields ()
 
css::uno::Reference< css::graphic::XGraphic > getSignedGraphic (bool bValid)
 
virtual void Apply () override
 
 DECL_LINK (clearImage, weld::Button &, void)
 
 DECL_LINK (loadImage, weld::Button &, void)
 
 DECL_LINK (chooseCertificate, weld::Button &, void)
 
 DECL_LINK (entryChanged, weld::Entry &, void)
 

Private Attributes

std::unique_ptr< weld::Entrym_xEditName
 
std::unique_ptr< weld::TextViewm_xEditComment
 
std::unique_ptr< weld::Buttonm_xBtnLoadImage
 
std::unique_ptr< weld::Buttonm_xBtnClearImage
 
std::unique_ptr< weld::Buttonm_xBtnChooseCertificate
 
std::unique_ptr< weld::Buttonm_xBtnSign
 
std::unique_ptr< weld::Labelm_xLabelHint
 
std::unique_ptr< weld::Labelm_xLabelHintText
 
std::unique_ptr< weld::Labelm_xLabelAddComment
 
css::uno::Reference< css::beans::XPropertySetm_xShapeProperties
 
css::uno::Reference< css::security::XCertificate > m_xSelectedCertifate
 
css::uno::Reference< css::graphic::XGraphic > m_xSignatureImage
 
OUString m_aSignatureLineId
 
OUString m_aSuggestedSignerName
 
OUString m_aSuggestedSignerTitle
 
bool m_bShowSignDate
 
OUString m_sOriginalImageBtnLabel
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
virtual void Apply ()=0
 
- Static Protected Member Functions inherited from SignatureLineDialogBase
static OUString getCDataString (std::u16string_view rString)
 
- Protected Attributes inherited from SignatureLineDialogBase
css::uno::Reference< css::frame::XModel > m_xModel
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 18 of file SignSignatureLineDialog.hxx.

Constructor & Destructor Documentation

◆ SignSignatureLineDialog()

SignSignatureLineDialog::SignSignatureLineDialog ( weld::Widget pParent,
css::uno::Reference< css::frame::XModel >  xModel 
)

Member Function Documentation

◆ Apply()

void SignSignatureLineDialog::Apply ( )
overrideprivatevirtual

◆ DECL_LINK() [1/4]

SignSignatureLineDialog::DECL_LINK ( chooseCertificate  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SignSignatureLineDialog::DECL_LINK ( clearImage  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

SignSignatureLineDialog::DECL_LINK ( entryChanged  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/4]

SignSignatureLineDialog::DECL_LINK ( loadImage  ,
weld::Button ,
void   
)
private

◆ getSignedGraphic()

css::uno::Reference< css::graphic::XGraphic > SignSignatureLineDialog::getSignedGraphic ( bool  bValid)
private

◆ ValidateFields()

void SignSignatureLineDialog::ValidateFields ( )
private

Member Data Documentation

◆ m_aSignatureLineId

OUString SignSignatureLineDialog::m_aSignatureLineId
private

Definition at line 37 of file SignSignatureLineDialog.hxx.

Referenced by Apply(), and SignSignatureLineDialog().

◆ m_aSuggestedSignerName

OUString SignSignatureLineDialog::m_aSuggestedSignerName
private

Definition at line 38 of file SignSignatureLineDialog.hxx.

Referenced by getSignedGraphic(), and SignSignatureLineDialog().

◆ m_aSuggestedSignerTitle

OUString SignSignatureLineDialog::m_aSuggestedSignerTitle
private

Definition at line 39 of file SignSignatureLineDialog.hxx.

Referenced by getSignedGraphic(), and SignSignatureLineDialog().

◆ m_bShowSignDate

bool SignSignatureLineDialog::m_bShowSignDate
private

Definition at line 40 of file SignSignatureLineDialog.hxx.

Referenced by getSignedGraphic(), and SignSignatureLineDialog().

◆ m_sOriginalImageBtnLabel

OUString SignSignatureLineDialog::m_sOriginalImageBtnLabel
private

Definition at line 41 of file SignSignatureLineDialog.hxx.

◆ m_xBtnChooseCertificate

std::unique_ptr<weld::Button> SignSignatureLineDialog::m_xBtnChooseCertificate
private

Definition at line 28 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog().

◆ m_xBtnClearImage

std::unique_ptr<weld::Button> SignSignatureLineDialog::m_xBtnClearImage
private

Definition at line 27 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog(), and ValidateFields().

◆ m_xBtnLoadImage

std::unique_ptr<weld::Button> SignSignatureLineDialog::m_xBtnLoadImage
private

Definition at line 26 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog(), and ValidateFields().

◆ m_xBtnSign

std::unique_ptr<weld::Button> SignSignatureLineDialog::m_xBtnSign
private

Definition at line 29 of file SignSignatureLineDialog.hxx.

Referenced by ValidateFields().

◆ m_xEditComment

std::unique_ptr<weld::TextView> SignSignatureLineDialog::m_xEditComment
private

Definition at line 25 of file SignSignatureLineDialog.hxx.

Referenced by Apply(), and SignSignatureLineDialog().

◆ m_xEditName

std::unique_ptr<weld::Entry> SignSignatureLineDialog::m_xEditName
private

◆ m_xLabelAddComment

std::unique_ptr<weld::Label> SignSignatureLineDialog::m_xLabelAddComment
private

Definition at line 32 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog().

◆ m_xLabelHint

std::unique_ptr<weld::Label> SignSignatureLineDialog::m_xLabelHint
private

Definition at line 30 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog().

◆ m_xLabelHintText

std::unique_ptr<weld::Label> SignSignatureLineDialog::m_xLabelHintText
private

Definition at line 31 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog().

◆ m_xSelectedCertifate

css::uno::Reference<css::security::XCertificate> SignSignatureLineDialog::m_xSelectedCertifate
private

Definition at line 35 of file SignSignatureLineDialog.hxx.

Referenced by Apply(), getSignedGraphic(), and ValidateFields().

◆ m_xShapeProperties

css::uno::Reference<css::beans::XPropertySet> SignSignatureLineDialog::m_xShapeProperties
private

Definition at line 34 of file SignSignatureLineDialog.hxx.

Referenced by SignSignatureLineDialog().

◆ m_xSignatureImage

css::uno::Reference<css::graphic::XGraphic> SignSignatureLineDialog::m_xSignatureImage
private

Definition at line 36 of file SignSignatureLineDialog.hxx.

Referenced by getSignedGraphic(), and ValidateFields().


The documentation for this class was generated from the following files: