Hi I'm new to using iText but am picking it up slowly! I was wondering if someone could point me in the right direction? I am creating a pdf from a Lotus Notes form using the xmlparser as follows:- peer = new XmlPeer(ElementTags.PARAGRAPH, tmp); peer.setContent(doc.getItemValueString(tmp)); tagmap.put(peer.getAlias(), peer); } // step 2: // we create a writer that listens to the document PdfWriter.getInstance(document, new FileOutputStream("d:/lotus/domino/sb/client1.pdf")); // step 3: we parse the document XmlParser.parse(document, "d:/lotus/domino/sb/clientxml.xml", tagmap); } However I need to add a footer to say "Page n" and I also need to add a table of contents. I really have no idea where to start so any help would be appreciated. This really is a fantastic tool and if I can get to grips with it it will be so useful to me. Thanks in advance Sarah Experience the benefit consolidating your IT infrastructure will bring. Please register for the following Triangle Seminars on 18th & 19th Sept @ IBM Leeds & Warwick. Visit www.triangle-group.com & click on events. --------------------------------------------------- The information contained in or attached to this email is intended only for the use of the individual or entity to which it is addressed. It may contain information which is confidential and/or covered by legal, professional or other privilege (or other similar rules or laws). If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. Nor should you take any action with reference to it. If you have received this email in error please notify us immediately by forwarding the email to [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions