vsto - How to programmatically use Word's "Compare and Merge Documents..." functionality from C#? -
question
is possible call word 2003's tools > compare , merge documents..." function c# , feedback whether differences found or not?
what have found far
it possible call functionality this. don't know how feedback whether differences found.
private void compareandmergewithfileb(string fullfilepath) { string filename = fullfilepath; object mergetarget = wdmergetarget.wdmergetargetselected; object detectformatchanges = false; object useformattingfrom = wduseformattingfrom.wdformattingfromprompt; object addtorecentfiles = true; word.activedocument.merge(filename, mergetarget, detectformatchanges, useformattingfrom, addtorecentfiles); }
absolutely. once merge complete, work revisions collection extract details changes.
Comments
Post a Comment