TPDFlibComparisonBatchKind

Data types, document comparison

Description

Selects which batch workflow a dispatched call stands for. The value travels with the Kind parameter of the TPDFlibComparisonBatchRun callback.

TPDFlib declares the public methods and a protected dispatch method for the batch workflows that take one JSON request. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never passes a value of this type.

After the callback returns, TPDFlib clears LastErrorCode for a complete report. Otherwise it sets PDFLIB_ERROR_WORKFLOW_CANCELLED for a cancelled conversion batch, PDFLIB_ERROR_WORKFLOW_FAILED for cbTextBaseline and PDFLIB_ERROR_PRODUCTION_WORKFLOW_FAILED for cbConvertFiles.

Syntax

Delphi

type TPDFlibComparisonBatchKind = (cbTextBaseline, cbConvertFiles);

Values

cbTextBaselineComparison of up to 64 current and baseline file pairs on extracted text; the operation behind CompareTextBaselineBatch
cbConvertFilesBatch of PDF/X, PDF/E and PDF/R conversions with a delivery manifest; the operation behind ConvertFilesBatch

See also

TPDFlibComparisonBatchRun, CompareTextBaselineBatch, ConvertFilesBatch