summaryrefslogtreecommitdiff
path: root/pdf-over-signer
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:17:22 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:17:22 +0000
commitf057a36be9a0eec61c4da3a401df9be067458a84 (patch)
tree7dfc31e5395d884620127092211ca7e210deb32e /pdf-over-signer
parent85c0d6dc8e2b2ca9ef377b0a2416ae99f33055e0 (diff)
downloadpdf-over-f057a36be9a0eec61c4da3a401df9be067458a84.tar.gz
pdf-over-f057a36be9a0eec61c4da3a401df9be067458a84.tar.bz2
pdf-over-f057a36be9a0eec61c4da3a401df9be067458a84.zip
+ 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
Diffstat (limited to 'pdf-over-signer')
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java3
1 files changed, 2 insertions, 1 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 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;