LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScSelectionTransferObj Class Reference

#include <seltrans.hxx>

Inheritance diagram for ScSelectionTransferObj:
[legend]
Collaboration diagram for ScSelectionTransferObj:
[legend]

Public Member Functions

virtual ~ScSelectionTransferObj () override
 
void ForgetView ()
 
ScTabViewGetView () const
 
ScTransferObjGetCellData ()
 
ScDrawTransferObjGetDrawData ()
 
virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual void ObjectReleased () override
 
virtual sal_Bool SAL_CALL isComplex () 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 ScSelectionTransferObjCreateFromView (ScTabView *pSource)
 
- Static Public Member Functions inherited from TransferableHelper
static void ClearSelection (vcl::Window *pWindow)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Private Member Functions

 ScSelectionTransferObj (ScTabView *pSource, ScSelectionTransferMode eNewMode)
 
void CreateCellData ()
 
void CreateDrawData ()
 

Private Attributes

ScTabViewpView
 
ScSelectionTransferMode eMode
 
rtl::Reference< ScTransferObjmxCellData
 
rtl::Reference< ScDrawTransferObjmxDrawData
 

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)
 
virtual void DragFinished (sal_Int8 nDropAction)
 

Detailed Description

Definition at line 42 of file seltrans.hxx.

Constructor & Destructor Documentation

ScSelectionTransferObj::ScSelectionTransferObj ( ScTabView pSource,
ScSelectionTransferMode  eNewMode 
)
private

store range for StillValid

Definition at line 142 of file seltrans.cxx.

References eMode.

ScSelectionTransferObj::~ScSelectionTransferObj ( )
overridevirtual

Member Function Documentation

void ScSelectionTransferObj::AddSupportedFormats ( )
overridevirtual
void ScSelectionTransferObj::CreateCellData ( )
private
void ScSelectionTransferObj::CreateDrawData ( )
private
ScSelectionTransferObj * ScSelectionTransferObj::CreateFromView ( ScTabView pSource)
static
void ScSelectionTransferObj::ForgetView ( )
ScTransferObj * ScSelectionTransferObj::GetCellData ( )
bool ScSelectionTransferObj::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
)
overridevirtual
ScDrawTransferObj * ScSelectionTransferObj::GetDrawData ( )
ScTabView* ScSelectionTransferObj::GetView ( ) const
inline

Definition at line 62 of file seltrans.hxx.

References pView.

Referenced by ScTabView::~ScTabView().

sal_Bool SAL_CALL ScSelectionTransferObj::isComplex ( )
overridevirtual

Reimplemented from TransferableHelper.

Definition at line 417 of file seltrans.cxx.

References eMode, SC_SELTRANS_CELL, and SC_SELTRANS_CELLS.

void ScSelectionTransferObj::ObjectReleased ( )
overridevirtual

Member Data Documentation

ScSelectionTransferMode ScSelectionTransferObj::eMode
private
rtl::Reference<ScTransferObj> ScSelectionTransferObj::mxCellData
private

Definition at line 47 of file seltrans.hxx.

Referenced by CreateCellData(), ForgetView(), and GetCellData().

rtl::Reference<ScDrawTransferObj> ScSelectionTransferObj::mxDrawData
private

Definition at line 48 of file seltrans.hxx.

Referenced by CreateDrawData(), ForgetView(), and GetDrawData().

ScTabView* ScSelectionTransferObj::pView
private

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