Mako 7.5.0 API
Loading...
Searching...
No Matches
JawsMako::IPSInjector Class Reference

Interface allowing users of IPSOutput to inject raw PostScript directly into the output stream at strategic points in the output process. Use IPSOutput::setInjector() to install subclasses of this type. More...

#include <psoutput.h>

Public Member Functions

virtual void beforeFirstByte (const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer after the output PostScript stream is opened, but before any data is written to the output stream.
 
virtual void beforePsHeader (const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just before the PostScript header is written to the stream. Currently, this is effectively the same as beforeFirstByte() above as Mako will not currently write anything at the top of the PostScript stream before the PostScript header.
 
virtual void afterBeginSetup (const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just after %BeginSetup is written to the stream.
 
virtual void beforeEndSetup (const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just before %EndSetup is written to the stream.
 
virtual void afterBeginPageSetup (uint32 pageNumber, const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just after %BeginPageSetup is written to the stream.
 
virtual void beforeEndPageSetup (uint32 pageNumber, const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just before %EndPageSetup is written to the stream.
 
virtual void beforeShowpage (uint32 pageNumber, const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer just before "showpage" is written to the stream.
 
virtual void afterLastByte (const IOutputStreamPtr &psStream)
 Invoked by the PostScript writer after the last byte of normal PostScript data is written to the stream.
 

Detailed Description

Interface allowing users of IPSOutput to inject raw PostScript directly into the output stream at strategic points in the output process. Use IPSOutput::setInjector() to install subclasses of this type.

Member Function Documentation

◆ afterBeginPageSetup()

virtual void JawsMako::IPSInjector::afterBeginPageSetup ( uint32 pageNumber,
const IOutputStreamPtr & psStream )
inlinevirtual

Invoked by the PostScript writer just after %BeginPageSetup is written to the stream.

Parameters
pageNumberThe page number being prepared, with 0 indicating the first page.
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ afterBeginSetup()

virtual void JawsMako::IPSInjector::afterBeginSetup ( const IOutputStreamPtr & psStream)
inlinevirtual

Invoked by the PostScript writer just after %BeginSetup is written to the stream.

Parameters
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ afterLastByte()

virtual void JawsMako::IPSInjector::afterLastByte ( const IOutputStreamPtr & psStream)
inlinevirtual

Invoked by the PostScript writer after the last byte of normal PostScript data is written to the stream.

Parameters
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ beforeEndPageSetup()

virtual void JawsMako::IPSInjector::beforeEndPageSetup ( uint32 pageNumber,
const IOutputStreamPtr & psStream )
inlinevirtual

Invoked by the PostScript writer just before %EndPageSetup is written to the stream.

Parameters
pageNumberThe page number being prepared, with 0 indicating the first page.
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ beforeEndSetup()

virtual void JawsMako::IPSInjector::beforeEndSetup ( const IOutputStreamPtr & psStream)
inlinevirtual

Invoked by the PostScript writer just before %EndSetup is written to the stream.

Parameters
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ beforeFirstByte()

virtual void JawsMako::IPSInjector::beforeFirstByte ( const IOutputStreamPtr & psStream)
inlinevirtual

Invoked by the PostScript writer after the output PostScript stream is opened, but before any data is written to the output stream.

Parameters
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ beforePsHeader()

virtual void JawsMako::IPSInjector::beforePsHeader ( const IOutputStreamPtr & psStream)
inlinevirtual

Invoked by the PostScript writer just before the PostScript header is written to the stream. Currently, this is effectively the same as beforeFirstByte() above as Mako will not currently write anything at the top of the PostScript stream before the PostScript header.

Parameters
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

◆ beforeShowpage()

virtual void JawsMako::IPSInjector::beforeShowpage ( uint32 pageNumber,
const IOutputStreamPtr & psStream )
inlinevirtual

Invoked by the PostScript writer just before "showpage" is written to the stream.

Parameters
pageNumberThe page number being output, with 0 indicating the first page.
psStreamThe PostScript stream. Do not retain this stream after your handler exits, and only write during the execution of your handler.

The documentation for this class was generated from the following file: