[poppler] Remove form and any other scripting from PDF

Leonard Rosenthol lrosenth at adobe.com
Thu Nov 29 03:50:10 PST 2012


Poppler doesn't have the level of APIs that you need for this type of
operation as it is focused on rendering.

You need a PDF processing/editing library such as PoDoFo, Qpdf, etc.

Leonard


On 11/29/12 6:47 AM, "Daniele Depetrini" <daniele.depetrini at cp.net> wrote:

>Hello Leonard,
>
>Fields are ok: I just need to remove any script/action a form may
>perform so I was thinking removing the form at all may be easier but I
>still don't have a clear understanding about the best way to implement it.
>
>Cheers,
>
>Daniele.
>
>On 11/29/2012 12:31 PM, Leonard Rosenthol wrote:
>> Why you want/need to remove form fields as part of sanitization?
>> Scripting, sure, but why fields?
>>
>> Leonard
>>
>> On 11/29/12 3:40 AM, "Daniele Depetrini" <daniele.depetrini at cp.net>
>>wrote:
>>
>>> Hi All,
>>>
>>> For a project I'm working on I need to "sanitize" PDF files: take any
>>> pdf and remove any eventually present form/scripting from it.
>>>
>>> Any idea what's the best way to implement this?
>>>
>>> Cheers,
>>>
>>> Daniele.
>>> _______________________________________________
>>> poppler mailing list
>>> poppler at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>



More information about the poppler mailing list