HPDFContractReviewHTML

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

Behaviour

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 whilst review fragments are being assembled and preserves caller exceptions

Related topics

Contract comparison