LibreOffice Module sc (master)
1
sc
source
ui
StatisticsDialogs
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
16
ScCovarianceDialog::ScCovarianceDialog
(
17
SfxBindings
* pSfxBindings,
SfxChildWindow
* pChildWindow,
18
weld::Window
* pParent,
ScViewData
& rViewData ) :
19
ScMatrixComparisonGenerator
(
20
pSfxBindings, pChildWindow, pParent, rViewData,
21
"modules/scalc/ui/covariancedialog.ui"
,
"CovarianceDialog"
)
22
{}
23
24
TranslateId
ScCovarianceDialog::GetUndoNameId
()
25
{
26
return
STR_COVARIANCE_UNDO_NAME;
27
}
28
29
void
ScCovarianceDialog::Close
()
30
{
31
DoClose
(
ScCovarianceDialogWrapper::GetChildWindowId
() );
32
}
33
34
OUString
ScCovarianceDialog::getLabel
()
35
{
36
return
ScResId
(STR_COVARIANCE_LABEL);
37
}
38
39
OUString
ScCovarianceDialog::getTemplate
()
40
{
41
return
"=COVAR(%VAR1%; %VAR2%)"
;
42
}
43
44
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CovarianceDialog.hxx
ChildControllerWrapper< SID_COVARIANCE_DIALOG >::GetChildWindowId
static sal_uInt16 GetChildWindowId()
Definition:
ChildWindowWrapper.hxx:58
ScCovarianceDialog::ScCovarianceDialog
ScCovarianceDialog(SfxBindings *pSfxBindings, SfxChildWindow *pChildWindow, weld::Window *pParent, ScViewData &rViewData)
Definition:
CovarianceDialog.cxx:16
ScCovarianceDialog::getTemplate
virtual OUString getTemplate() override
Definition:
CovarianceDialog.cxx:39
ScCovarianceDialog::GetUndoNameId
virtual TranslateId GetUndoNameId() override
Definition:
CovarianceDialog.cxx:24
ScCovarianceDialog::getLabel
virtual OUString getLabel() override
Definition:
CovarianceDialog.cxx:34
ScCovarianceDialog::Close
virtual void Close() override
Definition:
CovarianceDialog.cxx:29
ScMatrixComparisonGenerator
Definition:
MatrixComparisonGenerator.hxx:19
ScRefHandler::DoClose
bool DoClose(sal_uInt16 nId)
Definition:
anyrefdg.cxx:714
ScViewData
Definition:
viewdata.hxx:271
SfxBindings
SfxChildWindow
weld::Window
reffact.hxx
ScResId
OUString ScResId(TranslateId aId)
Definition:
scdll.cxx:90
scresid.hxx
TranslateId
Generated on Sun Jul 30 2023 04:29:28 for LibreOffice Module sc (master) by
1.9.3