pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: Adding a Redaction annotation (without applying it)
Date Thu, 22 Jun 2017 10:04:13 GMT
Yes, I'll be very happy to get some sample code... Is it related to this
issue? https://issues.apache.org/jira/browse/PDFBOX-3164

Thanks in advance!

On Thu, Jun 22, 2017 at 11:52 AM, Stoll, Matthias <matthias.stoll@dxc.com>
wrote:

> Hi Gilad,
>
> Yes - by "stamping" I mean applying the redactions (i.e. texts, boxes,
> arrows - everything that XFDF allows) onto the PDF and then exporting a new
> one.
> We do this as part of a rendering component for electronic files.
> Therefore we take 2 file:
> 1) the original PDF (unmodified)
> 2) the annotation file as XFDF
> Then we merge them together on the fly and give it to the viewing
> component as a readonly new temporary PDF document.
>
> XFDF is supported by Adobe and other viewers, i.e. Qoppa viewer and the
> Foxit Web Viewer also directly deal with XFDF as separate files. You give
> them both files and they merge it for display on the fly.
> When using PDF.js as a viewer or another component which natively does not
> support XFDF annotations, you might go the same way as we do - render on
> the fly.
>
> If you need some sample code ("XFDF stamping") to start with, we might be
> happy to help.
> Tilman and the PDFBox team were so kind to help us initially here, so we
> might help you now and give some knowhow back.
>
> Kind regards,
>  Matthias
>
> -----Original Message-----
> From: Gilad Denneboom [mailto:gilad.denneboom@gmail.com]
> Sent: Donnerstag, 22. Juni 2017 10:53
> To: users@pdfbox.apache.org
> Subject: Re: Adding a Redaction annotation (without applying it)
>
> Hi Matthias,
>
> Thanks for the info.
> What do you mean exactly by "stamping" the XFDF file, though? Do you mean
> just import it? Does that actually apply the redactions?
>
> Gilad
>
> On Thu, Jun 22, 2017 at 10:01 AM, Stoll, Matthias <matthias.stoll@dxc.com>
> wrote:
>
> > Hi Gilad,
> >
> > One approach to do this is by forming redactions based on XFDF. If you
> > want to apply the XFDF based redactions permanently, you can "stamp"
> > it later into the PDF.
> > Both is possible by using PDFBox.
> >
> > Kind regards,
> >  Matthias
> >
> > -----Original Message-----
> > From: Gilad Denneboom [mailto:gilad.denneboom@gmail.com]
> > Sent: Donnerstag, 22. Juni 2017 09:47
> > To: users@pdfbox.apache.org
> > Subject: Adding a Redaction annotation (without applying it)
> >
> > Hi all,
> >
> > Does anyone know if PDFBox supports adding Redaction annotations? If
> > so, is it a documented feature? Are there any code samples I could use?
> > I'm not talking about applying them (actually redaction the underlying
> > contents), just creating them... Hopefully it's possible.
> >
> > Regards, Gilad.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message