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