LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TransferDataContainer Class Reference

#include <transfer.hxx>

Inheritance diagram for TransferDataContainer:
[legend]
Collaboration diagram for TransferDataContainer:
[legend]

Public Member Functions

 TransferDataContainer ()
 
virtual ~TransferDataContainer () override
 
void CopyINetBookmark (const INetBookmark &rBkmk)
 
void CopyString (const OUString &rStr)
 
void CopyString (SotClipboardFormatId nFmt, const OUString &rStr)
 
void CopyByteString (SotClipboardFormatId nFormatId, const OString &rStr)
 
void CopyAnyData (SotClipboardFormatId nFormatId, const sal_Char *pData, sal_uLong nLen)
 
bool HasAnyData () const
 
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions, const Link< sal_Int8, void > &rCallbck)
 
- Public Member Functions inherited from TransferableHelper
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
 
void CopyToClipboard (vcl::Window *pWindow) const
 
void CopyToSelection (vcl::Window *pWindow) const
 
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions)
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rId) override
 

Protected Member Functions

virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual void DragFinished (sal_Int8 nDropAction) override
 
- Protected Member Functions inherited from TransferableHelper
 ~TransferableHelper ()
 
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & getOwnClipboard () const
 
void implCallOwnLostOwnership (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &_rxClipboard, const css::uno::Reference< css::datatransfer::XTransferable > &_rxTrans)
 
void AddFormat (SotClipboardFormatId nFormat)
 
void AddFormat (const css::datatransfer::DataFlavor &rFlavor)
 
void RemoveFormat (SotClipboardFormatId nFormat)
 
void RemoveFormat (const css::datatransfer::DataFlavor &rFlavor)
 
bool HasFormat (SotClipboardFormatId nFormat)
 
void ClearFormats ()
 
bool SetAny (const css::uno::Any &rAny)
 
bool SetString (const OUString &rString, const css::datatransfer::DataFlavor &rFlavor)
 
bool SetBitmapEx (const BitmapEx &rBitmap, const css::datatransfer::DataFlavor &rFlavor)
 
bool SetGDIMetaFile (const GDIMetaFile &rMtf)
 
bool SetGraphic (const Graphic &rGraphic)
 
bool SetImageMap (const ImageMap &rIMap)
 
bool SetTransferableObjectDescriptor (const TransferableObjectDescriptor &rDesc)
 
bool SetINetBookmark (const INetBookmark &rBmk, const css::datatransfer::DataFlavor &rFlavor)
 
bool SetINetImage (const INetImage &rINtImg, const css::datatransfer::DataFlavor &rFlavor)
 
bool SetObject (void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)
 
virtual bool WriteObject (tools::SvRef< SotStorageStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)
 
virtual void ObjectReleased ()
 

Private Attributes

std::unique_ptr< TransferDataContainer_ImplpImpl
 

Additional Inherited Members

- Static Public Member Functions inherited from TransferableHelper
static void ClearSelection (vcl::Window *pWindow)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Detailed Description

Definition at line 486 of file transfer.hxx.

Constructor & Destructor Documentation

TransferDataContainer::TransferDataContainer ( )

Definition at line 328 of file transfer2.cxx.

TransferDataContainer::~TransferDataContainer ( )
overridevirtual

Definition at line 334 of file transfer2.cxx.

Member Function Documentation

void TransferDataContainer::AddSupportedFormats ( )
overrideprotectedvirtual

Implements TransferableHelper.

Definition at line 339 of file transfer2.cxx.

void TransferDataContainer::CopyAnyData ( SotClipboardFormatId  nFormatId,
const sal_Char pData,
sal_uLong  nLen 
)
void TransferDataContainer::CopyByteString ( SotClipboardFormatId  nFormatId,
const OString &  rStr 
)

Definition at line 414 of file transfer2.cxx.

References CopyAnyData().

void TransferDataContainer::CopyINetBookmark ( const INetBookmark rBkmk)

Definition at line 381 of file transfer2.cxx.

References TransferableHelper::AddFormat(), and pImpl.

void TransferDataContainer::CopyString ( const OUString &  rStr)

Definition at line 434 of file transfer2.cxx.

void TransferDataContainer::CopyString ( SotClipboardFormatId  nFmt,
const OUString &  rStr 
)
void TransferDataContainer::DragFinished ( sal_Int8  nDropAction)
overrideprotectedvirtual

Reimplemented from TransferableHelper.

Definition at line 456 of file transfer2.cxx.

References pImpl.

bool TransferDataContainer::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
)
overrideprotectedvirtual
bool TransferDataContainer::HasAnyData ( ) const

Definition at line 440 of file transfer2.cxx.

References pImpl.

void TransferDataContainer::StartDrag ( vcl::Window pWindow,
sal_Int8  nDragSourceActions,
const Link< sal_Int8, void > &  rCallbck 
)

Definition at line 447 of file transfer2.cxx.

References pImpl, and TransferableHelper::StartDrag().

Member Data Documentation

std::unique_ptr<TransferDataContainer_Impl> TransferDataContainer::pImpl
private

The documentation for this class was generated from the following files: