Hi,

I've managed to figure out how to create bookmarks directly in the 
document using PdfOutline(0 and PdfDestination(), but a lot of what I am 
doing directory information first added to MultiColumnText objects that 
extend for 20 or more pages each which are then inserted into the 
document.  What I want to do is add a bookmark for the start of each new 
letter (i.e., where names that start with "A" begin, where names that 
start with "B" begin, etc).  I don't see any mechanism do add those 
bookmarks to the MultiColumnText object.  I tries using Chapters as a 
mechanism, and while the addEntry method compiles OK, I get a runtime 
error "Exception in thread "main" java.lang.IllegalArgumentException: 
Element not allowed." when I actually try to run it.

Any suggestions?

Thanks,
Rob




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to