LibreOffice Module sc (master) 1
|
#include <pvfundlg.hxx>
Public Member Functions | |
ScDPFunctionDlg (weld::Widget *pParent, const ScDPLabelDataVector &rLabelVec, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData) | |
virtual | ~ScDPFunctionDlg () override |
PivotFunc | GetFuncMask () const |
css::sheet::DataPilotFieldReference | GetFieldRef () const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Types | |
typedef std::unordered_map< OUString, OUString > | NameMapType |
Private Member Functions | |
void | Init (const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData) |
const OUString & | GetBaseFieldName (const OUString &rLayoutName) const |
const OUString & | GetBaseItemName (const OUString &rLayoutName) const |
sal_Int32 | FindBaseItemPos (std::u16string_view rEntry, sal_Int32 nStartPos) const |
Searches for a listbox entry, starts search at specified position. More... | |
DECL_LINK (SelectHdl, weld::ComboBox &, void) | |
DECL_LINK (DblClickHdl, weld::TreeView &, bool) | |
DECL_LINK (ButtonClicked, weld::Button &, void) | |
Private Attributes | |
std::unique_ptr< ScDPFunctionListBox > | mxLbFunc |
std::unique_ptr< weld::Label > | mxFtName |
std::unique_ptr< weld::ComboBox > | mxLbType |
std::unique_ptr< weld::Label > | mxFtBaseField |
std::unique_ptr< weld::ComboBox > | mxLbBaseField |
std::unique_ptr< weld::Label > | mxFtBaseItem |
std::unique_ptr< weld::ComboBox > | mxLbBaseItem |
std::unique_ptr< weld::Button > | mxBtnOk |
std::unique_ptr< weld::Button > | mxBtnCancel |
NameMapType | maBaseFieldNameMap |
NameMapType | maBaseItemNameMap |
const ScDPLabelDataVector & | mrLabelVec |
bool | mbEmptyItem |
Data of all labels. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 52 of file pvfundlg.hxx.
|
private |
Definition at line 54 of file pvfundlg.hxx.
|
explicit |
Definition at line 236 of file pvfundlg.cxx.
|
overridevirtual |
Definition at line 257 of file pvfundlg.cxx.
|
private |
|
private |
|
private |
|
private |
Searches for a listbox entry, starts search at specified position.
Definition at line 370 of file pvfundlg.cxx.
References GetBaseItemName(), mxLbBaseItem, and nPos.
Referenced by Init().
|
private |
Definition at line 358 of file pvfundlg.cxx.
References maBaseFieldNameMap.
Referenced by GetFieldRef().
|
private |
Definition at line 364 of file pvfundlg.cxx.
References maBaseItemNameMap.
Referenced by FindBaseItemPos(), and GetFieldRef().
DataPilotFieldReference ScDPFunctionDlg::GetFieldRef | ( | ) | const |
Definition at line 266 of file pvfundlg.cxx.
References GetBaseFieldName(), GetBaseItemName(), mbEmptyItem, mxLbBaseField, mxLbBaseItem, and mxLbType.
PivotFunc ScDPFunctionDlg::GetFuncMask | ( | ) | const |
Definition at line 261 of file pvfundlg.cxx.
References mxLbFunc.
|
private |
Definition at line 293 of file pvfundlg.cxx.
References FindBaseItemPos(), ScDPLabelData::getDisplayName(), LINK, maBaseFieldNameMap, ScPivotFuncData::maFieldRef, mbEmptyItem, ScPivotFuncData::mnFuncMask, mrLabelVec, mxBtnCancel, mxBtnOk, mxFtName, mxLbBaseField, mxLbBaseItem, mxLbFunc, mxLbType, NONE, nPos, and Sum.
Referenced by ScDPFunctionDlg().
|
private |
Definition at line 86 of file pvfundlg.hxx.
Referenced by GetBaseFieldName(), and Init().
|
private |
Definition at line 87 of file pvfundlg.hxx.
Referenced by GetBaseItemName().
|
private |
Data of all labels.
Definition at line 90 of file pvfundlg.hxx.
Referenced by GetFieldRef(), and Init().
|
private |
Definition at line 89 of file pvfundlg.hxx.
Referenced by Init().
|
private |
Definition at line 84 of file pvfundlg.hxx.
Referenced by Init().
|
private |
Definition at line 83 of file pvfundlg.hxx.
Referenced by Init().
|
private |
Definition at line 79 of file pvfundlg.hxx.
|
private |
Definition at line 81 of file pvfundlg.hxx.
|
private |
Definition at line 77 of file pvfundlg.hxx.
Referenced by Init().
|
private |
Definition at line 80 of file pvfundlg.hxx.
Referenced by GetFieldRef(), and Init().
|
private |
Definition at line 82 of file pvfundlg.hxx.
Referenced by FindBaseItemPos(), GetFieldRef(), and Init().
|
private |
Definition at line 76 of file pvfundlg.hxx.
Referenced by GetFuncMask(), Init(), and ScDPFunctionDlg().
|
private |
Definition at line 78 of file pvfundlg.hxx.
Referenced by GetFieldRef(), and Init().