Thu Dec 01, 2022 8:39 am
Hello,
Thanks for your response.
For your issue, you could use <span><br clear=all style = 'page-break-before:always' ></span> to insert page break and our Spire.Doc can recognize it when converting Html to Word. As for preventing table from being cut in half, I tried “style=’page-break-inside: avoid;’” but it doesn't work in Microsoft Word. Our Spire.Doc follows the rules of Microsoft Word, so it can’t be recognized too. I suggest that you use the feature of our Spire.Doc to prevent page breaks in Word tables, this way is also efficient.
If you have any other issue, just feel free to contact us.
Sincerely
Doris
E-iceblue support team