38 #pragma pack(push, 16)
179 virtual void EndDialog(
int nResponse)
override;
223 enum {
SLOTID = SID_VALIDITY_REFERENCE };
Reference< XExecutableDialog > m_xDialog
ScRefHandlerCaller * m_pHandler
void(ScRefHandlerCaller::* PINPUTSTARTDLTYPE)(formula::RefEdit *pEdit, const formula::RefButton *pButton)
void(ScRefHandlerCaller::* m_pRefInputDonePostHdl)()
void SetRefInputDonePostHdl(void(ScRefHandlerCaller::*pNewHdl)())
void(ScRefHandlerCaller::* m_pSetActiveHdl)()
void SetSetActHdl(PCOMMONHDLTYPE pNewHdl)
void SetRefInputStartPreHdl(PINPUTSTARTDLTYPE pNewHdl)
void(ScRefHandlerCaller::* PFUNCSETREFHDLTYPE)(const ScRange &, const ScDocument &)
void(ScRefHandlerCaller::* m_pSetReferenceHdl)(const ScRange &, const ScDocument &)
void(ScRefHandlerCaller::* PCOMMONHDLTYPE)()
void(ScRefHandlerCaller::* m_pRefInputStartPreHdl)(formula::RefEdit *pEdit, const formula::RefButton *pButton)
void SetHandler(ScRefHandlerCaller *pNewHandler)
void SetSetRefHdl(PFUNCSETREFHDLTYPE pNewHdl)
virtual void RefInputStart(formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
virtual void RefInputDone(bool bForced=false) override
static bool CanInputStart(const formula::RefEdit *pEdit)
bool CanInputDone(bool bForced)
std::unique_ptr< weld::Label > m_xFtError
std::unique_ptr< weld::Button > m_xBtnSearch
virtual void Reset(const SfxItemSet *rArgSet) override
std::unique_ptr< weld::ComboBox > m_xLbAction
virtual ~ScTPValidationError() override
DECL_LINK(ClickSearchHdl, weld::Button &, void)
DECL_LINK(SelectActionHdl, weld::ComboBox &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet)
virtual bool FillItemSet(SfxItemSet *rArgSet) override
std::unique_ptr< weld::TextView > m_xEdError
ScTPValidationError(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
std::unique_ptr< weld::CheckButton > m_xTsbShow
std::unique_ptr< weld::Entry > m_xEdtTitle
std::unique_ptr< weld::TextView > m_xEdInputHelp
virtual ~ScTPValidationHelp() override
std::unique_ptr< weld::CheckButton > m_xTsbHelp
virtual bool FillItemSet(SfxItemSet *rArgSet) override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet)
std::unique_ptr< weld::Entry > m_xEdtTitle
ScTPValidationHelp(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
virtual void Reset(const SfxItemSet *rArgSet) override
The tab page "Criteria" from the Validation dialog.
DECL_LINK(KillButtonFocusHdl, formula::RefButton &, void)
virtual bool FillItemSet(SfxItemSet *rArgSet) override
void SetFirstFormula(const OUString &rFmlaStr)
std::unique_ptr< weld::Label > m_xFtValue
Sort selection list in cell.
DECL_LINK(ClickHdl, formula::RefButton &, void)
ScTPValidationValue(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
static const WhichRangesContainer & GetRanges()
formula::RefEdit * m_pRefEdit
void RefInputDonePostHdl()
std::unique_ptr< weld::Container > m_xRefGrid
virtual void Reset(const SfxItemSet *rArgSet) override
std::unique_ptr< formula::RefEdit > m_xEdMin
std::unique_ptr< weld::CheckButton > m_xCbAllow
weld::Container * m_pBtnRefParent
std::unique_ptr< formula::RefButton > m_xBtnRef
Hint text for cell range validity.
virtual ~ScTPValidationValue() override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet)
void SetReferenceHdl(const ScRange &, const ScDocument &)
std::unique_ptr< formula::RefEdit > m_xEdMax
weld::Container * m_pRefEditParent
std::unique_ptr< weld::CheckButton > m_xCbShow
Allow blank cells.
std::unique_ptr< weld::Widget > m_xMinGrid
void RefInputStartPreHdl(formula::RefEdit *pEdit, const formula::RefButton *pButton)
std::unique_ptr< weld::CheckButton > m_xCbSort
Show selection list in cell.
void SetSecondFormula(const OUString &rFmlaStr)
DECL_LINK(KillEditFocusHdl, formula::RefEdit &, void)
OUString GetFirstFormula() const
std::unique_ptr< weld::Label > m_xFtMin
DECL_LINK(SelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Label > m_xFtMax
Entries for explicit list.
ScValidationDlg * GetValidationDlg()
std::unique_ptr< weld::ComboBox > m_xLbValue
static const WhichRangesContainer pValueRanges
std::unique_ptr< weld::Label > m_xFtHint
OUString GetSecondFormula() const
void RemoveRefDlg(bool bRestoreModal)
std::unique_ptr< weld::TextView > m_xEdList
DECL_LINK(CheckHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xLbAllow
DECL_LINK(EditSetFocusHdl, formula::RefEdit &, void)
List separator in formulas.
The "Validity" tab dialog.
ScTabViewShell * GetTabViewShell()
bool RemoveRefDlg(bool bRestoreModal)
virtual ~ScValidationDlg() override
virtual void EndDialog(int nResponse) override
bool IsRefInputting() const
virtual void RefInputDone(bool bForced=false) override
bool IsChildFocus() const
virtual void Close() override
virtual void SetActive() override
ScRefHdlrControllerImpl< SfxTabDialogController, false > ScValidationDlgBase
virtual void RefInputStart(formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
ScValidationDlg(weld::Window *pParent, const SfxItemSet *pArgSet, ScTabViewShell *pTabViewSh)
virtual void SetReference(const ScRange &rRef, ScDocument &rDoc) override
virtual bool CloseOnHide() const override
std::unique_ptr< weld::Container > m_xHBox
void SetModal(bool bModal)
ScTabViewShell * m_pTabVwSh
weld::Container * get_refinput_shrink_parent()
static std::shared_ptr< SfxDialogController > Find1AliveObject(const weld::Window *pAncestor)
SfxTabPage * GetTabPage(std::u16string_view rPageId) const
virtual ~ScRefHandlerCaller()