LibreOffice Module sc (master)  1
CovarianceDialog.cxx
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 #include <reffact.hxx>
12 #include <CovarianceDialog.hxx>
13 #include <scresid.hxx>
14 #include <strings.hrc>
15 
17  SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
18  weld::Window* pParent, ScViewData& rViewData ) :
20  pSfxBindings, pChildWindow, pParent, rViewData,
21  "modules/scalc/ui/covariancedialog.ui", "CovarianceDialog")
22 {}
23 
25 {
26  return STR_COVARIANCE_UNDO_NAME;
27 }
28 
30 {
32 }
33 
35 {
36  return ScResId(STR_COVARIANCE_LABEL);
37 }
38 
40 {
41  return "=COVAR(%VAR1%; %VAR2%)";
42 }
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual OUString getLabel() override
OUString ScResId(const char *pId)
Definition: scdll.cxx:89
virtual const char * GetUndoNameId() override
ScCovarianceDialog(SfxBindings *pSfxBindings, SfxChildWindow *pChildWindow, weld::Window *pParent, ScViewData &rViewData)
virtual OUString getTemplate() override
bool DoClose(sal_uInt16 nId)
Definition: anyrefdg.cxx:694
virtual void Close() override