Class NoPatternColorSpaceHelper

java.lang.Object
org.apache.pdfbox.preflight.graphic.StandardColorSpaceHelper
org.apache.pdfbox.preflight.graphic.NoPatternColorSpaceHelper
All Implemented Interfaces:
ColorSpaceHelper

public class NoPatternColorSpaceHelper extends StandardColorSpaceHelper
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.
  • Constructor Details

  • Method Details

    • processPatternColorSpace

      protected void processPatternColorSpace(PDColorSpace colorSpace)
      This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.
      Overrides:
      processPatternColorSpace in class StandardColorSpaceHelper
      Parameters:
      colorSpace -