LibreOffice Module sc (master) 1
|
#include <PivotLayoutTreeListData.hxx>
Public Member Functions | |
ScPivotLayoutTreeListData (std::unique_ptr< weld::TreeView > xControl) | |
virtual | ~ScPivotLayoutTreeListData () override |
void | FillDataField (ScPivotFieldVector &rDataFields) |
void | PushDataFieldNames (std::vector< ScDPName > &rDataFieldNames) |
virtual void | InsertEntryForSourceTarget (weld::TreeView &rSource, int nTarget) override |
Public Member Functions inherited from ScPivotLayoutTreeListBase | |
void | Setup (ScPivotLayoutDialog *pParent) |
ScPivotLayoutTreeListBase (std::unique_ptr< weld::TreeView > xControl, SvPivotTreeListType eType=UNDEFINED) | |
weld::TreeView & | get_widget () |
virtual | ~ScPivotLayoutTreeListBase () |
void | PushEntriesToPivotFieldVector (ScPivotFieldVector &rVector) |
void | RemoveEntryForItem (const ScItemValue *pItemValue) |
virtual void | InsertEntryForSourceTarget (weld::TreeView &rSource, int nTarget) |
Private Member Functions | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) | |
void | InsertEntryForItem (ScItemValue *pItemValue, int nPosition) |
void | AdjustDuplicateCount (ScItemValue *pInputItemValue) |
Private Attributes | |
std::vector< std::unique_ptr< ScItemValue > > | maDataItemValues |
VclPtr< AbstractScDPFunctionDlg > | mpFunctionDlg |
Additional Inherited Members | |
Public Types inherited from ScPivotLayoutTreeListBase | |
enum | SvPivotTreeListType { UNDEFINED , LABEL_LIST , PAGE_LIST , ROW_LIST , COLUMN_LIST } |
Protected Member Functions inherited from ScPivotLayoutTreeListBase | |
DECL_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (MnemonicActivateHdl, weld::Widget &, bool) | |
DECL_LINK (LoseFocusHdl, weld::Widget &, void) | |
Protected Attributes inherited from ScPivotLayoutTreeListBase | |
std::unique_ptr< weld::TreeView > | mxControl |
ScPivotLayoutTreeDropTarget | maDropTargetHelper |
SvPivotTreeListType | meType |
ScPivotLayoutDialog * | mpParent |
Definition at line 18 of file PivotLayoutTreeListData.hxx.
ScPivotLayoutTreeListData::ScPivotLayoutTreeListData | ( | std::unique_ptr< weld::TreeView > | xControl | ) |
Definition at line 65 of file PivotLayoutTreeListData.cxx.
References LINK, and ScPivotLayoutTreeListBase::mxControl.
|
overridevirtual |
Definition at line 72 of file PivotLayoutTreeListData.cxx.
References VclPtr< class reference_type >::clear(), mpFunctionDlg, and RET_CANCEL.
|
private |
Definition at line 236 of file PivotLayoutTreeListData.cxx.
References ScItemValue::maFunctionData, ScPivotFuncData::mnCol, ScPivotFuncData::mnDupCount, ScPivotFuncData::mnFuncMask, and ScPivotLayoutTreeListBase::mxControl.
Referenced by FillDataField(), and InsertEntryForItem().
|
private |
|
private |
void ScPivotLayoutTreeListData::FillDataField | ( | ScPivotFieldVector & | rDataFields | ) |
Definition at line 125 of file PivotLayoutTreeListData.cxx.
References AdjustDuplicateCount(), ScPivotLayoutDialog::GetItem(), maDataItemValues, ScPivotFuncData::maFieldRef, ScItemValue::maFunctionData, ScItemValue::maName, ScPivotFuncData::mnDupCount, ScPivotFuncData::mnFuncMask, ScPivotFuncData::mnOriginalDim, ScItemValue::mpOriginalItemValue, ScPivotLayoutTreeListBase::mpParent, ScPivotLayoutTreeListBase::mxControl, PIVOT_DATA_FIELD, sId, and weld::toId().
|
private |
Definition at line 211 of file PivotLayoutTreeListData.cxx.
References AdjustDuplicateCount(), Auto, maDataItemValues, ScItemValue::maFunctionData, ScItemValue::maName, ScPivotFuncData::mnDupCount, ScPivotFuncData::mnFuncMask, ScItemValue::mpOriginalItemValue, ScPivotLayoutTreeListBase::mxControl, NONE, sId, Sum, and weld::toId().
Referenced by InsertEntryForSourceTarget().
|
overridevirtual |
Reimplemented from ScPivotLayoutTreeListBase.
Definition at line 188 of file PivotLayoutTreeListData.cxx.
References weld::TreeView::count_selected_rows(), weld::TreeView::get_selected_id(), InsertEntryForItem(), ScPivotLayoutDialog::IsDataElement(), ScItemValue::maFunctionData, ScPivotFuncData::mnCol, ScItemValue::mpOriginalItemValue, ScPivotLayoutTreeListBase::mpParent, ScPivotLayoutTreeListBase::mxControl, sId, and weld::toId().
void ScPivotLayoutTreeListData::PushDataFieldNames | ( | std::vector< ScDPName > & | rDataFieldNames | ) |
Definition at line 159 of file PivotLayoutTreeListData.cxx.
References ScPivotLayoutDialog::GetLabelData(), ScItemValue::maFunctionData, ScDPLabelData::maLayoutName, ScDPLabelData::maName, ScItemValue::maName, ScPivotFuncData::mnCol, ScDPLabelData::mnDupCount, ScPivotFuncData::mnDupCount, ScPivotFuncData::mnFuncMask, ScPivotLayoutTreeListBase::mpParent, and ScPivotLayoutTreeListBase::mxControl.
|
private |
Definition at line 37 of file PivotLayoutTreeListData.hxx.
Referenced by FillDataField(), and InsertEntryForItem().
|
private |
Definition at line 39 of file PivotLayoutTreeListData.hxx.
Referenced by ~ScPivotLayoutTreeListData().