By Date: <-- -->
By Thread: <-- -->

Adding new Page



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: itext-questions-admin@lists.sourceforge.net [mailto:itext-questions-admin@lists.sourceforge.net]On Behalf Of Paulo Soares
Sent: Tuesday, May 16, 2006 1:48 AM
To: itext-questions@lists.sourceforge.net
Subject: RE: [iText-questions] Adding new Page

Use ColumnText and PdfPTable.
 
Paulo


From: itext-questions-admin@lists.sourceforge.net [mailto:itext-questions-admin@lists.sourceforge.net] On Behalf Of Stephan S
Sent: Monday, May 15, 2006 5:42 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Adding new Page

Hallo guys and girls

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.