16 : mxControl(
std::move(xControl))
17 , maDropTargetHelper(*this)
36 : DropTargetHelper(rTreeView.get_widget().get_drop_target())
37 , m_rTreeView(rTreeView)
67 std::unique_ptr<weld::TreeIter> xEachEntry(
mxControl->make_iterator());
68 if (!
mxControl->get_iter_first(*xEachEntry))
81 rVector.push_back(aField);
82 }
while (
mxControl->iter_next(*xEachEntry));
102 mpParent->mpPreviouslyFocusedListBox =
this;
112 InsertEntryForSourceTarget(rSource, -1);
120 mpParent->mpPreviouslyFocusedListBox =
nullptr;
IMPL_LINK_NOARG(ScPivotLayoutTreeListBase, GetFocusHdl, weld::Widget &, void)
ScPivotFuncData maFunctionData
virtual sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt) override
ScPivotLayoutTreeDropTarget(ScPivotLayoutTreeListBase &rTreeView)
virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent &rEvt) override
ScPivotLayoutTreeListBase & m_rTreeView
weld::TreeView & get_widget()
ScPivotLayoutTreeListBase(std::unique_ptr< weld::TreeView > xControl, SvPivotTreeListType eType=UNDEFINED)
void Setup(ScPivotLayoutDialog *pParent)
void PushEntriesToPivotFieldVector(ScPivotFieldVector &rVector)
std::unique_ptr< weld::TreeView > mxControl
virtual void InsertEntryForSourceTarget(weld::TreeView &rSource, int nTarget)
ScPivotLayoutDialog * mpParent
virtual ~ScPivotLayoutTreeListBase()
void RemoveEntryForItem(const ScItemValue *pItemValue)
virtual std::unique_ptr< TreeIter > make_iterator(const TreeIter *pOrig=nullptr) const=0
virtual int get_iter_index_in_parent(const TreeIter &rIter) const=0
virtual TreeView * get_drag_source() const=0
virtual bool get_dest_row_at_pos(const Point &rPos, weld::TreeIter *pResult, bool bDnDMode, bool bAutoScroll=true)=0
virtual void unset_drag_dest_row()=0
virtual int get_cursor_index() const=0
RegionData_Impl * mpParent
Reference< XInterface > xTarget
#define LINK(Instance, Class, Member)
OUString toId(const void *pValue)
std::vector< ScPivotField > ScPivotFieldVector
SCCOL nCol
0-based dimension index (not source column index)
css::sheet::DataPilotFieldReference maFieldRef
tools::Long mnOriginalDim
>= 0 for duplicated field.
css::sheet::DataPilotFieldReference maFieldRef
tools::Long mnOriginalDim