473,378 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Auto searching a PDF

Greetings,

Hopefully this posting is clear to both newsgroups.

I have been looking for a way to open a PDF file and automatically
locate and go to a certain phrase within the file. The phrase should
only appear once within the file, if not, the first occurrance is all
that is needed.

The file is needed to be opened from a website, into a new window. As
it is opened, it needs to be sent the key phrase that it is looking
for. I have no trouble choosing what phrase on the html side or
opening the pdf file on its own. Note that the opening and finding of
phrases would be done with Javascript on the html side.

Essentially what I am looking for is for the user to be able to click a
link on the website. The site would open up the new pdf window
containing the file and is automatically at the spot where the first
phrase appears in the pdf.

However, I do not wish to attach any Javascript to the pdf file itself.
The file may be changing over time by other users who may not have the
expertise to deal with the javascript adding. At the moment, the
original file is created in word and then transfered to PDF. So the
PDF file name stays the same, as well as its location which would be in
the same directory as the html file that links to it. But the contents
of the PDF may change over time so I cannot add a Javascript to the pdf
file.

Note that it may be possible if neccessary to add Javascript to the
PDF. I may be able to get the users to edit the file in PDF mode but
that is not a given.

I do not want a pop up window such as in the find option for the user
to press before coming to the right location unless any other possible
solution is not available.

Version used: Adobe Acrobat Professional Vers 7

Hopefully that is not too much information. I have been struggling
with how to do this for a while now. Any help would be great.

Thanks

Jun 13 '06 #1
1 1181
are you trying to do all this programmatically? then try IFilter COM
interface, there's an adobe plugin for this functionality

hth
Nikos
---
xplorer2 website: http://zabkat.com

si***********@hotmail.com wrote:
Greetings,

Hopefully this posting is clear to both newsgroups.

I have been looking for a way to open a PDF file and automatically
locate and go to a certain phrase within the file. The phrase should
only appear once within the file, if not, the first occurrance is all
that is needed.

The file is needed to be opened from a website, into a new window. As
it is opened, it needs to be sent the key phrase that it is looking
for. I have no trouble choosing what phrase on the html side or
opening the pdf file on its own. Note that the opening and finding of
phrases would be done with Javascript on the html side.

Essentially what I am looking for is for the user to be able to click a
link on the website. The site would open up the new pdf window
containing the file and is automatically at the spot where the first
phrase appears in the pdf.

However, I do not wish to attach any Javascript to the pdf file itself.
The file may be changing over time by other users who may not have the
expertise to deal with the javascript adding. At the moment, the
original file is created in word and then transfered to PDF. So the
PDF file name stays the same, as well as its location which would be in
the same directory as the html file that links to it. But the contents
of the PDF may change over time so I cannot add a Javascript to the pdf
file.

Note that it may be possible if neccessary to add Javascript to the
PDF. I may be able to get the users to edit the file in PDF mode but
that is not a given.

I do not want a pop up window such as in the find option for the user
to press before coming to the right location unless any other possible
solution is not available.

Version used: Adobe Acrobat Professional Vers 7

Hopefully that is not too much information. I have been struggling
with how to do this for a while now. Any help would be great.

Thanks


Jun 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Manlio Perillo | last post by:
Hi. This post follows "does python have useless destructors". I'm not an expert, so I hope what I will write is meaningfull and clear. Actually in Python there is no possibility to write code...
1
by: Glabbeek | last post by:
I'm changing the layout of my site. Instead of using tables, I will use DIVs. It's working fine, except for 1 thing: In IE6 some DIVs are not the correct width. Mozilla and Opera are showing the...
0
by: Jeje | last post by:
Hi everybody, I have an issue using the scrollbar under Internet explorer 6, WinXP and transitional.dtd. Here's my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
4
by: Marcin Kaliciński | last post by:
std::vector<int> v; auto iter = v.begin(); Will this deduce iter to be std::vector<int>::iterator or const_iterator? I have been searching for the answer in...
20
by: Vijay Kumar R. Zanvar | last post by:
Hello, Unlike register, auto keyword can not be used to declare formal parameter(s). Is there any specific reason for this? Kind regards, Vijay Kumar R. Zanvar
6
by: Alpha | last post by:
I retrieve a table with only 2 columns. One is a auto-generated primary key column and the 2nd is a string. When I add a new row to the dataset to be updated back to the database. What should I...
5
by: Samuel | last post by:
Hi, I am running into a problem of mixing UICulture = auto and allowing users to select culture using a dropdown list. I am detecting a querystring, "setlang", and when found, setting the...
1
by: Jake Barnes | last post by:
I searched comp.lang.javascript on Google Groups but I didn't find an answer when I searched for "viewport" or "viewport div" or any combination of words using "viewport" so now I think I'm...
1
by: piscesabhi | last post by:
Is there a way to auto resize the website, when using different browsers? I was using this javascript earlier but i don't want to specify dimensions........i would like it to automatically adjust...
2
by: Ronald | last post by:
I hope somebody can help. I can't get into the specifics of my project, but I'll try to create a simple example: tblVehicle * VIN (text box) * Make (text box) * Model (text box) frmRepair
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.