By Date: <-- -->
By Thread: <-- -->

Please help: Set header and footer?



I have study the tutorial, but I have problems when i try to insert an image to
a footer. The image is put at the bigining of page under other pdf text. I use
this code:

     private HeaderFooter getPdfFooter(){
		HeaderFooter footer = null;
		Paragraph p = new Paragraph();
		try{
			addImage(p, "themes/main/sigla.gif");
 			footer.disableBorderSide(footer.BOTTOM);
 			footer.disableBorderSide(footer.TOP);
        }catch(Exception e){
        	e.printStackTrace();
        }
		return footer;
	}
I set the footer with m_doc.setFooter(getPdfFooter());

If i set image to an header this works fine, I don't understand what is the
problem with footer !



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions