Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Repeat layered text on every page,
 BUT my tables span multiple pages, so cant write on every page

Paulo Soares

2007-06-27

Replies:

PdfStamper won't do layers but before explaining how to do it's better
to understand what you want to do.

Paulo

> -----Original Message-----
> From: itext-questions-bounces@(protected)
> [mailto:itext-questions-bounces@(protected)
> Behalf Of ChrisR
> Sent: Wednesday, June 27, 2007 1:36 PM
> To: itext-questions@(protected)
> Subject: [iText-questions] Repeat layered text on every page,
> BUT my tables span multiple pages, so cant write on every page
>
>
> Hi
>
> I need to write a footer on every page of my document.  The
> footer is text
> with a non-printable white rectangle drawn over it, which
> requires layers.
> I have tried to do this with the PdfStamper but it seems as
> though it wont
> do layers, and non-printable layers, so my only option is to
> check for a new
> page number in my code and write the footer when I can.  BUT
> when I have a
> table that spans 2 pages its impossible for me to write the
> footer for every
> page .
>
>
> i.e.
>
> // i am on page number 1 here
> addFooter(writer)
> document.add(3pagedTable)
> // i am not on page 3
> addFooter(writer)
>
> In this example Page 2 is being missed.
>
> Does anyone have any ideas? any help would be greatly appreciated.
> Thanks
> Chris


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.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.