pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leleu...@apache.org
Subject svn commit: r1370011 - in /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight: metadata/ process/ process/reflect/ utils/
Date Mon, 06 Aug 2012 20:53:22 GMT
Author: leleueri
Date: Mon Aug  6 20:53:22 2012
New Revision: 1370011

URL: http://svn.apache.org/viewvc?rev=1370011&view=rev
Log:
Reorganize Import

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/PDFAIdentificationValidation.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/FileSpecificationValidationProcess.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/TilingPatternValidationProcess.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/FilterHelper.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/RenderingIntents.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/PDFAIdentificationValidation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/PDFAIdentificationValidation.java?rev=1370011&r1=1370010&r2=1370011&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/PDFAIdentificationValidation.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/PDFAIdentificationValidation.java
Mon Aug  6 20:53:22 2012
@@ -21,18 +21,20 @@
 
 package org.apache.pdfbox.preflight.metadata;
 
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_METADATA_INVALID_PDFA_CONFORMANCE;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_METADATA_INVALID_PDFA_VERSION_ID;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_METADATA_PDFA_ID_MISSING;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_METADATA_WRONG_NS_PREFIX;
+
 import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.padaf.xmpbox.XMPMetadata;
 import org.apache.padaf.xmpbox.schema.PDFAIdentificationSchema;
 import org.apache.padaf.xmpbox.schema.XMPBasicSchema;
-import org.apache.pdfbox.preflight.PreflightConstants;
 import org.apache.pdfbox.preflight.ValidationResult.ValidationError;
 import org.apache.pdfbox.preflight.exception.ValidationException;
 
-import static org.apache.pdfbox.preflight.PreflightConstants.*; 
-
 /**
  * Class which check if PDF/A Identification Schema contains good information
  * 

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/FileSpecificationValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/FileSpecificationValidationProcess.java?rev=1370011&r1=1370010&r2=1370011&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/FileSpecificationValidationProcess.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/FileSpecificationValidationProcess.java
Mon Aug  6 20:53:22 2012
@@ -50,8 +50,6 @@ public class FileSpecificationValidation
 
 		List<?> lCOSObj = cDoc.getObjects();
 		for (Object o : lCOSObj) {
-			// If this object represents a Stream
-			// The Dictionary must contain the Length key
 			COSBase cBase = ((COSObject) o).getObject();
 			if (cBase instanceof COSDictionary) {
 				COSDictionary dic = (COSDictionary) cBase;

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/TilingPatternValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/TilingPatternValidationProcess.java?rev=1370011&r1=1370010&r2=1370011&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/TilingPatternValidationProcess.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/TilingPatternValidationProcess.java
Mon Aug  6 20:53:22 2012
@@ -23,11 +23,6 @@ package org.apache.pdfbox.preflight.proc
 
 import static org.apache.pdfbox.preflight.PreflightConfiguration.RESOURCES_PROCESS;
 import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_GRAPHIC_INVALID_PATTERN_DEFINITION;
-import static org.apache.pdfbox.preflight.PreflightConstants.PATTERN_KEY_BBOX;
-import static org.apache.pdfbox.preflight.PreflightConstants.PATTERN_KEY_PAINT_TYPE;
-import static org.apache.pdfbox.preflight.PreflightConstants.PATTERN_KEY_TILING_TYPE;
-import static org.apache.pdfbox.preflight.PreflightConstants.PATTERN_KEY_XSTEP;
-import static org.apache.pdfbox.preflight.PreflightConstants.PATTERN_KEY_YSTEP;
 
 import org.apache.pdfbox.cos.COSDictionary;
 import org.apache.pdfbox.cos.COSName;

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/FilterHelper.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/FilterHelper.java?rev=1370011&r1=1370010&r2=1370011&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/FilterHelper.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/FilterHelper.java
Mon Aug  6 20:53:22 2012
@@ -21,23 +21,23 @@
 
 package org.apache.pdfbox.preflight.utils;
 
-import static org.apache.padaf.preflight.ValidationConstants.ERROR_SYNTAX_STREAM_INVALID_FILTER;
-import static org.apache.padaf.preflight.ValidationConstants.ERROR_SYNTAX_STREAM_UNDEFINED_FILTER;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_ASCII_85;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_ASCII_HEX;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_CCITTFF;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_DCT;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_FLATE_DECODE;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_LZW;
-import static org.apache.padaf.preflight.ValidationConstants.INLINE_DICTIONARY_VALUE_FILTER_RUN;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_ASCII_85;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_ASCII_HEX;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_CCITTFF;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_DCT;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_FLATE_DECODE;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_JBIG;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_LZW;
-import static org.apache.padaf.preflight.ValidationConstants.STREAM_DICTIONARY_VALUE_FILTER_RUN;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_SYNTAX_STREAM_INVALID_FILTER;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_SYNTAX_STREAM_UNDEFINED_FILTER;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_ASCII_85;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_ASCII_HEX;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_CCITTFF;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_DCT;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_FLATE_DECODE;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_LZW;
+import static org.apache.pdfbox.preflight.PreflightConstants.INLINE_DICTIONARY_VALUE_FILTER_RUN;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_ASCII_85;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_ASCII_HEX;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_CCITTFF;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_DCT;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_FLATE_DECODE;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_JBIG;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_LZW;
+import static org.apache.pdfbox.preflight.PreflightConstants.STREAM_DICTIONARY_VALUE_FILTER_RUN;
 
 import org.apache.pdfbox.preflight.PreflightContext;
 import org.apache.pdfbox.preflight.PreflightDocument;

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/RenderingIntents.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/RenderingIntents.java?rev=1370011&r1=1370010&r2=1370011&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/RenderingIntents.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/RenderingIntents.java
Mon Aug  6 20:53:22 2012
@@ -21,10 +21,10 @@
 
 package org.apache.pdfbox.preflight.utils;
 
-import static org.apache.padaf.preflight.ValidationConstants.RENDERING_INTENT_ABS_COLOR;
-import static org.apache.padaf.preflight.ValidationConstants.RENDERING_INTENT_PERCEPTUAL;
-import static org.apache.padaf.preflight.ValidationConstants.RENDERING_INTENT_REL_COLOR;
-import static org.apache.padaf.preflight.ValidationConstants.RENDERING_INTENT_SATURATION;
+import static org.apache.pdfbox.preflight.PreflightConstants.RENDERING_INTENT_ABS_COLOR;
+import static org.apache.pdfbox.preflight.PreflightConstants.RENDERING_INTENT_PERCEPTUAL;
+import static org.apache.pdfbox.preflight.PreflightConstants.RENDERING_INTENT_REL_COLOR;
+import static org.apache.pdfbox.preflight.PreflightConstants.RENDERING_INTENT_SATURATION;
 
 import java.util.ArrayList;
 import java.util.Collections;



Mime
View raw message