Hi, I'm dynamically creating a XHTML using XLST, then the XHTML is converted to a PDF using iText. I want to be able to set the header for the genereated PDF, so I created a custom HTML tag, <pageheader> </pageheader> and modified the SAXiTextHandler class.
When a <pageheader> tag is parsed the associaso that when a tag occurs it takes the Phrase and call document.set they occur in the HTML they kick of public void handleEndingTags(String name) { ... if(...header..) HeaderFooter header = new HeaderFooter((Phrase)current,false); document.setHeader(header); return; } ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions