[poppler] SWIG wrapper for libpoppler
Tim Brody
tdb2 at ecs.soton.ac.uk
Mon Nov 1 07:25:07 PDT 2010
http://users.ecs.soton.ac.uk/tdb2/PopplerHeavy-0.12.4.tar.gz
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?:
http://lists.freedesktop.org/archives/poppler/2010-June.txt
Python Glib wrapper:
https://launchpad.net/poppler-python
Perl Poppler wrapper on CPAN:
http://search.cpan.org/~cornelius/Poppler-0.03/
Ruby Glib Poppler wrapper:
http://ruby-gnome2.sourceforge.jp/
All the best,
Tim.
More information about the poppler
mailing list