The easiest way to do this is to create the bookmarks in XML and use SimpleBookmark.importFromXML().
Paulo ----- Original Message ----- From: "Hari Krishna Chokka" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Sent: Monday, December 11, 2006 2:19 PM Subject: Re: [iText-questions] How to navigate to a particular page inpdffromjava application? > Hi, > I want to create the links of the existing document. > Description: > Suppose if we have a PDF with 10 pages, I need to show > them as 10 nodes of a tree (where root node is the name of the document). > After creation of nodes, if we click on one particular > node say page 9..we need to navigate to that particular page (like go to > page control of PDF). > > Please find attached screeenshot for reference. > Please let me know in case of any issues. > > > -- > Regards, > Hari Krishna Chokka. > > ----- Original Message ----- > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "Post all your questions about iText here" > <itext-questions@lists.sourceforge.net> > Sent: Monday, December 11, 2006 6:30 PM > Subject: Re: [iText-questions] How to navigate to a particular page in > pdffromjava application? > > >> Do you want to read the link positions in an existing PDF or do you want >> to >> create links in a new PDF or do you want to create new links in an >> existing >> PDF. >> >> Paulo >> >> ----- Original Message ----- >> From: "Hari Krishna Chokka" <[EMAIL PROTECTED]> >> To: <itext-questions@lists.sourceforge.net> >> Sent: Monday, December 11, 2006 10:16 AM >> Subject: [iText-questions] How to navigate to a particular page in pdf >> fromjava application? >> >> >> >> Hi Madam/Sir, >> This is Hari Krishna Chokka working for SoftSol India Pvt Ltd, >> Hyderabad. >> As I need to read a pdf and provide the links (the number of pages of >> pdf) so that when we click on a page (link) we ned to navigate to that >> particular page in pdf. >> How can I do that using iText API? >> I would like someone to help mw in this regard. >> Please let me know in case of any issues. >> >> -- >> Thanks and Regards, >> Hari Krishna Chokka, >> SoftSol India Limited, >> Software Engineer, >> Software units layout, >> Madhapur, Hi-Tech city, >> Hyderabad - 500081. >> >> >> -------------------------------------------------------------------------------- >> >> >>> ------------------------------------------------------------------------- >>> 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 >>> iText-questions@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/itext-questions >>> Buy the iText book: http://itext.ugent.be/itext-in-action/ >>> >> >> >> ------------------------------------------------------------------------- >> 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 >> iText-questions@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> Buy the iText book: http://itext.ugent.be/itext-in-action/ > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > 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 > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- 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 iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/