InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPrintPageInitializer.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 __IPrintPageInitializer__
28 #define __IPrintPageInitializer__
29 
30 class IDocument;
31 class IPrintData;
32 class IOutputPages;
33 class IInkList;
34 class ISwatchList;
35 class IBook;
36 class UIDList;
37 class ITrapStyleListMgr;
38 
44 {
45 public:
47  fMasterUIDRef(UIDRef::gNull),
48  fMasterIDoc(nil),
49  fMasterOriginalOpen(kFalse) {}
50 
51 public:
52  UIDRef fMasterUIDRef;
53  PMString fBookName;
54  IDocument* fMasterIDoc;
55  bool16 fMasterOriginalOpen;
56 };
57 
65 {
66 public:
67  enum { kDefaultIID = IID_IPRINTPAGEINITIALIZER };
68 
69 public:
74  virtual bool16 Initialize( IDocument* pDoc, IPrintData* pData, IOutputPages* pResult ) = 0;
75 
76 
84  virtual ErrorCode GatherBookInfo(IBook* iBook, UIDList* sourceList, bool16 bOpenAll, IInkList *iDstInkList, ISwatchList *iDstSwatchList, ITrapStyleListMgr* iDstTrapStyleListMgr, MasterDocumentInfo& masterInfo) = 0;
85 };
86 
87 #endif
88