Track changed / diff : on rich text boxes - again :-)

G

G. Tarazi

Hi

Here is the old problem again.

We have an old system, lotus notes, 10,000 C++ lines of code supporting it, the code does one thing; it simulates track changes similar to the Microsoft Word one on forms similar to InfoPath

Today I have no problem to simulate track changes in any part of the InfoPath form; I am just using multiple controls, with different formatting, and it looks like track changes.

My only problem is rich text boxes, here are some ideas, let me know if you think any one of them possible.



I have the old value: AAAAAA AA AAAAAA

The new value: AAAAAA BB AAAAAB

And I want the results to be something like:



Old value: AAAAAA AA AAAAAA

New value: AAAAAA BB AAAAAB

The old nodes are red, the new nodes are blue



Here are the ideas:

1- Can I store both values in an xml file, pass it to Microsoft Word 2003 and ask word to get us the diff? Will it give me the expected results?

2- Is there is a diff functionality, functions in the .net framework that can easily diff xhtml? (the one used by InfoPath)

3- Any other ideas on the rich text boxes, are there any dll files on the internet that can diff the XHTML used by InfoPath and give me the results in a nice way





Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top