summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editview.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 32799f1ebdf2..15ac187cdfa5 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -62,6 +62,9 @@ namespace sun {
namespace star {
namespace datatransfer {
class XTransferable;
+ namespace dnd {
+ class XDropTarget;
+ }
}
namespace linguistic2 {
class XSpellChecker1;
@@ -101,6 +104,12 @@ public:
// return the OutputDevice that the EditView will draw to
virtual OutputDevice& EditViewOutputDevice() const = 0;
+
+ // implemented if drag and drop support is wanted
+ virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> GetDropTarget() const
+ {
+ return nullptr;
+ }
};
class EDITENG_DLLPUBLIC EditView final