Create HTML documentation for your Adobe Acrobat Forms JavaScripts
img : https://www.pexels.com/photo/yellow-tassel-159581/

Create HTML documentation for your Adobe Acrobat Forms JavaScripts

Web developers can easily produce on the fly #HTML #documentation. ESDocs, JSDoc, YUIDoc, documentationjs…and many others can read your js code and thanks to an appropriate #syntax output a nice HTML documentation.

src: https://github.com/braintree/jsdoc-template

While I am about to work on a new Adobe Acrobat Script for dynamic management of #PDF #forms, I wonder if I could create such a documentation with one of those tools in that end. And thing is, yes you can!

Aucun texte alternatif pour cette image

I first tried ESDoc and my sample code generated the documentation as expected. But then while I copy-pasted the code inside Acrobat, I got an interpretation error. Then I moved to JSDoc and…tadaaa it works.

Aucun texte alternatif pour cette image

This time, copy-pasting to the acrobat form item such as a button doesn't throw any interpretation error:

Aucun texte alternatif pour cette image

And then testing the item works as expected (i.e. throwing "API loaded" to the console):

Aucun texte alternatif pour cette image

A nice opportunity to code for Adobe Acrobat while getting a nicely structured documentation that you can share to colleagues or keep this for future reuse. Do you need advanced consulting on your PDF Forms ? Feel free to reach us at agileStreams.io!

要查看或添加评论,请登录

社区洞察

其他会员也浏览了