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

Free Support Forum - aspose.com

Export background in DOC to HTML conversion


I would like to know how to export background in DOCX to HTML conversion using Aspose ?

In my website, there is a functionnality where we a docx file can be uplaoded and then I want it to be saved as html with full design (font, font color, font size, images, background, and so on) so I can use it in my website directely. Everything goes well excepted the background whitch always stand white…
Backgrounds tried :
- uniformized colored background
- background shape

I am using aspose 11.4.0 on java web site.

Can someone help me whith this ?
Hi Arthur,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document
  • Please attach the output Html that shows the undesired behavior.
  • Please create a standalone Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

Hi Tahir,

Thank you for taking some time to answer my question.

You can find in attachments :
- the input Accueil.docx document
- the output Accueil.htm document with the folder of its ressources (images…)
- the source code of a mini docx to htm converter using the same way to convert docx to htm than in the website

The output files are saved in the same directory than the input file.
The input file has a (ugly) background but the output file hasn’t.
Hi Arthur,

Thanks for sharing the detail. 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-13104. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,

No problem, we will use the file without background until the issue is resolved.
Thank you for your help !


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

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