Should not the writer.setOutlines(master); call add bookmarks to the document?
I put it just before document.close(); at the end of function.
Thanks,
Giora
>>> [EMAIL PROTECTED] 12/12/2006 17:56 >>>
Giora Vinokurov wrote:
> Hi,
>
> I am new the ITEXT and I am using ITEXT version 1.4.7. to
> concatenate a few pdfs and to add bookmarks to the final concatenated
> pdf. I had 4 input documents one page each to concatenate. None of them
> has any bookmark. I took the code from tutorial and added some code
> www.mail-archive.com/[email protected]/msg20857.html
As you know, I'm off to JavaPolis again today (the whole week actually),
so I can only give you a quick answer.
A first glance at your code tells me you are creating a HashMap with
outlines and a PDF document with PdfCopy. These are two separate parts
in your code. I don't see where you tell PdfCopy: hey, I created these
bookmarks for you, would you please add them to the document.
br,
Bruno
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
***********************************************************************************
IMPORTANT NOTICE
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to
which they are addressed. Any views expressed in this message are those of the
individual sender, except where the
message expressly states otherwise. If you have received this email in error
please let us know by reply email or phone
and please delete all copies from your computer system.
Norwich Union Life Australia Limited (ABN 34 006 783 295) and Navigator
Australia Limited (ABN 45 006 302 987) are wholly owned subsidiaries of Aviva
Australia Holdings Limited (ABN 32 006 783 286).
Neither Aviva Australia Holdings Limited nor any of its related corporate
bodies accept liability for any virus damage that may be caused by this message
to the extent permitted by law. It is your responsibility to scan this e-mail
and any attachments for viruses.
For the purposes of contacting us, you can do so via our websites,
avivagroup.com.au or navigator.com.au. Alternatively
you can write to us at PO Box 2567W, Melbourne, Victoria 3001.
***********************************************************************************
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/