Kaydet (Commit) e9fd3b87 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS asyncdialogs (1.5.148); FILE MERGED

2006/08/30 11:42:02 pb 1.5.148.2: RESYNC: (1.5-1.6); FILE MERGED
2006/03/01 09:53:58 pb 1.5.148.1: fix: #i57125# sfx2::DocumentInserter replaces SfxApp::InsertDocumentDialog()
üst 11c63d0f
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: conttree.hxx,v $ * $RCSfile: conttree.hxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: hr $ $Date: 2006-08-14 17:39:42 $ * last change: $Author: vg $ $Date: 2006-11-22 10:26:20 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -216,17 +216,25 @@ public: ...@@ -216,17 +216,25 @@ public:
SvLBoxEntry* pEntry); SvLBoxEntry* pEntry);
}; };
namespace sfx2 { class DocumentInserter; }
namespace sfx2 { class FileDialogHelper; }
class SwGlobalTree : public SvTreeListBox class SwGlobalTree : public SvTreeListBox
{ {
private:
AutoTimer aUpdateTimer; AutoTimer aUpdateTimer;
String aContextStrings[GLOBAL_CONTEXT_COUNT]; String aContextStrings[GLOBAL_CONTEXT_COUNT];
ImageList aEntryImages; ImageList aEntryImages;
SwWrtShell* pActiveShell; // SwWrtShell* pActiveShell; //
SvLBoxEntry* pEmphasisEntry; // Drag'n Drop-Emphasis SvLBoxEntry* pEmphasisEntry; // Drag'n Drop-Emphasis
SvLBoxEntry* pDDSource; // Quelle beim DnD SvLBoxEntry* pDDSource; // Quelle beim DnD
SwGlblDocContents* pSwGlblDocContents; // Array mit sortierten Inhalten SwGlblDocContents* pSwGlblDocContents; // Array mit sortierten Inhalten
Window* pDefParentWin;
SwGlblDocContent* pDocContent;
sfx2::DocumentInserter* pDocInserter;
BOOL bIsInternalDrag :1; BOOL bIsInternalDrag :1;
BOOL bLastEntryEmphasis :1; // Drag'n Drop BOOL bLastEntryEmphasis :1; // Drag'n Drop
...@@ -234,6 +242,11 @@ class SwGlobalTree : public SvTreeListBox ...@@ -234,6 +242,11 @@ class SwGlobalTree : public SvTreeListBox
static const SfxObjectShell* pShowShell; static const SfxObjectShell* pShowShell;
void InsertRegion( const SwGlblDocContent* _pContent,
const com::sun::star::uno::Sequence< ::rtl::OUString >& _rFiles );
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
protected: protected:
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
...@@ -286,6 +299,7 @@ protected: ...@@ -286,6 +299,7 @@ protected:
virtual PopupMenu* CreateContextMenu( void ); virtual PopupMenu* CreateContextMenu( void );
virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry ); virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry );
public: public:
SwGlobalTree(Window* pParent, const ResId& rResId); SwGlobalTree(Window* pParent, const ResId& rResId);
virtual ~SwGlobalTree(); virtual ~SwGlobalTree();
...@@ -303,8 +317,5 @@ public: ...@@ -303,8 +317,5 @@ public:
BOOL Update(BOOL bHard = FALSE); BOOL Update(BOOL bHard = FALSE);
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment