[poppler] SWIG wrapper for libpoppler

Tim Brody tdb2 at ecs.soton.ac.uk
Mon Nov 1 07:25:07 PDT 2010


Hi All,

Above is a rough attempt at a SWIG wrapper with Perl bits for the core
poppler classes (based on 0.12). SWIG is a tool that produces bindings
for most languages from C/C++, based on a language-neutral interface
description + language-specific typemaps.

My use case (under mod_perl):
1) Search a PDF for specific terms or sequence of terms
2) Where a term or sequence of terms matches add a link (\Annot\Link)
over the term

I couldn't find a way to add a AnnotLink without resorting to manual
retrieval and manipulation of the object in the catalog, which doesn't
appear to be wrapped in glib.

Hopefully this will help.

Other script bindings I've found for poppler:

Mention of a Python SWIG wrapper?:

Python Glib wrapper:

Perl Poppler wrapper on CPAN:

Ruby Glib Poppler wrapper:

All the best,

More information about the poppler mailing list