I understand that the <chapter> tag returns a chapter/page number but its the first thing that appears on the page, not where I need it.
Is there a way using a HTML tag to get the page number from any arbitary point in the layout? Similar to a scripting call <% PDFWriter.getInstance().getPageNumber() %> of something like that? If there isin't, whats the best way to create a custom tag and/or examples to point me in the right direction? Thanks in advance. Regards Greg --- First Last <[EMAIL PROTECTED]> wrote: > Hi, > > I use iText to generate a PDF from a generated XHTML > file. In the XHTML I use the <chapter> tag to > create > a new page. > > Because the XHTML is generated using conditional > logic > (XSL), I can't hard code the page number or > increment > a variable. Is there a tag/markup similar to > <chapter> > for getting/displaying the current page number of > the > generated PDF? > > Regards > > Greg > > ________________________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
