开发者

Perform diff on RTF and preview changes

开发者 https://www.devze.com 2023-04-06 00:41 出处:网络
I am looking to compare two RTF files and provide a way of highlighting the differences. Does anybody know of anyway I can do this? The project is a .net project, however worst case, I\'m sur开发者_JA

I am looking to compare two RTF files and provide a way of highlighting the differences. Does anybody know of anyway I can do this? The project is a .net project, however worst case, I'm sur开发者_JAVA技巧e I could implement an unmanaged app.

Thanks


I'd say that depends.

If you just want to view the difference between the RTF "code", i.e. the plain textfiles, you could employ a library like DiffPlex.

If you want some WYSIWYG view, i.e. including formatting, etc., you could actually use Word (via Automation). Much like TortoisSVN (xdocdiff) does it.

0

精彩评论

暂无评论...
验证码 换一张
取 消