diff options
Diffstat (limited to 'include/editeng/editview.hxx')
-rw-r--r-- | include/editeng/editview.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index cbc65bf93e1c..6ba2e01b285a 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -66,6 +66,9 @@ namespace sun { namespace star { namespace datatransfer { class XTransferable; + namespace clipboard { + class XClipboard; + } namespace dnd { class XDropTarget; } @@ -128,6 +131,9 @@ public: { } + // Access to clipboard + virtual css::uno::Reference<css::datatransfer::clipboard::XClipboard> GetClipboard() const = 0; + // implemented if drag and drop support is wanted virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> GetDropTarget() { @@ -273,7 +279,8 @@ public: void InsertText( const EditTextObject& rTextObject ); void InsertText( css::uno::Reference< css::datatransfer::XTransferable > const & xDataObj, const OUString& rBaseURL, bool bUseSpecial ); - css::uno::Reference< css::datatransfer::XTransferable > GetTransferable() const; + css::uno::Reference<css::datatransfer::clipboard::XClipboard> GetClipboard() const; + css::uno::Reference<css::datatransfer::XTransferable> GetTransferable() const; // An EditView, so that when TRUE the update will be free from flickering: void SetEditEngineUpdateMode( bool bUpdate ); |