|
LibreOffice Module sc (master) 1
|
The tab page "Criteria" from the Validation dialog. More...
#include <validate.hxx>
Public Member Functions | |
| ScTPValidationValue (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet) | |
| virtual | ~ScTPValidationValue () override |
| virtual bool | FillItemSet (SfxItemSet *rArgSet) override |
| virtual void | Reset (const SfxItemSet *rArgSet) override |
| void | SetupRefDlg () |
| void | RemoveRefDlg (bool bRestoreModal) |
Public Member Functions inherited from ScRefHandlerCaller | |
| virtual | ~ScRefHandlerCaller () |
Public Member Functions inherited from SfxTabPage | |
| void | SetDialogController (SfxOkDialogController *pDialog) |
| virtual | ~SfxTabPage () override |
| void | set_visible (bool bVisible) |
| const SfxItemSet & | GetItemSet () const |
| virtual bool | FillItemSet (SfxItemSet *) |
| virtual void | Reset (const SfxItemSet *) |
| virtual bool | DeferResetToFirstActivation () |
| bool | HasExchangeSupport () const |
| void | SetExchangeSupport () |
| virtual void | ActivatePage (const SfxItemSet &) |
| virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
| void | SetUserData (const OUString &rString) |
| const OUString & | GetUserData () const |
| virtual void | FillUserData () |
| virtual bool | IsReadOnly () const |
| virtual void | PageCreated (const SfxAllItemSet &aSet) |
| virtual void | ChangesApplied () |
| void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
| css::uno::Reference< css::frame::XFrame > | GetFrame () const |
| const SfxItemSet * | GetDialogExampleSet () const |
| OUString | GetHelpId () const |
| OUString | GetConfigId () const |
| bool | IsVisible () const |
| weld::Window * | GetFrameWeld () const |
| std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
| static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet) |
| static const WhichRangesContainer & | GetRanges () |
Static Public Member Functions inherited from SfxTabPage | |
| static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
| void | Init () |
| OUString | GetFirstFormula () const |
| OUString | GetSecondFormula () const |
| void | SetFirstFormula (const OUString &rFmlaStr) |
| void | SetSecondFormula (const OUString &rFmlaStr) |
| DECL_LINK (SelectHdl, weld::ComboBox &, void) | |
| DECL_LINK (CheckHdl, weld::Toggleable &, void) | |
| DECL_LINK (EditSetFocusHdl, formula::RefEdit &, void) | |
| List separator in formulas. More... | |
| DECL_LINK (KillEditFocusHdl, formula::RefEdit &, void) | |
| DECL_LINK (KillButtonFocusHdl, formula::RefButton &, void) | |
| DECL_LINK (ClickHdl, formula::RefButton &, void) | |
| void | SetReferenceHdl (const ScRange &, const ScDocument &) |
| void | SetActiveHdl () |
| void | RefInputStartPreHdl (formula::RefEdit *pEdit, const formula::RefButton *pButton) |
| void | RefInputDonePostHdl () |
| ScValidationDlg * | GetValidationDlg () |
Private Attributes | |
| OUString | maStrMin |
| OUString | maStrMax |
| OUString | maStrValue |
| OUString | maStrFormula |
| OUString | maStrRange |
| OUString | maStrList |
| sal_Unicode | mcFmlaSep |
| formula::RefEdit * | m_pRefEdit |
| std::unique_ptr< weld::ComboBox > | m_xLbAllow |
| std::unique_ptr< weld::CheckButton > | m_xCbAllow |
| std::unique_ptr< weld::CheckButton > | m_xCbShow |
| Allow blank cells. More... | |
| std::unique_ptr< weld::CheckButton > | m_xCbSort |
| Show selection list in cell. More... | |
| std::unique_ptr< weld::Label > | m_xFtValue |
| Sort selection list in cell. More... | |
| std::unique_ptr< weld::ComboBox > | m_xLbValue |
| std::unique_ptr< weld::Label > | m_xFtMin |
| std::unique_ptr< weld::Widget > | m_xMinGrid |
| std::unique_ptr< formula::RefEdit > | m_xEdMin |
| std::unique_ptr< weld::TextView > | m_xEdList |
| std::unique_ptr< weld::Label > | m_xFtMax |
| Entries for explicit list. More... | |
| std::unique_ptr< formula::RefEdit > | m_xEdMax |
| std::unique_ptr< weld::Label > | m_xFtHint |
| std::unique_ptr< formula::RefButton > | m_xBtnRef |
| Hint text for cell range validity. More... | |
| std::unique_ptr< weld::Container > | m_xRefGrid |
| weld::Container * | m_pRefEditParent |
| weld::Container * | m_pBtnRefParent |
Static Private Attributes | |
| static const WhichRangesContainer | pValueRanges |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
| SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
| sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
| TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
| const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
| SfxOkDialogController * | GetDialogController () const |
The tab page "Criteria" from the Validation dialog.
Definition at line 76 of file validate.hxx.
|
explicit |
Definition at line 350 of file validate.cxx.
References get(), formula::FormulaCompiler::GetNativeSymbol(), Size::Height(), Init(), LINK, m_xBtnRef, m_xContainer, m_xEdList, m_xEdMax, m_xEdMin, m_xFtMax, m_xFtMin, mcFmlaSep, ocSep, and Size::Width().
|
overridevirtual |
Definition at line 400 of file validate.cxx.
|
static |
Definition at line 427 of file validate.cxx.
Referenced by ScValidationDlg::ScValidationDlg().
|
private |
|
private |
|
private |
List separator in formulas.
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 471 of file validate.cxx.
References Direct, GetFirstFormula(), GetSecondFormula(), m_xCbAllow, m_xCbShow, m_xCbSort, m_xLbAllow, m_xLbValue, SfxItemSet::Put(), and SC_VALIDDLG_ALLOW_CUSTOM.
|
private |
Definition at line 492 of file validate.cxx.
References m_xEdList, m_xEdMin, m_xLbAllow, mcFmlaSep, and SC_VALIDDLG_ALLOW_LIST.
Referenced by FillItemSet().
|
inlinestatic |
Definition at line 84 of file validate.hxx.
References pValueRanges.
Referenced by ScCellShell::ExecuteDB().
|
private |
|
private |
Definition at line 531 of file validate.cxx.
References SfxTabPage::GetDialogController().
Referenced by RefInputDonePostHdl(), RefInputStartPreHdl(), RemoveRefDlg(), SetActiveHdl(), SetReferenceHdl(), and SetupRefDlg().
|
private |
Definition at line 407 of file validate.cxx.
References LINK, m_xBtnRef, m_xCbShow, m_xEdMax, m_xEdMin, m_xLbAllow, m_xLbValue, SC_VALIDDLG_ALLOW_ANY, and SC_VALIDDLG_DATA_EQUAL.
Referenced by ScTPValidationValue().
|
private |
Definition at line 177 of file validate.cxx.
References ScViewData::GetRefTabNo(), ScViewData::GetTabNo(), GetValidationDlg(), ScViewData::GetViewShell(), formula::RefEdit::GetWidget(), formula::RefEdit::GrabFocus(), weld::Widget::has_focus(), weld::Widget::hide(), m_pBtnRefParent, m_pRefEdit, m_pRefEditParent, m_xBtnRef, m_xRefGrid, weld::Container::move(), and ScTabView::SetTabNo().
Referenced by SetupRefDlg().
|
private |
Definition at line 150 of file validate.cxx.
References ScValidationDlg::get_refinput_shrink_parent(), GetValidationDlg(), formula::RefEdit::GetWidget(), m_pBtnRefParent, m_pRefEdit, m_pRefEditParent, m_xBtnRef, m_xRefGrid, and weld::Widget::show().
Referenced by SetupRefDlg().
| void ScTPValidationValue::RemoveRefDlg | ( | bool | bRestoreModal | ) |
Definition at line 573 of file validate.cxx.
References GetValidationDlg(), m_pRefEdit, m_xBtnRef, ScValidationDlg::RemoveRefDlg(), ScRefHandlerHelper::SetHandler(), formula::RefEdit::SetReferences(), ScRefHandlerHelper::SetRefInputDonePostHdl(), ScRefHandlerHelper::SetRefInputStartPreHdl(), ScRefHandlerHelper::SetSetActHdl(), and ScRefHandlerHelper::SetSetRefHdl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 432 of file validate.cxx.
References SfxItemSet::GetItemIfSet(), m_xCbAllow, m_xCbShow, m_xCbSort, m_xLbAllow, m_xLbValue, SC_VALIDDLG_ALLOW_ANY, SC_VALIDDLG_DATA_EQUAL, SetFirstFormula(), and SetSecondFormula().
|
private |
Definition at line 139 of file validate.cxx.
References GetValidationDlg(), formula::RefEdit::GrabFocus(), and m_pRefEdit.
Referenced by SetupRefDlg().
|
private |
Definition at line 507 of file validate.cxx.
References aStringList, m_xEdList, m_xEdMin, m_xLbAllow, mcFmlaSep, SC_VALIDDLG_ALLOW_LIST, and SC_VALIDDLG_ALLOW_RANGE.
Referenced by Reset().
|
private |
Definition at line 125 of file validate.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScRange::Format(), ScDocument::GetAddressConvention(), GetValidationDlg(), m_pRefEdit, RANGE_ABS_3D, and formula::RefEdit::SetRefString().
Referenced by SetupRefDlg().
|
private |
| void ScTPValidationValue::SetupRefDlg | ( | ) |
Definition at line 536 of file validate.cxx.
References GetValidationDlg(), formula::RefEdit::GetWidget(), formula::RefEdit::GrabFocus(), weld::Widget::has_focus(), m_pRefEdit, m_xBtnRef, m_xEdMax, m_xEdMin, m_xFtMax, m_xFtMin, RefInputDonePostHdl(), RefInputStartPreHdl(), SetActiveHdl(), ScRefHandlerHelper::SetHandler(), SetReferenceHdl(), formula::RefEdit::SetReferences(), ScRefHandlerHelper::SetRefInputDonePostHdl(), ScRefHandlerHelper::SetRefInputStartPreHdl(), ScRefHandlerHelper::SetSetActHdl(), ScRefHandlerHelper::SetSetRefHdl(), and ScValidationDlg::SetupRefDlg().
|
private |
Definition at line 133 of file validate.hxx.
Referenced by RefInputDonePostHdl(), and RefInputStartPreHdl().
|
private |
Definition at line 114 of file validate.hxx.
Referenced by RefInputDonePostHdl(), RefInputStartPreHdl(), RemoveRefDlg(), SetActiveHdl(), SetReferenceHdl(), and SetupRefDlg().
|
private |
Definition at line 132 of file validate.hxx.
Referenced by RefInputDonePostHdl(), and RefInputStartPreHdl().
|
private |
Hint text for cell range validity.
Definition at line 129 of file validate.hxx.
Referenced by Init(), RefInputDonePostHdl(), RefInputStartPreHdl(), RemoveRefDlg(), ScTPValidationValue(), SetupRefDlg(), and ~ScTPValidationValue().
|
private |
Definition at line 117 of file validate.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Allow blank cells.
Definition at line 118 of file validate.hxx.
Referenced by FillItemSet(), Init(), and Reset().
|
private |
Show selection list in cell.
Definition at line 119 of file validate.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 125 of file validate.hxx.
Referenced by GetFirstFormula(), ScTPValidationValue(), and SetFirstFormula().
|
private |
Definition at line 127 of file validate.hxx.
Referenced by GetSecondFormula(), Init(), ScTPValidationValue(), SetSecondFormula(), SetupRefDlg(), and ~ScTPValidationValue().
|
private |
Definition at line 124 of file validate.hxx.
Referenced by GetFirstFormula(), Init(), ScTPValidationValue(), SetFirstFormula(), SetupRefDlg(), and ~ScTPValidationValue().
|
private |
Definition at line 128 of file validate.hxx.
|
private |
Entries for explicit list.
Definition at line 126 of file validate.hxx.
Referenced by ScTPValidationValue(), and SetupRefDlg().
|
private |
Definition at line 122 of file validate.hxx.
Referenced by ScTPValidationValue(), and SetupRefDlg().
|
private |
Sort selection list in cell.
Definition at line 120 of file validate.hxx.
|
private |
Definition at line 116 of file validate.hxx.
Referenced by FillItemSet(), GetFirstFormula(), Init(), Reset(), and SetFirstFormula().
|
private |
Definition at line 121 of file validate.hxx.
Referenced by FillItemSet(), Init(), and Reset().
|
private |
Definition at line 123 of file validate.hxx.
|
private |
Definition at line 130 of file validate.hxx.
Referenced by RefInputDonePostHdl(), and RefInputStartPreHdl().
|
private |
Definition at line 104 of file validate.hxx.
|
private |
Definition at line 106 of file validate.hxx.
|
private |
Definition at line 102 of file validate.hxx.
|
private |
Definition at line 101 of file validate.hxx.
|
private |
Definition at line 105 of file validate.hxx.
|
private |
Definition at line 103 of file validate.hxx.
|
private |
Definition at line 107 of file validate.hxx.
Referenced by GetFirstFormula(), ScTPValidationValue(), and SetFirstFormula().
|
staticprivate |
Definition at line 78 of file validate.hxx.
Referenced by GetRanges().