diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:19:32 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:19:32 +0000 |
commit | 7f4eba1de77c3b2ae27538b2429364d31763f7a8 (patch) | |
tree | d0986eccccb4ebb55ccee6d9ec9952dea87494e8 /dbaccess/source/ui/inc/unodatbr.hxx | |
parent | INTEGRATION: CWS dba22 (1.12.8); FILE MERGED (diff) | |
download | core-7f4eba1de77c3b2ae27538b2429364d31763f7a8.tar.gz core-7f4eba1de77c3b2ae27538b2429364d31763f7a8.zip |
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
Diffstat (limited to 'dbaccess/source/ui/inc/unodatbr.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index e422c9f7199a..e13e5a4aeb8b 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unodatbr.hxx,v $ * - * $Revision: 1.57 $ + * $Revision: 1.58 $ * - * last change: $Author: obo $ $Date: 2005-01-05 12:37:05 $ + * last change: $Author: kz $ $Date: 2005-01-21 17:19:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -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 @@ namespace dbaui ,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 @@ namespace dbaui ::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 @@ namespace dbaui 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 @@ namespace dbaui 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);} @@ -397,6 +398,8 @@ namespace dbaui DECL_LINK( OnTreeEntryCompare, const SvSortData* ); + DECL_LINK( OnAsyncDrop, void* ); + void implRemoveStatusListeners(); sal_Bool implSelect(const ::svx::ODataAccessDescriptor& _rDescriptor,sal_Bool _bSelectDirect = sal_False); |