InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDragDropTextSignalData.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
// Purpose: Data sent with the DragDropText signal
24
//
25
//========================================================================================
26
27
#ifndef __IDRAGDROPTEXTSIGNALDATA__
28
#define __IDRAGDROPTEXTSIGNALDATA__
29
30
#include "IPMUnknown.h"
31
#include "TextEditorID.h"
32
#include "DragDropConstants.h"
33
34
class
IControlView
;
35
class
IDataExchangeHandler
;
36
class
RangeData
;
37
class
UIDRef
;
38
39
42
class
IDragDropTextSignalData
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_IDRAGDROPTEXTSIGNALDATA };
46
70
virtual
void
Set
(
IControlView
* sourceView,
71
IControlView
* destinationView,
72
const
UIDRef
& sourceStoryRef,
73
RangeData
& sourceRange,
74
const
UIDRef
& destinationStoryRef,
75
RangeData
& destinationRange,
76
RangeData
& droppedRange,
77
DragDrop::eCommandType
type,
78
IDataExchangeHandler
* handler) = 0;
79
83
virtual
IControlView
*
GetSourceView
() = 0;
84
88
virtual
IControlView
*
GetDestinationView
() = 0;
89
93
virtual
const
UIDRef
&
GetSourceStoryRef
() = 0;
94
98
virtual
RangeData
&
GetSourceRange
() = 0;
99
103
virtual
void
SetSourceRange
(
RangeData
& range) = 0;
104
108
virtual
const
UIDRef
&
GetDestinationStoryRef
() = 0;
109
113
virtual
RangeData
&
GetDestinationRange
() = 0;
114
118
virtual
void
SetDestinationRange
(
RangeData
& range) = 0;
119
123
virtual
RangeData
&
GetDroppedRange
() = 0;
124
128
virtual
void
SetDroppedRange
(
RangeData
& range) = 0;
129
133
virtual
DragDrop::eCommandType
GetDragType
() = 0;
134
138
virtual
IDataExchangeHandler
*
GetDataExchangeHandler
() = 0;
139
};
140
141
#endif // __IDRAGDROPTEXTSIGNALDATA__
142
tmpdoxygeninput
IDragDropTextSignalData.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1