Re: How to prevent table splitting in document?

Hi,


I am facing same issue with my html .I am attaching my input html and output doc.
I have generated the output doc except table break in different page.

Please suggest how to prevent table break in my input html

Regards,
Goutam Roy
Cognizant Technology Solutions

Hi Goutam,


Thanks for your inquiry. You can use codes from following article to meet this requirement:

Keeping Tables and Rows from Breaking across Pages

In case the problem still remains, please attach your expected Word document here for our reference. We will investigate the structure of your expected document as to how you want your final output be generated like. You can create expected document using Microsoft Word. We will then provide you code to achieve the same using Aspose.Words.

Best regards,