On Tue, 17 Jul 2007 18:23:56 +0200 Post all your questions about iText here
wroteAnimesh Mondal wrote:> 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.Please don\'t mix stuff that shouldn\'t
be mixed,like PdfCopy with PageEvents, that\'s never going to work.Create the
outline as described in Chapter 13 of the book,then add these \'book
marks\' with setOutline.Don\'t expect to have bookmarks that work on a
paragraphlevel; read the book and you\'ll understand why not.I have the
impression you are starting from the wrongassumptions concerning
PDF.br,Bruno-------------------------------------------------------------------------This
SF.net email is sponsored by DB2 ExpressDownload DB2 Express C - the FREE
version of DB2 express and takecontrol of your XML. No limits. Just data. Click
to get it
now.http://sourceforge.net/powerbar/db2/_______________________________________________iText-questions
mailing [EMAIL
PROTECTED]://lists.sourceforge.net/lists/listinfo/itext-questionsBuy the iText
book: http://itext.ugent.be/itext-in-action/Hi,Thanks for your replay. I accept
that that I\'m at fault the way was solving the problem. But my requirement is
that I\'ve some existing pdfs which I\'ve to concatenate and at the same time
have to put bookmarks at each constituents pdf\'s contents\' sta
rting portion in the resulting pdf. Whether this can be done at time of
concatenation or i\'ve to put outlines in each constituent pdf or i make a
single pdf from scratch rather making multiple pdf. But at current I\'m given
the multiple pdfs with which i can manipulate only.Your suggestion is welcomed
in this regard,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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/