If a document has a fillin field, and that field has a partial redline in it, then changing its entire value produces a partial redline.
- Use attached document. test_word_document_with_redline_in_field.docx.zip (11.6 KB) Note that its value is “Your Contract”, where “Your” is a tracked change for inserted text. There is also a tracked change for removed text “My”
- Using Aspose Words for Java, find the first field (prompt text is “Field 1”)
- Use setResult to change value to e.g. “New Value”
- Open document
As track changes is disabled while using setResult, the file should now have a value of “New Value” with no tracked changes
The result is “New Value”, where “New” is a tracked change for inserted text. It’s like the tracked change for “Your” was transferred to the word “New”?