|
LibreOffice Module sc (master) 1
|
#include <StatisticsInputOutputDialog.hxx>
Public Types | |
| enum | GroupedBy { BY_COLUMN , BY_ROW } |
Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
| enum | |
Public Member Functions | |
| 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 | |
| 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) |
Static Protected Member Functions | |
| static ScRangeList | MakeColumnRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd) |
| static ScRangeList | MakeRowRangeList (SCTAB aTab, ScAddress const &aStart, ScAddress const &aEnd) |
Protected Attributes | |
| std::unique_ptr< weld::Label > | mxInputRangeLabel |
| std::unique_ptr< formula::RefEdit > | mxInputRangeEdit |
| std::unique_ptr< formula::RefButton > | mxInputRangeButton |
| std::unique_ptr< weld::Label > | mxOutputRangeLabel |
| std::unique_ptr< formula::RefEdit > | mxOutputRangeEdit |
| std::unique_ptr< formula::RefButton > | mxOutputRangeButton |
| std::unique_ptr< weld::RadioButton > | mxGroupByColumnsRadio |
| std::unique_ptr< weld::RadioButton > | mxGroupByRowsRadio |
| ScViewData & | mViewData |
| ScDocument & | mDocument |
| ScRange | mInputRange |
| ScAddress::Details | mAddressDetails |
| ScAddress | mOutputAddress |
| GroupedBy | mGroupedBy |
Private Member Functions | |
| void | Init () |
| void | GetRangeFromSelection () |
| DECL_LINK (GroupByChanged, weld::Toggleable &, void) | |
| DECL_LINK (ButtonClicked, weld::Button &, void) | |
| DECL_LINK (GetEditFocusHandler, formula::RefEdit &, void) | |
| DECL_LINK (GetButtonFocusHandler, formula::RefButton &, void) | |
| DECL_LINK (LoseEditFocusHandler, formula::RefEdit &, void) | |
| DECL_LINK (LoseButtonFocusHandler, formula::RefButton &, void) | |
| DECL_LINK (RefInputModifyHandler, formula::RefEdit &, void) | |
Private Attributes | |
| std::unique_ptr< weld::Button > | mxButtonOk |
| std::unique_ptr< weld::Button > | mxButtonCancel |
| formula::RefEdit * | mpActiveEdit |
| ScAddress | mCurrentAddress |
| bool | mDialogLostFocus |
Additional Inherited Members | |
Static Public Member Functions inherited from ScRefHandler | |
| static bool | CanInputStart (const formula::RefEdit *pEdit) |
Definition at line 17 of file StatisticsInputOutputDialog.hxx.
| Enumerator | |
|---|---|
| BY_COLUMN | |
| BY_ROW | |
Definition at line 20 of file StatisticsInputOutputDialog.hxx.
| ScStatisticsInputOutputDialog::ScStatisticsInputOutputDialog | ( | SfxBindings * | pB, |
| SfxChildWindow * | pCW, | ||
| weld::Window * | pParent, | ||
| ScViewData & | rViewData, | ||
| const OUString & | rUIXMLDescription, | ||
| const OUString & | rID | ||
| ) |
Definition at line 49 of file StatisticsInputOutputDialog.cxx.
References GetRangeFromSelection(), Init(), mxInputRangeButton, mxInputRangeEdit, mxInputRangeLabel, mxOutputRangeButton, mxOutputRangeEdit, and mxOutputRangeLabel.
|
overridevirtual |
Definition at line 83 of file StatisticsInputOutputDialog.cxx.
|
protectedpure virtual |
|
protected |
Definition at line 281 of file StatisticsInputOutputDialog.cxx.
References ApplyOutput(), SfxUndoManager::EnterListAction(), ScViewData::GetDocShell(), ScDocShell::GetUndoManager(), GetUndoNameId(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), Grid, SfxUndoManager::LeaveListAction(), mViewData, ScDocShell::PostPaint(), and ScResId().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 120 of file StatisticsInputOutputDialog.cxx.
References ScRange::Format(), ScViewData::GetSimpleArea(), mAddressDetails, mDocument, mInputRange, mViewData, mxInputRangeEdit, and RANGE_ABS_3D.
Referenced by ScStatisticsInputOutputDialog().
|
protectedpure virtual |
|
private |
Definition at line 87 of file StatisticsInputOutputDialog.cxx.
References LINK, mxButtonCancel, mxButtonOk, mxGroupByColumnsRadio, mxGroupByRowsRadio, mxInputRangeButton, mxInputRangeEdit, mxOutputRangeButton, and mxOutputRangeEdit.
Referenced by ScStatisticsInputOutputDialog().
|
protectedvirtual |
Reimplemented in ScFourierAnalysisDialog.
Definition at line 294 of file StatisticsInputOutputDialog.cxx.
References ScAddress::IsValid(), ScRange::IsValid(), mInputRange, and mOutputAddress.
Referenced by ValidateDialogInput().
|
staticprotected |
Definition at line 21 of file StatisticsInputOutputDialog.cxx.
References ScAddress::Col(), ScRangeList::push_back(), and ScAddress::Row().
Referenced by ScMatrixComparisonGenerator::ApplyOutput().
|
staticprotected |
Definition at line 35 of file StatisticsInputOutputDialog.cxx.
References ScAddress::Col(), ScRangeList::push_back(), and ScAddress::Row().
Referenced by ScMatrixComparisonGenerator::ApplyOutput().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 127 of file StatisticsInputOutputDialog.cxx.
References formula::RefEdit::GrabFocus(), m_xDialog, mDialogLostFocus, mpActiveEdit, and ScRefHandler::RefInputDone().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 142 of file StatisticsInputOutputDialog.cxx.
References ADDR_ABS, ADDR_ABS_3D, ScRange::aEnd, ScRange::aStart, ScRange::Format(), ScAddress::Format(), ScDocument::GetAddressConvention(), mAddressDetails, mCurrentAddress, mInputRange, mOutputAddress, mpActiveEdit, mxInputRangeEdit, mxOutputRangeEdit, RANGE_ABS_3D, ScRefHandler::RefInputStart(), ScAddress::Tab(), and ValidateDialogInput().
|
protected |
Definition at line 299 of file StatisticsInputOutputDialog.cxx.
References InputRangesValid(), and mxButtonOk.
Referenced by SetReference().
|
protected |
Definition at line 61 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::ApplyOutput(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), ScFourierAnalysisDialog::getDataLabel(), GetRangeFromSelection(), and SetReference().
|
private |
Definition at line 74 of file StatisticsInputOutputDialog.hxx.
Referenced by SetReference().
|
private |
Definition at line 75 of file StatisticsInputOutputDialog.hxx.
Referenced by SetActive().
|
protected |
Definition at line 58 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::ApplyOutput(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), ScFourierAnalysisDialog::getDataLabel(), GetRangeFromSelection(), and ScFourierAnalysisDialog::InputRangesValid().
|
protected |
Definition at line 63 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), and ScFourierAnalysisDialog::InputRangesValid().
|
protected |
Definition at line 60 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::AnovaTwoFactor(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), ScFourierAnalysisDialog::getDataLabel(), GetRangeFromSelection(), InputRangesValid(), ScFourierAnalysisDialog::InputRangesValid(), and SetReference().
|
protected |
Definition at line 62 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::ApplyOutput(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), InputRangesValid(), ScFourierAnalysisDialog::InputRangesValid(), and SetReference().
|
private |
Definition at line 73 of file StatisticsInputOutputDialog.hxx.
Referenced by SetActive(), and SetReference().
|
protected |
Definition at line 57 of file StatisticsInputOutputDialog.hxx.
Referenced by CalculateInputAndWriteToOutput(), and GetRangeFromSelection().
|
private |
Definition at line 71 of file StatisticsInputOutputDialog.hxx.
Referenced by Init().
|
private |
Definition at line 70 of file StatisticsInputOutputDialog.hxx.
Referenced by Init(), and ValidateDialogInput().
|
protected |
Definition at line 53 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::FactorChanged(), and Init().
|
protected |
Definition at line 54 of file StatisticsInputOutputDialog.hxx.
Referenced by ScAnalysisOfVarianceDialog::FactorChanged(), and Init().
|
protected |
Definition at line 47 of file StatisticsInputOutputDialog.hxx.
Referenced by Init(), and ScStatisticsInputOutputDialog().
|
protected |
Definition at line 46 of file StatisticsInputOutputDialog.hxx.
Referenced by GetRangeFromSelection(), Init(), ScStatisticsInputOutputDialog(), and SetReference().
|
protected |
Definition at line 45 of file StatisticsInputOutputDialog.hxx.
Referenced by ScStatisticsInputOutputDialog().
|
protected |
Definition at line 51 of file StatisticsInputOutputDialog.hxx.
Referenced by Init(), and ScStatisticsInputOutputDialog().
|
protected |
Definition at line 50 of file StatisticsInputOutputDialog.hxx.
Referenced by Init(), ScStatisticsInputOutputDialog(), and SetReference().
|
protected |
Definition at line 49 of file StatisticsInputOutputDialog.hxx.
Referenced by ScStatisticsInputOutputDialog().