Thanks a lot, I will try it out and come back once I have component that
can read the whole javascript. Maybe the code can be put somewhere in the
API and be of used to someone else :)

On Wed, Jan 20, 2016, 15:35 Tilman Hausherr <thaush...@t-online.de> wrote:

> Am 20.01.2016 um 05:58 schrieb Tilman Hausherr:
> >>
> >
> > It doesn't work that way because there are direct and indirect objects
> > in PDF. One can list the indirect objects only (you did that
> > somewhere). The indirect objects are the ones that start like this "42
> > 0 obj". These indirect objects can have several dictionary levels
> > nested. And then, these indirect objects can either be seen in the
> > PDF, or be "hidden" in an compressed object stream.
>
> It suddenly ocurred to me that it is of course possible to get all
> COSStrings with the API. I've put some code at
>
> https://stackoverflow.com/questions/34840299/finding-javascript-code-in-pdf-using-apache-pdfbox/34899156#34899156
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to