diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/commandline/Main.java | 16 | ||||
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java | 4 |
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);
|