Module: post-processing

Utilities leveraged in several places while processing the book. All of them are bound to the book instance at runtime.

Source:

Methods

(inner) beforeRun()

Check first if any post-processing unit is actually registered.

Exit early if none reported. Otherwise, start with moving the book to a temporary location before further processing (solves path issues with pdftk, among other tools, where the input path must differ from the output path).

Source:

(inner) handleError()

Log error, then abort.

Source:

(inner) PostProcessing()

Perform initial checks.

Source:

(inner) preflight()

Perform some high-level checks prior to committing to post-processing.

Source:

(inner) readConfiguration()

Extract relevant conf about background and foreground post-processing, from the book's configuration.

Source:

(inner) runRegisteredUnits()

Run all registered post-processing units, in order, to completion.

Source: