summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:05:52 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:05:52 +0000
commit06e896f3578e9a527e4e80940e88342ea6dad24f (patch)
treeb9dd4db12962f7d5ffd9ea4dbd0e47e16ac7fc47
parent9ac4064fb9cf0cc95f2fb32ef9bb476bb1a0016a (diff)
downloadpdf-over-06e896f3578e9a527e4e80940e88342ea6dad24f.tar.gz
pdf-over-06e896f3578e9a527e4e80940e88342ea6dad24f.tar.bz2
pdf-over-06e896f3578e9a527e4e80940e88342ea6dad24f.zip
Cosmetic changes
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@127 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java3
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java4
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java1
-rw-r--r--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/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
index e4060af5..f2c2c798 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
+++ b/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/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java
index 824611b5..3abecd39 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/StateMachineImpl.java
+++ b/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/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
index 5f394c1b..cc525058 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
+++ b/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/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 519ebd9e..0af728a1 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
@@ -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)
*