I'm just trying to get some clarity on what each of these features
is, both what itext and pdf viwers support and what you are trying to do.




________________________________
> Date: Thu, 20 May 2010 03:35:06 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: [iText-questions] text searching + opening a document directly 
> to the search result location
>
>
>
> Ok, we've settled the part with the document opening (PdfDestination -> 
> LocalDestination -> SetOpenAction).

You are asking below about search, you mean you want the action on oppen to be 
a search
or you want it to vary depending on a parameter passed when the viewer was 
invoked? Do you
actually want a table of contents or to do a search? 

>
> 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.

Is this your own app or a web app running in a browser that opens up whatever 
pdf viewr or plugin the user may have?
Is your question " how do I use itext to search a pdf document?" This has come 
up before in the
context of "how do I extract text along with location on screen" and often the 
response is "it is too complicated
since it involves a transofmration matrix" but I did manage to get a simple 
utility to output
lines of form "x y text" for all text in a document. If youy want the viewer to 
do the search, isn't this
a viewer question ( " how do I open a viewer to scroll to the first occurence 
of foo?"). 


>
> 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.

Well, typing "apropos pdf" I did find on my debian install there is something 
called pdf2html, not sure how well
it works but it may be an option. It depends on what you mean by complex- 
intricate artwork of somekind
of copmlex interaction logic? It isn't hard to find lots of big customers who 
say " gee pdf is a standard and looks good
and the files are huge so there must be loads of information in there, you'd be 
crazy not to use this." 

>
> 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
> Subject: Re: [iText-questions] text searching + opening a document
> directly to the search result location
> To: Post all your questions about iText here
>
> Message-ID:
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Tue, May 18, 2010 at 6:50 AM, Mike Marchywka 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> 
> http://www.itworld.com/development/107909/tools-pdf-internal-links> might
> bear on your target.
> -------------- next part
> --------------
> An HTML attachment was scrubbed...
>
>
>
>
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
------------------------------------------------------------------------------

_______________________________________________
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/

Reply via email to