InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CPrintSetupProvider.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: David Berggren
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 // Helper class for implementation of the pure virtual IPrintSetupProvider interface class
25 //
26 //========================================================================================
27 
28 #ifndef __CPrintSetupProvider__
29 #define __CPrintSetupProvider__
30 
31 #include "IPrintSetupProvider.h"
32 
42 {
43 public:
53  virtual void StartPrintPub (
54  bool16& bReturn,
55  IDocument* iDoc,
56  UIDRef& styleUIDRef,
57  IPrintCmdData::PrintUIOptions& printPubUIOpt,
58  IInkList* iInkList,
59  ITrapStyleListMgr* iTrapListMgr
60  ) {}
61 
71  virtual void StartPrintBook (
72  bool16& bReturn,
73  IBook* iBook,
74  UIDList* pubsUIDList,
76  IInkList* iInkList,
77  ITrapStyleListMgr* iTrapListMgr
78  ) {}
79 
84  virtual void BeforePrintUI (
85  bool16& bReturn,
86  IPrintData* iPrintData
87  ) {}
88 
89 
101  virtual void BeforeInCopyPrintUI (
102  bool16& bReturn,
103  int32 currentPanel,
104  IInCopyGalleyPrintData* iGalleyPrintData,
105  IInCopyLayoutPrintData* iLayoutPrintData,
106  IPrintData* iPrintData
107  ) {}
108 
113  virtual void AfterPrintUI (
114  bool16& bReturn,
115  IPrintData* iPrintData
116  ) {}
117 
129  virtual void AfterInCopyPrintUI (
130  bool16& bReturn,
131  int32 currentPanel,
132  IInCopyGalleyPrintData* iGalleyPrintData,
133  IInCopyLayoutPrintData* iLayoutPrintData,
134  IPrintData* iPrintData
135  ) {}
136 
142  virtual void BeforePrintGatherCmd (
143  bool16& bReturn,
144  IPrintData* iPrintData,
145  IOutputPages* iOutputPages
146  ) {}
147 
154  virtual void AfterPrintGatherCmd (
155  bool16& bReturn,
156  IPrintData* iPrintData,
157  IOutputPages* iOutputPages,
158  IPrintJobData* iPrintJobData
159  ) {}
160 
168  bool16& bReturn,
169  IPrintData* iPrintData,
170  IOutputPages* iOutputPages,
171  IPrintJobData* iPrintJobData
172  ) {}
173 
180  virtual void AfterPrintJobParamsInit (
181  bool16& bReturn,
182  IPrintData* iPrintData,
183  IOutputPages* iOutputPages,
184  IPrintJobData* iPrintJobData
185  ) {}
186 
194  virtual void BeforePrintLoop (
195  bool16& bReturn,
196  IPrintData* iPrintData,
197  IOutputPages* iOutputPages,
198  IPrintJobData* iPrintJobData
199  ) {}
200 
205  virtual void EndPrint() {};
206 
207 
215  virtual void BeginPageEvent (
216  IPrintData* iPrintData,
217  IOutputPages* iOutputPages,
218  IPrintJobData* iPrintJobData,
219  int32* whichPage
220  ) {}
221 
229  virtual void BeforeDrawPageEvent (
230  bool16& bReturn,
231  IPrintData* iPrintData,
232  IOutputPages* iOutputPages,
233  IPrintJobData* iPrintJobData,
234  int32* whichPage
235  ) {}
236 
246  virtual void BeforeDrawPage (
247  bool16& bReturn,
248  IPrintData* iPrintData,
249  IOutputPages* iOutputPages,
250  int32* whichPage,
251  PMRect* outputRect,
252  GraphicsData* gd
253  ) {}
254 
261  virtual void AfterDrawPageEvent (
262  IPrintData* iPrintData,
263  IOutputPages* iOutputPages,
264  IPrintJobData* iPrintJobData,
265  int32* whichPage
266  ) {}
267 
276  bool16& bReturn,
277  IPrintData* iPrintData,
278  IOutputPages* iOutputPages,
279  IPrintJobData* iPrintJobData,
280  int32* whichPage
281  ) {};
282 
292  virtual void BeforeDrawGalleyPage (
293  bool16& bReturn,
294  IPrintData* iPrintData,
295  IOutputPages* iOutputPages,
296  int32* whichPage,
297  PMRect* outputRect,
298  GraphicsData* gd
299  ) {};
300 
308  IPrintData* iPrintData,
309  IOutputPages* iOutputPages,
310  IPrintJobData* iPrintJobData,
311  int32* whichPage
312  ) {};
313 
320  virtual void EndPageEvent (
321  IPrintData* iPrintData,
322  IOutputPages* iOutputPages,
323  IPrintJobData* iPrintJobData,
324  int32* whichPage
325  ) {}
326 
329  virtual void EndPrintingEvent ( ) {}
330 
341  virtual void PrintErrorEvent (
342  bool16& bReturn,
343  IPrintData* iPrintData,
344  ErrorCode& errorNum,
345  PMString& errComponent,
346  PMString& errText,
347  PMString& errOtherInfo
348  ) {}
349 
350 };
351 
352 #endif