Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
prakashguru@adobeforums.com #1
Is that possible to write acrobat plugins in javascript?
Dear guys,
I am very new to acrobat development. I want to develop a plugin for both acrobat and reader. It shows some dialog box on a toolbar button click and do some simple operations.
I read the acrobat sdk it have some samples to develop the plugins in the C++. I have a little knowledge in C++.
In the sdk I found some documents for javascript API (SOAP to call webervice,...). How can we use javascript plugin development?
Is that possible to develop plugins natively in javascript?
What is the role of the javascript in plugin development?
-
prakash
prakashguru@adobeforums.com Guest
-
Looking for a installshield template for acrobat plugins
The only thing I found is this: <http://support.adobe.com/devsup/devsup.nsf/docs/51721.htm> Has anybody implemented a installshield setup for... -
Javascript working on a Mac but not in IE6 ? - document.write
Due to a limitation within the CMS we are using (soon to be upgraded) we can only link to one external page - unforutunately it doesn't appear to be... -
Creating plugins -Acrobat SDK
Hello all, Please guide me in steps for creating plugins for Acrobat. I read from the manual that plugins should have the file extension .api... -
Need Acrobat 6 javascript help - Mac OSX
I need to write a script that will select the lesser of 3 numbers in 3 fields. It goes something like this. Field A is "Outstanding Balance" (such... -
write permissions for Acrobat 6.0 files
Hi, I've found a couple of people other than myself with the same problem regarding Adobe's Acrobat 6.0. When this program is used to create a pdf... -
malkyt8@adobeforums.com #2
Re: Is that possible to write acrobat plugins in javascript?
Hi,
Short answer - "yes, but not in the same way."
Long answer -
"It is not possible to create a plug-in that is build entirely of JavaScript. although it is possible to place a JavaScript in a location that will be loaded by Acrobat at startup and will act exactly like a plug-in."
To split your problem into separate questions to give you an idea of what you can achieve.
Q - Can I create a menuitem from JavaScript?
A - Yes
Q - Can I create dialogs when the item is clicked?
A - Technically yes, although they are limited, Relies on Adobe's Dialog Manager that is no longer supported by Adobe
Q - Can I make calls to webservices?
A - Yes
Q - Can I make JavaScript calls from a Acrobat/Reader plug-in?
A - Yes (see AFExecuteThisScript)
If you have a lot of or complicate dialog requirements I would advise that you use the c/c++ plugin.
If you can provide more information about exactly what you want to do with your script I can provide more guidance on how to achieve that.
HTH
Malky
malkyt8@adobeforums.com Guest
-
prakashguru@adobeforums.com #3
Re: Is that possible to write acrobat plugins in javascript?
Thank you very much for your detailed reply Malky.
You are exactly a mind reader Malky. Exactly I have the above questions in my mind.
We have some complex ui requirement such as showing grid and popup menus, etc. We are planning to give first preference to javascript. Because it is easier and quicker to develop then compared to C/C++. We may also reduce our ui requirements for javascript if it have only limited ui controls. You said that "Adobe's dialog manager" was not supported, except that is there any other technologies for acrobat javascript ui development? if any can you give me some pointers on that?
Also we want the plugin to communicate with soap web services. We can acheive by using some c++ library(is that possible are limitied only to acrobat sdk)?
If we write a plugin using c++/javascript is that work on both acrobat and reader? ( I menat that, Is the same codebase can be used for both acrobat and reader. we can write code based on the acrobat versions).
Thanks & Regards
Prakash
prakashguru@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: Is that possible to write acrobat plugins in javascript?
The jsADM functionality of Acrobat JavaScript is fully supported - no concerns there. Check the documentation and samples to understand if it is rich enough for your needs.
SOAP via JavaScript is FULLY supported - no problem there. Of course, that only works in Acrobat not in Reader.
While your plugin doesn't need to be re-written for Reader, you WILL need a license from Adobe in order to develop for Reader. Do that before you get too far along in case your license isn't granted...
Leonard_Rosenthol@adobeforums.com Guest
-
prakashguru@adobeforums.com #5
Re: Is that possible to write acrobat plugins in javascript?
thanks for your reply Leonard Rosenthol.
I got good idea about the things now.
Just one more question, Is that possible to customize the Left side panel which shows the bookmarks, thumbnails by adding our own items in addition to that?
Thanks & Regards
Prakash
prakashguru@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #6
Re: Is that possible to write acrobat plugins in javascript?
There are no supported APIs for adding your own panel.
Leonard_Rosenthol@adobeforums.com Guest
-
prakashguru@adobeforums.com #7
Re: Is that possible to write acrobat plugins in javascript?
thank you very much for your help Leonard Rosenthol.
prakashguru@adobeforums.com Guest



Reply With Quote

