11 #ifndef INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX
12 #define INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX
29 virtual void Close()
override;
void LimitSampleSizeAndPeriod()
std::unique_ptr< weld::CheckButton > mxKeepOrder
sal_Int64 GetPopulationSize() const
ScSamplingDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
const ScDocument & mDocument
ScRange PerformRandomSampling(ScDocShell *pDocShell)
std::unique_ptr< weld::Label > mxOutputRangeLabel
std::unique_ptr< weld::Label > mxInputRangeLabel
sal_Int64 mnLastSampleSizeValue
std::unique_ptr< weld::CheckButton > mxWithReplacement
void ToggleSamplingMethod()
virtual void Close() override
virtual void SetReference(const ScRange &rRef, ScDocument &rDoc) override
ScRange PerformPeriodicSampling(ScDocShell *pDocShell)
virtual ~ScSamplingDialog() override
virtual void SetActive() override
DECL_LINK(ButtonClicked, weld::Button &, void)
std::unique_ptr< weld::SpinButton > mxSampleSize
formula::RefEdit * mpActiveEdit
ScAddress mCurrentAddress
ScAddress::Details mAddressDetails
std::unique_ptr< formula::RefEdit > mxInputRangeEdit
std::unique_ptr< weld::SpinButton > mxPeriod
std::unique_ptr< weld::RadioButton > mxPeriodicMethodRadio
std::unique_ptr< weld::RadioButton > mxRandomMethodRadio
void GetRangeFromSelection()
std::unique_ptr< weld::Button > mxButtonOk
ScRange PerformRandomSamplingKeepOrder(ScDocShell *pDocShell)
std::unique_ptr< weld::Button > mxButtonCancel
sal_Int64 mnLastPeriodValue
std::unique_ptr< formula::RefButton > mxOutputRangeButton
std::unique_ptr< formula::RefEdit > mxOutputRangeEdit
std::unique_ptr< formula::RefButton > mxInputRangeButton