开发者

Perform diff on RTF and preview changes

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜