Free Support Forum - aspose.com

Page breaks when going to HTML

Is it possible to keep page breaks when going from Word to HTML?



CSS allows you to put page breaks in by useing:

 




or the following styles: page-break-before, page-break-after, and page-break-inside.



Is it possible for ASPOSE.word to input these CSS Tags or any other tag to let HTML know that there are page breaks?



What we need is when we take a Word Doc to HTML that the HTML view will break at the appropriate spots that word does.

Hi,

I'm afraid doing that automatically is not possible until we implement the pagination engine which is being developed. The only way to make page breaks visible in the exported HTML is marking them manually in the source .doc, for instance with paragraph top or bottom borders (so that the breaks look like horizontal lines).