LibreOffice Module sc (master)  1
MovingAverageDialog.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  */
10 
11 #pragma once
12 
13 #include <address.hxx>
14 #include "viewdata.hxx"
15 
17 
19 {
20 private:
21  std::unique_ptr<weld::CheckButton> mxTrimRangeCheck;
22  std::unique_ptr<weld::SpinButton> mxIntervalSpin;
23 
24 public:
26  SfxBindings* pB, SfxChildWindow* pCW,
27  weld::Window* pParent, ScViewData& rViewData );
28 
29  virtual ~ScMovingAverageDialog() override;
30 
31  virtual void Close() override;
32 
33 protected:
34  virtual const char* GetUndoNameId() override;
35  virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
36 };
37 
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::CheckButton > mxTrimRangeCheck
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
ScMovingAverageDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
std::unique_ptr< weld::SpinButton > mxIntervalSpin
virtual void Close() override
virtual const char * GetUndoNameId() override
virtual ~ScMovingAverageDialog() override