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

#include <protectiondlg.hxx>

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

Public Member Functions

 ScTableProtectionDlg ()=delete
 
 ScTableProtectionDlg (weld::Window *pParent)
 
virtual ~ScTableProtectionDlg () override
 
void SetDialogData (const ScTableProtection &rData)
 
void WriteData (ScTableProtection &rData) const
 
- 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 Init ()
 
void EnableOptionalWidgets (bool bEnable)
 
void InsertEntry (const OUString &rTxt)
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
 DECL_LINK (CheckBoxHdl, weld::Toggleable &, void)
 
 DECL_LINK (PasswordModifyHdl, weld::Entry &, void)
 

Private Attributes

OUString m_aSelectLockedCells
 
OUString m_aSelectUnlockedCells
 
OUString m_aInsertColumns
 
OUString m_aInsertRows
 
OUString m_aDeleteColumns
 
OUString m_aDeleteRows
 
std::unique_ptr< weld::CheckButtonm_xBtnProtect
 
std::unique_ptr< weld::Containerm_xPasswords
 
std::unique_ptr< weld::Containerm_xOptions
 
std::unique_ptr< weld::Entrym_xPassword1Edit
 
std::unique_ptr< weld::Entrym_xPassword2Edit
 
std::unique_ptr< weld::TreeViewm_xOptionsListBox
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Labelm_xProtected
 
std::unique_ptr< weld::Labelm_xUnprotected
 
std::unique_ptr< weld::Labelm_xInsertColumns
 
std::unique_ptr< weld::Labelm_xInsertRows
 
std::unique_ptr< weld::Labelm_xDeleteColumns
 
std::unique_ptr< weld::Labelm_xDeleteRows
 

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 26 of file protectiondlg.hxx.

Constructor & Destructor Documentation

◆ ScTableProtectionDlg() [1/2]

ScTableProtectionDlg::ScTableProtectionDlg ( )
delete

◆ ScTableProtectionDlg() [2/2]

ScTableProtectionDlg::ScTableProtectionDlg ( weld::Window pParent)
explicit

◆ ~ScTableProtectionDlg()

ScTableProtectionDlg::~ScTableProtectionDlg ( )
overridevirtual

Definition at line 67 of file protectiondlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

ScTableProtectionDlg::DECL_LINK ( CheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

ScTableProtectionDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

ScTableProtectionDlg::DECL_LINK ( PasswordModifyHdl  ,
weld::Entry ,
void   
)
private

◆ EnableOptionalWidgets()

void ScTableProtectionDlg::EnableOptionalWidgets ( bool  bEnable)
private

Definition at line 126 of file protectiondlg.cxx.

References m_xOptions, and m_xPasswords.

◆ Init()

void ScTableProtectionDlg::Init ( void  )
private

◆ InsertEntry()

void ScTableProtectionDlg::InsertEntry ( const OUString &  rTxt)
private

Definition at line 88 of file protectiondlg.cxx.

References m_xOptionsListBox, and TRISTATE_FALSE.

Referenced by Init().

◆ SetDialogData()

void ScTableProtectionDlg::SetDialogData ( const ScTableProtection rData)

◆ WriteData()

void ScTableProtectionDlg::WriteData ( ScTableProtection rData) const

Member Data Documentation

◆ m_aDeleteColumns

OUString ScTableProtectionDlg::m_aDeleteColumns
private

Definition at line 46 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_aDeleteRows

OUString ScTableProtectionDlg::m_aDeleteRows
private

Definition at line 47 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_aInsertColumns

OUString ScTableProtectionDlg::m_aInsertColumns
private

Definition at line 44 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_aInsertRows

OUString ScTableProtectionDlg::m_aInsertRows
private

Definition at line 45 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_aSelectLockedCells

OUString ScTableProtectionDlg::m_aSelectLockedCells
private

Definition at line 42 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_aSelectUnlockedCells

OUString ScTableProtectionDlg::m_aSelectUnlockedCells
private

Definition at line 43 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

◆ m_xBtnOk

std::unique_ptr<weld::Button> ScTableProtectionDlg::m_xBtnOk
private

Definition at line 55 of file protectiondlg.hxx.

Referenced by Init().

◆ m_xBtnProtect

std::unique_ptr<weld::CheckButton> ScTableProtectionDlg::m_xBtnProtect
private

Definition at line 49 of file protectiondlg.hxx.

Referenced by Init(), and WriteData().

◆ m_xDeleteColumns

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xDeleteColumns
private

Definition at line 60 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

◆ m_xDeleteRows

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xDeleteRows
private

Definition at line 61 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

◆ m_xInsertColumns

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xInsertColumns
private

Definition at line 58 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

◆ m_xInsertRows

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xInsertRows
private

Definition at line 59 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

◆ m_xOptions

std::unique_ptr<weld::Container> ScTableProtectionDlg::m_xOptions
private

Definition at line 51 of file protectiondlg.hxx.

Referenced by EnableOptionalWidgets().

◆ m_xOptionsListBox

std::unique_ptr<weld::TreeView> ScTableProtectionDlg::m_xOptionsListBox
private

Definition at line 54 of file protectiondlg.hxx.

Referenced by Init(), InsertEntry(), ScTableProtectionDlg(), SetDialogData(), and WriteData().

◆ m_xPassword1Edit

std::unique_ptr<weld::Entry> ScTableProtectionDlg::m_xPassword1Edit
private

Definition at line 52 of file protectiondlg.hxx.

Referenced by Init(), and WriteData().

◆ m_xPassword2Edit

std::unique_ptr<weld::Entry> ScTableProtectionDlg::m_xPassword2Edit
private

Definition at line 53 of file protectiondlg.hxx.

Referenced by Init().

◆ m_xPasswords

std::unique_ptr<weld::Container> ScTableProtectionDlg::m_xPasswords
private

Definition at line 50 of file protectiondlg.hxx.

Referenced by EnableOptionalWidgets().

◆ m_xProtected

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xProtected
private

Definition at line 56 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

◆ m_xUnprotected

std::unique_ptr<weld::Label> ScTableProtectionDlg::m_xUnprotected
private

Definition at line 57 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().


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