VIsualize diff between two rtf files

WPTools 8 is a complete word processing VCL for Delphi 5 up to Delphi and C++Builder. It integrates powerfull editing features such as footnotes, header and footers, tables and DocX import and export.
Posts: 31
Joined: Mon Apr 10, 2006 9:13 am

VIsualize diff between two rtf files

Postby mschumann » Sat Nov 08, 2014 9:00 am


is there a simple way to visualize diff between two versions of a text document within wptools? What I would like to do is to

- compare plain text (strip all formatting) by paragraphs and visualize the changed areas
- find deleted/changes/added objects like embedded pictures and mark them too

My (design) approach would be to collect all paragraphs and objects in a memory table while stripping the format, compare paragraphs with the longest common sequence algorithm and objects by content and write the results back to the memorytable too. Unforunately I have no Idea on how to reflect that back into the document. How can I also store references to the paragraphs? This might be crap, perhaps someone already has realized that?

Any help is VERY appreciated! Thanks!

Return to “WPTools 7 and 8 (VCL)”

Who is online

Users browsing this forum: No registered users and 1 guest