LibreOffice Module cui (master) 1
|
#include <SignSignatureLineDialog.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::Entry > | m_xEditName |
std::unique_ptr< weld::TextView > | m_xEditComment |
std::unique_ptr< weld::Button > | m_xBtnLoadImage |
std::unique_ptr< weld::Button > | m_xBtnClearImage |
std::unique_ptr< weld::Button > | m_xBtnChooseCertificate |
std::unique_ptr< weld::Button > | m_xBtnSign |
std::unique_ptr< weld::Label > | m_xLabelHint |
std::unique_ptr< weld::Label > | m_xLabelHintText |
std::unique_ptr< weld::Label > | m_xLabelAddComment |
css::uno::Reference< css::beans::XPropertySet > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 18 of file SignSignatureLineDialog.hxx.
SignSignatureLineDialog::SignSignatureLineDialog | ( | weld::Widget * | pParent, |
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
Definition at line 52 of file SignSignatureLineDialog.cxx.
References LINK, m_aSignatureLineId, m_aSuggestedSignerName, m_aSuggestedSignerTitle, m_bShowSignDate, m_xBtnChooseCertificate, m_xBtnClearImage, m_xBtnLoadImage, m_xEditComment, m_xEditName, m_xLabelAddComment, m_xLabelHint, m_xLabelHintText, SignatureLineDialogBase::m_xModel, m_xShapeProperties, SAL_WARN, ValidateFields(), and xModel.
|
overrideprivatevirtual |
Implements SignatureLineDialogBase.
Definition at line 187 of file SignSignatureLineDialog.cxx.
References SfxObjectShell::Current(), getSignedGraphic(), m_aSignatureLineId, weld::GenericDialogController::m_xDialog, m_xEditComment, m_xSelectedCertifate, SAL_WARN, and SfxObjectShell::SignSignatureLine().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 208 of file SignSignatureLineDialog.cxx.
References CuiResId(), SignatureLineDialogBase::getCDataString(), svx::SignatureLineHelper::getLocalizedDate(), svx::SignatureLineHelper::getSignatureImage(), svx::SignatureLineHelper::getSignerName(), XOutBitmap::GraphicToBase64(), svx::SignatureLineHelper::importSVG(), m_aSuggestedSignerName, m_aSuggestedSignerTitle, m_bShowSignDate, m_xEditName, m_xSelectedCertifate, m_xSignatureImage, and SAL_WARN.
Referenced by Apply().
|
private |
Definition at line 176 of file SignSignatureLineDialog.cxx.
References m_xBtnClearImage, m_xBtnLoadImage, m_xBtnSign, m_xEditName, m_xSelectedCertifate, and m_xSignatureImage.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 37 of file SignSignatureLineDialog.hxx.
Referenced by Apply(), and SignSignatureLineDialog().
|
private |
Definition at line 38 of file SignSignatureLineDialog.hxx.
Referenced by getSignedGraphic(), and SignSignatureLineDialog().
|
private |
Definition at line 39 of file SignSignatureLineDialog.hxx.
Referenced by getSignedGraphic(), and SignSignatureLineDialog().
|
private |
Definition at line 40 of file SignSignatureLineDialog.hxx.
Referenced by getSignedGraphic(), and SignSignatureLineDialog().
|
private |
Definition at line 41 of file SignSignatureLineDialog.hxx.
|
private |
Definition at line 28 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 27 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog(), and ValidateFields().
|
private |
Definition at line 26 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog(), and ValidateFields().
|
private |
Definition at line 29 of file SignSignatureLineDialog.hxx.
Referenced by ValidateFields().
|
private |
Definition at line 25 of file SignSignatureLineDialog.hxx.
Referenced by Apply(), and SignSignatureLineDialog().
|
private |
Definition at line 24 of file SignSignatureLineDialog.hxx.
Referenced by getSignedGraphic(), SignSignatureLineDialog(), and ValidateFields().
|
private |
Definition at line 32 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 30 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 31 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 35 of file SignSignatureLineDialog.hxx.
Referenced by Apply(), getSignedGraphic(), and ValidateFields().
|
private |
Definition at line 34 of file SignSignatureLineDialog.hxx.
Referenced by SignSignatureLineDialog().
|
private |
Definition at line 36 of file SignSignatureLineDialog.hxx.
Referenced by getSignedGraphic(), and ValidateFields().