diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-11-07 08:26:48 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-11-07 08:26:48 +0100 |
commit | 8992d7552e76a98ede3216527dc7e9647f0e8a99 (patch) | |
tree | 743c411f98c3dddabdb829c68103ca3e7b3c69bd | |
parent | 428f75149d4ee4e61f9c3db4571b7be13f39c259 (diff) | |
download | pdf-over-8992d7552e76a98ede3216527dc7e9647f0e8a99.tar.gz pdf-over-8992d7552e76a98ede3216527dc7e9647f0e8a99.tar.bz2 pdf-over-8992d7552e76a98ede3216527dc7e9647f0e8a99.zip |
+ increased size of singature block to fit handy signature parameter in
one line (with adapted fallback image)
3 files changed, 4 insertions, 5 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java index 17b1619c..44513806 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java @@ -19,7 +19,6 @@ package at.asit.pdfover.gui.workflow.states; import java.io.IOException; import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.Display; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java index 0e1f64d5..899fa890 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java +++ b/trunk/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) { diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/resources/img/fallbackPlaceholder.png b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/resources/img/fallbackPlaceholder.png Binary files differindex 809e08f5..17f83836 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/resources/img/fallbackPlaceholder.png +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/resources/img/fallbackPlaceholder.png |