InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
AttributeChecker.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Eric Menninga
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
// Class Descriptions:
24
//
25
// This file contains definition of a class designed for use
26
// with the IGlobalRecompose::GlobalAttributeDamage(). The
27
// methods checks if a range of text contains attributes specified
28
// in the argument boss list. A subsequent damage will occur to the
29
// range of text if such attribute is found in text.
30
//
31
//========================================================================================
32
33
#ifndef __AttributeChecker__
34
#define __AttributeChecker__
35
36
class
IDrawingStyle
;
37
class
IWaxLine
;
38
class
AttributeBossList
;
39
class
IStoryOptions
;
40
41
// destructors live in PMTextUtils.cpp
42
43
44
48
class
AttributeChecker
// : public unary_function<IDrawingStyle*, bool16>
49
{
50
public
:
51
AttributeChecker
() : fOnlyCheckParaAttrs(kFalse) {}
52
virtual
~
AttributeChecker
();
53
61
virtual
bool16
operator()
(
IDrawingStyle
*style,
UID
story, TextIndex start, int32 length)
const
= 0;
62
63
bool16 OnlyCheckParaAttrs()
const
64
{
return
fOnlyCheckParaAttrs; }
65
66
protected
:
67
bool16 fOnlyCheckParaAttrs;
68
};
69
//----------------------------------------------------
70
71
75
class
WaxLineChecker
// : public unary_function<IWaxLine*, bool16>
76
{
77
public
:
78
virtual
~
WaxLineChecker
();
79
87
virtual
bool16
operator()
(
IWaxLine
*line,
UID
story, TextIndex start, int32 length)
const
= 0;
88
};
89
//----------------------------------------------------
90
91
97
class
ModelChecker
98
{
99
public
:
100
virtual
~
ModelChecker
();
101
113
virtual
bool16
operator()
(
UID
storyThreadStyle,
114
UID
paraStyle,
const
AttributeBossList
*paraOver,
115
UID
charStyle,
const
AttributeBossList
*charOver,
116
UID
story, TextIndex start, int32 length)
const
= 0;
117
};
118
//----------------------------------------------------
119
120
124
class
StoryOptionsChecker
125
{
126
public
:
127
virtual
~
StoryOptionsChecker
();
128
136
virtual
bool16
operator()
(
IStoryOptions
*storyOptions,
UID
story, TextIndex start, int32 length)
const
= 0;
137
};
138
//----------------------------------------------------
139
140
141
142
143
#endif
144
// __AttributeChecker__
tmpdoxygeninput
AttributeChecker.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1