summaryrefslogtreecommitdiff
path: root/include/vcl/transfer.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-24 12:24:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-24 17:23:43 +0200
commitd61214b7a864fb5006f1efa579383f3cc1c5f9cd (patch)
treeca6c4d5f90765715a58180e68b4154eb8bfa350b /include/vcl/transfer.hxx
parent8eb8636e02d23c6d23bcdbd0257b095ea844fbed (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/vcl/transfer.hxx')
-rw-r--r--include/vcl/transfer.hxx5
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 );