PDF Fields

Jerrie
02-10-2004, 02:25 PM
Is it possible to edit text fields in pdf files and make modifications to them in VB? :huh:

VBJoe
02-10-2004, 02:32 PM
Is it possible to edit text fields in pdf files and make modifications to them in VB? :huh:Doing a quick search on Google found this site (I'm sure there are many more out there):

http://www.pdflib.com/

Jerrie
02-10-2004, 02:34 PM
But thats a service; i was thinking through code or something, that i could change fields.....without having to purchase other products or services....

Thank you

lebb
02-10-2004, 02:41 PM
You certainly can't do it easily. You can look at the PDF spec on www.wotsit.org (http://www.wotsit.org). Be sure to check the license restrictions on Adobe's site too.

Jerrie
02-10-2004, 02:46 PM
I did look at the spec, however it doesn't tell me the functions i can use to access text fields?
is this even possible?

tried messing around....would this work?

Dim acro As Acrobat.CAcroPDDoc
Dim textf As Acrobat.CAcroPDTextSelect
acro.Open ("C:\fake.pdf")
acro.CreateTextSelect 1, textf
Debug.Print textf.GetText; 0

lebb
02-10-2004, 02:47 PM
I thought you were talking about doing it without a third-party control?

VBJoe
02-10-2004, 02:54 PM
But thats a service; i was thinking through code or something, that i could change fields.....without having to purchase other products or services....

Thank youYou need to do decide which is more important - time or money. If you can spend a couple hundred bucks to buy a third party tool that would take you 400 hours to write, which seems more worthwhile?

Jerrie
02-10-2004, 03:04 PM
dont you have to use the acrobat object to access the fields anyway? if that is a solution though..i was just messing around. i already have the full suite installed; have used the acrobat object to export before so i thought i could use that to edit text fields?

VBJoe
02-10-2004, 03:08 PM
dont you have to use the acrobat object to access the fields anyway? if that is a solution though..i was just messing around. i already have the full suite installed; have used the acrobat object to export before so i thought i could use that to edit text fields?Technically, using the Acrobat object to manipulate the PDF IS using a 3rd party control. The PDF spec that lebb posted allows you to manipulate the PDF file directly. But, it is a rather large and complex specification (one I won't be tackling any time soon :) ).

Jerrie
02-11-2004, 06:45 AM
so could anyone guide in the right direction to use the acrobat object then? i'm sure there must be a simpler way outta this even though the pdf indexes fields by coordinates....

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum