Remove Empty Line / Extra White Space from Tables

Hi,



We are generating pdf using Aspose pdf 8.5 . These pdfs have been generated based on retrieved data from Database/SharePoint data which contains lot of HTML data . We are facing issue of blank spaces in HTML tables. In previous version we used to create Aspose Word document and then convert it to pdf and used attached methods to remove empty rows and whitespaces (file-RemoveEmptyRows.txt).



Could you please let me know how to achieve same thing using Aspose pdf. Please try to update attached code for pdf.



Please refer to the HTML in attached file (HTML1.txt and HTML2.txt) and try to add these HTML in any pdf element and check the layout in Aspose pdf 8.5 (check layout in attached pdf)



We need to remove these extra spacing from HTML tables and correct the layout in pdf. Please help.



Thanks in advance. Appreciate your quick response.

Hi Preeti,


Thanks for your inquiry. We have already noticed the issue and logged it as PDFNEWNET-36058 for further investigation and resolution. We will update you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,