summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/sbagrid.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-10-02 06:55:27 +0000
committerOcke Janssen <oj@openoffice.org>2001-10-02 06:55:27 +0000
commitcf54e3a7713ea8be7325949c0a00a431136f91c7 (patch)
tree365f82a0124277038288d3e342b6a984530927b2 /dbaccess/source/ui/inc/sbagrid.hxx
parent99cdb987035e7a82123ac79d3fc0d56f2fa145a6 (diff)
#87728# drag&drop of table row and tableinformation repaired
Diffstat (limited to 'dbaccess/source/ui/inc/sbagrid.hxx')
-rw-r--r--dbaccess/source/ui/inc/sbagrid.hxx20
1 files changed, 13 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index 7cf0684b5b9e..bd0f8f6163f9 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbagrid.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $
+ * last change: $Author: oj $ $Date: 2001-10-02 07:55:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,6 +90,9 @@
#ifndef _SBA_MULTIPLEX_HXX
#include "sbamultiplex.hxx"
#endif
+#ifndef _SVX_DATACCESSDESCRIPTOR_HXX_
+#include <svx/dataaccessdescriptor.hxx>
+#endif
class SvNumberFormatter;
@@ -120,7 +123,6 @@ namespace dbaui
{
DECLARE_STL_MAP(::com::sun::star::util::URL, SbaXStatusMultiplexer*, SbaURLCompare,StatusMultiplexerArray);
StatusMultiplexerArray m_aStatusMultiplexer;
- // ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_MultiServiceFacatory;
public:
SbaXGridControl(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&);
@@ -266,13 +268,15 @@ namespace dbaui
// Attributes
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer > m_xComposer; // for DnD we need a composed query ...
+ ::svx::ODataAccessDescriptor m_aDataDescriptor;
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer > m_xComposer; // for DnD we need a composed query ...
long m_nCurrentSelectedColumn; // this is the column model (not the view) posisition ...
SbaGridListener* m_pMasterListener;
- sal_uInt16 m_nLastColId;
- sal_uInt16 m_nLastRowId;
+ sal_Int32 m_nAsyncDropEvent;
+ sal_uInt16 m_nLastColId;
+ sal_uInt16 m_nLastRowId;
- sal_uInt16 m_nCurrentActionColId;
+ sal_uInt16 m_nCurrentActionColId;
// ui actions (e.g. a context menu) may be performed on columns which aren't the current one
// and aren't selected, so we have to track this column id
@@ -348,6 +352,8 @@ namespace dbaui
SvNumberFormatter* GetDatasourceFormatter();
+ DECL_LINK(AsynchDropEvent, void*);
+
private:
sal_Bool IsReadOnlyDB() const;
};