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

Free Support Forum - aspose.com

Add Support of CSS Property page-break-inside | HTML to PDF Conversion using Java

In the attached cssPageBreak.zip (303.7 KB), in the html code the CSS page-break-inside Property (https://www.w3schools.com/cssref/pr_print_pagebi.asp) is used to avoid page breaks in html tables.
During conversion to pdf this property is ignored by Aspose.Words (see page-break-inside-avoid.html and page-break-inside-avoid.pdf). If in the html code the CSS page-break-after Property is used, it seems to work, the resulting pdf has some more pages (see page-break-after-always.html and page-break-after-always.pdf).
Is there a way to support CSS properties like the page-break-inside Property in Aspose.Words?


We have logged this problem in our issue tracking system as WORDSNET-22801. You will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.