IntelliJ Java IDE
The moose likes JSF and the fly likes PdfTable in multiple pages Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "PdfTable in multiple pages" Watch "PdfTable in multiple pages" New topic
Author

PdfTable in multiple pages

MohamedAhmed Ibrahim
Greenhorn

Joined: Jul 21, 2005
Posts: 12
I need to split a PdfTable into multiple pages and the header of the table recur in each page. Does anyone know how ?

table.setTotalWidth(document.right() - document.left()) ;
table.writeSelectedRows(0 , table.size() , document.left(), document.right() , writer.getDirectContent()) ;
document.newPage() ;

I am using itext
table is an object of class PdfTable ,writer of PdfWriter and document of Document

Thanks for you help
 
 
subject: PdfTable in multiple pages
 
Threads others viewed
iText PDF export
generating pdf report some field are hiding in pdf
Adding Header and Footer to an existing PDF
iText - problem in splitting tables across multiple pages
Merging two pdfs
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com