diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-28 02:40:30 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-28 15:25:31 +0100 |
commit | 7e8eb75aea745146d7d12df70c4f5ca8f3648ed3 (patch) | |
tree | 725e2588b0eeeb1a3c7e22d26c294d9f59e1d2cc /sc/source/ui/inc/dbdocfun.hxx | |
parent | 6b0c4cd205ee5134765955024cd727f1a23f2c24 (diff) |
dr78: #i116426# use ODataAccessDescriptor for database import parameters, support bookmarks for selection
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1294842009 -3600
# Node ID e25621ed7fd31753eea52ee5ff3f0a6d170db9a9
# Parent 5ea5624904a5aa39bb40ce197c80a0a41f40b873
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r-- | sc/source/ui/inc/dbdocfun.hxx | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx index ac0ed5865437..83996ccb3517 100644 --- a/sc/source/ui/inc/dbdocfun.hxx +++ b/sc/source/ui/inc/dbdocfun.hxx @@ -41,7 +41,6 @@ struct ScSortParam; struct ScSubTotalParam; class SfxViewFrame; -class SbaSelectionList; class ScDBData; class ScDocShell; class ScAddress; @@ -52,11 +51,12 @@ namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } - namespace sdbc { - class XResultSet; - } } } } +namespace svx { + class ODataAccessDescriptor; +} + class ScDBDocFunc { friend class ScDBFunc; @@ -68,16 +68,11 @@ public: ScDBDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {} ~ScDBDocFunc() {} - void UpdateImport( const String& rTarget, const String& rDBName, - const String& rTableName, const String& rStatement, - bool bNative, sal_uInt8 nType, - const ::com::sun::star::uno::Reference< - ::com::sun::star::sdbc::XResultSet >& xResultSet, - const std::vector<sal_Int32> *pSelection ); + void UpdateImport( const String& rTarget, const svx::ODataAccessDescriptor& rDescriptor ); bool DoImport( SCTAB nTab, const ScImportParam& rParam, - const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xResultSet, - const std::vector<sal_Int32> *pSelection, bool bRecord, + const svx::ODataAccessDescriptor* pDescriptor, // used for selection and existing ResultSet + bool bRecord, bool bAddrInsert = false ); bool DoImportUno( const ScAddress& rPos, |