From 8ca97be8c7d32ef1f9df6caac0a737efd7aa12b0 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Fri, 23 Sep 2011 14:57:36 +0000 Subject: 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 --- .../main/java/at/gv/egiz/pdfas/web/FormFields.java | 56 ++++++++++++++++++---- 1 file 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. "sig_obj." */ -- cgit v1.2.3