LibreOffice Module basctl (master) 1
|
Public Member Functions | |
SbTreeListBoxDropTarget (SbTreeListBox &rTreeView) | |
Private Member Functions | |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
void | NotifyCopyingMoving (const weld::TreeIter &rTarget, bool bMove) |
Private Attributes | |
SbTreeListBox & | m_rTreeView |
Definition at line 253 of file moduldlg.cxx.
|
inline |
Definition at line 558 of file moduldlg.cxx.
|
inlineoverrideprivatevirtual |
Definition at line 258 of file moduldlg.cxx.
References aDocument, DND_ACTION_COPY, DND_ACTION_MOVE, DND_ACTION_NONE, basctl::E_DIALOGS, basctl::E_SCRIPTS, weld::TreeView::get_dest_row_at_pos(), weld::TreeView::get_drag_source(), weld::TreeView::get_iter_depth(), weld::TreeView::get_selected(), basctl::SbTreeListBox::get_widget(), basctl::EntryDescriptor::GetDocument(), basctl::SbTreeListBox::GetEntryDescriptor(), basctl::EntryDescriptor::GetLibName(), basctl::LocalizationMgr::getStringResourceFromDialogLibrary(), m_rTreeView, weld::TreeView::make_iterator(), AcceptDropEvent::maPosPixel, and AcceptDropEvent::mnAction.
|
inlineoverrideprivatevirtual |
Definition at line 312 of file moduldlg.cxx.
References DND_ACTION_MOVE, DND_ACTION_NONE, basctl::E_DIALOGS, basctl::E_SCRIPTS, weld::TreeView::get_dest_row_at_pos(), weld::TreeView::get_drag_source(), basctl::SbTreeListBox::get_iter_depth(), weld::TreeView::get_selected(), basctl::SbTreeListBox::get_widget(), basctl::EntryDescriptor::GetDocument(), basctl::SbTreeListBox::GetEntryDescriptor(), basctl::EntryDescriptor::GetLibName(), basctl::ScriptDocument::getLibraryContainer(), basctl::EntryDescriptor::GetName(), basctl::EntryDescriptor::GetType(), basctl::ScriptDocument::hasDialog(), basctl::ScriptDocument::hasModule(), weld::TreeView::iter_compare(), weld::TreeView::iter_parent(), m_rTreeView, weld::TreeView::make_iterator(), ExecuteDropEvent::maPosPixel, ExecuteDropEvent::mnAction, NotifyCopyingMoving(), basctl::OBJ_TYPE_DIALOG, and basctl::OBJ_TYPE_MODULE.
|
inlineprivate |
if copying then clone the userdata
Definition at line 398 of file moduldlg.cxx.
References basctl::SbTreeListBox::ConvertType(), basctl::Shell::CopyDialogResources(), DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, eType, Exception, SfxDispatcher::ExecuteList(), basctl::SbTreeListBox::expand_row(), basctl::SbTreeListBox::get_id(), basctl::SbTreeListBox::get_iter_depth(), basctl::SbTreeListBox::get_iter_index_in_parent(), basctl::SbTreeListBox::get_row_expanded(), basctl::SbTreeListBox::get_selected(), basctl::SbTreeListBox::get_text(), basctl::SbTreeListBox::get_widget(), basctl::ScriptDocument::getDialog(), basctl::GetDispatcher(), basctl::EntryDescriptor::GetDocument(), basctl::SbTreeListBox::GetEntryDescriptor(), basctl::EntryDescriptor::GetLibName(), basctl::ScriptDocument::getModule(), basctl::EntryDescriptor::GetName(), basctl::EntryDescriptor::GetType(), weld::TreeView::insert(), basctl::ScriptDocument::insertDialog(), basctl::ScriptDocument::insertModule(), basctl::SbTreeListBox::iter_parent(), m_rTreeView, basctl::SbTreeListBox::make_iterator(), basctl::MarkDocumentModified(), basctl::OBJ_TYPE_DIALOG, basctl::OBJ_TYPE_DOCUMENT, basctl::OBJ_TYPE_MODULE, basctl::SbTreeListBox::remove(), basctl::RemoveDialog(), basctl::ScriptDocument::removeModule(), rTarget, basctl::SbTreeListBox::select(), weld::TreeView::set_image(), sId, and weld::toId().
Referenced by ExecuteDrop().
|
private |
Definition at line 256 of file moduldlg.cxx.
Referenced by AcceptDrop(), ExecuteDrop(), and NotifyCopyingMoving().