InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RunInGrepStyleList.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
24
#ifndef __RunInGrepStyleList__
25
#define __RunInGrepStyleList__
26
27
#include "WideString.h"
28
#include "K2Vector.h"
29
30
class
IPMStream
;
31
32
44
class
RunInGrepStyleRule
45
{
46
public
:
47
typedef
object_type
data_type
;
48
49
RunInGrepStyleRule
() : fCharacterStyle(kInvalidUID), fGrepExp()
50
{}
51
52
RunInGrepStyleRule
(
UID
charstyle,
const
WideString
& trigger)
53
: fCharacterStyle(charstyle), fGrepExp(trigger)
54
{}
55
56
bool
operator==(
const
RunInGrepStyleRule
&)
const
57
{ ASSERT_FAIL(
"appease K2Vector.Location"
);
return
false
; }
58
62
void
SetCharacterStyle
(
const
UID
& cs)
63
{ fCharacterStyle = cs; }
64
66
UID
GetCharacterStyle
()
const
67
{
return
fCharacterStyle; }
68
70
WideString
GetGrepExpression
()
const
71
{
return
fGrepExp; }
72
73
void
SetGrepExpression(
const
WideString
& s)
74
{ fGrepExp = s; }
75
77
void
ReadWrite
(
IPMStream
*stream);
78
79
private
:
80
WideString
fGrepExp;
81
UID
fCharacterStyle;
82
};
83
84
85
86
89
class
RunInGrepStyleList
:
public
K2Vector
<RunInGrepStyleRule>
90
{
91
};
92
93
#endif
94
//__RunInStyleList__
tmpdoxygeninput
RunInGrepStyleList.h
Generated on Sat Jul 19 2025 02:54:17 for InDesign SDK by
1.8.3.1