diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-08 11:17:02 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-08 11:17:02 +0200 |
commit | 0199d4dad04d8c0e1e8c531435bbd24956338824 (patch) | |
tree | 182e0eea487740ffec0bba646c7f1e065eadc6ae /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | 517cad7044e5861220f1b6da88fa93ad06153ce4 (diff) | |
download | pdf-over-0199d4dad04d8c0e1e8c531435bbd24956338824.tar.gz pdf-over-0199d4dad04d8c0e1e8c531435bbd24956338824.tar.bz2 pdf-over-0199d4dad04d8c0e1e8c531435bbd24956338824.zip |
refactor out the "generic properties map" that is only used by a single property (the signature note)
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java index 29a37970..7d29d22b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java @@ -111,9 +111,8 @@ public class PositioningState extends State { Emblem emblem = new Emblem(config.getDefaultEmblemPath()); param.emblem = emblem; - if(config.getSignatureNote() != null && !config.getSignatureNote().isEmpty()) { - param.setProperty("SIG_NOTE", config.getSignatureNote()); - } + if(config.getSignatureNote() != null && !config.getSignatureNote().isEmpty()) + param.signatureNote = config.getSignatureNote(); param.signatureLanguage = config.getSignatureLocale().getLanguage(); param.enablePDFACompat = config.getSignaturePdfACompat(); |