I would like to use the Track Changes feature at the character level in Word documents.
Currently, I plan to use Aspose.Words Cloud SDK for Node.js.
I would like to confirm the following two points:
Is my understanding correct that if I want to enable Track Changes, I can generate it by comparing the original file and the modified file using the Compare function?
Is it possible to enable character-level Track Changes when using Aspose.Words Cloud SDK for Node.js?
I apologize if my question is unclear, as English is not my native language.
I mean the same behavior as in Microsoft Word desktop application when Track Changes is enabled — where inserting or deleting a single character is shown as an individual tracked change, rather than the whole word being marked as changed. My goal is to get the comparison result in that format.
Additionally, I would like to specify the author name for the tracked changes, so that the comparison result clearly shows who made the changes.
Thank you for your response. I would like to make my previous question more specific.
I would like to perform the following operation using Aspose.Words. Could you please tell me:
Is this operation possible?
If it is possible, how can it be accomplished?
Objective:
I want to programmatically modify specific text in a Word document using the “Track Changes” feature.Specific Scenario (example):
Please suppose a Word file contains the sentence: “You shall not sit down.”
I want to perform the following actions:
First, delete the phrase “shall not” and have this action recorded as a deletion revision (tracked change).
Next, insert the word “may” in its place, and have this action recorded as an insertion revision.
The desired result is that the sentence becomes “You may sit down.” However, when viewing the file in Microsoft Word, the phrase “shall not” should appear with a strikethrough (as a tracked deletion), and “may” should appear with an underline (as a tracked insertion).
Is it possible to achieve this specific operation using the Aspose.Words library?
For your purposes, it would be more convenient to use Aspose.Words, not Aspose.Words Cloud.
In the cloud version, achieving that behavior takes too many steps, whereas in Aspose.Words are just the code that already exists in the documentation. So, if you still think the cloud version is more suitable for you, I will try to come up with a code sample.