LibreOffice Module svtools (master) 1
|
#include <stringtransfer.hxx>
Static Public Member Functions | |
static SVT_DLLPUBLIC void | CopyString (const OUString &_rContent, vcl::Window *_pWindow) |
copies the string given into the system clipboard More... | |
static SVT_DLLPUBLIC bool | PasteString (OUString &_rContent, vcl::Window *_pWindow) |
extracts a string from the system clipboard given More... | |
static SVT_DLLPUBLIC void | StartStringDrag (const OUString &_rContent, vcl::Window *_pWindow, sal_Int8 _nDragSourceActions) |
starts dragging a simple string More... | |
Definition at line 45 of file stringtransfer.hxx.
|
static |
copies the string given into the system clipboard
Beware: In opposite to the old DragServer::CopyString, this method does not add the string to the clipboard, instead the old clipboard content is replaced!
Definition at line 64 of file stringtransfer.cxx.
|
static |
extracts a string from the system clipboard given
Definition at line 70 of file stringtransfer.cxx.
References TransferableDataHelper::CreateFromSystemClipboard(), TransferableDataHelper::GetDataFlavorExVector(), and TransferableDataHelper::GetString().
|
static |
starts dragging a simple string
Definition at line 90 of file stringtransfer.cxx.