What new methods would you like to have in chapters and sections?
For more sophisticated bookmarks there's also the class
PdfOutline and PdfAction.
With them, bookmarks can be freely created in any order or shape, jumping
not only to some page position but also to a web link or an external
document.
There are examples in itextpdf.sf.net on how to do it.
See also the generic tag page event for a way to know where the Chunk is in
the page.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Isabelle Guimiot" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 9:52
Subject: [iText-questions] Chapters / Sections without titles in the
document


> Hi !
>
> I'm new on the list but I've been using I-text for
> quite a long time. I create great documents with it,
> my client is very happy, but last week he asked me to
> add bookmarks (documents can have more than 50
> pages...) and I noticed it was possible with chapters
> and sections.
> The problem I have is that I DON'T WANT titles added
> INSIDE the document, I just want to have bookmarks
> with titles, pointing directly to some place in the
> document (your "PdfDestination" object). I looked
> inside your code, in the PdfDocument.add(Element)
> method : if you find a "title" paragraph in the
> section, you put both a bookmark AND a title in the
> document. I tried to find out a way to by-pass that
> code, but I couldn't, because none of the instances
> dealing with bookmarks in I-Text has a public
> visibility...
>
> For the moment, I modified I-Text code for myself, but
> it's very dirty and I'd like this solution to be
> temporary ! So, in future versions, could you please
> add a flag to give us the possibility to add either
> bookmarks + titles or only bookmarks ?
>
> Thanks a lot !
>
> Isabelle
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to