InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IFindChangeFormatData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Wai Cheuk
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
#ifndef __IFindChangeFormatData__
25
#define __IFindChangeFormatData__
26
27
#ifndef __IPMUnknown__
28
#include "IPMUnknown.h"
29
#endif
30
31
#include "TextWalkerServiceProviderID.h"
32
#include "IFindChangeOptions.h"
33
34
class
AttributeBossList
;
35
class
PMString
;
36
40
class
IFindChangeFormatData
:
public
IPMUnknown
41
{
42
public
:
46
enum
{ kDefaultIID = IID_IFINDCHANGEFORMATDATA };
47
51
enum
FindChangeFormatDataType
52
{
54
kFindDialogType
= 0,
56
kChangeDialogType
57
};
58
65
virtual
FindChangeFormatDataType
GetDialogType
() = 0;
66
73
virtual
void
SetDialogType
(
FindChangeFormatDataType
type) = 0;
74
80
virtual
IDataBase
*
GetTargetDB
() = 0;
81
89
virtual
const
AttributeBossList
*
GetFindAttrsToApply
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
90
98
virtual
const
UID
&
GetFindCharStyle
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
99
107
virtual
const
UID
&
GetFindParaStyle
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
108
114
virtual
const
UID
&
GetObjectFindStyle
() = 0;
115
120
virtual
void
SetTargetDB
(
IDataBase
*db) = 0;
121
129
virtual
void
SetFindAttrsToApply
(
const
AttributeBossList
* findList,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
130
138
virtual
void
SetFindCharStyle
(
const
UID
& styleName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
139
147
virtual
void
SetFindParaStyle
(
const
UID
& styleName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
148
154
virtual
void
SetObjectFindStyle
(
const
UID
& styleName) = 0;
155
161
virtual
void
ClearFindAttrsToApply
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
162
170
virtual
const
AttributeBossList
*
GetChangeAttrsToApply
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
171
179
virtual
const
UID
&
GetChangeCharStyle
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
180
188
virtual
const
UID
&
GetChangeParaStyle
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
189
195
virtual
const
UID
&
GetObjectChangeStyle
() = 0;
196
204
virtual
void
SetChangeAttrsToApply
(
const
AttributeBossList
* changeList,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
205
213
virtual
void
SetChangeCharStyle
(
const
UID
& styleName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
214
222
virtual
void
SetChangeParaStyle
(
const
UID
& styleName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
223
231
virtual
void
SetObjectChangeStyle
(
const
UID
& styleName) = 0;
232
238
virtual
void
ClearChangeAttrsToApply
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
239
247
virtual
const
PMString
&
GetChangeXMLTag
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) =0;
248
256
virtual
void
SetChangeXMLTag
(
const
PMString
& tagName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
257
265
virtual
const
PMString
&
GetChangeCaseOption
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) =0;
266
274
virtual
void
SetChangeCaseOption
(
const
PMString
& tagName,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
275
284
virtual
IFindChangeOptions::ChangeConditionsMode
GetChangeConditionsMode
(
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) =0;
285
294
virtual
void
SetChangeConditionsMode
(
IFindChangeOptions::ChangeConditionsMode
chgConditionsMode,
IFindChangeOptions::SearchMode
mode =
IFindChangeOptions::kTextSearch
) = 0;
295
};
296
297
#endif
tmpdoxygeninput
IFindChangeFormatData.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1