diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:14:31 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:14:31 +0000 |
commit | 869615d24474f113d769485a95f62da8772aad52 (patch) | |
tree | b31ac982445d390e2519e30e5307961f643e037f /pdf-over-signer/pdf-over-sigpdfas/src/main/java/at | |
parent | 55e3cf734656634a0469c9ba69f9a550fdae8dfc (diff) | |
download | pdf-over-869615d24474f113d769485a95f62da8772aad52.tar.gz pdf-over-869615d24474f113d769485a95f62da8772aad52.tar.bz2 pdf-over-869615d24474f113d769485a95f62da8772aad52.zip |
+ increased size of singature block to fit handy signature parameter in
one line (with adapted fallback image)
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@216 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main/java/at')
-rw-r--r-- | pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java index 0e1f64d5..899fa890 100644 --- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java +++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java @@ -75,12 +75,12 @@ public class PdfAsSignatureParameter extends SignatureParameter { if (position.getPage() < 1) { positioning = new SignaturePositioning(String.format( (Locale) null, - "p:new;x:%f;y:%f;w:262", position.getX(), + "p:new;x:%f;y:%f;w:276", position.getX(), position.getY())); } else { positioning = new SignaturePositioning(String.format( (Locale) null, - "p:%d;x:%f;y:%f;w:262", position.getPage(), position.getX(), + "p:%d;x:%f;y:%f;w:276", position.getPage(), position.getX(), position.getY())); } } else { @@ -114,7 +114,7 @@ public class PdfAsSignatureParameter extends SignatureParameter { public SignatureDimension getPlaceholderDimension() { // return new SignatureDimension(487, 206); - return new SignatureDimension(262, 88); + return new SignatureDimension(276, 95); } /* @@ -168,7 +168,7 @@ public class PdfAsSignatureParameter extends SignatureParameter { g.dispose(); - // save(image, "png"); + //save(image, "png"); return image; } catch (Exception ex) { |