LibreOffice Module desktop (master) 1
|
Represents the contents of LOKClipboard. More...
#include <lokclipboard.hxx>
Public Member Functions | |
LOKTransferable () | |
Use to ensure we have some dummy content on the clipboard to allow a 1st 'paste'. More... | |
LOKTransferable (size_t nInCount, const char **pInMimeTypes, const size_t *pInSizes, const char **pInStreams) | |
LOKTransferable (const 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 |
Static Private Member Functions | |
static void | initFlavourFromMime (css::datatransfer::DataFlavor &rFlavor, OUString aMimeType) |
Private Attributes | |
css::uno::Sequence< css::datatransfer::DataFlavor > | m_aFlavors |
std::vector< css::uno::Any > | m_aContent |
Represents the contents of LOKClipboard.
Definition at line 69 of file lokclipboard.hxx.
LOKTransferable::LOKTransferable | ( | ) |
Use to ensure we have some dummy content on the clipboard to allow a 1st 'paste'.
Definition at line 156 of file lokclipboard.cxx.
References initFlavourFromMime(), m_aContent, and m_aFlavors.
LOKTransferable::LOKTransferable | ( | size_t | nInCount, |
const char ** | pInMimeTypes, | ||
const size_t * | pInSizes, | ||
const char ** | pInStreams | ||
) |
Definition at line 183 of file lokclipboard.cxx.
References i, initFlavourFromMime(), m_aContent, and m_aFlavors.
LOKTransferable::LOKTransferable | ( | const OUString & | sMimeType, |
const css::uno::Sequence< sal_Int8 > & | aSequence | ||
) |
Definition at line 137 of file lokclipboard.cxx.
References initFlavourFromMime(), m_aContent, and m_aFlavors.
|
override |
Definition at line 203 of file lokclipboard.cxx.
References i, m_aContent, m_aFlavors, and SAL_WARN.
|
override |
Definition at line 218 of file lokclipboard.cxx.
References m_aFlavors.
|
staticprivate |
Definition at line 167 of file lokclipboard.cxx.
References aMimeType, and cppu::UnoType< typename T >::get().
Referenced by LOKTransferable().
|
override |
Definition at line 223 of file lokclipboard.cxx.
References i, and m_aFlavors.
|
private |
Definition at line 72 of file lokclipboard.hxx.
Referenced by getTransferData(), and LOKTransferable().
|
private |
Definition at line 71 of file lokclipboard.hxx.
Referenced by getTransferData(), getTransferDataFlavors(), isDataFlavorSupported(), and LOKTransferable().