aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 14:57:36 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 14:57:36 +0000
commit8ca97be8c7d32ef1f9df6caac0a737efd7aa12b0 (patch)
tree2aa2ab24b3aea6d12d5953d819a6bd6d46c86a46 /pdf-as-web/src/main
parentcc1199371ff09cf7d83037ab390e06d4c69703dc (diff)
downloadpdf-as-3-8ca97be8c7d32ef1f9df6caac0a737efd7aa12b0.tar.gz
pdf-as-3-8ca97be8c7d32ef1f9df6caac0a737efd7aa12b0.tar.bz2
pdf-as-3-8ca97be8c7d32ef1f9df6caac0a737efd7aa12b0.zip
Parameters added that are required with the new user interface.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@810 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/FormFields.java56
1 files changed, 46 insertions, 10 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/FormFields.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/FormFields.java
index 3c2d4bc..bd97efa 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/FormFields.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/FormFields.java
@@ -23,6 +23,7 @@
*
* $Id: FormFields.java,v 1.4 2006/10/11 07:39:13 wprinz Exp $
*/
+
package at.gv.egiz.pdfas.web;
import java.io.PrintWriter;
@@ -53,16 +54,46 @@ public abstract class FormFields
public static final String FIELD_CONNECTOR = "connector";
- public static final String FIELD_MODE = "mode";
-
public static final String FIELD_PREVIEW = "preview";
+
+ public static final String FIELD_MODE = "mode";
+
+ //rpiazzi added
+ public static final String FIELD_MODE_BINARY = "mode-binary";
+ public static final String FIELD_MODE_TEXTUAL = "mode-textual";
+
+ //public static final String FIELD_MODE_INACTIVE = "modeinactive";
+
+ public static final String FIELD_SIGNATURE_TYPE_DE = "sig_type_de";
+
+ public static final String FIELD_SIGNATURE_TYPE_EN = "sig_type_en";
+
+ public static final String VALUE_SIGNATURE_TYPE_DE = "SIGNATURBLOCK_DE";
+
+ public static final String VALUE_SIGNATURE_TYPE_EN = "SIGNATURBLOCK_EN";
+
+ public static final String FIELD_HEIGHT_SIGNDIV = "height_sign_div";
+
+ public static final String FIELD_CONNECTOR_SMARTCARD = "smartcard";
+
+ public static final String FIELD_CONNECTOR_MOBILE = "mobile";
+
+ public static final String FIELD_CONNECTOR_LOCALBKU = "localbku";
+
+ //end added
+
public static final String FIELD_RAW_DOCUMENT_TEXT = "raw_document_text";
public static final String FIELD_SIGNATURE_TYPE = "sig_type";
// tknall: PDF/A-1b enabled
public static final String FIELD_PDFA_ENABLED = "pdfa_enabled";
+
+
+
+ //rpiazzi: note enabled
+ public static final String FIELD_NOTE_ENABLED = "note_enabled";
public static final String FIELD_VERIFY_WHICH = "verify_which";
@@ -74,11 +105,11 @@ public abstract class FormFields
public static final String VALUE_FALSE = "false";
- public static final String VALUE_MODE_BINARY = "binary";
+ public static final String VALUE_MODE_DETACHED = "detached";
+
+ public static final String VALUE_MODE_BINARY = "binary";
- public static final String VALUE_MODE_TEXTUAL = "textual";
-
- public static final String VALUE_MODE_DETACHED = "detached";
+ public static final String VALUE_MODE_TEXTUAL = "textual";
public static final String VALUE_VERIFY_WHICH_ALL = "all";
@@ -112,13 +143,18 @@ public abstract class FormFields
public static final String FIELD_SOURCE = "source_filefreetext";
- public static final String VALUE_SOURCE_FILE = "source-is-file";
+ public static final String VALUE_SOURCE_FILE = "sourcefile";
- public static final String VALUE_SOURCE_FREETEXT = "source-is-freetext";
+ public static final String VALUE_SOURCE_FREETEXT = "sourcefreetext";
- public static final String FIELD_FREETEXT = "freetext";
+ public static final String FIELD_SOURCE_FREETEXT = "freetext";
+
+ public static final String FIELD_SOURCE_FILE = "file";
+
+
+
+
- // end add
/**
* The settings key prefix for signature definitions. <code>"sig_obj."</code>
*/