Class NoPatternColorSpaceHelper
java.lang.Object
org.apache.pdfbox.preflight.graphic.StandardColorSpaceHelper
org.apache.pdfbox.preflight.graphic.NoPatternColorSpaceHelper
- All Implemented Interfaces:
ColorSpaceHelper
This class defines restrictions on Pattern ColorSpace. It checks the consistency of the Color space with the
DestOutputIntent, if the color space is a Pattern the validation will fail.
-
Field Summary
Fields inherited from class org.apache.pdfbox.preflight.graphic.StandardColorSpaceHelper
context, iccpw, pdcs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
processPatternColorSpace
(PDColorSpace colorSpace) This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.Methods inherited from class org.apache.pdfbox.preflight.graphic.StandardColorSpaceHelper
processAllColorSpace, processCalibratedColorSpace, processCYMKColorSpace, processDefaultColorSpace, processDeviceNColorSpace, processGrayColorSpace, processICCBasedColorSpace, processIndexedColorSpace, processRGBColorSpace, processSeparationColorSpace, validate
-
Constructor Details
-
NoPatternColorSpaceHelper
-
-
Method Details
-
processPatternColorSpace
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.- Overrides:
processPatternColorSpace
in classStandardColorSpaceHelper
-