On Wed, 2016-08-03 at 08:32 +0000, Thomas Szendefi wrote:
> My understanding of signing is not really editing the signature
> field, furthermore the signature gets filled into the signature form
> field. Just like filling in other form fields, where not the field
> itself gets changed, but some content is added.
Hi,
right, it sounds like incremental updates, where you "only" append new
content at the end of an existing PDF file.
> The application I am currently working on is not changing any PDF at
> all, it just automatically fills in forms and signs it.
Do you do that with incremental updates, thus when you made "diff-s" of
the original PDF file and the newly saved with your changes only some
content is appended to the file, or it's completely different? I'm
afraid it's the later.
> Since none of the fields is generated programmatically, I dint want
> the signature field to be generated too. If I generate the signature
> field programmatically, the creator of the form (which is not me) has
> no control of where exactly the signature is and what it looks like.
Not completely true. You can find the "signature field" and replace it
with your new, also by inheriting its position and other things as
needed. I do not know whether the original PDF file is also signed or
not, neither I know how you know the right place for *your* signature
field, but it looks weird to provide true signature fields without it
holding the signature itself. The visual representation of the
signature field is not needed, the signings works even without it.
> And I would have additional effort to find a place for the signature
> field, currently the code example delivered with PoDoFo is placing it
> on a new page, but I don’t want to create a whole new page containing
> nothing else than a signature.
It's only an example, there is no need to create a new page for the
visual representation of the digital signature. [1]
Bye,
zyx
[1] see the 'annotation'-related parameters at an example:
http://litepdf.cz/sign.cpp.html#n243
This is using PoDoFo in the background, with provided high-level API.
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users