diff options
author | Eike Rathke <er@openoffice.org> | 2002-08-08 12:05:31 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2002-08-08 12:05:31 +0000 |
commit | 58e298c928404b0bd99c27cd406bd6e3c9279687 (patch) | |
tree | 2b89def39fb13bbdf4e238e7d1f2e3b1da9bc786 /sc/source/ui/inc/dbdocfun.hxx | |
parent | 15929a98b98f0de8bc497d0e110b89e2ab48b578 (diff) |
#101692# in DB import use result set if available
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r-- | sc/source/ui/inc/dbdocfun.hxx | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx index e2119e687205..adb261edc88e 100644 --- a/sc/source/ui/inc/dbdocfun.hxx +++ b/sc/source/ui/inc/dbdocfun.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbdocfun.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: nn $ $Date: 2000-11-13 19:23:21 $ + * last change: $Author: er $ $Date: 2002-08-08 13:02:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,9 +85,14 @@ class ScAddress; class ScRange; class ScDPObject; -namespace com { namespace sun { namespace star { namespace beans { - struct PropertyValue; -} } } } +namespace com { namespace sun { namespace star { + namespace beans { + struct PropertyValue; + } + namespace sdbc { + class XResultSet; + } +} } } // --------------------------------------------------------------------------- @@ -103,12 +108,17 @@ public: ~ScDBDocFunc() {} void UpdateImport( const String& rTarget, const String& rDBName, - const String& rTableName, const String& rStatement, - BOOL bNative, BYTE nType, - const SbaSelectionList* pSelection ); + const String& rTableName, const String& rStatement, + BOOL bNative, BYTE nType, + const ::com::sun::star::uno::Reference< + ::com::sun::star::sdbc::XResultSet >& xResultSet, + const SbaSelectionList* pSelection ); + BOOL DoImport( USHORT nTab, const ScImportParam& rParam, - const SbaSelectionList* pSelection, - BOOL bRecord, BOOL bAddrInsert = FALSE ); + const ::com::sun::star::uno::Reference< + ::com::sun::star::sdbc::XResultSet >& xResultSet, + const SbaSelectionList* pSelection, BOOL bRecord, + BOOL bAddrInsert = FALSE ); BOOL DoImportUno( const ScAddress& rPos, const com::sun::star::uno::Sequence< |