THPDFContractChange

Describes one token edit, entire paragraph insertion or deletion, or reordered paragraph

Declaration

THPDFContractChange = record
  Kind: THPDFContractChangeKind;
  BeforeText, AfterText, BeforeContext, AfterContext: UnicodeString;
  BeforeLocation, AfterLocation: THPDFContractLocation;
end;

Unit

HPDFContractCompare

Behaviour

BeforeText and AfterText are the changed spans, whilst BeforeContext and AfterContext contain the full normalised paragraph; an edited reordered paragraph can produce a move record and separate wording records

Related topics

Contract comparison