InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IStyleRemapData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Sanjay Kumar
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 __IStyleRemapData__
25
#define __IStyleRemapData__
26
27
#include "IPMUnknown.h"
28
#include "TextID.h"
29
#include "KeyValuePair.h"
30
#include "K2Vector.h"
31
#include "K2Vector.tpp"
32
35
struct
RemappedValue
36
{
38
UID
fReplaceWithUID
;
39
41
bool16
fPreserveFormatting
;
42
43
RemappedValue
(
UID
replaceUID, bool16 preserveFormatting) :
fReplaceWithUID
(replaceUID),
fPreserveFormatting
(preserveFormatting) {}
44
45
};
46
49
typedef
KeyValuePair<UID,RemappedValue>
RemappingPair
;
50
53
typedef
K2Vector<RemappingPair>
RemappingList
;
54
55
62
class
IStyleRemapData
:
public
IPMUnknown
63
{
64
public
:
65
enum
{ kDefaultIID = IID_ISTYLEREMAPDATA };
66
67
enum
ConflictFlagEnum
68
{
70
kConflictFlagNone
= 0,
71
73
kConflictFlagSkip
= 1,
74
76
kConflictFlagOverwrite
= 2,
77
79
kConflictFlagRename
= 4
80
};
81
85
virtual
void
SetRemappingList
(
const
RemappingList
& remapList) = 0;
86
90
virtual
const
RemappingList
&
GetRemappingList
()
const
= 0;
91
96
virtual
void
SetConflictFlag
(int32 conflictFlag) = 0;
97
101
virtual
int32
GetConflictFlag
()
const
= 0;
102
};
103
104
105
#endif // __IStyleRemapData__
tmpdoxygeninput
IStyleRemapData.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1