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

Free Support Forum - aspose.com

Page break - Converting long data tables to pdf

Dear all, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please find attached a sample excel file containing a long data table (worksheet 2). The worksheet has a defined header. The first 7 rows should be printed out on every page needed to show the table content. There is also a footer that provides additional information (page number, department, date…). If I save the workbook as pdf, there are two issues.

  1. The content of the table interleaves the footer area for all pages > 1
  2. The bookmark “detail” is linked to the last generated page instead to the first page, but in the code it is set to Cell[0,0]

Please find also the resulting pdf document as well as the sample code attached.

Thanks in advance

Erik

Hi Erik,

Thanks for providing us the template files with sample code.

We found both your mentioned issues. We have logged your issue into issue tracking system with an issue id: CELLSNET-12207. We will figure it out soon.

Thank you.

Hi, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

If I use the provided latest test version 4.8.1.6 this issue seems also to be solved.

Thanks

Erik

Hi,

Please try the attached version. It fixes your mentioned issue.

Thank you.

Hi, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

the page break is now set at the correct position. The bookmarks also refer to the correct page. So everything is ok.

Erik