| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected PreflightContext | |
| protected PDPage |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkColorOperators(String
the color operator operation)This method validates if the ColorOperator can be used with the color space defined in OutputIntent dictionaries. |
| protected void | checkSetColorSpaceOperators(Operator operator, List<COSBase> arguments)
This method validates if the ColorSpace used as operand is consistent with the color space defined in OutputIntent dictionaries. |
| private PDColorSpace | |
| private ColorSpaceHelper | |
| private boolean | |
| protected void | registerError(String
exception details msg, String the error code. errorCode)Add a validation error into the PreflightContext |
| public void | |
| protected void | |
| public void | |
| private COSBase | |
| pack-priv void | validateDefaultColorSpace(Operator
an operator. operator)In some cases, the colorspace isn't checked because defaults (/DeviceGray) is used. |
| protected void | validateInlineImageColorSpace(Operator
the InlinedImage object (BI to EI) operator)This method validates if the ColorSpace used by the InlinedImage is consistent with the color space defined in OutputIntent dictionaries. |
| protected void | validateInlineImageFilter(Operator
the InlinedImage object (BI to EI) operator)Throw a ContentStreamException if the LZW filter is used in a InlinedImage. |
| protected void | validateNumberOfGraphicStates(Operator operator)
Valid the number of graphic states if the operator is the Save Graphic state operator ("q") |
| protected void | validateRenderingIntent(Operator
the "ri" operator operator, List<COSBase> the "ri" operands arguments)Check operands of the "ri" operator. |
| private boolean | |
| private boolean |
| context | back to summary |
|---|---|
| protected PreflightContext context | |
| processedPage | back to summary |
|---|---|
| protected PDPage processedPage | |
| PreflightStreamEngine | back to summary |
|---|---|
| public PreflightStreamEngine(PreflightContext context, PDPage page) | |
| checkColorOperators | back to summary |
|---|---|
| protected void checkColorOperators(String operation) throws ContentStreamException This method validates if the ColorOperator can be used with the color space defined in OutputIntent dictionaries.
| |
| checkSetColorSpaceOperators | back to summary |
|---|---|
| protected void checkSetColorSpaceOperators(Operator operator, List<COSBase> arguments) throws IOException This method validates if the ColorSpace used as operand is consistent with the color space defined in OutputIntent dictionaries. | |
| getColorSpace | back to summary |
|---|---|
| private PDColorSpace getColorSpace(String operation) | |
| getColorSpaceHelper | back to summary |
|---|---|
| private ColorSpaceHelper getColorSpaceHelper(PDColorSpace pdCS) | |
| isDeviceIndependent | back to summary |
|---|---|
| private boolean isDeviceIndependent(PDColorSpace cs, PreflightStreamEngine. | |
| registerError | back to summary |
|---|---|
| protected void registerError(String msg, String errorCode) Add a validation error into the PreflightContext | |
| registerError | back to summary |
|---|---|
| public void registerError(String msg, String errorCode, Throwable cause) | |
| registerError | back to summary |
|---|---|
| protected void registerError(String msg, String errorCode, boolean warning) | |
| registerError | back to summary |
|---|---|
| public void registerError(String msg, String errorCode, boolean warning, Throwable cause) | |
| toLongName | back to summary |
|---|---|
| private COSBase toLongName(COSBase cs) | |
| validateDefaultColorSpace | back to summary |
|---|---|
| pack-priv void validateDefaultColorSpace(Operator operator) throws ContentStreamException In some cases, the colorspace isn't checked because defaults (/DeviceGray) is used. Thus we need to check all text output, stroke and fill for /DeviceGray.
| |
| validateInlineImageColorSpace | back to summary |
|---|---|
| protected void validateInlineImageColorSpace(Operator operator) throws IOException This method validates if the ColorSpace used by the InlinedImage is consistent with the color space defined in OutputIntent dictionaries.
| |
| validateInlineImageFilter | back to summary |
|---|---|
| protected void validateInlineImageFilter(Operator operator) Throw a ContentStreamException if the LZW filter is used in a InlinedImage.
| |
| validateNumberOfGraphicStates | back to summary |
|---|---|
| protected void validateNumberOfGraphicStates(Operator operator) Valid the number of graphic states if the operator is the Save Graphic state operator ("q") | |
| validateRenderingIntent | back to summary |
|---|---|
| protected void validateRenderingIntent(Operator operator, List<COSBase> arguments) throws ContentStreamException Check operands of the "ri" operator. Operands must exist in the RenderingIntent list. (org.apache.pdfbox.preflight.utils.RenderingIntents)
| |
| validColorSpace | back to summary |
|---|---|
| private boolean validColorSpace(PDColorSpace colorSpace, PreflightStreamEngine. | |
| validColorSpaceDestOutputProfile | back to summary |
|---|---|
| private boolean validColorSpaceDestOutputProfile(PreflightStreamEngine. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PreflightStreamEngine. | |
| public static final PreflightStreamEngine. | |
| public static final PreflightStreamEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PreflightStreamEngine. | |
| public static PreflightStreamEngine. |
| ALL | back to summary |
|---|---|
| public static final PreflightStreamEngine. | |
| CMYK | back to summary |
|---|---|
| public static final PreflightStreamEngine. | |
| RGB | back to summary |
|---|---|
| public static final PreflightStreamEngine. | |
| ColorSpaceType | back to summary |
|---|---|
| private ColorSpaceType() | |
| valueOf | back to summary |
|---|---|
| public static PreflightStreamEngine. | |
| values | back to summary |
|---|---|
| public static PreflightStreamEngine. | |