20#undef SC_DLLIMPLEMENTATION
30 : GenericDialogController(pParent,
"modules/scalc/ui/deletecontents.ui",
"DeleteContentsDialog")
31 , m_bObjectsDisabled(false)
32 , m_xBtnDelAll(m_xBuilder->weld_check_button(
"deleteall"))
33 , m_xBtnDelStrings(m_xBuilder->weld_check_button(
"text"))
34 , m_xBtnDelNumbers(m_xBuilder->weld_check_button(
"numbers"))
35 , m_xBtnDelDateTime(m_xBuilder->weld_check_button(
"datetime"))
36 , m_xBtnDelFormulas(m_xBuilder->weld_check_button(
"formulas"))
37 , m_xBtnDelNotes(m_xBuilder->weld_check_button(
"comments"))
38 , m_xBtnDelAttrs(m_xBuilder->weld_check_button(
"formats"))
39 , m_xBtnDelObjects(m_xBuilder->weld_check_button(
"objects"))
121 DisableChecks( m_xBtnDelAll->get_active() );
std::unique_ptr< weld::CheckButton > m_xBtnDelNotes
std::unique_ptr< weld::CheckButton > m_xBtnDelNumbers
std::unique_ptr< weld::CheckButton > m_xBtnDelStrings
std::unique_ptr< weld::CheckButton > m_xBtnDelDateTime
static bool bPreviousAllCheck
static InsertDeleteFlags nPreviousChecks
std::unique_ptr< weld::CheckButton > m_xBtnDelAll
virtual ~ScDeleteContentsDlg() override
std::unique_ptr< weld::CheckButton > m_xBtnDelAttrs
InsertDeleteFlags GetDelContentsCmdBits() const
ScDeleteContentsDlg(weld::Window *pParent)
std::unique_ptr< weld::CheckButton > m_xBtnDelFormulas
void DisableChecks(bool bDelAllChecked)
std::unique_ptr< weld::CheckButton > m_xBtnDelObjects
IMPL_LINK_NOARG(ScDeleteContentsDlg, DelAllHdl, weld::Toggleable &, void)
@ 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).
@ ATTRIB
Internal use only (d&d undo): do not delete caption objects of cell notes.
#define LINK(Instance, Class, Member)