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" <[email protected]> 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" <[email protected]> >>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 >>> [email protected] >>> http://lists.freedesktop.org/mailman/listinfo/poppler > _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
