Hi,
How is it possible to read the content of a pdf form with fivewin .
Is there a dll or activex ?
Thanks for your help.
form pdf
-
- Posts: 69
- Joined: Wed Nov 19, 2014 1:04 pm
- Contact:
Re: form pdf
Adobe Acrobat Pro version is require to use the sample.
Code: Select all
function main()
AcroApp:= CreateObject("AcroExch.App")
theForm:= CreateObject("AcroExch.PDDoc")
theForm:Open("c:\reports\test.pdf")
jso:= theForm:GetJSObject
text1 = jso:getField("fld1"):Value
text2 = jso:getField("fld2"):Value
?text1
?text2
return nil
Dagia Yunus.
Rajkot, India
FWH 17.04
Rajkot, India
FWH 17.04
Re: form pdf
Thanks for this answer .
Do you have a help file giving more info about this communication .
Is it also possible to write info in a field with fivewin and save this info in the PDF ?
Thanks .
Do you have a help file giving more info about this communication .
Is it also possible to write info in a field with fivewin and save this info in the PDF ?
Thanks .
-
- Posts: 69
- Joined: Wed Nov 19, 2014 1:04 pm
- Contact:
Re: form pdf
Code: Select all
function main()
AcroApp:= CreateObject("AcroExch.App")
theForm:= CreateObject("AcroExch.PDDoc")
theForm:Open("c:\report\test.pdf")
jso:= theForm:GetJSObject
********** To Read Pdf form Field ***********************
text1 = jso:getField("fld1"):Value
text2 = jso:getField("fld2"):Value
********** To save pdf form field ************************
jso:getField("fld1"):Value="Value Changed"
TheForm:save(,"c:\report\test.pdf")
return nil
Dagia Yunus.
Rajkot, India
FWH 17.04
Rajkot, India
FWH 17.04
Re: form pdf
Thanks for this answer,
Do you have a help or pdf file with more info about this ?
Thanks
Do you have a help or pdf file with more info about this ?
Thanks
-
- Posts: 69
- Joined: Wed Nov 19, 2014 1:04 pm
- Contact:
Re: form pdf
Dagia Yunus.
Rajkot, India
FWH 17.04
Rajkot, India
FWH 17.04
Re: form pdf
Jack, you can search this forum for pdftk if you need to fill pdf forms
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC