LibreOffice Module sc (master) 1
|
#include <FourierAnalysisDialog.hxx>
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 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 |
SfxBindings & | GetBindings () 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 |
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 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 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::CheckButton > | mxWithLabelsCheckBox |
std::unique_ptr< weld::CheckButton > | mxInverseCheckBox |
std::unique_ptr< weld::CheckButton > | mxPolarCheckBox |
std::unique_ptr< weld::SpinButton > | mxMinMagnitudeField |
std::unique_ptr< weld::Label > | mxErrorMessage |
Definition at line 15 of file FourierAnalysisDialog.hxx.
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().
|
overridevirtual |
Definition at line 45 of file FourierAnalysisDialog.cxx.
|
overrideprotectedvirtual |
Implements ScStatisticsInputOutputDialog.
Definition at line 54 of file FourierAnalysisDialog.cxx.
References aLabel, FormulaTemplate::autoReplaceRange(), FormulaTemplate::autoReplaceUses3D(), ScAddress::Details::eConv, genFormula(), getDataLabel(), getOptions(), FormulaTemplate::getTemplate(), formula::FormulaGrammar::GRAM_ENGLISH, maActualInputRange, ScStatisticsInputOutputDialog::mAddressDetails, mbInverse, mbPolar, mbUse3DAddresses, ScStatisticsInputOutputDialog::mDocument, formula::FormulaGrammar::mergeToGrammar(), AddressWalker::mMaximumAddress, AddressWalker::mMinimumAddress, mnLen, ScStatisticsInputOutputDialog::mOutputAddress, AddressWalker::newLine(), AddressWalker::nextColumn(), ScResId(), FormulaTemplate::setTemplate(), AddressWalkerWriter::writeBoldString(), AddressWalkerWriter::writeFormula(), AddressWalkerWriter::writeMatrixFormula(), and AddressWalkerWriter::writeString().
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 47 of file FourierAnalysisDialog.cxx.
References ScRefHandler::DoClose(), and ChildControllerWrapper< SID_FOURIER_ANALYSIS_DIALOG >::GetChildWindowId().
|
private |
|
private |
Definition at line 211 of file FourierAnalysisDialog.cxx.
References mbGroupedByColumn, mbInverse, mbPolar, mfMinMag, and u.
Referenced by ApplyOutput().
|
private |
Definition at line 191 of file FourierAnalysisDialog.cxx.
References ADDR_ABS, ADDR_ABS_3D, ScRange::Format(), ScAddress::Format(), ScStatisticsInputOutputDialog::mAddressDetails, maLabelAddr, mbUse3DAddresses, mbWithLabels, ScStatisticsInputOutputDialog::mDocument, ScStatisticsInputOutputDialog::mInputRange, RANGE_ABS, RANGE_ABS_3D, and ScResId().
Referenced by ApplyOutput().
|
private |
Definition at line 179 of file FourierAnalysisDialog.cxx.
References mbInverse, mbPolar, mfMinMag, mxInverseCheckBox, mxMinMagnitudeField, and mxPolarCheckBox.
Referenced by ApplyOutput().
|
overrideprotectedvirtual |
Implements ScStatisticsInputOutputDialog.
Definition at line 52 of file FourierAnalysisDialog.cxx.
|
overrideprotectedvirtual |
Reimplemented from ScStatisticsInputOutputDialog.
Definition at line 100 of file FourierAnalysisDialog.cxx.
References ScRange::aEnd, ScRange::aStart, ScStatisticsInputOutputDialog::BY_COLUMN, ScAddress::Col(), ScAddress::IncCol(), ScAddress::IncRow(), ScAddress::IsValid(), ScRange::IsValid(), maActualInputRange, o3tl::make_unsigned(), maLabelAddr, ScDocument::MaxRow(), mbGroupedByColumn, mbUse3DAddresses, mbWithLabels, ScStatisticsInputOutputDialog::mDocument, ScStatisticsInputOutputDialog::mGroupedBy, ScStatisticsInputOutputDialog::mInputRange, mnLen, ScStatisticsInputOutputDialog::mOutputAddress, mxErrorMessage, mxWithLabelsCheckBox, ScRange::PutInOrder(), ScAddress::Row(), ScResId(), and ScAddress::Tab().
|
private |
Definition at line 18 of file FourierAnalysisDialog.hxx.
Referenced by ApplyOutput(), and InputRangesValid().
|
private |
Definition at line 17 of file FourierAnalysisDialog.hxx.
Referenced by getDataLabel(), and InputRangesValid().
|
private |
Definition at line 24 of file FourierAnalysisDialog.hxx.
Referenced by genFormula(), and InputRangesValid().
|
private |
Definition at line 26 of file FourierAnalysisDialog.hxx.
Referenced by ApplyOutput(), genFormula(), and getOptions().
|
private |
Definition at line 27 of file FourierAnalysisDialog.hxx.
Referenced by ApplyOutput(), genFormula(), and getOptions().
|
private |
Definition at line 23 of file FourierAnalysisDialog.hxx.
Referenced by ApplyOutput(), getDataLabel(), and InputRangesValid().
|
private |
Definition at line 25 of file FourierAnalysisDialog.hxx.
Referenced by getDataLabel(), and InputRangesValid().
|
private |
Definition at line 21 of file FourierAnalysisDialog.hxx.
Referenced by genFormula(), and getOptions().
|
private |
Definition at line 19 of file FourierAnalysisDialog.hxx.
Referenced by ApplyOutput(), and InputRangesValid().
|
private |
Definition at line 33 of file FourierAnalysisDialog.hxx.
Referenced by InputRangesValid().
|
private |
Definition at line 30 of file FourierAnalysisDialog.hxx.
Referenced by getOptions().
|
private |
Definition at line 32 of file FourierAnalysisDialog.hxx.
Referenced by getOptions().
|
private |
Definition at line 31 of file FourierAnalysisDialog.hxx.
Referenced by getOptions().
|
private |
Definition at line 29 of file FourierAnalysisDialog.hxx.
Referenced by InputRangesValid(), and ScFourierAnalysisDialog().