Last post Jul 23, 2015 09:10 AM by Boris Pavlovic
Jul 06, 2015 09:43 AM|Zlate|LINK
Is it possible to generate Word document with track changes using Crystal Reports?
If is not possible on this way, how I can make this feature, I've tried with Office.Interop but it was unsuccessful. Also I was looking for some commercial products (Telerik, DevExpress) but it was nothing useful.
Jul 06, 2015 10:42 AM|DeadTroll|LINK
Word docx files are a series of XML files. Think of the DOCX as a zip file for all the XML doc that make up a word document. The XML it uses is Wordml and a good introduction to it can be found at http://blogs.msdn.com/b/brian_jones/archive/2005/07/05/intro-to-word-xml-part-1-simple-word-document.aspx
Your best bet is to process the XML directly. I have used http://www.oxygenxml.com/ to break up a "template" word document (by template I don't mean a word template, I mean I created a word document that looked pretty
much like should to the user) then opened the XML file as a xdocument from .net then added it to the docx file and sent that to the user.
It's not overly hard to do but takes a bit of time.
Jul 23, 2015 09:10 AM|Boris Pavlovic|LINK
Docentric Toolkit is a reporting/document generation toolkit that uses Word documents as templates. At document generation time such a template gets populated with (your application) data and result can be a Word document
or PDF. Since templates are just ordinary Word documents, you can use any feature MS Word fetaure when designing templates, including "Track Changes".