diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 12:24:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 17:23:43 +0200 |
commit | d61214b7a864fb5006f1efa579383f3cc1c5f9cd (patch) | |
tree | ca6c4d5f90765715a58180e68b4154eb8bfa350b /include | |
parent | 8eb8636e02d23c6d23bcdbd0257b095ea844fbed (diff) |
copy to clipboard without intermediate vcl::Window
Change-Id: I36d26e583e08ef66564e232b54fa00a468a280c6
Reviewed-on: https://gerrit.libreoffice.org/79453
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/transfer.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/transfer.hxx b/include/vcl/transfer.hxx index 3373f3e032a9..8d5e47548592 100644 --- a/include/vcl/transfer.hxx +++ b/include/vcl/transfer.hxx @@ -250,8 +250,13 @@ public: void PrepareOLE( const TransferableObjectDescriptor& rObjDesc ); + void CopyToClipboard(const css::uno::Reference<css::datatransfer::clipboard::XClipboard> &rClipboard) const; + void CopyToSelection(const css::uno::Reference<css::datatransfer::clipboard::XClipboard> &rClipboard) const; + + // convenience versions of the above which extract the XClipboard from the pWindow void CopyToClipboard( vcl::Window *pWindow ) const; void CopyToSelection( vcl::Window *pWindow ) const; + void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions ); static void ClearSelection( vcl::Window *pWindow ); |