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

Free Support Forum - aspose.com

Aspose pdf for Java: Footer/Header is not shown on pages where tables content is to big for one page

i have a footer/header on a page (see code below).
If a normal text is to big for one page a new page will begin and the footer/header is also there.
But if a table content is to big for one page a new page will begin but wihtout the footer/header.

My code of the footer:

HeaderFooter footer = new HeaderFooter(sec1);

Text footText = new Text(footer, "Page: ");



thanks for help

Hello Vlan,

We apologies for any inconvenience that you may have faced. Your issue has been communicated to our development team, and shortly we will update you over it.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.

Hi, vland,
I have add a large Table which spans two pages in my document, and the footer functions well. I have also add a big Cell which have a lot of content and spans two page to a Table( I think the “table content” you said maybe means this), and the footer also functions well.
Is it convenient to give me all your code? So I can rerun the code and find a solution to the problem.
Thank you for using our product.

Hello Sandy Zhang,
sorry it was my mistake.
I had two sections and not one and i forgot to set the header on the second section.

thanks for your help