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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pdf template

Status
Not open for further replies.

harmmeijer

Programmer
Mar 1, 2001
869
CN
I need to make a pdf template where people can fill out some text (no problem) and put in a picture (a problem).
Tried to make a button and added java code to the event mouseup
event.target.buttonimportIcon()

This will only put another pdf in the button NOT an image file (*.jpg).

I do not know anything about java and acrobat so I am not familiar with the functions, events and properties of pdf objects.
Can someone give me advice on how to get the image file on the button (or anywhere in the document).
I need this image allso according to a certain scale, if the image is 600 by 400 the image will be resized to 300 by 200 if the image is 600 by 800 the image should be resized to 150 by 200 (maximum size of the image on the pdf document is 300 by 200).
 
I just looked on the Adobe site and failed to find any "Java manual" -
as a ingenue too, my view of "Acrobat Java" and "Java" is that it is different in the sense that Acrobat has specific to satisfy needs.
Compare this with Pagemaker script which is very truncated and specific (compared with VB which it is touted as).
I failed to spot the old Pagemaker scripting manual too but I got them by surfing to (and from) unofficial sites like PageMker (sic)

Any ideas on a Java manual? I feel I have just gotta RTFM!!!
 
There is a differnce between "Java" language and "Java Script", used by Acrobat. I think there is Java Script help in Acrobat 5.
 
Yea I found a Acrosript file (and more) and it is in in the help menu (call me dumb) but the But I found a JAvascript spec both where superb but don't tell it all - Adobe want you to buy the SDK.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top