summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-10 12:37:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-11 09:57:58 +0200
commita7bb8cefe36621462e8d66f6601638332fef5968 (patch)
tree984418b44432f4485df183aa14a88d5fd5560c36 /sc/source/ui/inc/StatisticsInputOutputDialog.hxx
parent725a5bc4729a8122f1c36ae49ad8d34b83983526 (diff)
drop unused ScStatisticsInputOutputDialog
Change-Id: Ide92f9b422db2ef2ee21f02b5c7dcef974f70685 Reviewed-on: https://gerrit.libreoffice.org/70546 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/StatisticsInputOutputDialog.hxx')
-rw-r--r--sc/source/ui/inc/StatisticsInputOutputDialog.hxx69
1 files changed, 0 insertions, 69 deletions
diff --git a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
index 6a18855851a4..2d8cfd544b22 100644
--- a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
+++ b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
@@ -17,75 +17,6 @@
#include <vcl/fixed.hxx>
-class ScStatisticsInputOutputDialog : public ScAnyRefDlg
-{
-public:
- enum GroupedBy {
- BY_COLUMN,
- BY_ROW
- };
-
- ScStatisticsInputOutputDialog(
- SfxBindings* pB, SfxChildWindow* pCW,
- vcl::Window* pParent, ScViewData* pViewData,
- const OUString& rID, const OUString& rUIXMLDescription );
-
- virtual ~ScStatisticsInputOutputDialog() override;
- virtual void dispose() override;
-
- virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) override;
- virtual void SetActive() override;
-
-protected:
- void CalculateInputAndWriteToOutput();
-
- virtual ScRange ApplyOutput(ScDocShell* pDocShell) = 0;
- virtual const char* GetUndoNameId() = 0;
- virtual bool InputRangesValid();
- void ValidateDialogInput();
-
- // Widgets
- VclPtr<FixedText> mpInputRangeLabel;
- VclPtr<formula::RefEdit> mpInputRangeEdit;
- VclPtr<formula::RefButton> mpInputRangeButton;
-
- VclPtr<FixedText> mpOutputRangeLabel;
- VclPtr<formula::RefEdit> mpOutputRangeEdit;
- VclPtr<formula::RefButton> mpOutputRangeButton;
-
- VclPtr<RadioButton> mpGroupByColumnsRadio;
- VclPtr<RadioButton> mpGroupByRowsRadio;
-
- // Data
- ScViewData* const mViewData;
- ScDocument* const mDocument;
-
- ScRange mInputRange;
- ScAddress::Details const mAddressDetails;
- ScAddress mOutputAddress;
- GroupedBy mGroupedBy;
-
- static ScRangeList MakeColumnRangeList(SCTAB aTab, ScAddress const & aStart, ScAddress const & aEnd);
- static ScRangeList MakeRowRangeList(SCTAB aTab, ScAddress const & aStart, ScAddress const & aEnd);
-
-private:
- // Widgets
- VclPtr<OKButton> mpButtonOk;
-
- VclPtr<formula::RefEdit> mpActiveEdit;
- ScAddress const mCurrentAddress;
- bool mDialogLostFocus;
-
- void Init();
- void GetRangeFromSelection();
-
- DECL_LINK( GroupByChanged, RadioButton&, void );
- DECL_LINK( OkClicked, Button*, void );
- DECL_LINK( GetFocusHandler, Control&, void );
- DECL_LINK( LoseFocusHandler, Control&, void );
- DECL_LINK( RefInputModifyHandler, Edit&, void );
-};
-
class ScStatisticsInputOutputDialogController : public ScAnyRefDlgController
{
public: