public class DeviceColorSpaceHelper extends StandardColorSpaceHelper
context, iccpw, pdcs
Constructor and Description |
---|
DeviceColorSpaceHelper(PreflightContext _context,
PDColorSpace _cs) |
Modifier and Type | Method and Description |
---|---|
protected void |
processDeviceNColorSpace(PDColorSpace colorSpace)
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN)
and returns false.
|
protected void |
processIndexedColorSpace(PDColorSpace colorSpace)
Indexed color space is authorized only if the BaseColorSpace is a DeviceXXX color space.
|
protected void |
processPatternColorSpace(PDColorSpace colorSpace)
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN)
and returns false.
|
processAllColorSpace, processCalibratedColorSpace, processCYMKColorSpace, processDefaultColorSpace, processGrayColorSpace, processICCBasedColorSpace, processRGBColorSpace, processSeparationColorSpace, validate
public DeviceColorSpaceHelper(PreflightContext _context, PDColorSpace _cs)
protected void processPatternColorSpace(PDColorSpace colorSpace)
processPatternColorSpace
in class StandardColorSpaceHelper
protected void processDeviceNColorSpace(PDColorSpace colorSpace)
processDeviceNColorSpace
in class StandardColorSpaceHelper
colorSpace
- the color space object to check.protected void processIndexedColorSpace(PDColorSpace colorSpace)
processIndexedColorSpace
in class StandardColorSpaceHelper
colorSpace
- the color space object to check.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.