LibreOffice Module xmlsecurity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
MacroSecurity Class Referencefinal

#include <macrosecurity.hxx>

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

Public Member Functions

 MacroSecurity (weld::Window *pParent, css::uno::Reference< css::xml::crypto::XSecurityEnvironment > xSecurityEnvironment)
 
void EnableReset (bool bEnable=true)
 
- 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

 DECL_LINK (ActivatePageHdl, const OUString &, void)
 
 DECL_LINK (OkBtnHdl, weld::Button &, void)
 

Private Attributes

css::uno::Reference< css::xml::crypto::XSecurityEnvironment > m_xSecurityEnvironment
 
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< weld::Buttonm_xOkBtn
 
std::unique_ptr< weld::Buttonm_xResetBtn
 
std::unique_ptr< MacroSecurityTPm_xLevelTP
 
std::unique_ptr< MacroSecurityTPm_xTrustSrcTP
 

Friends

class MacroSecurityLevelTP
 
class MacroSecurityTrustedSourcesTP
 

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::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file macrosecurity.hxx.

Constructor & Destructor Documentation

◆ MacroSecurity()

MacroSecurity::MacroSecurity ( weld::Window pParent,
css::uno::Reference< css::xml::crypto::XSecurityEnvironment >  xSecurityEnvironment 
)

Member Function Documentation

◆ DECL_LINK() [1/2]

MacroSecurity::DECL_LINK ( ActivatePageHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/2]

MacroSecurity::DECL_LINK ( OkBtnHdl  ,
weld::Button ,
void   
)
private

◆ EnableReset()

void MacroSecurity::EnableReset ( bool  bEnable = true)
inline

Definition at line 49 of file macrosecurity.hxx.

References m_xResetBtn.

Referenced by MacroSecurityTrustedSourcesTP::ActivatePage().

Friends And Related Function Documentation

◆ MacroSecurityLevelTP

friend class MacroSecurityLevelTP
friend

Definition at line 31 of file macrosecurity.hxx.

Referenced by MacroSecurity().

◆ MacroSecurityTrustedSourcesTP

friend class MacroSecurityTrustedSourcesTP
friend

Definition at line 32 of file macrosecurity.hxx.

Referenced by MacroSecurity().

Member Data Documentation

◆ m_xLevelTP

std::unique_ptr<MacroSecurityTP> MacroSecurity::m_xLevelTP
private

Definition at line 40 of file macrosecurity.hxx.

Referenced by MacroSecurity().

◆ m_xOkBtn

std::unique_ptr<weld::Button> MacroSecurity::m_xOkBtn
private

Definition at line 37 of file macrosecurity.hxx.

Referenced by MacroSecurity().

◆ m_xResetBtn

std::unique_ptr<weld::Button> MacroSecurity::m_xResetBtn
private

Definition at line 38 of file macrosecurity.hxx.

Referenced by EnableReset().

◆ m_xSecurityEnvironment

css::uno::Reference<css::xml::crypto::XSecurityEnvironment> MacroSecurity::m_xSecurityEnvironment
private

Definition at line 34 of file macrosecurity.hxx.

Referenced by MacroSecurityTrustedSourcesTP::FillCertLB().

◆ m_xTabCtrl

std::unique_ptr<weld::Notebook> MacroSecurity::m_xTabCtrl
private

Definition at line 36 of file macrosecurity.hxx.

Referenced by MacroSecurity().

◆ m_xTrustSrcTP

std::unique_ptr<MacroSecurityTP> MacroSecurity::m_xTrustSrcTP
private

Definition at line 41 of file macrosecurity.hxx.

Referenced by MacroSecurity().


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