Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-05-22 Thread chandrajeet
: [iText-questions] Jtable2PDF: missing column names and pagination Agarwal, Sunil [CIB-IT] wrote: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only the first page in generated PDF. You create a rectangle of 1100 x 1400 points. I assume your JTable is bigger

Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-03-23 Thread Agarwal, Sunil [CIB-IT]
about iText here Subject: Re: [iText-questions] Jtable2PDF: missing column names and pagination Agarwal, Sunil [CIB-IT] wrote: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only the first page in generated PDF. You create a rectangle of 1100 x 1400 points. I assume your

Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-03-21 Thread Bruno Lowagie (iText)
Agarwal, Sunil [CIB-IT] wrote: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only the first page in generated PDF. You create a rectangle of 1100 x 1400 points. I assume your JTable is bigger. In that case I wouldn't write the JTable to the writer.getDirectContent(),

Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-03-21 Thread Agarwal, Sunil [CIB-IT]
) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 4:42 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Jtable2PDF: missing column names and pagination Agarwal, Sunil [CIB-IT] wrote: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only

Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-03-21 Thread Bruno Lowagie
Agarwal, Sunil [CIB-IT] wrote: Is this the example you are referring to? Yes, that's the one. But as you'll be working with Graphics2D, you'll need to do something like this: PdfContentByte cb = writer.getDirectContent(); PdfTemplate map = cb.createTemplate(w, h); Graphics2D g2d =

[iText-questions] Jtable2PDF: missing column names and pagination

2007-03-19 Thread Agarwal, Sunil [CIB-IT]
2 questions: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only the first page in generated PDF. Q2: Can any one suggest a way to generate table header? For your referenceL: I am using following code Rectangle pageSize = new Rectangle(1100, 1400);