summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui/src')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java41
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties3
2 files changed, 40 insertions, 4 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
index 1ce3a781..7cc49d18 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
@@ -113,11 +113,44 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
});
log.debug(this.btnAutomatischePositionierung.getBounds().toString());
+ Label lblTransparenz = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenz = new FormData();
+ fd_lblTransparenz.top = new FormAttachment(this.btnAutomatischePositionierung, 5);
+ fd_lblTransparenz.left = new FormAttachment(0, 5);
+ lblTransparenz.setLayoutData(fd_lblTransparenz);
+ lblTransparenz.setText(Messages.getString("advanced_config.SigPHTransparency")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenz = lblTransparenz.getFont().getFontData();
+ fD_lblTransparenz[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenz.setFont(new Font(Display.getCurrent(), fD_lblTransparenz[0]));
+
+ Label lblTransparenzLinks = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenzLinks = new FormData();
+ fd_lblTransparenzLinks.top = new FormAttachment(lblTransparenz, 5);
+ fd_lblTransparenzLinks.left = new FormAttachment(0, 15);
+ lblTransparenzLinks.setLayoutData(fd_lblTransparenzLinks);
+ lblTransparenzLinks.setText(Messages.getString("advanced_config.SigPHTransparencyMin")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenzLinks = lblTransparenzLinks.getFont().getFontData();
+ fD_lblTransparenzLinks[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenzLinks.setFont(new Font(Display.getCurrent(), fD_lblTransparenzLinks[0]));
+
+ Label lblTransparenzRechts = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenzRechts = new FormData();
+ fd_lblTransparenzRechts.top = new FormAttachment(lblTransparenz, 5);
+ fd_lblTransparenzRechts.right = new FormAttachment(100, -5);
+ lblTransparenzRechts.setLayoutData(fd_lblTransparenzRechts);
+ lblTransparenzRechts.setText(Messages.getString("advanced_config.SigPHTransparencyMax")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenzRechts = lblTransparenzRechts.getFont().getFontData();
+ fD_lblTransparenzRechts[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenzRechts.setFont(new Font(Display.getCurrent(), fD_lblTransparenzRechts[0]));
+
this.sclTransparenz = new Scale(grpSignatur, SWT.HORIZONTAL);
FormData fd_sldTransparenz = new FormData();
- fd_sldTransparenz.right = new FormAttachment(100, -5);
- fd_sldTransparenz.top = new FormAttachment(this.btnAutomatischePositionierung, 5);
- fd_sldTransparenz.left = new FormAttachment(0, 5);
+ fd_sldTransparenz.right = new FormAttachment(lblTransparenzRechts, -5);
+ fd_sldTransparenz.top = new FormAttachment(lblTransparenz, 5);
+ fd_sldTransparenz.left = new FormAttachment(lblTransparenzLinks, 5);
this.sclTransparenz.setLayoutData(fd_sldTransparenz);
this.sclTransparenz.setMinimum(0);
this.sclTransparenz.setMaximum(255);
@@ -211,7 +244,7 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
this.txtOutputFolder = new Text(grpSpeicherort, SWT.BORDER);
FormData fd_text = new FormData();
fd_text.top = new FormAttachment(lblDefaultOutputFolder, 5);
- fd_text.left = new FormAttachment(0, 5);
+ fd_text.left = new FormAttachment(0, 15);
this.txtOutputFolder.setLayoutData(fd_text);
FontData[] fD_txtOutputFolder = this.txtOutputFolder.getFont().getFontData();
diff --git a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index a789bddb..247e9671 100644
--- a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -12,6 +12,9 @@ advanced_config.OutputFolder=Default output folder\:
advanced_config.OutputFolder.Dialog=Select a folder
advanced_config.OutputFolder.Dialog_Title=Select Output folder
advanced_config.OutputFolder_Title=Output location
+advanced_config.SigPHTransparency=Signature placeholder transparency
+advanced_config.SigPHTransparencyMax=Opaque
+advanced_config.SigPHTransparencyMin=Invisible
argument.error.output=is not a directory
argument.help.bku=Select the BKU to use values are\: LOCAL, MOBILE (example\: -b <option>
argument.help.config=Defines which configuration file to use. Example\: -c <config file>