summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-26 10:52:25 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-26 10:52:25 +0100
commit0621f88c65f32d1a43cc206596d3938f9b1752f9 (patch)
tree0b6a70678b914ee8307b6c3b474f2881b44daeb1 /pdf-over-gui/src/main/java/at/asit/pdfover/gui
parent85970a15b8bea59e0d55705e7f4076d9d142dd1e (diff)
downloadpdf-over-0621f88c65f32d1a43cc206596d3938f9b1752f9.tar.gz
pdf-over-0621f88c65f32d1a43cc206596d3938f9b1752f9.tar.bz2
pdf-over-0621f88c65f32d1a43cc206596d3938f9b1752f9.zip
Adaption when using official signature
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java5
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
index 79523afe..31348dd3 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
@@ -755,6 +755,10 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
this.btnSignatureFieldsUsage.setEnabled(enable);
this.configurationContainer.setEnablePlaceholderUsage(enable);
this.btnEnablePlaceholderUsage.setSelection(enable);
+ if (!enable){
+ this.btnPlatzhalterVerwenden.setSelection(false);
+ this.btnSignatureFieldsUsage.setSelection(false);
+ }
}
void performPdfACompatSelection(boolean compat) {
@@ -937,7 +941,6 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
public void performSetSignatureProfile(Profile profile) {
switch (profile) {
case INVISIBLE:
- case AMTSSIGNATURBLOCK:
this.performPositionSelection(true);
this.btnAutomatischePositionierung.setEnabled(false);
this.btnEnablePlaceholderUsage.setEnabled(false);
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
index da0a1f91..269f72d3 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
@@ -885,6 +885,8 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
store.setSignatureNote(this.configurationContainer.getSignatureNote());
store.setSignatureProfile(this.configurationContainer.getSignatureProfile().name());
+
+
}
/*