Interesting... let me see if I have this right:
A PdfCell
can hold almost any other Element (including another table).
A PdfTable
can be drawn directly to a PdfContentByte (or an array from
beginWritingRows()).
So with that
table, you should be able to draw just about anything onto an existing PDF
page... so long as you're not worried about page breaks.
So what do
you do about page breaks? PdfTable.getRowHeight and some work on our
part?
I see that
MultiColumnText also has a public "draw me to that PdfContentByte" member.
Are there any other Pdf* objects like these, or should we stick to the
lowagie.text.* Elements for the rest?
--Mark Storer
Senior Software Engineer
Cardiff Software
#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Paulo Soares
Sent: Tuesday, May 16, 2006 1:48 AM
To: [email protected]
Subject: RE: [iText-questions] Adding new PageUse ColumnText and PdfPTable.Paulo
Hallo guys and girls
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephan S
Sent: Monday, May 15, 2006 5:42 PM
To: [email protected]
Subject: [iText-questions] Adding new Page
Is there a way to create a Document <Document Class> and attach this to a existing pdf.
Cause my problem is:
I need to load a pdf and add at the end a new page with some information. The example with the PdfStamper worked, BUT I need some elements like the Tabel, which are what I know only available in the <Document> Class.
Many Thanks,
Stephan
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
