From ba315d069d75e6e2f08694b5e64595565c805442 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 6 Jul 2007 11:27:09 +0000 Subject: INTEGRATION: CWS c09tosrc (1.10.48); FILE MERGED 2007/06/20 11:29:16 cd 1.10.48.1: #i78694# Calc must support XTransferableSupplier interface --- sc/inc/viewuno.hxx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'sc/inc/viewuno.hxx') diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index 6cce267da761..6061c05755c8 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -4,9 +4,9 @@ * * $RCSfile: viewuno.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: kz $ $Date: 2007-05-10 10:52:20 $ + * last change: $Author: rt $ $Date: 2007-07-06 12:27:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -93,6 +93,9 @@ #ifndef _COM_SUN_STAR_LANG_XUNOTUNNEL_HPP_ #include #endif +#ifndef _COM_SUN_STAR_DATATRANSFER_XTRANSFERABLESUPPLIER_HPP_ +#include +#endif class ScTabViewShell; @@ -229,7 +232,8 @@ class ScTabViewObj : public ScViewPaneBase, public com::sun::star::sheet::XViewSplitable, public com::sun::star::sheet::XViewFreezable, public com::sun::star::sheet::XRangeSelection, - public com::sun::star::lang::XUnoTunnel + public com::sun::star::lang::XUnoTunnel, + public com::sun::star::datatransfer::XTransferableSupplier { private: SfxItemPropertySet aPropSet; @@ -427,6 +431,10 @@ public: throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException); + + //XTransferableSupplier + virtual ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > SAL_CALL getTransferable( ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL insertTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTrans ) throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::uno::RuntimeException); }; -- cgit