You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Vakhtang koroghlishvili <va...@gmail.com> on 2014/01/24 16:52:31 UTC
New Idea about PAdES Part 6 (Signatures)
Hi,
You know that The PAdES ETSI technical specification contains 6 parts of
document signing. I have already implement Part 6 - this is visual
representations of electronic signatures.
Usage of this is like this: You are creating object of visible signature,
pass it an image, with some coordinates, zoom, size and etc... Well, this
is good but that do you think about more flexibility?
Sometimes It's hard to determine coordinates of your document. I was
thinking about one feature - but I don't know if is good or not, so give
me your opinions. Might be we should do that or not.
Imagine that, when you start signing, you have swing window, where you can
see your pdf document. Than you can choose signature image from your PC
drop to this panel (For instance you click "Choose" button and etc...). We
can move the image with mouse pointer, zoom it, and etc (just well written
drag and drop functionality). After user chooses the best location of the
document, she will press the button named "sign". So the PDF document will
be as she/he was expected.
If this is good idea might be I could manage to do this too.
what do you think?
Best regards
Re: New Idea about PAdES Part 6 (Signatures)
Posted by Vakhtang koroghlishvili <va...@gmail.com>.
I was writing something like this too. It took too many days - you know ,
writing in swing is not comfortable.
I had only this functionality:
1. drag and drop signature image (change signature image);
2. change size of signature image (zoom in , zoom out);
3. move signature where you want by mouse pointer;
I did not have tested this to the landscape pages. I get images from the
PDF document and then I'm writing it to the JPanel. So, changing size of
panel is not so easy :)
As I think, problem is only landscape pages.
On Fri, Jan 24, 2014 at 9:33 PM, Thomas Chojecki <in...@rayman2200.de> wrote:
> Am Fri, 24 Jan 2014 19:52:31 +0400
> schrieb Vakhtang koroghlishvili <va...@gmail.com>:
>
> > Hi,
> >
> > You know that The PAdES ETSI technical specification contains 6 parts
> > of document signing. I have already implement Part 6 - this is visual
> > representations of electronic signatures.
> >
> > Usage of this is like this: You are creating object of visible
> > signature, pass it an image, with some coordinates, zoom, size and
> > etc... Well, this is good but that do you think about more
> > flexibility? Sometimes It's hard to determine coordinates of your
> > document. I was thinking about one feature - but I don't know if is
> > good or not, so give me your opinions. Might be we should do that
> > or not.
> >
> > Imagine that, when you start signing, you have swing window, where
> > you can see your pdf document. Than you can choose signature image
> > from your PC drop to this panel (For instance you click "Choose"
> > button and etc...). We can move the image with mouse pointer, zoom
> > it, and etc (just well written drag and drop functionality). After
> > user chooses the best location of the document, she will press the
> > button named "sign". So the PDF document will be as she/he was
> > expected.
>
> On the work we have done something similar. PDFBox support image
> creation.
>
> We have also created an option to add empty signature fields that can
> be signed later. So a customer can select in the first process the
> place were the visual signature should be placed and give the document
> to the persons that should sign it.
>
> The swing component also shows existing signature fields and make it
> selectable for signing. All is done with transparent rectangles without
> a preloaded an image.
>
> The rectangle was also adjustable and had two text fields with the
> size in mm.
>
> >
> > If this is good idea might be I could manage to do this too.
> > what do you think?
> If you can manage it, why not :-) I know this was a annoying process
> placing the images and recalculate the size to match the document.
>
> One problem we had was with landscape pages. So the page was flipped
> and the coordinates need to be moved. Thanks god we finished this
> project.
>
> >
> > Best regards
>
> Best regards
> Thomas
>
Re: New Idea about PAdES Part 6 (Signatures)
Posted by Thomas Chojecki <in...@rayman2200.de>.
Am Fri, 24 Jan 2014 19:52:31 +0400
schrieb Vakhtang koroghlishvili <va...@gmail.com>:
> Hi,
>
> You know that The PAdES ETSI technical specification contains 6 parts
> of document signing. I have already implement Part 6 - this is visual
> representations of electronic signatures.
>
> Usage of this is like this: You are creating object of visible
> signature, pass it an image, with some coordinates, zoom, size and
> etc... Well, this is good but that do you think about more
> flexibility? Sometimes It's hard to determine coordinates of your
> document. I was thinking about one feature - but I don't know if is
> good or not, so give me your opinions. Might be we should do that
> or not.
>
> Imagine that, when you start signing, you have swing window, where
> you can see your pdf document. Than you can choose signature image
> from your PC drop to this panel (For instance you click "Choose"
> button and etc...). We can move the image with mouse pointer, zoom
> it, and etc (just well written drag and drop functionality). After
> user chooses the best location of the document, she will press the
> button named "sign". So the PDF document will be as she/he was
> expected.
On the work we have done something similar. PDFBox support image
creation.
We have also created an option to add empty signature fields that can
be signed later. So a customer can select in the first process the
place were the visual signature should be placed and give the document
to the persons that should sign it.
The swing component also shows existing signature fields and make it
selectable for signing. All is done with transparent rectangles without
a preloaded an image.
The rectangle was also adjustable and had two text fields with the
size in mm.
>
> If this is good idea might be I could manage to do this too.
> what do you think?
If you can manage it, why not :-) I know this was a annoying process
placing the images and recalculate the size to match the document.
One problem we had was with landscape pages. So the page was flipped
and the coordinates need to be moved. Thanks god we finished this
project.
>
> Best regards
Best regards
Thomas