LibreOffice Module sc (master)
1
sc
source
ui
StatisticsDialogs
CorrelationDialog.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 <
CorrelationDialog.hxx
>
13
#include <
scresid.hxx
>
14
#include <strings.hrc>
15
16
ScCorrelationDialog::ScCorrelationDialog
(
17
SfxBindings
* pSfxBindings,
SfxChildWindow
* pChildWindow,
18
weld::Window
* pParent,
ScViewData
& rViewData ) :
19
ScMatrixComparisonGenerator
(
20
pSfxBindings, pChildWindow, pParent, rViewData,
21
"modules/scalc/ui/correlationdialog.ui"
,
"CorrelationDialog"
)
22
{}
23
24
void
ScCorrelationDialog::Close
()
25
{
26
DoClose
(
ScCorrelationDialogWrapper::GetChildWindowId
());
27
}
28
29
OUString
ScCorrelationDialog::getLabel
()
30
{
31
return
ScResId
(STR_CORRELATION_LABEL);
32
}
33
34
OUString
ScCorrelationDialog::getTemplate
()
35
{
36
return
"=CORREL(%VAR1%; %VAR2%)"
;
37
}
38
39
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CorrelationDialog.hxx
ChildControllerWrapper< SID_CORRELATION_DIALOG >::GetChildWindowId
static sal_uInt16 GetChildWindowId()
Definition:
ChildWindowWrapper.hxx:58
ScCorrelationDialog::ScCorrelationDialog
ScCorrelationDialog(SfxBindings *pSfxBindings, SfxChildWindow *pChildWindow, weld::Window *pParent, ScViewData &rViewData)
Definition:
CorrelationDialog.cxx:16
ScCorrelationDialog::getLabel
virtual OUString getLabel() override
Definition:
CorrelationDialog.cxx:29
ScCorrelationDialog::getTemplate
virtual OUString getTemplate() override
Definition:
CorrelationDialog.cxx:34
ScCorrelationDialog::Close
virtual void Close() override
Definition:
CorrelationDialog.cxx:24
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
Generated on Sun Jul 30 2023 04:29:28 for LibreOffice Module sc (master) by
1.9.3