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

class for transferring multiple columns More...

#include <dbaexchange.hxx>

Inheritance diagram for svx::OMultiColumnTransferable:
Collaboration diagram for svx::OMultiColumnTransferable:

Public Member Functions

 OMultiColumnTransferable ()
void setDescriptors (const css::uno::Sequence< css::beans::PropertyValue > &rDescriptors)
- 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 > &rCallbck)
virtual void DragFinished (sal_Int8 nDropAction) override
- Public Member Functions inherited from TransferableHelper
void PrepareOLE (const TransferableObjectDescriptor &rObjDesc)
void CopyToClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const
void CopyToSelection (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const
void CopyToClipboard (vcl::Window *pWindow) const
void CopyToSelection (vcl::Window *pWindow) const
void StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions)
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rId) override

Static Public Member Functions

static bool canExtractDescriptor (const DataFlavorExVector &_rFlavors)
 checks whether or not an object descriptor can be extracted from the data flavor vector given More...
static css::uno::Sequence< css::beans::PropertyValue > extractDescriptor (const TransferableDataHelper &_rData)
 extracts an object descriptor from the transferable given More...
- Static Public Member Functions inherited from TransferableHelper
static void ClearSelection (vcl::Window *pWindow)
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()

Private Member Functions

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

Static Private Member Functions

static SotClipboardFormatId getDescriptorFormatId ()

Private Attributes

css::uno::Sequence< css::beans::PropertyValue > m_aDescriptors

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, const css::datatransfer::DataFlavor &rFlavor)
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 bool WriteObject (tools::SvRef< SotStorageStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)

Detailed Description

class for transferring multiple columns

Definition at line 243 of file dbaexchange.hxx.

Constructor & Destructor Documentation

svx::OMultiColumnTransferable::OMultiColumnTransferable ( )

Definition at line 563 of file dbaexchange.cxx.

Member Function Documentation

void svx::OMultiColumnTransferable::AddSupportedFormats ( )

Reimplemented from TransferDataContainer.

Definition at line 584 of file dbaexchange.cxx.

References TransferableHelper::AddFormat(), and getDescriptorFormatId().

bool svx::OMultiColumnTransferable::canExtractDescriptor ( const DataFlavorExVector _rFlavors)

checks whether or not an object descriptor can be extracted from the data flavor vector given

_rFlavorsavailable flavors
_nFormatsformats to accept

Definition at line 600 of file dbaexchange.cxx.

References getDescriptorFormatId().

Sequence< PropertyValue > svx::OMultiColumnTransferable::extractDescriptor ( const TransferableDataHelper _rData)

extracts an object descriptor from the transferable given

Definition at line 607 of file dbaexchange.cxx.

References TransferableDataHelper::GetAny(), getDescriptorFormatId(), SotExchange::GetFormatDataFlavor(), and TransferableDataHelper::HasFormat().

bool svx::OMultiColumnTransferable::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
SotClipboardFormatId svx::OMultiColumnTransferable::getDescriptorFormatId ( )
void svx::OMultiColumnTransferable::ObjectReleased ( )

Reimplemented from TransferableHelper.

Definition at line 623 of file dbaexchange.cxx.

References m_aDescriptors.

void svx::OMultiColumnTransferable::setDescriptors ( const css::uno::Sequence< css::beans::PropertyValue > &  rDescriptors)

Definition at line 567 of file dbaexchange.cxx.

References TransferableHelper::ClearFormats(), and m_aDescriptors.

Member Data Documentation

css::uno::Sequence< css::beans::PropertyValue > svx::OMultiColumnTransferable::m_aDescriptors

Definition at line 268 of file dbaexchange.hxx.

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

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