InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITextTarget.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Richard Rodseth
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
// Note:
24
//
25
//========================================================================================
26
27
#ifndef _ITextTarget_
28
#define _ITextTarget_
29
//________________________________________________________________________________________________
30
// INCLUDES
31
//________________________________________________________________________________________________
32
#include "IPMUnknown.h"
33
#include "TextID.h"
34
35
//================================================================================================
36
37
38
39
class
ITextModel
;
40
class
ITextFocus
;
41
class
RangeData
;
42
43
//________________________________________________________________________________________________
44
// CLASS DECLARATION
45
//________________________________________________________________________________________________
46
61
class
ITextTarget
:
public
IPMUnknown
62
{
63
//____________________________________________________________________________________________
64
// Data Types
65
//____________________________________________________________________________________________
66
public
:
67
enum
{ kDefaultIID = IID_ITEXTTARGET };
68
69
//____________________________________________________________________________________________
70
// Member functions
71
//____________________________________________________________________________________________
72
public
:
78
virtual
void
SetTextFocus
(
const
UIDRef
& textModel,
const
RangeData
& range, bool16 doNotify = kTrue) = 0;
79
86
virtual
void
SetTextUnmanaged
(
const
UIDRef
& textModel,
const
RangeData
& range, bool16 doNotify = kTrue) = 0;
90
virtual
void
ClearTextFocus
(bool16 doNotify = kTrue) = 0;
91
97
virtual
void
SetTextModel_Internal
(
const
UIDRef
& textModel, bool16 doNotify = kTrue) = 0;
98
103
virtual
void
SetRange_Internal
(
const
RangeData
& r, bool16 doNotify = kTrue) = 0;
104
109
virtual
ITextModel
*
QueryTextModel
()
const
= 0;
110
115
virtual
UIDRef
GetTextModel
()
const
= 0;
116
121
virtual
RangeData
GetRange
()
const
= 0;
122
127
virtual
ITextFocus
*
QueryTextFocus
()
const
= 0;
128
132
virtual
void
Clear_Internal
( bool16 doNotify = kTrue) = 0;
133
138
virtual
UID
GetRangeThreadDictUID
()
const
= 0;
139
144
virtual
uint32
GetRangeThreadDictKey
()
const
= 0;
145
150
virtual
bool16
HasContent
(
void
)
const
= 0;
151
152
157
virtual
void
Initialize
(
IDataBase
* db) = 0;
158
};
159
160
#endif // _ITextTarget_
tmpdoxygeninput
ITextTarget.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1