LibreOffice Module desktop (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LOKTransferable Class Reference

Represents the contents of LOKClipboard. More...

#include <lokclipboard.hxx>

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

Public Member Functions

 LOKTransferable (const char *pMimeType, const char *pData, std::size_t nSize)
 
 LOKTransferable (OUString sMimeType, const css::uno::Sequence< sal_Int8 > &aSequence)
 
css::uno::Any SAL_CALL getTransferData (const css::datatransfer::DataFlavor &rFlavor) override
 
css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors () override
 
sal_Bool SAL_CALL isDataFlavorSupported (const css::datatransfer::DataFlavor &rFlavor) override
 

Private Member Functions

std::vector< css::datatransfer::DataFlavor > getTransferDataFlavorsAsVector ()
 Provides a list of flavors, used by getTransferDataFlavors() and isDataFlavorSupported(). More...
 

Private Attributes

OUString m_aMimeType
 
css::uno::Sequence< sal_Int8m_aSequence
 

Detailed Description

Represents the contents of LOKClipboard.

Definition at line 35 of file lokclipboard.hxx.

Constructor & Destructor Documentation

LOKTransferable::LOKTransferable ( const char *  pMimeType,
const char *  pData,
std::size_t  nSize 
)

Definition at line 29 of file lokclipboard.cxx.

LOKTransferable::LOKTransferable ( OUString  sMimeType,
const css::uno::Sequence< sal_Int8 > &  aSequence 
)

Definition at line 35 of file lokclipboard.cxx.

Member Function Documentation

uno::Any SAL_CALL LOKTransferable::getTransferData ( const css::datatransfer::DataFlavor &  rFlavor)
override

Definition at line 41 of file lokclipboard.cxx.

References m_aSequence.

uno::Sequence< datatransfer::DataFlavor > SAL_CALL LOKTransferable::getTransferDataFlavors ( )
override
std::vector< datatransfer::DataFlavor > LOKTransferable::getTransferDataFlavorsAsVector ( )
private

Provides a list of flavors, used by getTransferDataFlavors() and isDataFlavorSupported().

Definition at line 54 of file lokclipboard.cxx.

References m_aMimeType.

Referenced by getTransferDataFlavors(), and isDataFlavorSupported().

sal_Bool SAL_CALL LOKTransferable::isDataFlavorSupported ( const css::datatransfer::DataFlavor &  rFlavor)
override

Definition at line 78 of file lokclipboard.cxx.

References getTransferDataFlavorsAsVector(), and i.

Member Data Documentation

OUString LOKTransferable::m_aMimeType
private

Definition at line 37 of file lokclipboard.hxx.

Referenced by getTransferDataFlavorsAsVector().

css::uno::Sequence<sal_Int8> LOKTransferable::m_aSequence
private

Definition at line 38 of file lokclipboard.hxx.

Referenced by getTransferData().


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