LibreOffice Module basctl (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
basctl::DlgEdTransferableImpl Class Referencefinal

#include <dlgedclip.hxx>

Inheritance diagram for basctl::DlgEdTransferableImpl:
[legend]
Collaboration diagram for basctl::DlgEdTransferableImpl:
[legend]

Public Member Functions

 DlgEdTransferableImpl (const css::uno::Sequence< css::datatransfer::DataFlavor > &aSeqFlavors, const css::uno::Sequence< css::uno::Any > &aSeqData)
 
virtual ~DlgEdTransferableImpl () override
 
virtual css::uno::Any SAL_CALL getTransferData (const css::datatransfer::DataFlavor &rFlavor) override
 
virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors () override
 
virtual sal_Bool SAL_CALL isDataFlavorSupported (const css::datatransfer::DataFlavor &rFlavor) override
 
virtual void SAL_CALL lostOwnership (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard, const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
 

Static Private Member Functions

static bool compareDataFlavors (const css::datatransfer::DataFlavor &lFlavor, const css::datatransfer::DataFlavor &rFlavor)
 

Private Attributes

css::uno::Sequence< css::datatransfer::DataFlavor > m_SeqFlavors
 
css::uno::Sequence< css::uno::Any > m_SeqData
 

Detailed Description

Definition at line 29 of file dlgedclip.hxx.

Constructor & Destructor Documentation

◆ DlgEdTransferableImpl()

basctl::DlgEdTransferableImpl::DlgEdTransferableImpl ( const css::uno::Sequence< css::datatransfer::DataFlavor > &  aSeqFlavors,
const css::uno::Sequence< css::uno::Any > &  aSeqData 
)

Definition at line 35 of file dlgedclip.cxx.

References m_SeqData, and m_SeqFlavors.

◆ ~DlgEdTransferableImpl()

basctl::DlgEdTransferableImpl::~DlgEdTransferableImpl ( )
overridevirtual

Definition at line 40 of file dlgedclip.cxx.

Member Function Documentation

◆ compareDataFlavors()

bool basctl::DlgEdTransferableImpl::compareDataFlavors ( const css::datatransfer::DataFlavor &  lFlavor,
const css::datatransfer::DataFlavor &  rFlavor 
)
staticprivate

Definition at line 43 of file dlgedclip.cxx.

References getProcessComponentContext().

Referenced by getTransferData(), and isDataFlavorSupported().

◆ getTransferData()

Any SAL_CALL basctl::DlgEdTransferableImpl::getTransferData ( const css::datatransfer::DataFlavor &  rFlavor)
overridevirtual

Definition at line 63 of file dlgedclip.cxx.

References aData, Any, compareDataFlavors(), i, isDataFlavorSupported(), m_SeqData, and m_SeqFlavors.

◆ getTransferDataFlavors()

Sequence< DataFlavor > SAL_CALL basctl::DlgEdTransferableImpl::getTransferDataFlavors ( )
overridevirtual

Definition at line 83 of file dlgedclip.cxx.

References m_SeqFlavors.

◆ isDataFlavorSupported()

sal_Bool SAL_CALL basctl::DlgEdTransferableImpl::isDataFlavorSupported ( const css::datatransfer::DataFlavor &  rFlavor)
overridevirtual

Definition at line 89 of file dlgedclip.cxx.

References compareDataFlavors(), i, and m_SeqFlavors.

Referenced by getTransferData().

◆ lostOwnership()

void SAL_CALL basctl::DlgEdTransferableImpl::lostOwnership ( const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &  xClipboard,
const css::uno::Reference< css::datatransfer::XTransferable > &  xTrans 
)
overridevirtual

Definition at line 100 of file dlgedclip.cxx.

References m_SeqData, and m_SeqFlavors.

Member Data Documentation

◆ m_SeqData

css::uno::Sequence< css::uno::Any > basctl::DlgEdTransferableImpl::m_SeqData
private

Definition at line 34 of file dlgedclip.hxx.

Referenced by DlgEdTransferableImpl(), getTransferData(), and lostOwnership().

◆ m_SeqFlavors

css::uno::Sequence< css::datatransfer::DataFlavor > basctl::DlgEdTransferableImpl::m_SeqFlavors
private

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