We are doing Html to Word conversion using Aspose.Words dll.
The issues that we are facing after conversion are:-
- Text coming in multiple lines
Html screenshot: image.png (12.5 KB)
Word screenshot: image.png (12.9 KB)
- 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:-
- Run attached console application.
- Enter 5.
- Refer Comprehensive_Report\report.html and word\report_with_header_footer.doc.