[poppler] libpdfjs

jose.aliste at gmail.com jose.aliste at gmail.com
Wed Oct 12 13:08:44 PDT 2011


Hi,

On Wed, Oct 12, 2011 at 10:26 AM, Albert Astals Cid <aacid at kde.org> wrote:
> A Dimecres, 12 d'octubre de 2011, Nedim Srndic vàreu escriure:
>> Dear list,
>>
>> Poppler's Catalog class has a getJS() method that returns JavaScript
>> scripts from the PDF document.
>> http://www.google.com/codesearch#F0okAQSJLc0/poppler/Catalog.h&q=javascript%
>> 20package:poppler&type=cs&l=187
>>
>> It currently only scans the Name tree for JavaScript scripts, but they
>> can also be found in many other places in a PDF document. It is not so
>> straightforward to find this in the PDF reference. I had to, though, so
>> I wrote a very compact C++ library called libpdfjs that looks for
>> JavaScript strings in those locations where the PDF reference says they
>> might be found (except for attachments, need to implement that). The
>> library home page is here:
>> https://sourceforge.net/p/libpdfjs/home/Home/
>>
>> Do you (Poppler developers) plan to support something like this in the
>> future? If you do, then maybe the libpdfjs functionality can be moved to
>> Poppler and libpdfjs obsoleted.
>

> As far as I know there is noone working on it. We will gladfully accept your
> patches though.
I have some wip patches in my branch that add this functionality to
poppler. I'll take a look into your lib but as Albert says, if you
feel like providing a patch for poppler, that would be great.

José

>
> Albert
>
>
>>
>> Greetings,
>> Nedim Srndic
>>
>> _______________________________________________
>> poppler mailing list
>> poppler at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/poppler
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>


More information about the poppler mailing list