diff options
Diffstat (limited to 'trunk/pdf-over-gui/src/main')
7 files changed, 244 insertions, 0 deletions
diff --git a/trunk/pdf-over-gui/src/main/izpack/install.xml b/trunk/pdf-over-gui/src/main/izpack/install.xml new file mode 100644 index 00000000..002584ca --- /dev/null +++ b/trunk/pdf-over-gui/src/main/izpack/install.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<installation version="1.0"> + + <info> + <appname>PDFOver</appname> + <appversion>4.0</appversion> + <uninstaller write="no" /> + <javaversion>1.6</javaversion> + <authors> + <author name="A-SIT (Secure Information Technology Center - Austria)" email="" /> + </authors> + <uninstaller/> + <url>http://www.a-sit.at/</url> + <pack200 /> + <run-privileged condition="izpack.windowsinstall.vista|izpack.macinstall|izpack.windowsinstall.7"/> + </info> + + <guiprefs resizable="no" width="480" height="360"> + <laf name="looks"> + <param name="variant" value="windows" /> + <os family="windows" /> + </laf> + </guiprefs> + + <locale> + <langpack iso3="eng" /> + </locale> + <resources> + <res src="./unix_shortcutSpec.xml" id="Unix_shortcutSpec.xml" /> + <res src="./win_shortcutSpec.xml" id="Win_shortcutSpec.xml" /> + </resources> + + <native type="izpack" name="ShellLink.dll"> + <os family="windows" /> + </native> + <native type="izpack" name="ShellLink_x64.dll"> + <os family="windows" /> + </native> + + <variables> + <variable name="DesktopShortcutCheckboxEnabled" value="true" /> + </variables> + + <panels> + <panel classname="HelloPanel" /> + <panel classname="TargetPanel" /> + <panel classname="InstallPanel" /> + <panel classname="ShortcutPanel" /> + <panel classname="SimpleFinishPanel" /> + </panels> + + <packs> + <pack name="main" required="yes"> + <description>Main Installation</description> + <file src="lib" targetdir="$INSTALL_PATH" /> + <file src="scripts" targetdir="$INSTALL_PATH" /> + <file src="icons" targetdir="$INSTALL_PATH" /> + <executable targetfile="$INSTALL_PATH/scripts/pdfover_linux.sh" + os="unix" stage="never"></executable> + <executable targetfile="$INSTALL_PATH/scripts/pdfover_win.bat" + os="windows" stage="never"></executable> + <executable targetfile="$INSTALL_PATH/scripts/pdfover_mac.sh" + os="mac" stage="never"></executable> + </pack> + </packs> + +</installation>
\ No newline at end of file diff --git a/trunk/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml b/trunk/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml new file mode 100644 index 00000000..05e8bee8 --- /dev/null +++ b/trunk/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <!-- <skipIfNotSupported/> --> + <programGroup defaultName="PDFOver" + location="applications"/> + + <shortcut + name="PDFOver" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/scripts/pdfover_linux.sh" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="PDFOver 4.0" + iconFile="$INSTALL_PATH/icons/pdfover.png" + iconIndex="0" + type="Application" + encoding="UTF-8" + terminal="false" + KdeSubstUID="false" + initialState="normal"> + <createForPack name="main"/> + </shortcut> + +</shortcuts>
\ No newline at end of file diff --git a/trunk/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml b/trunk/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml new file mode 100644 index 00000000..8ad6666f --- /dev/null +++ b/trunk/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <!-- <skipIfNotSupported/> --> + <programGroup defaultName="PDFOver" + location="applications"/> + + <shortcut + name="PDFOver" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/scripts/pdfover_win.bat" + commandLine="" + workingDirectory="$INSTALL_PATH/lib" + description="PDFOver 4.0" + iconFile="$INSTALL_PATH/icons/pdfover.ico" + iconIndex="0" + type="Application" + encoding="UTF-8" + terminal="false" + KdeSubstUID="false" + initialState="normal"> + <createForPack name="main"/> + </shortcut> + +</shortcuts>
\ No newline at end of file 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 new file mode 100644 index 00000000..244cfb3d --- /dev/null +++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties @@ -0,0 +1,113 @@ +TrustedSocketFactory.FailedToCreateSecureConnection=Failed to create secure network connection + +main.title=PDF-Over +main.configuration=Configuration +main.position=Positioning +main.signature=Signing +main.done=Finish + +common.browse=browse +common.Cancel=Cancel +common.Ok=OK +common.Save=Save +common.PDFExtension_Description=PDF documents +common.JPGExtension_Description=JPG Dateien +common.GIFExtension_Description=Gif Dateien +common.ALLExtension_Description=All files +common.file=File: +common.file_not_exists= does not exist! +common.open=Open + +config.Simple=Simple +config.Advanced=Advanced + +advanced_config.AutoPosition_Title=Positioning +advanced_config.AutoPosition=Automatic positioning +advanced_config.BKUSelection_Title=BKU Selection +advanced_config.OutputFolder_Title=Output location +advanced_config.OutputFolder=Default output folder: +advanced_config.OutputFolder.Dialog_Title=Select Output folder +advanced_config.OutputFolder.Dialog=Select a folder + +simple_config.Emblem_Title=Emblem +simple_config.EmblemEmpty=No Image. Drag and Drop a Image. Or use the browse button to select an emblem. +simple_config.UseEmblem=Use emblem +simple_config.MobileBKU_Title=Mobile signature +simple_config.PhoneNumber=Mobile number: +simple_config.ExampleNumber=+43676123456789 +simple_config.Proxy_Title=Proxy +simple_config.ProxyHost=Host: +simple_config.ProxyHostTemplate=Hostname or IP of proxy server +simple_config.ProxyPort=Port: +simple_config.ProxyPortTemplate=port proxy server [1-65535] + + + +dataSourceSelection.DropLabel=To sign a document\ndrag and drop it here\nor use the button below + +bku_selection.card=CARD +bku_selection.mobile=MOBILE + +mobileBKU.number=Number: +mobileBKU.password=Password: + +tanEnter.tries= tries left!" +tanEnter.ReferenceValue=reference value +tanEnter.TAN=TAN: + +BKU.LOCAL=Local BKU +BKU.MOBILE=Mobile BKU +BKU.NONE=no default + +error.SaveOutputFolder=Failed to save signed document to configured output folder. +error.Signatur=Signature error +error.PrepareDocument=Failed to prepare document for signature. +error.Initialization=Initialization failed. Please check your configuration. +error.Unexpected=Unexpected Error +error.LocalBKU=Please check if a local BKU is running +error.Details=Details +error.Retry=Retry +error.InvalidBKU=Invalid BKU selection. Please check. +error.InvalidSettings=Invalid settings are still present. Please check your input. +error.FailedToSaveSettings=Failed to save configuration file! +error.InvalidPhoneNumber=Given phone number is invalid! Example: +43664123456789 +error.EnteredReferenceValue=You entered the reference value! +error.TanTooLong=Entered TAN too long +error.FailedToGetSignedDocument=Failed to get signed document. +error.FailedToLoadEmblem=Failed to load the emblem + +exception.InvalidEmblemFile= is an invalid emblem file! +exception.InvalidPort= is invalid has to be between 1 and +exception.PasswordTooLong=Given password is too long! +exception.PasswordTooShort=Given password is too short! + +argument.help.bku=Select the BKU to use values are: LOCAL, MOBILE (example: -b <option> +argument.invalid.bku=BKU Argument invalid! Use: + +argument.help.config=Defines which configuration file to use. Example: -c <config file> +argument.invalid.config=Configuration File Argument invalid! Use: + +argument.help.emblem=Sets the emblem file to use for the signature. Example: -e <emblem file> +argument.invalid.emblem=Emblem argument invalid! Use: + +argument.help.help=shows this help message +argument.info.help=The following options are available: + +argument.help.input=Sets the document to sign. Example: -i <input document> +argument.invalid.input=Document to sign argument invalid! Use: + +argument.help.output=Sets the output folder to use. Example: -o <folder> +argument.invalid.output=Output folder argument invalid! Use: +argument.error.output= is not a directory + +argument.help.password=Sets the password to use for mobile bku. Example: -p <password> +argument.invalid.password=Mobile BKU password invalid! Use: + +argument.help.number=Sets the telephone number to use for mobile bku. Example: -n <number> +argument.invalid.number=Phone Number Argument invalid! Use: + +argument.help.proxyhost=Sets the proxy host to use. Example: -proxy <hostname/IP> +argument.invalid.proxyhost=Proxy host argument invalid! Use: + +argument.help.proxyport=Sets the proxy port to use. Example: -proxyport <port> +argument.invalid.proxyport=Proxy port argument invalid! Use:
\ No newline at end of file diff --git a/trunk/pdf-over-gui/src/main/scripts/pdfover_linux.sh b/trunk/pdf-over-gui/src/main/scripts/pdfover_linux.sh new file mode 100644 index 00000000..b785db7c --- /dev/null +++ b/trunk/pdf-over-gui/src/main/scripts/pdfover_linux.sh @@ -0,0 +1,2 @@ +#!/bin/sh +java -cp "lib/*" at.asit.pdfover.gui.Main
\ No newline at end of file diff --git a/trunk/pdf-over-gui/src/main/scripts/pdfover_mac.sh b/trunk/pdf-over-gui/src/main/scripts/pdfover_mac.sh new file mode 100644 index 00000000..b785db7c --- /dev/null +++ b/trunk/pdf-over-gui/src/main/scripts/pdfover_mac.sh @@ -0,0 +1,2 @@ +#!/bin/sh +java -cp "lib/*" at.asit.pdfover.gui.Main
\ No newline at end of file diff --git a/trunk/pdf-over-gui/src/main/scripts/pdfover_win.bat b/trunk/pdf-over-gui/src/main/scripts/pdfover_win.bat new file mode 100644 index 00000000..222bd263 --- /dev/null +++ b/trunk/pdf-over-gui/src/main/scripts/pdfover_win.bat @@ -0,0 +1 @@ +..\lib\pdf-over-gui-4.0.0-SNAPSHOT.jar %*
\ No newline at end of file |