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 &rViewData)
 
virtual ~ScAnalysisOfVarianceDialog () override
 
virtual void Close () override
 
- Public Member Functions inherited from ScStatisticsInputOutputDialog
 ScStatisticsInputOutputDialog (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData, const OUString &rUIXMLDescription, const OUString &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 OUString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) 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 OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override=0
 
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 ()
 
virtual void SetActive () override=0
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 

Protected Member Functions

virtual TranslateId GetUndoNameId () override
 
virtual ScRange ApplyOutput (ScDocShell *pDocShell) override
 
- Protected Member Functions inherited from ScStatisticsInputOutputDialog
void CalculateInputAndWriteToOutput ()
 
virtual ScRange ApplyOutput (ScDocShell *pDocShell)=0
 
virtual TranslateId GetUndoNameId ()=0
 
virtual bool InputRangesValid ()
 
void ValidateDialogInput ()
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &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, std::u16string_view rStr, const ScDocument &pDoc)
 

Private Types

enum  AnovaFactor {
  SINGLE_FACTOR ,
  TWO_FACTOR
}
 

Private Member Functions

 DECL_LINK (FactorChanged, weld::Toggleable &, 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 21 of file AnalysisOfVarianceDialog.hxx.

Member Enumeration Documentation

◆ AnovaFactor

Enumerator
SINGLE_FACTOR 
TWO_FACTOR 

Definition at line 24 of file AnalysisOfVarianceDialog.hxx.

Constructor & Destructor Documentation

◆ ScAnalysisOfVarianceDialog()

ScAnalysisOfVarianceDialog::ScAnalysisOfVarianceDialog ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData rViewData 
)

◆ ~ScAnalysisOfVarianceDialog()

ScAnalysisOfVarianceDialog::~ScAnalysisOfVarianceDialog ( )
overridevirtual

Definition at line 110 of file AnalysisOfVarianceDialog.cxx.

Member Function Documentation

◆ AnovaSingleFactor()

void ScAnalysisOfVarianceDialog::AnovaSingleFactor ( AddressWalkerWriter output,
FormulaTemplate aTemplate 
)
private

◆ AnovaTwoFactor()

void ScAnalysisOfVarianceDialog::AnovaTwoFactor ( AddressWalkerWriter output,
FormulaTemplate aTemplate 
)
private

◆ ApplyOutput()

ScRange ScAnalysisOfVarianceDialog::ApplyOutput ( ScDocShell pDocShell)
overrideprotectedvirtual

◆ Close()

void ScAnalysisOfVarianceDialog::Close ( )
overridevirtual

◆ DECL_LINK()

ScAnalysisOfVarianceDialog::DECL_LINK ( FactorChanged  ,
weld::Toggleable ,
void   
)
private

◆ FactorChanged()

void ScAnalysisOfVarianceDialog::FactorChanged ( )
private

◆ GetUndoNameId()

TranslateId ScAnalysisOfVarianceDialog::GetUndoNameId ( )
overrideprotectedvirtual

Implements ScStatisticsInputOutputDialog.

Definition at line 119 of file AnalysisOfVarianceDialog.cxx.

◆ RowColumn()

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

Member Data Documentation

◆ meFactor

AnovaFactor ScAnalysisOfVarianceDialog::meFactor
private

Definition at line 33 of file AnalysisOfVarianceDialog.hxx.

Referenced by ApplyOutput(), and FactorChanged().

◆ mxAlphaField

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

Definition at line 35 of file AnalysisOfVarianceDialog.hxx.

Referenced by AnovaSingleFactor(), and AnovaTwoFactor().

◆ mxRowsPerSampleField

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

Definition at line 38 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged().

◆ mxSingleFactorRadio

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

Definition at line 36 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged(), and ScAnalysisOfVarianceDialog().

◆ mxTwoFactorRadio

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

Definition at line 37 of file AnalysisOfVarianceDialog.hxx.

Referenced by FactorChanged(), and ScAnalysisOfVarianceDialog().


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