User: kz      
Date: 05/01/21 09:19:34

Modified:
 /dba/dbaccess/source/ui/inc/
  unodatbr.hxx

Log:
 INTEGRATION: CWS dba22 (1.56.2); FILE MERGED
 2005/01/07 07:57:51 oj 1.56.2.2: RESYNC: (1.56-1.57); FILE MERGED
 2005/01/03 12:51:24 oj 1.56.2.1: #i39146# renable DnD in beamer

File Changes:

Directory: /dba/dbaccess/source/ui/inc/
=======================================

File [changed]: unodatbr.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/unodatbr.hxx?r1=1.57&r2=1.58
Delta lines:  +17 -14
---------------------
--- unodatbr.hxx        5 Jan 2005 12:37:05 -0000       1.57
+++ unodatbr.hxx        21 Jan 2005 17:19:32 -0000      1.58
@@ -103,6 +103,9 @@
 #ifndef _SOT_STORAGE_HXX
 #include <sot/storage.hxx>
 #endif
+#ifndef DBUI_TABLECOPYHELPER_HXX
+#include "TableCopyHelper.hxx"
+#endif
 
 // =========================================================================
 class SvLBoxEntry;
@@ -131,19 +134,6 @@
                                ,public IControlActionListener
        {
        protected:
-               // ---------------------------
-               struct DropDescriptor
-               {
-                       ::svx::ODataAccessDescriptor    aDroppedData;
-                       String                                                  
aUrl;
-                       SotStorageStreamRef                             
aHtmlRtfStorage;
-                       SvLBoxEntry*                                    
pDroppedAt;
-                       sal_Bool                                                
bTable;
-                       sal_Bool                                                
bHtml;
-                       sal_Bool                                                
bError;
-
-                       DropDescriptor() : pDroppedAt(NULL), bTable(sal_True) { 
}
-               };
 
                // ---------------------------
                ::com::sun::star::uno::Reference< 
::com::sun::star::i18n::XCollator >   m_xCollator;
@@ -172,7 +162,8 @@
 
                ::cppu::OInterfaceContainerHelper       m_aSelectionListeners;
 
-               DropDescriptor                  m_aAsyncDrop;
+        OTableCopyHelper::DropDescriptor                       m_aAsyncDrop;
+        OTableCopyHelper        m_aTableCopyHelper;
 
                ::rtl::OUString                 m_sQueryCommand;        // the 
command of the query currently loaded (if any)
 
@@ -180,6 +171,7 @@
                Splitter*                               m_pSplitter;
                DBTreeListModel*                m_pTreeModel;                   
// contains the datasources of the registry
                SvLBoxEntry*                    m_pCurrentlyDisplayed;
+        sal_Int32                              m_nAsyncDrop;
 
                sal_Int16                               m_nBorder;              
                // TRUE when border should be shown
 
@@ -376,6 +368,15 @@
                TransferableHelper*
                                implCopyObject( SvLBoxEntry* _pApplyTo, 
sal_Int32 _nCommandType, sal_Bool _bAllowConnection = sal_True );
 
+        /** copies a table which was constructed by tags like HTML or RTF
+                       @param  _rDesc
+                               The Drop descriptor
+                       @param  _bCheck
+                               If set to <TRUE/> than the controller checks 
only if a copy is possible.
+               */
+        sal_Bool copyTagTable(  OTableCopyHelper::DropDescriptor& _rDesc
+                                , sal_Bool _bCheck);
+
                EntryType       getEntryType( SvLBoxEntry* _pEntry ) const;
                EntryType       getChildType( SvLBoxEntry* _pEntry ) const;
                sal_Bool        isObject( EntryType _eType ) const { return 
(etTable == _eType) || (etView == _eType) || (etQuery == _eType);}
@@ -396,6 +397,8 @@
                DECL_LINK( OnCopyEntry, SvLBoxEntry* );
 
                DECL_LINK( OnTreeEntryCompare, const SvSortData* );
+
+        DECL_LINK( OnAsyncDrop, void* );
 
                void implRemoveStatusListeners();
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to