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

Free Support Forum - aspose.com

Issues with Html to Word conversion

Hi Team,

We are doing Html to Word conversion using Aspose.Words dll.

The issues that we are facing after conversion are:-

  1. Text coming in multiple lines
    Html screenshot: image.png (12.5 KB)
    Word screenshot: image.png (12.9 KB)
  2. Aspose.Words is not considering css page-break-after: always; page-break-before: always;
    One of our requirements is to make sure, that any section starts from a new page. For that we have added a class " section-page-break" on section elements, but it is not taking any effect while doing the conversion.

Attaching the console application with the input and output files for reference. CloudConvertToAspose.zip (1.8 MB)

Steps to reproduce the issue:-

  1. Run attached console application.
  2. Enter 5.
  3. Refer Comprehensive_Report\report.html and word\report_with_header_footer.doc.

Regards,
Nipun jain

@nipunjainindia,

We tested this scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17456. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

To get Page Break in Word document, please add the following line in your HTML:

<br style="page-break-before:always; clear:both" />

Hope, this helps.

Hi Team,

Thanks for the response. The page break issue got resolved after applying your recommendations.

We are considering Aspose.Words as a replacement for cloud convert for our Live Application. But for that we need the other issue to be fixed.

When can we expect this issue to be fixed.

Regards,
Nipun Jain

@nipunjainindia,

Your issue is currently pending for analysis and is in the queue. There are no estimates available at the moment. Once the analysis of this issue is completed, we may then be able to calculate and share the ETA with you. We apologize for any inconvenience.

Hi Team,

Is there any possibility of expediting the process to resolve this issue.

Regards,
Nipun Jain

@nipunjainindia,

If this issue is important to you, and for the fast resolution of this issue, please have a look at paid support options - e.g. purchasing Paid Support will allow you to post your issues in our Paid Support Helpdesk and raise the priority of this issue. Many Paid Support customers find that this leads to their issue being fixed in the next release of the software.

If you would like to take advantage of Paid Support then please request a quote in our purchase forum - https://forum.aspose.com/c/purchase