From f057a36be9a0eec61c4da3a401df9be067458a84 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:17:22 +0000 Subject: + error message if manual positioning fails ... + fixed mac start script + fixed signature block size with auto positioning git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@239 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-over-signer/pdf-over-sigpdfas') 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 43916d08..5fa69b46 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 @@ -37,6 +37,7 @@ import at.asit.pdfover.signator.SignatureParameter; import at.asit.pdfover.signator.SignaturePosition; import at.gv.egiz.pdfas.api.io.DataSource; import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning; +import at.gv.egiz.pdfas.api.sign.pos.axis.AxisAlgorithm; import at.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_1_0; import at.knowcenter.wag.egov.egiz.exceptions.PDFDocumentException; import at.knowcenter.wag.egov.egiz.sig.SignatureObject; @@ -93,7 +94,7 @@ public class PdfAsSignatureParameter extends SignatureParameter { position.getY())); } } else { - positioning = new SignaturePositioning(); + positioning = new SignaturePositioning("p:auto;x:auto;y:auto;w:276"); } return positioning; -- cgit v1.2.3