![]() | InDesign SDK 20.5 |
#include <IPrintPageInitializer.h>

Public Types | |
| enum | { kDefaultIID = IID_IPRINTPAGEINITIALIZER } |
Public Member Functions | |
| virtual bool16 | Initialize (IDocument *pDoc, IPrintData *pData, IOutputPages *pResult)=0 |
| virtual ErrorCode | GatherBookInfo (IBook *iBook, UIDList *sourceList, bool16 bOpenAll, IInkList *iDstInkList, ISwatchList *iDstSwatchList, ITrapStyleListMgr *iDstTrapStyleListMgr, MasterDocumentInfo &masterInfo)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The crux of the situation is that the code that initializes the IOutputPages for books is very difficult to reuse, and needs to be re-used from the preview dialog. So, this interface allows the preview code to call back to that code.
| pure virtual |
Essentially, we need a way to pre-populate this object with book information in the book case because of the way the book stuff was designed. So, this method only makes sense for the book implementation. The document implementation asserts unimplemented if this method is called on it.
| pure virtual |
A method which initializes an IOutputPages from the data.