Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Fw: Bookmark

Animesh Mondal

2007-07-16


 
----- Original Message -----
From: Animesh Mondal
To: psoares@consiste.pt
Sent: Monday, July 16, 2007 4:52 PM
Subject: Bookmark

Hi,
I'm trying two concatenate some pdf files into a single file and trying to create a bookmark to the section of each(constituent) pdf's starting portion. The source pdfs have no bookmark. I'm using PdfCopy writer object. I used concat_pdf.java from iText tutorial. The files being concatenated. but no bookmark. I've extended PdfPageEventHelper class (as Bookmarks.java given in iText bookmark tutorial), overriden onParagraph(), onEndPage() methods and have called writer.setPageEvent() methods. But all this not helping to create the bookmark. Here also i see that I can't do any document.add() instead using writer.addPage().
 
Please help.
 
Thanks and regards,
Animesh.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.