Simon Brunning wrote:

I do have a question, though. I'm using chapters and sections to
organise my document, and it's working really well. But I'd like the
text of the chapter and section headers that appear in the dicument to
be different to the bookmark labels.

In what way different? How would you want to control the difference between
the title in the texts and the title in the bookmarks (= outlines). Is there an algorythm
to convert the actual title into the bookmark title or do you want to enter the
bookmark title while adding the Section/Chapter?


Is this possible?

Not for the moment. PdfDocument reads the title from the Chapter
and puts it on the PDF as well as in the outlinetree.

How might I go about it?


Maybe PageEvents are a solution.
Ease of use is probably the main reason why you are using Chapters/Sections,
but you could also use GenericTags and build your outlinetree/bookmarks
with PageEvents. It may sound more complicated, but it will give you a lot
of extra flexibility (and it isn't that hard to achieve). Maybe it would be good
to give an example so that the mailinglist subscriber can suggest a solution
that fits the problem.
br,
Bruno



------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to