LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbaui::OTableRowExchange Class Reference

#include <TableRowExchange.hxx>

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

Public Member Functions

 OTableRowExchange (std::vector< std::shared_ptr< OTableRow > > &&_rvTableRow)
 
- 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)
 

Protected Member Functions

virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual bool WriteObject (tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) override
 
virtual void ObjectReleased () 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)
 
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
 

Private Attributes

std::vector< std::shared_ptr< OTableRow > > m_vTableRow
 

Additional Inherited Members

- Static Public Member Functions inherited from TransferableHelper
static void ClearPrimarySelection ()
 

Detailed Description

Definition at line 27 of file TableRowExchange.hxx.

Constructor & Destructor Documentation

◆ OTableRowExchange()

dbaui::OTableRowExchange::OTableRowExchange ( std::vector< std::shared_ptr< OTableRow > > &&  _rvTableRow)

Definition at line 30 of file TableRowExchange.cxx.

Member Function Documentation

◆ AddSupportedFormats()

void dbaui::OTableRowExchange::AddSupportedFormats ( )
overrideprotectedvirtual

Implements TransferableHelper.

Definition at line 49 of file TableRowExchange.cxx.

References TransferableHelper::AddFormat(), and m_vTableRow.

◆ GetData()

bool dbaui::OTableRowExchange::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
)
overrideprotectedvirtual

◆ ObjectReleased()

void dbaui::OTableRowExchange::ObjectReleased ( )
overrideprotectedvirtual

Reimplemented from TransferableHelper.

Definition at line 61 of file TableRowExchange.cxx.

References m_vTableRow.

◆ WriteObject()

bool dbaui::OTableRowExchange::WriteObject ( tools::SvRef< SotTempStream > &  rxOStm,
void *  pUserObject,
sal_uInt32  nUserObjectId,
const css::datatransfer::DataFlavor &  rFlavor 
)
overrideprotectedvirtual

Reimplemented from TransferableHelper.

Definition at line 34 of file TableRowExchange.cxx.

References dbaui::FORMAT_OBJECT_ID_SBA_TABED, and dbaui::WriteOTableRow().

Member Data Documentation

◆ m_vTableRow

std::vector< std::shared_ptr<OTableRow> > dbaui::OTableRowExchange::m_vTableRow
private

Definition at line 29 of file TableRowExchange.hxx.

Referenced by AddSupportedFormats(), GetData(), and ObjectReleased().


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