Hey,

I'm trying to use a PdfPTable table as a header, but I'm not able to...

I'm using
PdfPTable table = new PdfPTable(3);
on which I'm adding a bunch of cells, and it works, as long as I'm adding it
to the Document (document.add(table);)

But the only way I'm been able to have a header and a footer on my page is
using:
HeaderFooter header = new HeaderFooter(new Phrase("Header Header Header"),
false);

HeaderFooter footer = new HeaderFooter(new Phrase("This is page "), true);

document.setHeader(header);
document.setFooter(footer);

Before document.open...

How can I construct HeaderFooter with a table? Or what other alternative do
I have?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Header-Footer-with-iText-on-JSP-tp15768325p15768325.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to