Hi Bruno and thx for your response, the index gets correctly generated. As I need to generate a table of contents that end-users would expect to find at the second or third page of the document, would you have any idea how can I "insert" the index in the document ?
TIA, Charles. -----Original Message----- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: samedi 16 septembre 2006 09:28 To: Gautier Charles (Consultant) Subject: Re: [iText-questions] Index Generation Gautier Charles (Consultant) wrote: > Hi Bruno, > > Thanx very much for your answer. > > I tried to implement the code you've provided but I get the following error: > > java.lang.RuntimeException: The name 'idx_0' has no local destination. > at com.lowagie.text.pdf.PdfWriter.addLocalDestinations(Unknown > Source) > at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) > at com.lowagie.text.Document.close(Unknown Source) > > Do you have any idea what am I missing ? Seems like you have defined an index for a Chunk that wasn't added to the document. Please post any further question to the mailinglist: [email protected] best regards, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
