Free Support Forum -

Multiple Sections in Single PDF file


I am trying to add header,footer,tabel in one section of pdf and when I do the same thing for multiple section only last section shows table,although page is created for each section and header and footer gets populated in all pages.(Doing this in JAVA)

how to get table in all pages .Any help will be appreciated.

Pdf pdf = new Pdf()
for(int i=0;i<3;i++){
Section sec = pdf.getSections().add();

//set header in section
method which will set header
//set footer in section
method which will set footer
Table table = new Table(sec);
//method which will add column and rows in table


Hi Ankit,

Thanks for your inquiry. I have tested the scenario at my end and unable to reproduce the reported issue. Could you please share your complete sample code? So we look into it and provide you more information.

Please feel free to contact us for any further assistance.

Best Regards,