ML Reference
|
Base class for handlers that are used for the Module::processAllPages facility. More...
#include <mlProcessAllPagesHandler.h>
Public Member Functions | |
virtual void | calculateOutputImageProperties (PagedImage *) |
Calculates the (temporary and virtual) output image's properties, which by default has the properties of input image 0. | |
void | install (PagedImage *outImg) |
Installs the handler on the PagedImage (which is typically called by the ML Host, do not call it yourself!) |
Base class for handlers that are used for the Module::processAllPages facility.
The main difference to the CalculateOutputImageHandler base class is that it adds the calculateOutputImageProperties() virtual method, which you can reimplement to setup the properties of the temporary output image that Module::processAllPages(yourHandler) generates. This allows to adjust the properties of the output image, e.g., its page extent.
Definition at line 30 of file mlProcessAllPagesHandler.h.
virtual void ml::ProcessAllPagesHandler::calculateOutputImageProperties | ( | PagedImage * | ) | [inline, virtual] |
Calculates the (temporary and virtual) output image's properties, which by default has the properties of input image 0.
Definition at line 39 of file mlProcessAllPagesHandler.h.
void ml::ProcessAllPagesHandler::install | ( | PagedImage * | outImg | ) |
Installs the handler on the PagedImage (which is typically called by the ML Host, do not call it yourself!)