Aspose.words PDF or word compare is not highlighting Font text changes
I did a very simple example for you to test, because it shows the changes in the font:
private void Logic()
{
var doc1 = new Document($"{PartialPath}_1_input.docx");
var doc2 = new Document($"{PartialPath}_2_input.docx");
CompareOptions options = new CompareOptions();
doc1.Compare(doc2, "Aspose User", DateTime.Now, options);
doc1.Save($"{PartialPath}_output.docx");
}
The input and output files:
FontChangedInText_1_input.docx (12.6 KB)
FontChangedInText_2_input.docx (12.7 KB)
FontChangedInText_output.docx (9.8 KB)
@carlos.molina
yes it’s highlighting the complete line
Is there any way to highlight only changed text (font)
Here is how MS Words shows the comparison VS Aspose.
The document in the background is the Comparison Overview by MS Word. The document on top is the result by Aspose.Words.
I think is expected behavior to show the result the way it is currently.