Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Dynamic Text Links

Status
Not open for further replies.

Meleagant

Programmer
Aug 31, 2001
166
US
I'm new to developing inside Adobe Acrobat 5.0 and I have a question. I work for an imaging shop and we have a lot (20,000+) pieces of paper to scan and create multi-page PDF documents.

My question is, if I have the Table of Contents Page scanned and I have the OCR text behind it, is there any way that I can create dynamic links from that text? This needs to be done programmatically, it's too much to manually create links for a 6 - 10 page table of contents N times over and over for each document.

If I format the OCR text into some type of delimited file is there any way I can link out to the OCR text and read that in as a record set?

Then inside my Do Until rs.eof loop I can created a textbox, fill that box with the data I need, and then set the textbox as a link to another page of the PDF document? Then I would loop and start the process all over again.

Thanks for any help that you can give I really appreciate it!

Thanks

-- Joe --

:)
 
are you trying to create a bookmark and text link that has been ocr's on top of the document or just a bookmark... I have done both, but not programming.. just key strokes.. i can tell you a trick that i stumbled across that might help you tremendously with the program not using the ocr'd text part, but will still require manual work...
 
Yes please tell me what you've done!!! That would be great. Baically what I have to do is -- Have my Document Handlers scan in 20,000+ pages out of a bunch of binders. What has happened is that are these binders that have 75 tabbed sections. We scanned in each tabbed section an a new PDF file. They are named tab01.pdf, tab02.pdf . . . tab75.pdf. And of course TOC.pdf (Table of Contents for the whole binder.) which I OCRed and took the txt file and was able to import that to a database. Then was hoping to loop through and create bookmarks for each row in the DB.

The code behind each bookmark would be something like:

app.OpenDoc(sPath + "tab" + i + ".pdf")

Where sPath is a var containing the path. And i would be a the number of the bookmark the user clicked on. If the clicked bookmark 23 then tab23.pdf would open.

I hope this makes sense, can you help???



 
Forgive the spelling errors I typed faster than I should have Thanks -- Joe --

"We scanned in each tabbed section an a new PDF file"
should be
"We scanned in each tabbed section IN a new PDF file"
 
hey... whats doin'... did you ever figure it out... let me know and i will tell you my manual trick... it might help... i use to do development work and had to move over to the support area for a bit and forgot everything... also, how much does something like what you are doing cost? how much would you charge... maybe can send you some business... thanks a lot...

ken

 
We are still doing things manually. Manually creating the bookmarks and then manually setting the Find and Print bookmark pages by going into the properties and setting them to Execute Menu Item, File --> Print --> Set Action. Which is taking us a really really long time. I tried playing with javascript but I could not get it to do what I wanted. After I programmatically set the Find and Print bookmarks as well as pulling the bookmark text from a DB, Acrobat kept on asking me to save the document every time a different bookmark was clicked. Right now we are charging 0.15 per page to scan, and OCR. If we can get this bookmark problem fixed we should be able to lower that price b/c it will remove so much manual labor. Below is my contact info, feel free at any time to give a call or send an e-mail. If you can tell me what you've done to make this go faster that would be great.

Thanks, talk to you soon,

Joseph Giunta
 
Joseph,

Can you send me or provide a link to one of these PDFs? I've managed to do a lot of "automatic hyperlinking" through PostScript, Word, etc. I'd like to take a shot at OCRd text, too.



Thomas D. Greer
 
Just came to look at my thread today and noticed that my contact info was missing, I could have sworne it was there when I posted my last reply,...odd.

If you need to contact me so we can discuss things off-line, e-mail me at jgiunta@copycorps.com.

tgreer -- I can't give you the docs that we scanned b/c they are confidential between a client's lawyers and opposing council. I can send you a sample multi-page pdf that I put together for our sales department to take on client meetings. Just let me know here or e-mail me.

Thanks

-- Joe --
 
Anything would be fine. I work in the financial world and most of documents are confidential as well.

My email address is anything you want at the tgreer.com domain.

Thomas D. Greer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top