: [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
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
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(),
) [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
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 =
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);