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

#include <secmacrowarnings.hxx>

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

Public Member Functions

 MacroWarning (weld::Window *pParent, bool _bShowSignatures)
 
void SetDocumentURL (const OUString &rDocURL)
 
void SetStorage (const css::uno::Reference< css::embed::XStorage > &rxStore, const OUString &aODFVersion, const css::uno::Sequence< css::security::DocumentSignatureInformation > &_rInfos)
 
void SetCertificate (const css::uno::Reference< css::security::XCertificate > &_rxCert)
 
- Public Member Functions inherited from weld::MessageDialogController
 MessageDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, const OUString &rRelocateId={})
 
virtual DialoggetDialog () override
 
virtual ~MessageDialogController () override
 
void set_primary_text (const OUString &rText)
 
OUString get_primary_text () const
 
void set_secondary_text (const OUString &rText)
 
OUString get_secondary_text () const
 
void set_default_response (int nResponse)
 
- 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

 DECL_LINK (ViewSignsBtnHdl, weld::Button &, void)
 
 DECL_LINK (EnableBtnHdl, weld::Button &, void)
 
 DECL_LINK (DisableBtnHdl, weld::Button &, void)
 
 DECL_LINK (AlwaysTrustCheckHdl, weld::Toggleable &, void)
 
 DECL_STATIC_LINK (MacroWarning, InstallLOKNotifierHdl, void *, vcl::ILibreOfficeKitNotifier *)
 
void InitControls ()
 

Private Attributes

std::unique_ptr< weld::WidgetmxGrid
 
std::unique_ptr< weld::LabelmxSignsFI
 
std::unique_ptr< weld::ButtonmxViewSignsBtn
 
std::unique_ptr< weld::CheckButtonmxAlwaysTrustCB
 
std::unique_ptr< weld::ButtonmxEnableBtn
 
std::unique_ptr< weld::ButtonmxDisableBtn
 
css::uno::Reference< css::security::XCertificate > mxCert
 
css::uno::Reference< css::embed::XStorage > mxStore
 
OUString maODFVersion
 
const css::uno::Sequence< css::security::DocumentSignatureInformation > * mpInfos
 
const bool mbShowSignatures
 
sal_Int32 mnActSecLevel
 

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)> &)
 
- Protected Attributes inherited from weld::MessageDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::MessageDialogm_xDialog
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Widgetm_xRelocate
 
std::unique_ptr< weld::Containerm_xOrigParent
 

Detailed Description

Definition at line 30 of file secmacrowarnings.hxx.

Constructor & Destructor Documentation

◆ MacroWarning()

MacroWarning::MacroWarning ( weld::Window pParent,
bool  _bShowSignatures 
)

Member Function Documentation

◆ DECL_LINK() [1/4]

MacroWarning::DECL_LINK ( AlwaysTrustCheckHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/4]

MacroWarning::DECL_LINK ( DisableBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

MacroWarning::DECL_LINK ( EnableBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

MacroWarning::DECL_LINK ( ViewSignsBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_STATIC_LINK()

MacroWarning::DECL_STATIC_LINK ( MacroWarning  ,
InstallLOKNotifierHdl  ,
void *  ,
vcl::ILibreOfficeKitNotifier  
)
private

◆ InitControls()

void MacroWarning::InitControls ( )
private

◆ SetCertificate()

void MacroWarning::SetCertificate ( const css::uno::Reference< css::security::XCertificate > &  _rxCert)

◆ SetDocumentURL()

void MacroWarning::SetDocumentURL ( const OUString &  rDocURL)

◆ SetStorage()

void MacroWarning::SetStorage ( const css::uno::Reference< css::embed::XStorage > &  rxStore,
const OUString &  aODFVersion,
const css::uno::Sequence< css::security::DocumentSignatureInformation > &  _rInfos 
)

Member Data Documentation

◆ maODFVersion

OUString MacroWarning::maODFVersion
private

Definition at line 42 of file secmacrowarnings.hxx.

Referenced by SetStorage().

◆ mbShowSignatures

const bool MacroWarning::mbShowSignatures
private

Definition at line 45 of file secmacrowarnings.hxx.

Referenced by InitControls().

◆ mnActSecLevel

sal_Int32 MacroWarning::mnActSecLevel
private

Definition at line 46 of file secmacrowarnings.hxx.

Referenced by InitControls().

◆ mpInfos

const css::uno::Sequence< css::security::DocumentSignatureInformation >* MacroWarning::mpInfos
private

Definition at line 43 of file secmacrowarnings.hxx.

Referenced by SetStorage().

◆ mxAlwaysTrustCB

std::unique_ptr<weld::CheckButton> MacroWarning::mxAlwaysTrustCB
private

Definition at line 36 of file secmacrowarnings.hxx.

Referenced by InitControls().

◆ mxCert

css::uno::Reference< css::security::XCertificate > MacroWarning::mxCert
private

Definition at line 40 of file secmacrowarnings.hxx.

Referenced by SetCertificate().

◆ mxDisableBtn

std::unique_ptr<weld::Button> MacroWarning::mxDisableBtn
private

Definition at line 38 of file secmacrowarnings.hxx.

Referenced by MacroWarning().

◆ mxEnableBtn

std::unique_ptr<weld::Button> MacroWarning::mxEnableBtn
private

Definition at line 37 of file secmacrowarnings.hxx.

Referenced by InitControls(), and MacroWarning().

◆ mxGrid

std::unique_ptr<weld::Widget> MacroWarning::mxGrid
private

Definition at line 33 of file secmacrowarnings.hxx.

Referenced by InitControls().

◆ mxSignsFI

std::unique_ptr<weld::Label> MacroWarning::mxSignsFI
private

Definition at line 34 of file secmacrowarnings.hxx.

Referenced by SetCertificate(), and SetStorage().

◆ mxStore

css::uno::Reference< css::embed::XStorage > MacroWarning::mxStore
private

Definition at line 41 of file secmacrowarnings.hxx.

Referenced by SetStorage().

◆ mxViewSignsBtn

std::unique_ptr<weld::Button> MacroWarning::mxViewSignsBtn
private

Definition at line 35 of file secmacrowarnings.hxx.

Referenced by InitControls(), SetCertificate(), and SetStorage().


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