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 @@
*
* $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 terms of GNU Lesser General Public License Version 2.1.
......@@ -216,8 +216,12 @@ public:
SvLBoxEntry* pEntry);
};
namespace sfx2 { class DocumentInserter; }
namespace sfx2 { class FileDialogHelper; }
class SwGlobalTree : public SvTreeListBox
{
private:
AutoTimer aUpdateTimer;
String aContextStrings[GLOBAL_CONTEXT_COUNT];
......@@ -228,12 +232,21 @@ class SwGlobalTree : public SvTreeListBox
SvLBoxEntry* pDDSource; // Quelle beim DnD
SwGlblDocContents* pSwGlblDocContents; // Array mit sortierten Inhalten
Window* pDefParentWin;
SwGlblDocContent* pDocContent;
sfx2::DocumentInserter* pDocInserter;
BOOL bIsInternalDrag :1;
BOOL bLastEntryEmphasis :1; // Drag'n Drop
BOOL bIsImageListInitialized : 1;
static const SfxObjectShell* pShowShell;
void InsertRegion( const SwGlblDocContent* _pContent,
const com::sun::star::uno::Sequence< ::rtl::OUString >& _rFiles );
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
protected:
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
......@@ -286,6 +299,7 @@ protected:
virtual PopupMenu* CreateContextMenu( void );
virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry );
public:
SwGlobalTree(Window* pParent, const ResId& rResId);
virtual ~SwGlobalTree();
......@@ -303,8 +317,5 @@ public:
BOOL Update(BOOL bHard = FALSE);
};
#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