summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java3
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java4
-rw-r--r--trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java1
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java14
4 files changed, 10 insertions, 12 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
index e4060af5..f2c2c798 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
@@ -105,8 +105,7 @@ public class SignaturePanel extends JPanel {
* Set a new document to be displayed
* @param pdf the PDFFile to be displayed
*/
- public void setDocument(PDFFile pdf)
- {
+ public void setDocument(PDFFile pdf) {
this.pdf = pdf;
this.sigPagePos = null;
showPage(pdf.getNumPages());
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java
index 824611b5..3abecd39 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java
@@ -59,7 +59,7 @@ public class StateMachineImpl implements StateMachine, GUIProvider {
this.status.setCurrentState(new PrepareConfigurationState(this));
this.pdfSigner = new PDFSignerImpl();
this.configProvider = new ConfigProviderImpl();
- setCmdLineAargs(cmdLineArgs);
+ setCmdLineArgs(cmdLineArgs);
}
/**
@@ -319,7 +319,7 @@ public class StateMachineImpl implements StateMachine, GUIProvider {
*
* @param cmdLineArgs
*/
- private void setCmdLineAargs(String[] cmdLineArgs) {
+ private void setCmdLineArgs(String[] cmdLineArgs) {
this.cmdLineArgs = cmdLineArgs;
}
diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
index 5f394c1b..cc525058 100644
--- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
+++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
@@ -129,7 +129,6 @@ public abstract class SignatureParameter {
*/
public abstract Image getPlaceholder();
-
/**
* Gets the Emblem
* @return the Emblem
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 519ebd9e..0af728a1 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
@@ -57,13 +57,6 @@ public class PdfAsSignatureParameter extends SignatureParameter {
private HashMap<String, String> genericProperties = new HashMap<String, String>();
- @Override
- public SignatureDimension getPlaceholderDimension() {
- // return new SignatureDimension(487, 206);
-
- return new SignatureDimension(262, 88);
- }
-
/**
* Gets the PDFAS Positioning
*
@@ -115,6 +108,13 @@ public class PdfAsSignatureParameter extends SignatureParameter {
return this.genericProperties.get(key);
}
+ @Override
+ public SignatureDimension getPlaceholderDimension() {
+ // return new SignatureDimension(487, 206);
+
+ return new SignatureDimension(262, 88);
+ }
+
/*
* (non-Javadoc)
*