Copy link to clipboard
Copied
When using JavaScript on a webpage it is possible to access the Acrobat Reader Plugin as an ActiveXControl. When doing so there is a list of methods and properties you can call and get/set. There is methods like: postMessage, gotoFirstPage and execCommand. They are all possible to find the name of because they are published through the AcroPDF.dll. The way to access the AcroPDF.dll in JavaScript on a webpage can be done something like following:
...
<script type="text/javascript" language="javascript">
...
var App = new ActiveXObject('AcroPDF.PDF.1');
App.LoadFile('C:\\Inetpub\\wwwroot\\Res.pdf');
...
</script>
...
These methods and properties are not the same as what you can do through JavaScripting inside a PDF-document. What I have been searching for without luck is the documentaion for is that limited number of methods and properties that is accessible in the AcroPDF.dll.
Where do I find the documentation for exactly the public methods and properties in the AcroPDF.dll - the syntax, format and possible values etc. for each method and property?
Copy link to clipboard
Copied
Look at the Acrobat Interapplication Communication Reference.
Copy link to clipboard
Copied
Thank you for your efford. But I have been there.
Unfortunately there is no description of the public methods and properties in AcroPDF.dll in the document http://www.adobe.com/devnet/acrobat/pdfs/iac_api_reference.pdf
So my question is still open
Copy link to clipboard
Copied
Try the Adobe Acobat SDK
There is a lot of documentation in there
Phillip
Copy link to clipboard
Copied
Thank you.
In the OnLine documentation for the Adobe Acrobat SDK you find following page:
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/IAC_API_OLE_Objects.103.167.html
This is a list of all methods and properties public in the AcroPDF ActiveXControl. This is exactly what I was looking for.
Unfortunately the ExecCommand is NOT listed and explaned. It is the method I want a description of, because I want to simulate a click on some of the commands on the toolbar in the document
Copy link to clipboard
Copied
This is the forum for users... you might want to ask in the forum for programmers
Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
or
Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk
Copy link to clipboard
Copied
This document lists all documented methods of the PDF browser control.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now