InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PrtMemPrintInsertPSProcProvider Class Reference
Inheritance diagram for PrtMemPrintInsertPSProcProvider:
CPMUnknown< IPrintInsertPSProcProvider >IPrintInsertPSProcProviderIPMUnknown

Public Member Functions

 PrtMemPrintInsertPSProcProvider (IPMUnknown *boss)
 
virtual ~PrtMemPrintInsertPSProcProvider (void)
 
virtual void Setup (IPrintData *iPrintData, IOutputPages *iOutputPages, IPrintJobData *iPrintJobData, IInkList *iInkList, ITrapStyleListMgr *iTrapListMgr)
 
virtual void GetInsertPSProcName (PMString &psProcName)
 
virtual void GetClientData (void **clientData)
 
virtual void PrintInsertPSProc (bool8 &bReturn, IPrintInsertPSProcProvider::DocumentSection docSec, bool32 pre, IXferBytes &pASCIIStream, IXferBytes &pBinaryStream, void *clientData)
 
- Public Member Functions inherited from CPMUnknown< IPrintInsertPSProcProvider >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IPrintInsertPSProcProvider
enum  DocumentSection {
  kDocumentHeader = 0, kDocumentProlog, kDocumentSetup, kDocumentTrailer,
  kPageSetup, kBeginPageContent, kEndPageContent, kPageTrailer
}
 
- Protected Member Functions inherited from CPMUnknown< IPrintInsertPSProcProvider >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IPrintInsertPSProcProvider >
HelperInterface fHelperInterface
 

Detailed Description

Implementation of IPrintInsertPSProcProvider.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * PrtMemPrintInsertPSProcProvider::PrtMemPrintInsertPSProcProvider (IPMUnknownboss)

Constructor

Parameters
bossinterface ptr from boss object on which this interface is aggregated.
PrtMemPrintInsertPSProcProvider::~PrtMemPrintInsertPSProcProvider (void )
virtual

Destructor

Member Function Documentation

void PrtMemPrintInsertPSProcProvider::GetClientData (void ** clientData)
virtual
void PrtMemPrintInsertPSProcProvider::GetInsertPSProcName (PMStringpsProcName)
virtual
void PrtMemPrintInsertPSProcProvider::PrintInsertPSProc (bool8 & bReturn,
IPrintInsertPSProcProvider::DocumentSection docSec,
bool32 pre,
IXferBytespASCIIStream,
IXferBytespBinaryStream,
void * clientData 
)
virtual

To enable the TRACEFLOW message to be written to the TRACE sink, you must enable the category identified by the first parameter in the TRACEFLOW call. The definition:

PrtMemPluginName kSDKDefDelimitMenuPath "PrintInsertPSProcProvider"

expands to:

"PrintMemoryStream:PrintInsertPSProcProvider"

To enable this category, you must first make sure that the category is registered. You can either look at the TEST >> TRACE menu in the application and look for the submenu item PrintHook >> PrintInsertPSProcProvider, or look in the "Debug Settings.xml" file (located in the same folder as the application). If the category is not listed, then you must first shut down the application and manually add it to the "Debug Settings.xml" file, and then restart the application. Be sure to enable one or more trace sinks as well.

See IPrintInsertPSProcProvider::PrintInsertPSProc

Implements IPrintInsertPSProcProvider.

void PrtMemPrintInsertPSProcProvider::Setup (IPrintDataiPrintData,
IOutputPagesiOutputPages,
IPrintJobDataiPrintJobData,
IInkListiInkList,
ITrapStyleListMgriTrapListMgr 
)
virtual