pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFBox for JavaScript analysis
Date Wed, 20 Jan 2016 13:35:36 GMT
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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message