[poppler] Q: how to extract form element trigger events

Sune Stolborg Vuorela sune at vuorela.dk
Wed Aug 9 07:53:01 UTC 2023


On Tuesday, August 8, 2023 6:03:10 PM CEST Albrecht Dreß wrote:
> I use libpoppler-glib8 version 22.12.0-2+b1 on Debian Bookworm to read the
> structure of PDF documents and to extract some components from them. 
> However, I could not find a way to actually access trigger events e.g. from
> forms.

Poppler does not have javascript support by itself. I don't know if everything 
is properly exposed in the glib frontend to make things work, but at least on 
the Qt side, it is the responsibility of the application to bring a javascript 
engine and do the relevant actions. Okular has support for this.

I don't know if Evince has support for this.

/Sune
-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank




More information about the poppler mailing list