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