22#include <com/sun/star/sheet/DataPilotFieldReference.hpp>
23#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
29#include <unordered_map>
60 css::sheet::DataPilotFieldReference
GetFieldRef()
const;
69 sal_Int32
FindBaseItemPos( std::u16string_view rEntry, sal_Int32 nStartPos )
const;
100 const ScDPNameVec& rDataFields,
bool bEnableLayout);
140 bool bEnableLayout );
192 css::sheet::DataPilotFieldOrientation nOrient);
195 virtual short run()
override;
NameMapType maBaseItemNameMap
std::unique_ptr< weld::Button > mxBtnOk
PivotFunc GetFuncMask() const
std::unique_ptr< weld::Button > mxBtnCancel
bool mbEmptyItem
Data of all labels.
std::unordered_map< OUString, OUString > NameMapType
std::unique_ptr< weld::ComboBox > mxLbBaseField
sal_Int32 FindBaseItemPos(std::u16string_view rEntry, sal_Int32 nStartPos) const
Searches for a listbox entry, starts search at specified position.
DECL_LINK(SelectHdl, weld::ComboBox &, void)
std::unique_ptr< ScDPFunctionListBox > mxLbFunc
const OUString & GetBaseFieldName(const OUString &rLayoutName) const
std::unique_ptr< weld::Label > mxFtBaseField
ScDPFunctionDlg(weld::Widget *pParent, const ScDPLabelDataVector &rLabelVec, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData)
std::unique_ptr< weld::Label > mxFtBaseItem
css::sheet::DataPilotFieldReference GetFieldRef() const
const ScDPLabelDataVector & mrLabelVec
DECL_LINK(DblClickHdl, weld::TreeView &, bool)
std::unique_ptr< weld::Label > mxFtName
NameMapType maBaseFieldNameMap
const OUString & GetBaseItemName(const OUString &rLayoutName) const
void Init(const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData)
DECL_LINK(ButtonClicked, weld::Button &, void)
std::unique_ptr< weld::ComboBox > mxLbType
std::unique_ptr< weld::ComboBox > mxLbBaseItem
virtual ~ScDPFunctionDlg() override
int get_height_rows(int nRows) const
std::unique_ptr< weld::TreeView > m_xControl
void set_sensitive(bool sensitive)
void SetSelection(PivotFunc nFuncMask)
ScDPFunctionListBox(std::unique_ptr< weld::TreeView > xControl)
void set_size_request(int nWidth, int nHeight)
PivotFunc GetSelection() const
void set_selection_mode(SelectionMode eMode)
void connect_row_activated(const Link< weld::TreeView &, bool > &rLink)
ScDPShowDetailDlg(weld::Window *pParent, ScDPObject &rDPObj, css::sheet::DataPilotFieldOrientation nOrient)
virtual ~ScDPShowDetailDlg() override
std::unique_ptr< weld::TreeView > mxLbDims
DimNameIndexMap maNameIndexMap
DECL_LINK(DblClickHdl, weld::TreeView &, bool)
virtual short run() override
OUString GetDimensionName() const
std::unordered_map< OUString, tools::Long > DimNameIndexMap
std::unique_ptr< weld::Label > mxFtName
DECL_LINK(ButtonClicked, weld::Button &, void)
void FillLabelData(ScDPLabelData &rLabelData) const
std::unique_ptr< weld::RadioButton > mxRbAuto
PivotFunc GetFuncMask() const
std::shared_ptr< ScDPSubtotalOptDlg > mxOptionsDlg
DECL_LINK(DblClickHdl, weld::TreeView &, bool)
ScDPSubtotalDlg(weld::Widget *pParent, ScDPObject &rDPObj, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData, const ScDPNameVec &rDataFields, bool bEnableLayout)
std::unique_ptr< weld::RadioButton > mxRbUser
DECL_LINK(ClickHdl, weld::Button &, void)
DECL_LINK(RadioClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > mxRbNone
true = Enable Layout mode controls.
std::unique_ptr< weld::Button > mxBtnOptions
std::unique_ptr< weld::CheckButton > mxCbShowAll
bool mbEnableLayout
Cache for sub dialog.
std::unique_ptr< weld::Button > mxBtnOk
ScDPLabelData maLabelData
The list of all data field names.
const ScDPNameVec & mrDataFields
The DataPilot object (for member names).
std::unique_ptr< weld::Button > mxBtnCancel
void Init(const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData)
virtual ~ScDPSubtotalDlg() override
std::unique_ptr< ScDPFunctionListBox > mxLbFunc
std::unique_ptr< weld::ComboBox > m_xLbShowUsing
std::unique_ptr< weld::Button > m_xBtnCancel
std::unique_ptr< weld::ComboBox > m_xLbShowFrom
ScDPName GetFieldName(const OUString &rLayoutName) const
NameMapType maDataFieldNameMap
void Init(const ScDPNameVec &rDataFields, bool bEnableLayout)
std::unique_ptr< weld::ComboBox > m_xLbLayout
std::unique_ptr< weld::SpinButton > m_xNfShow
std::unique_ptr< weld::RadioButton > m_xRbSortAsc
std::unique_ptr< weld::Label > m_xFtShowFrom
ScDPLabelData maLabelData
The DataPilot object (for member names).
ScDPSubtotalOptDlg(weld::Window *pParent, ScDPObject &rDPObj, const ScDPLabelData &rLabelData, const ScDPNameVec &rDataFields, bool bEnableLayout)
std::unique_ptr< weld::ComboBox > m_xLbSortBy
std::unordered_map< OUString, ScDPName > NameMapType
Cache for members data.
std::unique_ptr< weld::CheckButton > m_xCbRepeatItemLabels
std::unique_ptr< weld::ComboBox > m_xLbHierarchy
std::unique_ptr< weld::Label > m_xFtHierarchy
void FillLabelData(ScDPLabelData &rLabelData) const
DECL_LINK(ButtonClicked, weld::Button &, void)
sal_Int32 FindListBoxEntry(const weld::ComboBox &rLBox, std::u16string_view rEntry, sal_Int32 nStartPos) const
Searches for a listbox entry, starts search at specified position.
virtual ~ScDPSubtotalOptDlg() override
DECL_LINK(CheckHdl, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xFtShow
std::unique_ptr< weld::RadioButton > m_xRbSortMan
std::unique_ptr< weld::Button > m_xBtnOk
DECL_LINK(RadioClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::Widget > m_xLayoutFrame
std::unique_ptr< weld::Label > m_xFtShowUsing
std::unique_ptr< weld::TreeView > m_xLbHide
std::unique_ptr< weld::CheckButton > m_xCbShow
std::unique_ptr< weld::CheckButton > m_xCbLayoutEmpty
std::unique_ptr< weld::RadioButton > m_xRbSortDesc
std::unique_ptr< weld::Widget > m_xHideFrame
DECL_LINK(SelectHdl, weld::ComboBox &, void)
std::vector< ScDPName > ScDPNameVec
std::vector< std::unique_ptr< ScDPLabelData > > ScDPLabelDataVector