Re: [iText-questions] How to put current section title in page heading

2008-10-31 Thread 1T3XT info
Will Dougherty wrote: > Hi, > > I need to repeat Chapter/Section titles at the top of each page. Create a custom page event (your own subclass). Make sure this class has a member variable capable of holding the title of chapters/sections. Set this variable in the onChapter/onSection event. Add

[iText-questions] How to put current section title in page heading

2008-10-30 Thread Will Dougherty
Hi, I need to repeat Chapter/Section titles at the top of each page. Reading iText in Action section 14.2, I see the PdfPageEvents mechanism. I can't find any way to detect where in the document I am when the OnEndPage event fires. Actually, I can't see any way to get to the original documen