Mako 7.5.0 API
Loading...
Searching...
No Matches
JawsMako::IPSCommentMonitor Class Referenceabstract

Interface allowing users to monitor comments in PostScript input. Use setCommentMonitor() to install subclasses of this type. More...

#include <distiller.h>

Public Member Functions

virtual const CRawStringVect & getComments () const =0
 Gets a list of comment keys.
 
virtual void comment (const RawString &comment)=0
 Invoked when a comment is detected in the input.
 

Detailed Description

Interface allowing users to monitor comments in PostScript input. Use setCommentMonitor() to install subclasses of this type.

Member Function Documentation

◆ comment()

virtual void JawsMako::IPSCommentMonitor::comment ( const RawString & comment)
pure virtual

Invoked when a comment is detected in the input.

Use getComments() to supply a list of comments to monitor.

Parameters
commentThe comment line from the PostScript input.

◆ getComments()

virtual const CRawStringVect & JawsMako::IPSCommentMonitor::getComments ( ) const
pure virtual

Gets a list of comment keys.

The comment() function will be invoked for any PostScript comments encountered that begin with the keys returned from this function.

Returns
CRawStringVect The list of comments to monitor.

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