Hello...I'm trying to use iTextSharp to add javascript to a pdf.
My idea was to use PdfCopy to copy the original to a new one copying page by
page.
It worked fine until I noticed I forgot the bookmarks.
So now I'm using mostly your code to create the pdf and add then bookmarks
and javascript.
By the way...I must have done something wrong....because the new pdf shows
the bookmarks...but when I click on one of them....it doesn't go anywhere.
Maybe it doesn't find the destination in the new pdf?

Thanks
Federico



Mark Flagg wrote:
> 
> Hi,
> 
>  
> 
> I have created a document from three separate documents. These are Title,
> Table Of Contents (TOC) and Body. The document is generated correctly but
> when opened in my reader (PDF-Xchange Viewer) there are no bookmarks and
> there is a warning that there are errors in the XREF table. Adobe Acrobat
> 8
> also shows there are no bookmarks. If I look at the individual 3 documents
> they have bookmarks except for my TOC document.
> 
>  
> 
> I am using PDFCopy for doing the merging and I am using iTextSharp
> v4.1.0.0.
> 
>  
> 
> My question is how do I get the final document to show bookmarks
> correctly?
> I have looked through all the previous posts on this topic and I cannot
> find
> a clear answer.
> 
>  
> 
> Many thanks
> 
>  
> 
> Mark.
> 
>  
> 
> 
> No virus found in this outgoing message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.8/1414 - Release Date:
> 2008-05-04
> 12:31 PM
>  
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
> 

-- 
View this message in context: 
http://www.nabble.com/Bookmarks-in-merged-PDF-document-tp17059129p17860618.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to