PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

I'm up against a rather thorny problem.  Signatures are destroyed in the
presence of the "NeedAppearances" flag.

In 5.x, the fields were hidden and broken in some way... the annotation was
still present, but wasn't functional.  IIRC the form field tool would no
longer recognize it, though it would be displayed.  

I recall incorrectly... in 5.05, the annotation is removed, just as in 6.0
(see below).  5.0 may have operated the way I remember, but I don't have a
copy of it handy to find out.

In 6.0, the annotation is actually being removed, as is the now-empty
annotation array.  If there are other annotations present, they and the
annot array remain.  On the other hand, the "SigFlags" key in the AcroForm
dictionary is still present.  How odd.  Removing the SigFlags didn't change
the behavior.

Based on the evolution of this "feature", I would guess that it is
deliberate on Adobe's part, but I'm baffled as to WHY?!  JavaScript
solutions are welcome (if grudgingly ;).  Going through the entire document
and setting all the values as the form opens is... distasteful.  And ugly,
as it would be visible to the end user.

I have a PDF with a signature and a NeedAppearances flag if anyone would
like it for testing purposes.

Generating our own appearances isn't a viable option for this release (but
is something we'll be looking into for the next major rev, as the
NeedAppearances flag is causing us other headaches as well).

--Mark Storer
  Software Engineer
  Cardiff Software
#include <disclaimer>
typdef std::disclaimer<Cardiff> Discard;

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to