LibreOffice Module sc (master) 1
|
#include <PivotLayoutTreeList.hxx>
Public Member Functions | |
ScPivotLayoutTreeList (std::unique_ptr< weld::TreeView > xControl) | |
virtual | ~ScPivotLayoutTreeList () override |
void | Setup (ScPivotLayoutDialog *pParent, SvPivotTreeListType eType) |
void | FillFields (ScPivotFieldVector &rFieldVector) |
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) |
Protected Member Functions | |
void | InsertEntryForItem (const ScItemValue *pItemValue, int nPosition) |
Protected Member Functions inherited from ScPivotLayoutTreeListBase | |
DECL_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (MnemonicActivateHdl, weld::Widget &, bool) | |
DECL_LINK (LoseFocusHdl, weld::Widget &, void) | |
Private Member Functions | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) | |
Private Attributes | |
std::vector< std::unique_ptr< ScItemValue > > | maItemValues |
std::vector< ScDPName > | maDataFieldNames |
VclPtr< AbstractScDPSubtotalDlg > | mpSubtotalDlg |
Additional Inherited Members | |
Public Types inherited from ScPivotLayoutTreeListBase | |
enum | SvPivotTreeListType { UNDEFINED , LABEL_LIST , PAGE_LIST , ROW_LIST , COLUMN_LIST } |
Protected Attributes inherited from ScPivotLayoutTreeListBase | |
std::unique_ptr< weld::TreeView > | mxControl |
ScPivotLayoutTreeDropTarget | maDropTargetHelper |
SvPivotTreeListType | meType |
ScPivotLayoutDialog * | mpParent |
Definition at line 17 of file PivotLayoutTreeList.hxx.
ScPivotLayoutTreeList::ScPivotLayoutTreeList | ( | std::unique_ptr< weld::TreeView > | xControl | ) |
Definition at line 19 of file PivotLayoutTreeList.cxx.
References LINK, and ScPivotLayoutTreeListBase::mxControl.
|
overridevirtual |
Definition at line 26 of file PivotLayoutTreeList.cxx.
References VclPtr< class reference_type >::clear(), mpSubtotalDlg, and RET_CANCEL.
|
private |
|
private |
void ScPivotLayoutTreeList::FillFields | ( | ScPivotFieldVector & | rFieldVector | ) |
Definition at line 78 of file PivotLayoutTreeList.cxx.
References aLabel, ScPivotLayoutDialog::GetItem(), maItemValues, ScItemValue::maName, ScPivotLayoutTreeListBase::mpParent, ScPivotLayoutTreeListBase::mxControl, sId, and weld::toId().
|
protected |
Definition at line 107 of file PivotLayoutTreeList.cxx.
References maItemValues, ScItemValue::maName, ScPivotLayoutTreeListBase::mxControl, sId, sName, and weld::toId().
Referenced by InsertEntryForSourceTarget().
|
overridevirtual |
Reimplemented from ScPivotLayoutTreeListBase.
Definition at line 93 of file PivotLayoutTreeList.cxx.
References weld::TreeView::get_selected_id(), InsertEntryForItem(), ScPivotLayoutDialog::IsDataElement(), ScPivotLayoutDialog::ItemInserted(), ScItemValue::maFunctionData, ScPivotLayoutTreeListBase::meType, ScPivotFuncData::mnCol, ScItemValue::mpOriginalItemValue, ScPivotLayoutTreeListBase::mpParent, and ScPivotLayoutTreeListBase::PAGE_LIST.
void ScPivotLayoutTreeList::Setup | ( | ScPivotLayoutDialog * | pParent, |
SvPivotTreeListType | eType | ||
) |
Definition at line 35 of file PivotLayoutTreeList.cxx.
References eType, ScPivotLayoutTreeListBase::meType, and ScPivotLayoutTreeListBase::mpParent.
|
private |
Definition at line 21 of file PivotLayoutTreeList.hxx.
|
private |
Definition at line 20 of file PivotLayoutTreeList.hxx.
Referenced by FillFields(), and InsertEntryForItem().
|
private |
Definition at line 23 of file PivotLayoutTreeList.hxx.
Referenced by ~ScPivotLayoutTreeList().