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

#include <FourierAnalysisDialog.hxx>

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

Public Member Functions

 ScFourierAnalysisDialog (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData *pViewData)
 
virtual ~ScFourierAnalysisDialog () 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
 
virtual bool InputRangesValid () override
 
- Protected Member Functions inherited from ScStatisticsInputOutputDialog
void CalculateInputAndWriteToOutput ()
 
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 Member Functions

void getOptions ()
 
void getDataLabel (OUString &rLabel)
 
void genFormula (OUString &rFormula)
 
 DECL_LINK (CheckBoxHdl, weld::ToggleButton &, void)
 

Private Attributes

ScAddress maLabelAddr
 
ScRange maActualInputRange
 
SCSIZE mnLen
 
double mfMinMag
 
bool mbUse3DAddresses: 1
 
bool mbGroupedByColumn: 1
 
bool mbWithLabels: 1
 
bool mbInverse: 1
 
bool mbPolar: 1
 
std::unique_ptr< weld::CheckButtonmxWithLabelsCheckBox
 
std::unique_ptr< weld::CheckButtonmxInverseCheckBox
 
std::unique_ptr< weld::CheckButtonmxPolarCheckBox
 
std::unique_ptr< weld::SpinButtonmxMinMagnitudeField
 
std::unique_ptr< weld::LabelmxErrorMessage
 

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 16 of file FourierAnalysisDialog.hxx.

Constructor & Destructor Documentation

ScFourierAnalysisDialog::ScFourierAnalysisDialog ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData pViewData 
)

Definition at line 28 of file FourierAnalysisDialog.cxx.

References LINK, m_xDialog, mxWithLabelsCheckBox, and ScResId().

ScFourierAnalysisDialog::~ScFourierAnalysisDialog ( )
overridevirtual

Definition at line 54 of file FourierAnalysisDialog.cxx.

Member Function Documentation

ScRange ScFourierAnalysisDialog::ApplyOutput ( ScDocShell pDocShell)
overrideprotectedvirtual
void ScFourierAnalysisDialog::Close ( )
overridevirtual
ScFourierAnalysisDialog::DECL_LINK ( CheckBoxHdl  ,
weld::ToggleButton ,
void   
)
private
void ScFourierAnalysisDialog::genFormula ( OUString &  rFormula)
private

Definition at line 220 of file FourierAnalysisDialog.cxx.

References mbGroupedByColumn, mbInverse, mbPolar, mfMinMag, and u.

Referenced by ApplyOutput().

void ScFourierAnalysisDialog::getDataLabel ( OUString &  rLabel)
private
void ScFourierAnalysisDialog::getOptions ( )
private
const char * ScFourierAnalysisDialog::GetUndoNameId ( )
overrideprotectedvirtual

Implements ScStatisticsInputOutputDialog.

Definition at line 61 of file FourierAnalysisDialog.cxx.

bool ScFourierAnalysisDialog::InputRangesValid ( )
overrideprotectedvirtual

Member Data Documentation

ScRange ScFourierAnalysisDialog::maActualInputRange
private

Definition at line 19 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), and InputRangesValid().

ScAddress ScFourierAnalysisDialog::maLabelAddr
private

Definition at line 18 of file FourierAnalysisDialog.hxx.

Referenced by getDataLabel(), and InputRangesValid().

bool ScFourierAnalysisDialog::mbGroupedByColumn
private

Definition at line 25 of file FourierAnalysisDialog.hxx.

Referenced by genFormula(), and InputRangesValid().

bool ScFourierAnalysisDialog::mbInverse
private

Definition at line 27 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), genFormula(), and getOptions().

bool ScFourierAnalysisDialog::mbPolar
private

Definition at line 28 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), genFormula(), and getOptions().

bool ScFourierAnalysisDialog::mbUse3DAddresses
private

Definition at line 24 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), getDataLabel(), and InputRangesValid().

bool ScFourierAnalysisDialog::mbWithLabels
private

Definition at line 26 of file FourierAnalysisDialog.hxx.

Referenced by getDataLabel(), and InputRangesValid().

double ScFourierAnalysisDialog::mfMinMag
private

Definition at line 22 of file FourierAnalysisDialog.hxx.

Referenced by genFormula(), and getOptions().

SCSIZE ScFourierAnalysisDialog::mnLen
private

Definition at line 20 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), and InputRangesValid().

std::unique_ptr<weld::Label> ScFourierAnalysisDialog::mxErrorMessage
private

Definition at line 34 of file FourierAnalysisDialog.hxx.

Referenced by InputRangesValid().

std::unique_ptr<weld::CheckButton> ScFourierAnalysisDialog::mxInverseCheckBox
private

Definition at line 31 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

std::unique_ptr<weld::SpinButton> ScFourierAnalysisDialog::mxMinMagnitudeField
private

Definition at line 33 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

std::unique_ptr<weld::CheckButton> ScFourierAnalysisDialog::mxPolarCheckBox
private

Definition at line 32 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

std::unique_ptr<weld::CheckButton> ScFourierAnalysisDialog::mxWithLabelsCheckBox
private

Definition at line 30 of file FourierAnalysisDialog.hxx.

Referenced by InputRangesValid(), and ScFourierAnalysisDialog().


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