TPDFlibTextComparisonResult
Data types, document comparison
Description
Carries the result of a text comparison back to the public method. The method reads the member that belongs to its TPDFlibTextComparisonOutput value.
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 record is what that callback returns. 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 declares a value of this type.
Syntax
Delphi
TPDFlibTextComparisonResult = record
Report: WideString;
Saved: Integer;
end;Fields
| Report | HTML or JSON comparison report, returned for tcoReport by CreateTextComparisonReport |
|---|---|
| Saved | Outcome of writing the review PDF for tcoPDF: 1 when SaveTextComparisonPDF wrote the file, 0 otherwise |
See also
TPDFlibTextComparisonOutput, TPDFlibTextComparisonRender, TPDFlibTextComparisonSave