|
LibreOffice Module sc (master) 1
|
#include <protectiondlg.hxx>
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 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 | 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::CheckButton > | m_xBtnProtect |
| std::unique_ptr< weld::Container > | m_xPasswords |
| std::unique_ptr< weld::Container > | m_xOptions |
| std::unique_ptr< weld::Entry > | m_xPassword1Edit |
| std::unique_ptr< weld::Entry > | m_xPassword2Edit |
| std::unique_ptr< weld::TreeView > | m_xOptionsListBox |
| std::unique_ptr< weld::Button > | m_xBtnOk |
| std::unique_ptr< weld::Label > | m_xProtected |
| std::unique_ptr< weld::Label > | m_xUnprotected |
| std::unique_ptr< weld::Label > | m_xInsertColumns |
| std::unique_ptr< weld::Label > | m_xInsertRows |
| std::unique_ptr< weld::Label > | m_xDeleteColumns |
| std::unique_ptr< weld::Label > | m_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::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 26 of file protectiondlg.hxx.
|
delete |
|
explicit |
Definition at line 39 of file protectiondlg.cxx.
References weld::Check, Init(), m_aDeleteColumns, m_aDeleteRows, m_aInsertColumns, m_aInsertRows, m_aSelectLockedCells, m_aSelectUnlockedCells, m_xDeleteColumns, m_xDeleteRows, m_xInsertColumns, m_xInsertRows, m_xOptionsListBox, m_xProtected, and m_xUnprotected.
|
overridevirtual |
Definition at line 67 of file protectiondlg.cxx.
|
private |
|
private |
|
private |
|
private |
Definition at line 126 of file protectiondlg.cxx.
References m_xOptions, and m_xPasswords.
|
private |
Definition at line 96 of file protectiondlg.cxx.
References InsertEntry(), LINK, m_aDeleteColumns, m_aDeleteRows, m_aInsertColumns, m_aInsertRows, m_aSelectLockedCells, m_aSelectUnlockedCells, m_xBtnOk, m_xBtnProtect, m_xOptionsListBox, m_xPassword1Edit, m_xPassword2Edit, and TRISTATE_TRUE.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 88 of file protectiondlg.cxx.
References m_xOptionsListBox, and TRISTATE_FALSE.
Referenced by Init().
| void ScTableProtectionDlg::SetDialogData | ( | const ScTableProtection & | rData | ) |
Definition at line 71 of file protectiondlg.cxx.
References i, ScTableProtection::isOptionEnabled(), m_xOptionsListBox, TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by ScTabViewShell::Execute().
| void ScTableProtectionDlg::WriteData | ( | ScTableProtection & | rData | ) | const |
Definition at line 77 of file protectiondlg.cxx.
References i, m_xBtnProtect, m_xOptionsListBox, m_xPassword1Edit, ScTableProtection::setOption(), ScTableProtection::setPassword(), ScTableProtection::setProtected(), and TRISTATE_TRUE.
Referenced by ScTabViewShell::Execute().
|
private |
Definition at line 46 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 47 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 44 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 45 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 42 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 43 of file protectiondlg.hxx.
Referenced by Init(), and ScTableProtectionDlg().
|
private |
Definition at line 55 of file protectiondlg.hxx.
Referenced by Init().
|
private |
Definition at line 49 of file protectiondlg.hxx.
Referenced by Init(), and WriteData().
|
private |
Definition at line 60 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 61 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 58 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 59 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 51 of file protectiondlg.hxx.
Referenced by EnableOptionalWidgets().
|
private |
Definition at line 54 of file protectiondlg.hxx.
Referenced by Init(), InsertEntry(), ScTableProtectionDlg(), SetDialogData(), and WriteData().
|
private |
Definition at line 52 of file protectiondlg.hxx.
Referenced by Init(), and WriteData().
|
private |
Definition at line 53 of file protectiondlg.hxx.
Referenced by Init().
|
private |
Definition at line 50 of file protectiondlg.hxx.
Referenced by EnableOptionalWidgets().
|
private |
Definition at line 56 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().
|
private |
Definition at line 57 of file protectiondlg.hxx.
Referenced by ScTableProtectionDlg().