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

#include <delcodlg.hxx>

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

Public Member Functions

 ScDeleteContentsDlg (weld::Window *pParent)
 
virtual ~ScDeleteContentsDlg () override
 
void DisableObjects ()
 
InsertDeleteFlags GetDelContentsCmdBits () 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 DisableChecks (bool bDelAllChecked)
 
 DECL_LINK (DelAllHdl, weld::Toggleable &, void)
 

Private Attributes

bool m_bObjectsDisabled
 
std::unique_ptr< weld::CheckButtonm_xBtnDelAll
 
std::unique_ptr< weld::CheckButtonm_xBtnDelStrings
 
std::unique_ptr< weld::CheckButtonm_xBtnDelNumbers
 
std::unique_ptr< weld::CheckButtonm_xBtnDelDateTime
 
std::unique_ptr< weld::CheckButtonm_xBtnDelFormulas
 
std::unique_ptr< weld::CheckButtonm_xBtnDelNotes
 
std::unique_ptr< weld::CheckButtonm_xBtnDelAttrs
 
std::unique_ptr< weld::CheckButtonm_xBtnDelObjects
 

Static Private Attributes

static bool bPreviousAllCheck = false
 
static InsertDeleteFlags nPreviousChecks
 

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 25 of file delcodlg.hxx.

Constructor & Destructor Documentation

◆ ScDeleteContentsDlg()

ScDeleteContentsDlg::ScDeleteContentsDlg ( weld::Window pParent)

◆ ~ScDeleteContentsDlg()

ScDeleteContentsDlg::~ScDeleteContentsDlg ( )
overridevirtual

Definition at line 55 of file delcodlg.cxx.

Member Function Documentation

◆ DECL_LINK()

ScDeleteContentsDlg::DECL_LINK ( DelAllHdl  ,
weld::Toggleable ,
void   
)
private

◆ DisableChecks()

void ScDeleteContentsDlg::DisableChecks ( bool  bDelAllChecked)
private

◆ DisableObjects()

void ScDeleteContentsDlg::DisableObjects ( )

Definition at line 112 of file delcodlg.cxx.

References m_bObjectsDisabled, and m_xBtnDelObjects.

◆ GetDelContentsCmdBits()

InsertDeleteFlags ScDeleteContentsDlg::GetDelContentsCmdBits ( ) const

Member Data Documentation

◆ bPreviousAllCheck

bool ScDeleteContentsDlg::bPreviousAllCheck = false
staticprivate

Definition at line 39 of file delcodlg.hxx.

Referenced by GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_bObjectsDisabled

bool ScDeleteContentsDlg::m_bObjectsDisabled
private

Definition at line 28 of file delcodlg.hxx.

Referenced by DisableChecks(), and DisableObjects().

◆ m_xBtnDelAll

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelAll
private

Definition at line 30 of file delcodlg.hxx.

Referenced by GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelAttrs

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelAttrs
private

Definition at line 36 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelDateTime

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelDateTime
private

Definition at line 33 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelFormulas

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelFormulas
private

Definition at line 34 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelNotes

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelNotes
private

Definition at line 35 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelNumbers

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelNumbers
private

Definition at line 32 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ m_xBtnDelObjects

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelObjects
private

◆ m_xBtnDelStrings

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelStrings
private

Definition at line 31 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

◆ nPreviousChecks

InsertDeleteFlags ScDeleteContentsDlg::nPreviousChecks
staticprivate
Initial value:
@ NOTE
Strings (and string results if InsertDeleteFlags::FORMULA is not set).
@ STRING
Dates, times, datetime values.
@ DATETIME
Numeric values (and numeric results if InsertDeleteFlags::FORMULA is not set).
@ FORMULA
Cell notes.

Definition at line 40 of file delcodlg.hxx.

Referenced by GetDelContentsCmdBits(), and ScDeleteContentsDlg().


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