Thanks for the advice. I have implemented header/footer using PdfPTable and onEndPage event, like described in tutorial. However, I have still one problem - still concerning align. The horizontal and vertical alignement of table cells (PdfPCell) used in header seems to be ignored - regardless of the parameter of PdfPCell.setHorizontalAlignement and PdfPCell.setVerticalAlignement, content of all cells is aligned to left-baseline. Other cell properties, like border, works well. Am I missing something?
regards, Zbynek Paulo Soares wrote: > See page events in the tutorial, don't use HeaderFooter. > > Paulo > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Zbynek Vraštil >> Sent: Thursday, September 21, 2006 10:31 AM >> To: [email protected] >> Subject: [iText-questions] HeaderFooter subclassing >> >> Hello, >> >> I would like to have a header in PDF with some text on the left and >> company logo on the right. However, HeaderFooter class allows >> only one >> alignement for whole content. >> I've read in the archive of this mailing list, that it could >> be solved >> by subclassing HeaderFooter class. But it returns its content >> as single >> Paragraph object, which also has only one alignement. Does it >> mean that >> I have to subclass also Paragraph class? Or is there some easier and >> more straighforward solution? >> >> thanks, Zbynek Vrastil >> >> -------------------------------------------------------------- >> ----------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the >> chance to share your >> opinions on IT & business topics through brief surveys -- and >> earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge >> &CID=DEVDEV >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> >> > > > 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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
