[poppler] Remove form and any other scripting from PDF

Albert Astals Cid aacid at kde.org
Thu Nov 29 14:49:07 PST 2012


El Dijous, 29 de novembre de 2012, a les 03:50:10, Leonard Rosenthol va 
escriure:
> Poppler doesn't have the level of APIs that you need for this type of
> operation as it is focused on rendering.

Sure, that's why poppler can merge and split pdf files, because it's focused 
on rendering.

Cheers,
  Albert

> 
> 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
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list