aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-01-27 13:02:21 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-01-27 13:02:21 +0000
commitf5bfbbd6c60d2827a961735d94d435ee24cc8f11 (patch)
treebbdcd7ffe80031e30843b53888739fb746542e78 /src/main/java/at
parent0f72666691e481b64d8901802e7894cb58b0c2c4 (diff)
downloadpdf-as-3-f5bfbbd6c60d2827a961735d94d435ee24cc8f11.tar.gz
pdf-as-3-f5bfbbd6c60d2827a961735d94d435ee24cc8f11.tar.bz2
pdf-as-3-f5bfbbd6c60d2827a961735d94d435ee24cc8f11.zip
- build script for command line version extended
- some developer comments removed - more debug messages - missing message for error code 322 added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@732 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/commandline/Main.java16
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java4
2 files changed, 3 insertions, 17 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/commandline/Main.java b/src/main/java/at/gv/egiz/pdfas/commandline/Main.java
index b0acb33..17548f4 100644
--- a/src/main/java/at/gv/egiz/pdfas/commandline/Main.java
+++ b/src/main/java/at/gv/egiz/pdfas/commandline/Main.java
@@ -1157,22 +1157,8 @@ public abstract class Main
protected static boolean checkSignatureType(String signature_type) throws SignatureTypesException
{
return SignatureTypes.getInstance().getSignatureTypes().contains(signature_type);
-
- // exthex: uuuaaaahhhhh WHY???, dont do that.
- // Please read: http://www.amazon.de/Java-f%C3%BCr-Dummies-Barry-Burd/dp/382662999X
-// List types_array = sig_types.getSignatureTypes();
-// Iterator it = types_array.iterator();
-// while (it.hasNext())
-// {
-// String type = (String) it.next();
-// if (type.equals(signature_type))
-// {
-// return true;
-// }
-// }
-// return false;
}
-
+
/**
* Translates the commandline argument to a PDF-AS-ID.
*
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
index b15b3d6..54b6ec8 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
@@ -66,11 +66,11 @@ public class StructContentHelper {
isTagged = markDict.getAsBoolean(PdfName.MARKED).booleanValue();
}
if (!isTagged) {
- BinarySignature.logger
- .debug("input document is not tagged. no structure/wai information is written");
+ BinarySignature.logger.debug("Input document is not tagged. no structure/wai information is written");
return;
}
+ BinarySignature.logger.debug("Input is tagged. Writing structure/WAI data.");
PdfDictionary root = getStructTreeRoot();
stamperImp.markUsed(root);