summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/TableCopyHelper.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:33:55 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:33:55 +0000
commitd9ffc942ca52553d2bc8ced40de592f4ba722660 (patch)
treed6b6d82944941b5cb02057c598e71dba5007d380 /dbaccess/source/ui/inc/TableCopyHelper.hxx
parentINTEGRATION: CWS dba201b (1.6.420); FILE MERGED (diff)
downloadcore-d9ffc942ca52553d2bc8ced40de592f4ba722660.tar.gz
core-d9ffc942ca52553d2bc8ced40de592f4ba722660.zip
INTEGRATION: CWS dba201b (1.2.84); FILE MERGED
2005/09/21 09:10:32 oj 1.2.84.2: RESYNC: (1.2-1.3); FILE MERGED 2005/07/20 09:56:41 fs 1.2.84.1: #i51255# XConnection replaced with SharedConnection, and DataSourceHolder replaced with SharedModel
Diffstat (limited to 'dbaccess/source/ui/inc/TableCopyHelper.hxx')
-rw-r--r--dbaccess/source/ui/inc/TableCopyHelper.hxx27
1 files changed, 15 insertions, 12 deletions
diff --git a/dbaccess/source/ui/inc/TableCopyHelper.hxx b/dbaccess/source/ui/inc/TableCopyHelper.hxx
index c7571e911165..a440f868df24 100644
--- a/dbaccess/source/ui/inc/TableCopyHelper.hxx
+++ b/dbaccess/source/ui/inc/TableCopyHelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TableCopyHelper.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 15:35:46 $
+ * last change: $Author: hr $ $Date: 2005-09-23 12:33:55 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -38,6 +38,9 @@
#ifndef DBAUI_APPELEMENTTYPE_HXX
#include "AppElementType.hxx"
#endif
+#ifndef _DBAUI_COMMON_TYPES_HXX_
+#include "commontypes.hxx"
+#endif
#ifndef _SVX_DATACCESSDESCRIPTOR_HXX_
#include <svx/dataaccessdescriptor.hxx>
#endif
@@ -120,7 +123,7 @@ namespace dbaui
*/
void pasteTable( const TransferableDataHelper& _rTransData
,const ::rtl::OUString& _sDestDataSourceName
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ ,const SharedConnection& _xConnection);
/** pastes a table into the data source
@param _nFormatId
@@ -133,7 +136,7 @@ namespace dbaui
void pasteTable( SotFormatStringId _nFormatId
,const TransferableDataHelper& _rTransData
,const ::rtl::OUString& _sDestDataSourceName
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ ,const SharedConnection& _xConnection);
/** pastes a table into the data source
@param _rPasteData
@@ -143,7 +146,7 @@ namespace dbaui
*/
void pasteTable( ::svx::ODataAccessDescriptor& _rPasteData
,const ::rtl::OUString& _sDestDataSourceName
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xDestConnection);
+ ,const SharedConnection& _xDestConnection);
/** insert a table into the data source. The source can eihter be a table or a query
@param _nCommandType
@@ -181,9 +184,9 @@ namespace dbaui
@param _xConnection
The connection
*/
- sal_Bool copyTagTable( DropDescriptor& _rDesc
- , sal_Bool _bCheck
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ sal_Bool copyTagTable( DropDescriptor& _rDesc,
+ sal_Bool _bCheck,
+ const SharedConnection& _xConnection);
/** copies a table which was constructed by tags like HTML or RTF
@param _rDesc
@@ -195,7 +198,7 @@ namespace dbaui
*/
void asyncCopyTagTable( DropDescriptor& _rDesc
,const ::rtl::OUString& _sDestDataSourceName
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ ,const SharedConnection& _xConnection);
/** copies a table which was constructed by tags like HTML or RTF
@param _aDroppedData
@@ -205,9 +208,9 @@ namespace dbaui
@param _xConnection
The connection
*/
- sal_Bool copyTagTable(const TransferableDataHelper& _aDroppedData
- ,DropDescriptor& _rAsyncDrop
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection);
+ sal_Bool copyTagTable(const TransferableDataHelper& _aDroppedData,
+ DropDescriptor& _rAsyncDrop,
+ const SharedConnection& _xConnection);
/// returns <TRUE/> if the clipboard supports a table format, otherwise <FALSE/>.
sal_Bool isTableFormat(const TransferableDataHelper& _rClipboard) const;