39 virtual void Close()
override;
49 using CellWriter = void(
const OUString&,
size_t,
size_t);
60 size_t nRegressionIndex);
70 size_t nRegressionIndex);
72 static void WriteTable(
const std::function<CellValueGetter>& rCellGetter,
size_t nRowsInTable,
74 const std::function<CellWriter>& rFunc);
virtual void Close() override
DECL_LINK(CheckBoxHdl, weld::Toggleable &, void)
virtual TranslateId GetUndoNameId() override
std::unique_ptr< weld::RadioButton > mxLinearRadioButton
void WritePredictionsWithResiduals(AddressWalkerWriter &rOutput, FormulaTemplate &rTemplate, size_t nRegressionIndex)
ScRegressionDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
std::unique_ptr< weld::RadioButton > mxLogarithmicRadioButton
void WriteRegressionEstimatesWithCI(AddressWalkerWriter &rOutput, FormulaTemplate &rTemplate, bool bTakeLogX)
std::unique_ptr< weld::SpinButton > mxConfidenceLevelField
size_t GetRegressionTypeIndex() const
virtual ~ScRegressionDialog() override
void WriteRegressionStatistics(AddressWalkerWriter &rOutput, FormulaTemplate &rTemplate)
const OUString &(size_t, size_t) CellValueGetter
OUString GetXVariableNameFormula(size_t nIndex, bool bWithLog)
void WriteRegressionANOVAResults(AddressWalkerWriter &rOutput, FormulaTemplate &rTemplate)
static void WriteTable(const std::function< CellValueGetter > &rCellGetter, size_t nRowsInTable, size_t nColsInTable, AddressWalkerWriter &rOutput, const std::function< CellWriter > &rFunc)
DECL_LINK(NumericFieldHdl, weld::SpinButton &, void)
virtual bool InputRangesValid() override
void(const OUString &, size_t, size_t) CellWriter
std::unique_ptr< weld::CheckButton > mxCalcResidualsCheckBox
ScRange GetDataRange(const ScRange &rRange)
std::unique_ptr< weld::Label > mxErrorMessage
size_t mnNumIndependentVars
void WriteRawRegressionResults(AddressWalkerWriter &rOutput, FormulaTemplate &rTemplate, size_t nRegressionIndex)
OUString GetVariableNameFormula(bool bXVar, size_t nIndex, bool bWithLog)
std::unique_ptr< weld::CheckButton > mxNoInterceptCheckBox
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
OUString GetYVariableNameFormula(bool bWithLog)
std::unique_ptr< weld::CheckButton > mxWithLabelsCheckBox