Conversion of HTML: Lost colors of table borders

Hi Aspose Team,
we’re using the latest Aspose.Words .NET 10.1.1_hotfix to convert HTML to docx and png files. During that process the colors of table borders within the HTML are lost.

You can find the HTML file on the attached file: tables.zip

The code to convert the binary content of the file is like this:

MemoryStream memoryStream = new MemoryStream(htmlContent); 
Document document = new Document(memoryStream); 
document.Save("c:\\myfile.docx", SaveFormat.Docx); 
document.Save("c:\\myfile.png", SaveFormat.Png);

The docx file contain the border, yet the color is lost. The png file on the other hand does not have any border at all. So beside the issue that the colors are lost, there is a mismatch between the output of a rendered docx and image file.
See the attached file aspose_conversion.png for a visual view onto the issue. The HTML is shown as well as the output.
Is this a known bug ? Do we do something wrong ? Can you give information about the status on this ? Is there an upcoming version planned where this will work ?
Thanks alot for your support!

Kind regards,
Oliver

Hi
Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,

Hi Alexey,
thanks for the quick response. Can you tell me whats the prio of the ticket you’ve created and maybe even in what version and when it may be fixed already when all works well ?
Thanks alot and kind regards,
Oliver

Hi
Thanks for your request. The problem probably occur because Aspose.Words does not support inheriting styles from parent objects. Unfortunately, at the moment, I cannot provide you a reliable estimate. Once the responsible developer analyze the problem we will provide you more information,
Also, I tried refactoring your HTML (see the attached files) As you can see in this case, the PDF and DOC files look closer to the original.
Best regards,

Issue still persist in new Aspose.Words for .NET v10.5.

Hi
Thanks for your request. Yes, you are right, unfortunately, the issue is not resolved yet. We will let you know once it is fixed.
Best regards,

Still unfixed in new Aspose.Words version 10.8 (from 10.01.2012).

Hi Oliver,

Thanks for your inquiry. Unfortunately, this issue is not resolved yet. However, the responsible developer has already completed the analysis of this issue. The root cause has been identified. Also, at the moment I can’t provide you the ETA for this issue. We will keep you informed and let you know once it is resolved. Sorry for inconvenience.

Best Regards,

Hi Awais,
thanks for the quick response. Can you also add such status update to the following tickets please. They’re all from me (us).
https://forum.aspose.com/t/62177
https://forum.aspose.com/t/image-conversion-issue-with-position-of-textboxes/63912
https://forum.aspose.com/t/when-converting-doc-to-png-a-gap-appears-between-text-and-image/64516/1
https://forum.aspose.com/t/document-conversion-to-mhtml-with-textboxes/57097/1
It would be very helpful for us to have a recent status on those.
Thanks a lot,
Oliver

Hi Oliver,

Thanks for your inquiry. Unfortunately, your issues are still pending for analysis. Once our developers analyze these issues, we will be able to provide you an estimate.Sorry for inconvenience.

Hi
Oliver,

It is to update you that I have tested your documents with Aspose.Words v11.1.0 and I can still reproduce this issue on my side. I have passed your concern to our development team. As soon as, any information is shared by them, I will be more than happy to share that with you. Thank you for your patience and sorry for the inconvenience.

Best Regards,

The issues you have found earlier (filed as WORDSNET-4957) have been fixed in this .NET update and this Java update.


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