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 OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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::ToggleButton &, 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 28 of file protectiondlg.hxx.

Constructor & Destructor Documentation

ScTableProtectionDlg::ScTableProtectionDlg ( )
delete
ScTableProtectionDlg::ScTableProtectionDlg ( weld::Window pParent)
explicit
ScTableProtectionDlg::~ScTableProtectionDlg ( )
overridevirtual

Definition at line 67 of file protectiondlg.cxx.

Member Function Documentation

ScTableProtectionDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private
ScTableProtectionDlg::DECL_LINK ( CheckBoxHdl  ,
weld::ToggleButton ,
void   
)
private
ScTableProtectionDlg::DECL_LINK ( PasswordModifyHdl  ,
weld::Entry ,
void   
)
private
void ScTableProtectionDlg::EnableOptionalWidgets ( bool  bEnable)
private

Definition at line 126 of file protectiondlg.cxx.

References m_xOptions, and m_xPasswords.

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

Definition at line 88 of file protectiondlg.cxx.

References m_xOptionsListBox, and TRISTATE_FALSE.

Referenced by Init().

void ScTableProtectionDlg::SetDialogData ( const ScTableProtection rData)
void ScTableProtectionDlg::WriteData ( ScTableProtection rData) const

Member Data Documentation

OUString ScTableProtectionDlg::m_aDeleteColumns
private

Definition at line 48 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

OUString ScTableProtectionDlg::m_aDeleteRows
private

Definition at line 49 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

OUString ScTableProtectionDlg::m_aInsertColumns
private

Definition at line 46 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

OUString ScTableProtectionDlg::m_aInsertRows
private

Definition at line 47 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

OUString ScTableProtectionDlg::m_aSelectLockedCells
private

Definition at line 44 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

OUString ScTableProtectionDlg::m_aSelectUnlockedCells
private

Definition at line 45 of file protectiondlg.hxx.

Referenced by Init(), and ScTableProtectionDlg().

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

Definition at line 57 of file protectiondlg.hxx.

Referenced by Init().

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

Definition at line 51 of file protectiondlg.hxx.

Referenced by Init(), and WriteData().

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

Definition at line 62 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

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

Definition at line 63 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

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

Definition at line 60 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

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

Definition at line 61 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

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

Definition at line 53 of file protectiondlg.hxx.

Referenced by EnableOptionalWidgets().

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

Definition at line 56 of file protectiondlg.hxx.

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

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

Definition at line 54 of file protectiondlg.hxx.

Referenced by Init(), and WriteData().

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

Definition at line 55 of file protectiondlg.hxx.

Referenced by Init().

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

Definition at line 52 of file protectiondlg.hxx.

Referenced by EnableOptionalWidgets().

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

Definition at line 58 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().

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

Definition at line 59 of file protectiondlg.hxx.

Referenced by ScTableProtectionDlg().


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