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 &rViewData)
 
virtual ~ScFourierAnalysisDialog () 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 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 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 OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
- 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)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc)=0
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr)=0
 
virtual void RefInputDone (bool bForced=false)=0
 
virtual bool IsTableLocked () const =0
 
virtual bool IsRefInputMode () const =0
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const =0
 
virtual void AddRefEntry ()=0
 
virtual void SetActive ()=0
 
virtual void ViewShellChanged ()=0
 
virtual void ShowReference (const OUString &_sRef)=0
 
virtual void HideReference (bool bDoneRefMode=true)=0
 
virtual void ReleaseFocus (RefEdit *pEdit)=0
 
virtual void ToggleCollapsed (RefEdit *pEdit, RefButton *pButton)=0
 

Protected Member Functions

virtual TranslateId GetUndoNameId () override
 
virtual ScRange ApplyOutput (ScDocShell *pDocShell) override
 
virtual bool InputRangesValid () 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 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, std::u16string_view 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::Toggleable &, 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 15 of file FourierAnalysisDialog.hxx.

Constructor & Destructor Documentation

◆ ScFourierAnalysisDialog()

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

Definition at line 19 of file FourierAnalysisDialog.cxx.

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

◆ ~ScFourierAnalysisDialog()

ScFourierAnalysisDialog::~ScFourierAnalysisDialog ( )
overridevirtual

Definition at line 45 of file FourierAnalysisDialog.cxx.

Member Function Documentation

◆ ApplyOutput()

ScRange ScFourierAnalysisDialog::ApplyOutput ( ScDocShell pDocShell)
overrideprotectedvirtual

◆ Close()

void ScFourierAnalysisDialog::Close ( )
overridevirtual

◆ DECL_LINK()

ScFourierAnalysisDialog::DECL_LINK ( CheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ genFormula()

void ScFourierAnalysisDialog::genFormula ( OUString &  rFormula)
private

Definition at line 211 of file FourierAnalysisDialog.cxx.

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

Referenced by ApplyOutput().

◆ getDataLabel()

void ScFourierAnalysisDialog::getDataLabel ( OUString &  rLabel)
private

◆ getOptions()

void ScFourierAnalysisDialog::getOptions ( )
private

◆ GetUndoNameId()

TranslateId ScFourierAnalysisDialog::GetUndoNameId ( )
overrideprotectedvirtual

Implements ScStatisticsInputOutputDialog.

Definition at line 52 of file FourierAnalysisDialog.cxx.

◆ InputRangesValid()

bool ScFourierAnalysisDialog::InputRangesValid ( )
overrideprotectedvirtual

Member Data Documentation

◆ maActualInputRange

ScRange ScFourierAnalysisDialog::maActualInputRange
private

Definition at line 18 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), and InputRangesValid().

◆ maLabelAddr

ScAddress ScFourierAnalysisDialog::maLabelAddr
private

Definition at line 17 of file FourierAnalysisDialog.hxx.

Referenced by getDataLabel(), and InputRangesValid().

◆ mbGroupedByColumn

bool ScFourierAnalysisDialog::mbGroupedByColumn
private

Definition at line 24 of file FourierAnalysisDialog.hxx.

Referenced by genFormula(), and InputRangesValid().

◆ mbInverse

bool ScFourierAnalysisDialog::mbInverse
private

Definition at line 26 of file FourierAnalysisDialog.hxx.

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

◆ mbPolar

bool ScFourierAnalysisDialog::mbPolar
private

Definition at line 27 of file FourierAnalysisDialog.hxx.

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

◆ mbUse3DAddresses

bool ScFourierAnalysisDialog::mbUse3DAddresses
private

Definition at line 23 of file FourierAnalysisDialog.hxx.

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

◆ mbWithLabels

bool ScFourierAnalysisDialog::mbWithLabels
private

Definition at line 25 of file FourierAnalysisDialog.hxx.

Referenced by getDataLabel(), and InputRangesValid().

◆ mfMinMag

double ScFourierAnalysisDialog::mfMinMag
private

Definition at line 21 of file FourierAnalysisDialog.hxx.

Referenced by genFormula(), and getOptions().

◆ mnLen

SCSIZE ScFourierAnalysisDialog::mnLen
private

Definition at line 19 of file FourierAnalysisDialog.hxx.

Referenced by ApplyOutput(), and InputRangesValid().

◆ mxErrorMessage

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

Definition at line 33 of file FourierAnalysisDialog.hxx.

Referenced by InputRangesValid().

◆ mxInverseCheckBox

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

Definition at line 30 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

◆ mxMinMagnitudeField

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

Definition at line 32 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

◆ mxPolarCheckBox

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

Definition at line 31 of file FourierAnalysisDialog.hxx.

Referenced by getOptions().

◆ mxWithLabelsCheckBox

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

Definition at line 29 of file FourierAnalysisDialog.hxx.

Referenced by InputRangesValid(), and ScFourierAnalysisDialog().


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