HPDFContractReviewHTML

Small Business edition: the units behind this feature ship in Lib\SmallBusiness with HotPDF Small Business and Enterprise and are not part of the Single edition

Returns standalone HTML with escaped review text, full paragraph contexts, and both source locations

Declaration

function HPDFContractReviewHTML(const Report: THPDFContractCompareReport;
  const Title: UnicodeString = 'Contract comparison';
  MaxOutputCharacters: Integer = 8388608;
  CancellationToken: THPDFCancellationToken = nil;
  Checkpoint: TNotifyEvent = nil): UnicodeString;

Unit

HPDFContractCompare

Behavior

Save the returned UnicodeString with UTF-8 encoding, and retain its incomplete warning when the report status is not ccsComplete; output overflow raises EHPDFContractCompareBudget and cancellation raises EHPDFOperationCancelled

The optional checkpoint runs while assembling review fragments and preserves caller exceptions

Related topics

Contract comparison