We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text scrambled when converting Word to HTML

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!

Hi Omri,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13796. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Any news regarding this bug?

Hi Omri,

Thanks for your inquiry. We try our best to deal with every customer request in a timely fashion, we unfortunately cannot guarantee a delivery date to every customer issue. Our developers work on issues on a first come, first served basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.

Currently, the issue is pending for analysis and is in the queue. Once our product team completes the analysis of this issue, we will then be able to provide you an estimate.

Thanks for your patience and understanding.

Hi,

I completely understand, but its been 2 weeks already. do you have an estimate?
Hi Omri,

Thanks for your inquiry. Your issue has been planned for fix. Hopefully, the fix of this issue will be available in October 2016 release. Please note that this estimate is not final at the moment. We will be sure to inform you via this forum thread as soon as this issue is resolved.

We appreciate your patience.

Hi,

October 2016 is over, any news regarding this issue?

Hi Omri,

Thanks for your inquiry. We have verified the status of this issue from our issue tracking system. The fix of this issue has been rescheduled to Aspose.Words v16.12.0. However, we have asked for the ETA of this issue from our product team. As soon as any information is shared by them, we will be more than happy to share that with you.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-13796) have been fixed in this Aspose.Words for .NET 16.12.0 update and this Aspose.Words for Java 16.12.0 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Thanks!

I can confirm that it works.