Skip to content

glib: Add new api poppler_document_has_javascript()

using utils/JSInfo.cc used by 'pdfinfo -js'

We added a new JSInfo::scanJS() variant to
return immediately after finding any javascript
instead of keep scanning till the end of document.

This api is intended to be used by Evince document
properties dialog, to inform the user whether the
opened document has any javascript in it.

Merge request reports