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

Public Types | |
| enum | DocumentSection { kDocumentHeader = 0, kDocumentProlog, kDocumentSetup, kDocumentTrailer, kPageSetup, kBeginPageContent, kEndPageContent, kPageTrailer } |
Public Member Functions | |
| virtual void | Setup (IPrintData *iPrintData, IOutputPages *iOutputPages, IPrintJobData *iPrintJobData, IInkList *iInkList, ITrapStyleListMgr *iTrapListMgr)=0 |
| virtual void | GetInsertPSProcName (PMString &psProcName)=0 |
| virtual void | GetClientData (void **clientData)=0 |
| virtual void | PrintInsertPSProc (bool8 &bReturn, DocumentSection docSec, bool32 pre, IXferBytes &pASCIIStream, IXferBytes &pBinaryStream, void *clientData)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Access the PostScript stream on output through a callback mechanism
This enum is used to identify which stage of the output process is happening.
| pure virtual |
This is a void* pointer that will be passed back in the callback PrintInsertPSProc
| clientData | client data pass-through that will be passed back in PrintInsertPSProc NOTE: this can be nil |
Implemented in PrtMemPrintInsertPSProcProvider.
| pure virtual |
Return a unique name for the insert proc. NOTE: if the PMString is empty when returned, the PrintInsertPSProc will not be called
| psProcName | proc identifier - used to identify each callback participant |
Implemented in PrtMemPrintInsertPSProcProvider.
| pure virtual |
The callback method
| bReturn | return value - true means data inserted, false means no data inserted |
| docSec | the DocumentSection defined above |
| pre | at DocumentSection section start or end |
| pASCIIStream | for inserting ASCII data |
| pBinaryStream | for inserting Binary data NOTE: only the Write method of IXferBytes has been implemented! |
| clientData | data defined from GetClientData() above, may be nil |
Implemented in PrtMemPrintInsertPSProcProvider.
| pure virtual |
Called first to allow stashing of useful pointers for later use
| iPrintData | the IPrintData containing all the print settings currently being used |
| iOutputPages | the IOutputPages interface containing the pages to be printed |
| iPrintJobData | the IPrintJobData interface currently being used |
| iTrapListMgr | the ITrapStyleListMgr interface currently being used |
Implemented in PrtMemPrintInsertPSProcProvider.