Class ProcessAllPagesBackgroundTask.
void setRegion(const SubImageBox &box)
Sets the box to be processed. Default is the full image.
~ProcessAllPagesBackgroundTask() override
ProcessAllPagesHandler * getHandler() const
Returns access to the handler. The ownership stays with ProcessAllPagesBackgroundTask.
ProcessAllPagesBackgroundTask(Module *module, FloatField *progressField=nullptr, StringField *statusField=nullptr)
SubImageBox getRegion() const
Returns the box to be processed.
void setInitialStatusMessage(const std::string &statusArg)
Sets the initial status string that should be displayed.
void setHandler(ProcessAllPagesHandler *handler)
Sets the pointer to a ProcessAllPagesHandler. The ownership is passed to the ProcessAllPagesBackgroun...
Base class for handlers that are used for the Module::processAllPages facility.