Page 1 of 1

Form fields and javascript

Posted: Wed May 16, 2018 4:13 pm
by rt1k
Hi Andreas,
I'm considering using the Polybios plugin for a project I'm doing.
Is it possible to interact with the form fields of the pdf document ? (i need to populate fields (text box, combo box,ecc) with values from my hollywood code)
Is it possible to manage, add or execute javascript code inside the pdf ? (this features is less important ATM if i could manage forms field directly from hollywood)
Thanks again for your great work.

Regards,
rt1k

Re: Form fields and javascript

Posted: Fri May 18, 2018 4:28 pm
by airsoftsoftwair
Both is not possible at the moment. The code for forms and Java Script exists in PDFium of course but I have disabled it because otherwise Polybios would have become even bigger and there might be lots of more endian issues to fix, especially in the Java Script VM. So this is not likely to come. The main idea of Polybios was to offer an API for creating PDF documents. The viewer is just a goodie :)