HPDFCompareContracts

Aligns the semantic paragraphs of two loaded contracts and records insert, delete, replace, and move differences

Declaration

function HPDFCompareContracts(BeforeDocument, AfterDocument: THotPDF;
  const Options: THPDFContractCompareOptions;
  out Report: THPDFContractCompareReport;
  CancellationToken: THPDFCancellationToken = nil): Boolean;

Unit

HPDFContractCompare

Behaviour

Returns true only for ccsComplete, preserves partial findings for bounded or cancelled work, and reports explicit extraction failure for pages without extractable text

Related topics

Contract comparison