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
Behavior
BeforeText and AfterText are the changed spans, while BeforeContext and AfterContext contain the full normalized paragraph; an edited reordered paragraph can produce a move record and separate wording records