[reportlab-users] highlight words by regex in pdf files?

Roberto Alsina ralsina at netmanagers.com.ar
Wed Mar 17 10:27:23 EDT 2010


On Wednesday 17 March 2010 11:12:28 Steve Romanow wrote:

> On 3/17/2010 10:09 AM, Peng Yu wrote:

> > I want to automatically highlight certain words (using regex) in the

> > maintext of a pdf. So that I can later edit these highlights in

> > Acrobat.

> >

> > I'm know the reportlab can do a lot of operations on pdfs? Could the

> > experienced users let me if this can be done in reportlab?

>

> It would seem that it would depend on which front-end you are using, or

> if you are using the core python modules. In preppy, this seems really

> possible, to have a list of words you want with a certain style.

>

> I think Rob Alsima's rst2pdf uses pygment.


I think he wants to take an existing PDF and highlight pieces of it according
to a regex. If that's the case, I don't think reportlab does that.


More information about the reportlab-users mailing list