Hi I am trying to write a table of contents but am not having much luck. I am using onParagraph and can get the pagenumber but how do I get either the name of the elementtag or the value to populate the Treemap glossary? TIA 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