InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDragDropTextSuite.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Paul Sorrick
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
25
#ifndef __IDRAGDROPTEXTSUITE__
26
#define __IDRAGDROPTEXTSUITE__
27
28
#include "IPMUnknown.h"
29
#include "ICursorMgr.h"
30
#include "IDragDropSource.h"
31
#include "TextEditorID.h"
32
#include "RangeData.h"
33
34
class
IDataExchangeHandler
;
35
class
IControlView
;
36
class
UIDRef
;
37
class
RangeData
;
38
42
class
IDragDropTextSuite
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_IDRAGDROPTEXTSUITE };
46
53
virtual
bool16
CanDrag
(
IControlView
* view,
const
SysPoint
mousePt,
const
IPMUnknown
* hitObj) = 0;
54
62
virtual
bool16
TextRangeOverlapsSelection
(
UIDRef
& sourceStoryUIDRef,
UIDRef
& destStoryUIDRef,
RangeData
& destRange,
DragDrop::eCommandType
type) = 0;
63
68
virtual
ErrorCode
PrepareDragDataSource
(
IDataExchangeHandler
* handler,
IDragDropSource
* source) = 0;
69
};
70
71
#endif // __IDRAGDROPSOURCESUITE__
tmpdoxygeninput
IDragDropTextSuite.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1