Hey,
I am trying to compare two documents with the following options,
Aspose.Words.Comparing.CompareOptions compareOptions = new Aspose.Words.Comparing.CompareOptions
{
IgnoreFormatting = true,
IgnoreCaseChanges = false,
IgnoreTables = false,
IgnoreFields = false,
IgnoreFootnotes = false,
IgnoreComments = false,
IgnoreTextboxes = false,
IgnoreHeadersAndFooters = false,
Granularity = Granularity.CharLevel,
CompareMoves = true
};
document1.Compare(document2, "Comparison", DateTime.Now, compareOptions);
And
HtmlFixedSaveOptions opt = new HtmlFixedSaveOptions();
opt.PrettyFormat = true;
opt.ExportEmbeddedCss = true;
opt.ExportEmbeddedFonts = true;
opt.ExportEmbeddedImages = true;
opt.ExportEmbeddedSvg = true;
opt.ShowPageBorder = false;
These are my export to html option ( i am saving the compared document as an XML document)
memoryStream.Position = 0;
document1.Save(memoryStream, opt);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(memoryStream);
The Output:
The problem:
I am unable to get a strikethrough or underline on the deleted image(sunflower) in the compared XML document but the same shows up in the word document