Skip to main content
Participant
March 24, 2020
Question

Making support of 'PDF JavaScript' in WindowsForm based PDF reader

  • March 24, 2020
  • 3 replies
  • 381 views

We have a PDF reader that is developed in WindowsForm, but this PDF reader does not support JavaScript that is under Acroform. It is currently planned to support this type of 'JavaScript PDF' on our Windows Forms view, but we cannot find any exact ideas or approaches on how to support PDF's JavaScript.
So if anyone can give an idea on this, we would be very helpful.

 

Thanks in advance.

This topic has been closed for replies.

3 replies

Thom Parker
Community Expert
Community Expert
March 24, 2020

Is this your application? Are you developing it? 

If so then you need to learn a bit about JavaScript. There are two parts, the Core JS engine, and the DOM. 

Watch the "Basic Concept" videos here:

https://www.pdfscripting.com/public/Free_Videos.cfm

 

The Core JS engine is free and maintained by Mozilla. You can download it from their site. The DOM (document object model) is what integrates JS in to an application. The Acrobat DOM was created by Adobe, and it's proprietary.  They don't give out development level details. You'll have to work those out for yourself.  Mozilla provides all kinds of material on how to integrate JS into your own application. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Legend
March 24, 2020

Who developed the PDF viewer you are using? Not your app, but the PDF viewing components?

ls_rbls
Community Expert
Community Expert
March 24, 2020

I believe WindowsForm is  Microsoft .Net visual development platform in C+ 

ls_rbls
Community Expert
Community Expert
March 24, 2020

Have you consulted any of the guides found here:

 

https://www.adobe.com/devnet/acrobat/documentation.html