1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #include "StatisticsInputOutputDialog.hxx"
15 class ScFourierAnalysisDialog
: public ScStatisticsInputOutputDialog
17 ScAddress maLabelAddr
;
18 ScRange maActualInputRange
;
23 bool mbUse3DAddresses
: 1;
24 bool mbGroupedByColumn
: 1;
25 bool mbWithLabels
: 1;
29 std::unique_ptr
<weld::CheckButton
> mxWithLabelsCheckBox
;
30 std::unique_ptr
<weld::CheckButton
> mxInverseCheckBox
;
31 std::unique_ptr
<weld::CheckButton
> mxPolarCheckBox
;
32 std::unique_ptr
<weld::SpinButton
> mxMinMagnitudeField
;
33 std::unique_ptr
<weld::Label
> mxErrorMessage
;
36 ScFourierAnalysisDialog(SfxBindings
* pB
, SfxChildWindow
* pCW
, weld::Window
* pParent
,
37 ScViewData
& rViewData
);
39 virtual ~ScFourierAnalysisDialog() override
;
41 virtual void Close() override
;
44 virtual TranslateId
GetUndoNameId() override
;
45 virtual ScRange
ApplyOutput(ScDocShell
* pDocShell
) override
;
46 virtual bool InputRangesValid() override
;
50 void getDataLabel(OUString
& rLabel
);
51 void genFormula(OUString
& rFormula
);
53 DECL_LINK(CheckBoxHdl
, weld::Toggleable
&, void);
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */