Hello everybody! sorry for posting this again, but my previous posts did not lead to an answer so far. For below posted question I would like to know if the approach is valid or what could be done to call respective method successfully:
I have noticed that class HeaderFooter has a method paragraph() returning the Paragraph object for that HeaderFooter. The API documentation says about that method "Gets the Paragraph that can be used as header or footer" I was trying to add some content to the header by doing HeaderFooter header = new HeaderFooter(new Chunk("Test-Header:")); if (header != null) { Paragraph p = header.paragraph(); p.add(new Chunk(" additional text")); pdfDoc.setHeader(header); } but this does not lead to the String "Test-Header: additional text" to appear in the header. What I am actually trying to do is to add some more complex content with the help of the paragraph() method. Is it possible and what did I do wrong in above test example? Thanks for any hints Ulrich -------------------------------------------- http://www.lightdev.com technology to build documentation documentaion to build technology -------------------------------------------- ______________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail erreichen Sie mit einem Klick alle Freunde gleichzeitig! http://freemail.web.de/features/?mc=021180 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions