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

#include <JoinExchange.hxx>

Inheritance diagram for dbaui::OJoinExchObj:
[legend]
Collaboration diagram for dbaui::OJoinExchObj:
[legend]

Public Member Functions

 OJoinExchObj ()
 
void setDescriptors (const OJoinExchangeData &jxdSource, bool _bFirstEntry)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &_rIdentifier) override
 
- Public Member Functions inherited from TransferDataContainer
 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 char *pData, sal_uLong nLen)
 
bool HasAnyData () const
 
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions, const Link< sal_Int8, void > &rCallback)
 
virtual void DragFinished (sal_Int8 nDropAction) override
 
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions)
 
- Public Member Functions inherited from TransferableHelper
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 css::uno::Any SAL_CALL getTransferData2 (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual sal_Bool SAL_CALL isComplex () override
 
void PrepareOLE (const TransferableObjectDescriptor &rObjDesc)
 
void CopyToClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const
 
void CopyToClipboard (vcl::Window *pWindow) const
 
void CopyToPrimarySelection () const
 
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions)
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static OJoinExchangeData GetSourceDescription (const css::uno::Reference< css::datatransfer::XTransferable > &_rxObject)
 
static bool isFormatAvailable (const DataFlavorExVector &_rFormats, SotClipboardFormatId _nSlotID=SotClipboardFormatId::SBA_JOIN)
 
- Static Public Member Functions inherited from TransferableHelper
static void ClearPrimarySelection ()
 

Private Member Functions

virtual ~OJoinExchObj () override
 
virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 

Private Attributes

bool m_bFirstEntry
 
OJoinExchangeData m_jxdSourceDescription
 

Additional Inherited Members

- 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)
 
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 void AddSupportedFormats ()=0
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc)=0
 
virtual bool WriteObject (tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)
 
virtual void DragFinished (sal_Int8 nDropAction)
 
virtual void ObjectReleased ()
 
void CopyToSelection (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 32 of file JoinExchange.hxx.

Constructor & Destructor Documentation

◆ ~OJoinExchObj()

dbaui::OJoinExchObj::~OJoinExchObj ( )
overrideprivatevirtual

Definition at line 41 of file JoinExchange.cxx.

◆ OJoinExchObj()

dbaui::OJoinExchObj::OJoinExchObj ( )

Definition at line 36 of file JoinExchange.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL dbaui::OJoinExchObj::acquire ( )
overridevirtualnoexcept

Definition at line 102 of file JoinExchange.cxx.

◆ AddSupportedFormats()

void dbaui::OJoinExchObj::AddSupportedFormats ( )
overrideprivatevirtual

Reimplemented from TransferDataContainer.

Definition at line 75 of file JoinExchange.cxx.

References TransferableHelper::AddFormat(), and m_bFirstEntry.

◆ GetData()

bool dbaui::OJoinExchObj::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
)
overrideprivatevirtual

Reimplemented from TransferDataContainer.

Definition at line 82 of file JoinExchange.cxx.

References SotExchange::GetFormat().

◆ getSomething()

sal_Int64 SAL_CALL dbaui::OJoinExchObj::getSomething ( const css::uno::Sequence< sal_Int8 > &  _rIdentifier)
overridevirtual

Definition at line 70 of file JoinExchange.cxx.

References comphelper::getSomethingImpl().

◆ GetSourceDescription()

OJoinExchangeData dbaui::OJoinExchObj::GetSourceDescription ( const css::uno::Reference< css::datatransfer::XTransferable > &  _rxObject)
static

◆ getUnoTunnelId()

const Sequence< sal_Int8 > & dbaui::OJoinExchObj::getUnoTunnelId ( )
static

Definition at line 64 of file JoinExchange.cxx.

References comphelper::UnoIdInit::getSeq().

◆ isFormatAvailable()

bool dbaui::OJoinExchObj::isFormatAvailable ( const DataFlavorExVector _rFormats,
SotClipboardFormatId  _nSlotID = SotClipboardFormatId::SBA_JOIN 
)
static

◆ queryInterface()

Any SAL_CALL dbaui::OJoinExchObj::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from cppu::ImplHelper1< class Ifc1 >.

Definition at line 94 of file JoinExchange.cxx.

References Any, and cppu::ImplHelper1< class Ifc1 >::queryInterface().

◆ release()

void SAL_CALL dbaui::OJoinExchObj::release ( )
overridevirtualnoexcept

Definition at line 107 of file JoinExchange.cxx.

◆ setDescriptors()

void dbaui::OJoinExchObj::setDescriptors ( const OJoinExchangeData jxdSource,
bool  _bFirstEntry 
)

Definition at line 30 of file JoinExchange.cxx.

References m_bFirstEntry, and m_jxdSourceDescription.

Member Data Documentation

◆ m_bFirstEntry

bool dbaui::OJoinExchObj::m_bFirstEntry
private

Definition at line 34 of file JoinExchange.hxx.

Referenced by AddSupportedFormats(), and setDescriptors().

◆ m_jxdSourceDescription

OJoinExchangeData dbaui::OJoinExchObj::m_jxdSourceDescription
private

Definition at line 36 of file JoinExchange.hxx.

Referenced by setDescriptors().


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