We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Change Tracking/Comment Insertion

Does aspose.word provide functionality to tarack editorial changes in a document (red line) and to add comments in a document. These are functions that are provided under the Review Menu in MS Office Word.

Hi,


Thanks for your interest in Aspose.Words.

Unfortunately, Aspose.Words does not support the requested feature at the moment. When you modify a document using Aspose.Words, these modifications are done to the document directly and will not appear as tracked changes. We had already logged this feature request as WORDSNET-754 in our issue tracking system. You will be notified via this thread once this feature is available.We apologize for your inconvenience. I would suggest you please visit the following link on how Aspose.Words manages track changes:
http://www.aspose.com/docs/display/wordsnet/Manage+Tracking+Changes

Using Comment class, you can add, delete or modify comments programmatically like any other node in Aspose.Words Document Object Model. Comment is a composite node and can contain paragraphs and tables that constitute the text of the comment. The Comment class also provides access to the name and initials of the author of the comment. Here is sample code to create comment in Document:

Document doc = new
Document();

DocumentBuilder builder = new DocumentBuilder(doc);

builder.Write("Some text is added.");

Comment comment = new Comment(doc, "Amy Lee", "AL", DateTime.Today);

builder.CurrentParagraph.AppendChild(comment);

comment.Paragraphs.Add(new Paragraph(doc));

comment.FirstParagraph.Runs.Add(new Run(doc, "Comment text."));

doc.Save(@“C:\Temp\out.doc”);


I hope, this helps.

Best regards,

The issues you have found earlier (filed as WORDSNET-754) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(17)