InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDocIterationProvider.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Chris Jones
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
// Purpose:
24
//
25
//========================================================================================
26
27
#ifndef __IDocIterationProvider__
28
#define __IDocIterationProvider__
29
30
#include "PrintID.h"
31
#include "PMRect.h"
32
class
IDocument
;
33
class
PMMatrix
;
34
class
IExportValidationCmdData
;
35
44
class
IDocIterationProvider
:
public
IPMUnknown
45
{
46
public
:
49
enum
{ kDefaultIID = IID_IDOCITERATIONPROVIDER };
50
53
enum
IterationContext
54
{
57
kGatherAndValidateBeforePrint
= 1,
60
kValidateBeforePDFExport
= 2,
63
kValidateBeforeEPSExport
= 3,
64
68
kValidateBeforeSVGExport
= 4,
69
71
kValidateBeforeHTMLExport
= 5,
74
kGatherAndValidateBeforePlace
= 6,
77
kValidateBeforeXFLExport
= 8
78
};
79
80
public
:
87
virtual
void
SetIterationData
(
IPMUnknown
* pIterationData,
IterationContext
nContext ) = 0;
88
89
96
virtual
bool16
InterestedIn
(
IterationContext
nContext ) = 0;
97
102
virtual
bool16
StopIterating
()
const
= 0;
103
106
virtual
void
BeginIteration
() = 0;
107
110
virtual
void
EndIteration
() = 0;
111
121
virtual
void
BeginPageOrSpread
(
IDocument
* pDoc,
122
const
int32 nOutputPage,
123
const
UIDRef
refPageOrSpread,
124
const
PMRect
& rectBounds,
125
const
PMMatrix
& boundsToSpreadMatrix ) = 0;
126
129
virtual
void
EndPageOrSpread
() = 0;
130
137
virtual
void
VisitPageItem
(
const
PMMatrix
* masterSpread2LayoutSpreadMatrix,
IPMUnknown
* pPageItem, int32 nFlags) = 0;
138
144
virtual
bool16
OnIterationCompleted
() = 0;
145
148
virtual
void
Cleanup
() = 0;
149
150
};
151
152
#endif
153
154
// End, IDocIterationProvider.h.
tmpdoxygeninput
IDocIterationProvider.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1