InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPreflightExpansionHelper.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Matt Phillips
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
25
class
IPreflightOptions
;
26
class
IPreflightProcess
;
27
class
IPreflightObjectModelService
;
28
44
class
IPreflightExpansionHelper
45
{
46
public
:
49
IPreflightExpansionHelper
() {}
50
53
virtual
~IPreflightExpansionHelper
() {}
54
57
virtual
IPreflightProcess
*
QueryProcess
()
const
= 0;
58
61
virtual
const
IPreflightOptions
*
QueryPreflightOptions
()
const
= 0;
62
65
enum
66
{
68
kAddedChildToDatabase
= (1L<<1),
69
73
kChildNotRequired
= (1L<<2),
74
77
kChildTBDLinkRemoved
= (1L<<3),
78
81
kNewLinkAdded
= (1L<<4),
82
85
kDuplicateLink
= (1L<<5),
86
90
kNoChangeBecauseParentNotFound
= (1L<<6),
91
93
kAddedChildToExpansionList
= (1L<<8),
94
96
kAddedChildToVisitList
= (1L<<9),
97
100
kInternalError
= (1L<<30)
101
102
};
103
104
typedef
uint32 AddResult;
// A combination of the above flags
105
110
virtual
const
PreflightObjectID
&
GetParentObjectID
()
const
= 0;
111
116
virtual
IPreflightObject
*
GetParentObject
()
const
= 0;
117
121
virtual
IDataBase
*
GetDataBase
()
const
= 0;
122
127
virtual
bool
ShouldAdd
(
PreflightObjectClassID
childClassID)
const
= 0;
128
133
virtual
bool
ExistsInDatabase
(
const
PreflightObjectID
& objID)
const
= 0;
134
145
virtual
AddResult
AddChild
146
(
147
const
PreflightObjectID
& childID,
148
bool
asReference = kFalse
149
) = 0;
150
168
virtual
AddResult
AddObjectWithTBDParent
169
(
170
const
PreflightObjectID
& childID
171
) = 0;
172
188
virtual
void
ExpandAgainLater
(
const
IPreflightObjectModelService
* iService, uint32 timeDelay_ms = 0) = 0;
189
};
190
tmpdoxygeninput
IPreflightExpansionHelper.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1