Ok, we've settled the part with the document opening (PdfDestination-> LocalDestination-> SetOpenAction).
Now what about the search? I need to find a certain text and then get the coordinates for it so that I cat set the PdfDestination. I've adopted this approach because the PDF help-file is provided by the customer. He'll be reluctant too make a separate help file for each property. And the help itself is to complex to simply transcribe it myself to HTML. I'm in the research stage right now, so time is precious. If iText doesn't support these features please tell me so that I may look for another solution elsewhere. -------------------------------------------------------------------------------------------------- Message: 1 Date: Wed, 19 May 2010 09:00:44 -0500 From: Cameron Laird <[email protected]> Subject: Re: [iText-questions] text searching + opening a document directly to the search result location To: Post all your questions about iText here <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" On Tue, May 18, 2010 at 6:50 AM, Mike Marchywka <[email protected]>wrote: > > > ________________________________ > > Date: Tue, 18 May 2010 04:30:48 -0700 > > From: [email protected] > > To: [email protected] > > Subject: [iText-questions] text searching + opening a document directly > to the search result location > > > > > > > > Hello! > > > > In my app. I have a table. On each row there is a help button. The help > is provided in the form of a large PDF file. > > > > If the user presses the help button on a row, the PDF should open > directly where the explanation for that row properties is. > > > > Can I do this with iText (actually iTextSharp)? Can I search the document > (using the property name on that row) and then open the document to the > user, directly at that location? > > This is a bit like the prior question about , " how do I use a servlet to > deal with big pdf files." The first answer > might be, " why are you using PDF in this setting?" Rather than having a > help button provoke a search, > wouldn't you be better off doing the search previously or can help point to > arbitrary locations? > In the former case, html with fragments may work or just having separate > pages, in the latter case a DB > may be more appropriate although I guess you could ask about PDF indexing > or TOC capabilities. > Leonard, you care to explain how PDF is a good choice here? Thanks. > My interest of course is that I end up having to use some of these > creations that people design... > > .... Victor, it occurs to me that <URL: http://www.itworld.com/development/107909/tools-pdf-internal-links > might bear on your target. -------------- next part -------------- An HTML attachment was scrubbed...
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
