TPDFlibTextComparisonOutput
Data types, document comparison
Description
Selects which text comparison report a dispatched call stands for. The value travels with the Output parameter of the TPDFlibTextComparisonRender and TPDFlibTextComparisonSave callbacks.
TPDFlib declares the public methods and a protected dispatch method for the text comparison of the selected document with a separately loaded baseline file. 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.
Syntax
Delphi
type TPDFlibTextComparisonOutput = (tcoReport, tcoPDF);Values
| tcoReport | Comparison returned as an HTML or JSON report; the operation behind CreateTextComparisonReport |
|---|---|
| tcoPDF | Comparison written to a paginated A4 review PDF; the operation behind SaveTextComparisonPDF |
See also
TPDFlibTextComparisonResult, TPDFlibTextComparisonRender, TPDFlibTextComparisonSave, CreateTextComparisonReport, SaveTextComparisonPDF