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

Public Types | |
| enum | { kDefaultIID = IID_IPREFLIGHTBOOKREF } |
Public Member Functions | |
| virtual IPreflightBookData * | QueryActivePreflight () const =0 |
| virtual void | SetActivePreflight (IPreflightBookData *iData)=0 |
| virtual IPreflightBookData * | CreateActivePreflight ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
When we preflight or package a book we create a book preflight boss. We need some way to associate that boss with the book that 'owns' it, which is the purpose of this interface. It sits on the book itself and maintains the short list of book-preflight bosses. This way we know that when the book is closed we're also going to get rid of any related preflight data.
| pure virtual |
Create a new current/active preflight for this book. The existing data is released (and therefore typically deleted since these are nonpersistent bosses). The new interface is initialized with a pointer back to the book but no content data is configured.
| pure virtual |
Query the current/active preflight for this book. This is the preflight that is created as a consequence of the user requesting preflight for a book.
| pure virtual |
Set the current/active preflight for this book. The existing data is released (and therefore typically deleted since these are nonpersistent bosses).
| The | data interface for the book-preflight boss. This is refcounted by this method. |