Hi,
For some reason when we convert the following document to html the text in the rows is scrambled, it seems like the last word becomes the first.
Here is our code:
var sourcefile = @"E:\WordTest\15.docx";
var html = string.Empty;
var htmlSaveOptions = new Aspose.Words.Saving.HtmlSaveOptions
{
ExportImagesAsBase64 = true,
ExportHeadersFootersMode = Aspose.Words.Saving.ExportHeadersFootersMode.None
};
using (var inputStream = File.OpenRead(sourcefile))
{
var doc = new Aspose.Words.Document(inputStream);
CompositeNode parent = doc;
foreach (Aspose.Words.Node node in doc.ChildNodes)
{
html += node.ToString(htmlSaveOptions);
}
File.WriteAllText(@"E:\WordTest\15.html", html, Encoding.UTF8);
}
Please advise how to workaround this bug or release a fix.
Thanks!