[poppler] SWIG wrapper for poppler

Albert Astals Cid aacid at kde.org
Thu Nov 4 11:55:25 PDT 2010


A Dijous, 4 de novembre de 2010, Tim Brody va escriure:
> On Wed, 2010-11-03 at 18:52 +0000, Albert Astals Cid wrote:
> > A Dimecres, 3 de novembre de 2010, Tim Brody va escriure:
> > > I've reworked my SWIG wrapper into a patch (attached).
> > > 
> > > I'm no expert on automake and pretty new to SWIG - I've copy-n-pasted
> > > most of the SWIG stuff from Xapian.
> > 
> > I'm not sure if you are aiming for inclusion in mainline poppler or just
> > want to share your patch.
> > 
> > If you aim for inclusion in poppler, i'm sorry but we don't want people
> > using the internal core structures so we can't accept your patch. You
> > should be using any of the three public frontends qt/glib/cpp
> 
> The 0.12 front-ends don't do what I require:
> 1) Search PDF for patterns of words (or regexp a single word)
> 2) Add link annotations
> (And in 0.15 retrieving all text with positional data is very
> inefficient - re-display() for every word?)

Then you have two options:
 * We do not commit your patch and you apply it locally for your uses.
 * You send a patch to make the frontends do what you need.

Note that 0.12 is old and you shouldn't be using it.

> Basically I'm sruck with the same concern here:
> http://lists.freedesktop.org/archives/poppler/2006-January/001522.html

Care to elaborate?

Albert

> 
> I could do the above in 0.12 if I had direct access to the guts of the
> PDF document.
> 
> All the best,
> Tim.
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list