LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScAnalysisOfVarianceDialog Class Reference

#include <AnalysisOfVarianceDialog.hxx>

Inheritance diagram for ScAnalysisOfVarianceDialog:
[legend]
Collaboration diagram for ScAnalysisOfVarianceDialog:
[legend]

Public Member Functions

 ScAnalysisOfVarianceDialog (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData *pViewData)
 
virtual ~ScAnalysisOfVarianceDialog () override
 
virtual void Close () override
 
- Public Member Functions inherited from ScStatisticsInputOutputDialog
 ScStatisticsInputOutputDialog (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData *pViewData, const OUString &rUIXMLDescription, const OString &rID)
 
virtual ~ScStatisticsInputOutputDialog () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual void SetActive () override
 
- Public Member Functions inherited from ScAnyRefDlgController
 ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void EndDialog () override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void AddRefEntry () override
 
virtual bool IsRefInputMode () const override
 
virtual bool IsTableLocked () const override
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const override
 
virtual void ShowReference (const OUString &rStr) override
 
virtual void HideReference (bool bDoneRefMode=true) override
 
virtual void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override
 
virtual void ReleaseFocus (formula::RefEdit *pEdit) override
 
virtual void ViewShellChanged () override
 
void SwitchToDocument ()
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 

Protected Member Functions

virtual const char * GetUndoNameId () override
 
virtual ScRange ApplyOutput (ScDocShell *pDocShell) override
 
- Protected Member Functions inherited from ScStatisticsInputOutputDialog
void CalculateInputAndWriteToOutput ()
 
virtual bool InputRangesValid ()
 
void ValidateDialogInput ()
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Protected Member Functions inherited from ScRefHandler
void disposeRefHandler ()
 
bool DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
 
virtual void RefInputDone (bool bForced=false) override
 
bool ParseWithNames (ScRangeList &rRanges, const OUString &rStr, const ScDocument &pDoc)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Private Types

enum  AnovaFactor {
  SINGLE_FACTOR,
  TWO_FACTOR
}
 

Private Member Functions

 DECL_LINK (FactorChanged, weld::ToggleButton &, void)
 
void FactorChanged ()
 
void AnovaSingleFactor (AddressWalkerWriter &output, FormulaTemplate &aTemplate)
 
void AnovaTwoFactor (AddressWalkerWriter &output, FormulaTemplate &aTemplate)
 

Static Private Member Functions

static void RowColumn (ScRangeList &rRangeList, AddressWalkerWriter &aOutput, FormulaTemplate &aTemplate, const OUString &sFormula, GroupedBy aGroupedBy, ScRange *pResultRange)
 

Private Attributes

AnovaFactor meFactor
 
std::unique_ptr< weld::SpinButtonmxAlphaField
 
std::unique_ptr< weld::RadioButtonmxSingleFactorRadio
 
std::unique_ptr< weld::RadioButtonmxTwoFactorRadio
 
std::unique_ptr< weld::SpinButtonmxRowsPerSampleField
 

Additional Inherited Members

- Public Types inherited from ScStatisticsInputOutputDialog
enum  GroupedBy {
  BY_COLUMN,
  BY_ROW
}
 
- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 
- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 
- Static Protected Member Functions inherited from ScStatisticsInputOutputDialog
static ScRangeList MakeColumnRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd)
 
static ScRangeList MakeRowRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd)
 
- Protected Attributes inherited from ScStatisticsInputOutputDialog
std::unique_ptr< weld::LabelmxInputRangeLabel
 
std::unique_ptr< formula::RefEditmxInputRangeEdit
 
std::unique_ptr< formula::RefButtonmxInputRangeButton
 
std::unique_ptr< weld::LabelmxOutputRangeLabel
 
std::unique_ptr< formula::RefEditmxOutputRangeEdit
 
std::unique_ptr< formula::RefButtonmxOutputRangeButton
 
std::unique_ptr< weld::RadioButtonmxGroupByColumnsRadio
 
std::unique_ptr< weld::RadioButtonmxGroupByRowsRadio
 
ScViewDatamViewData
 
ScDocumentmDocument
 
ScRange mInputRange
 
ScAddress::Details mAddressDetails
 
ScAddress mOutputAddress
 
GroupedBy mGroupedBy
 

Detailed Description

Definition at line 22 of file AnalysisOfVarianceDialog.hxx.

Member Enumeration Documentation

Enumerator
SINGLE_FACTOR 
TWO_FACTOR 

Definition at line 25 of file AnalysisOfVarianceDialog.hxx.

Constructor & Destructor Documentation

ScAnalysisOfVarianceDialog::ScAnalysisOfVarianceDialog ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData pViewData 
)
ScAnalysisOfVarianceDialog::~ScAnalysisOfVarianceDialog ( )
overridevirtual

Definition at line 109 of file AnalysisOfVarianceDialog.cxx.

Member Function Documentation

void ScAnalysisOfVarianceDialog::AnovaSingleFactor ( AddressWalkerWriter output,
FormulaTemplate aTemplate 
)
private
void ScAnalysisOfVarianceDialog::AnovaTwoFactor ( AddressWalkerWriter output,
FormulaTemplate aTemplate 
)
private
ScRange ScAnalysisOfVarianceDialog::ApplyOutput ( ScDocShell pDocShell)
overrideprotectedvirtual
void ScAnalysisOfVarianceDialog::Close ( )
overridevirtual
ScAnalysisOfVarianceDialog::DECL_LINK ( FactorChanged  ,
weld::ToggleButton ,
void   
)
private
void ScAnalysisOfVarianceDialog::FactorChanged ( )
private
const char * ScAnalysisOfVarianceDialog::GetUndoNameId ( )
overrideprotectedvirtual

Implements ScStatisticsInputOutputDialog.

Definition at line 118 of file AnalysisOfVarianceDialog.cxx.

void ScAnalysisOfVarianceDialog::RowColumn ( ScRangeList rRangeList,
AddressWalkerWriter aOutput,
FormulaTemplate aTemplate,
const OUString &  sFormula,
GroupedBy  aGroupedBy,
ScRange pResultRange 
)
staticprivate

Member Data Documentation

AnovaFactor ScAnalysisOfVarianceDialog::meFactor
private

Definition at line 34 of file AnalysisOfVarianceDialog.hxx.

Referenced by ApplyOutput(), and FactorChanged().

std::unique_ptr<weld::SpinButton> ScAnalysisOfVarianceDialog::mxAlphaField
private

Definition at line 36 of file AnalysisOfVarianceDialog.hxx.

Referenced by AnovaSingleFactor(), and AnovaTwoFactor().

std::unique_ptr<weld::SpinButton> ScAnalysisOfVarianceDialog::mxRowsPerSampleField
private

Definition at line 39 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged().

std::unique_ptr<weld::RadioButton> ScAnalysisOfVarianceDialog::mxSingleFactorRadio
private

Definition at line 37 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged(), and ScAnalysisOfVarianceDialog().

std::unique_ptr<weld::RadioButton> ScAnalysisOfVarianceDialog::mxTwoFactorRadio
private

Definition at line 38 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged(), and ScAnalysisOfVarianceDialog().


The documentation for this class was generated from the following files: