Package | Description |
---|---|
org.apache.pdfbox.preflight.content |
Modifier and Type | Method and Description |
---|---|
private ContentStreamException |
StubOperator.createInvalidArgumentsError()
Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.
|
private ContentStreamException |
StubOperator.createLimitError(java.lang.String errorCode,
java.lang.String details)
Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.
|
Modifier and Type | Method and Description |
---|---|
private void |
StubOperator.checkArrayOperands(java.util.List<COSBase> arguments,
int length)
If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException.
|
protected void |
PreflightStreamEngine.checkColorOperators(java.lang.String operation)
This method validates if the ColorOperator can be used with the color space
defined in OutputIntent dictionaries.
|
private void |
StubOperator.checkNoOperands(java.util.List<COSBase> arguments)
If the arguments list of Operator isn't empty, this method throws a ContentStreamException.
|
private void |
StubOperator.checkNumberOperands(java.util.List<COSBase> arguments,
int length)
If the arguments list of Operator doesn't have Number parameters (Int, float...), this method throws a
ContentStreamException.
|
private void |
StubOperator.checkStringOperands(java.util.List<COSBase> arguments,
int length)
If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException.
|
private void |
StubOperator.checkTagAndPropertyOperands(java.util.List<COSBase> arguments)
The given arguments list is valid only if the first argument is a Tag (A String) and if the second argument is a
String or a Dictionary
|
(package private) void |
PreflightStreamEngine.validateDefaultColorSpace(Operator operator)
In some cases, the colorspace isn't checked because defaults (/DeviceGray) is used.
|
protected void |
PreflightStreamEngine.validateInlineImageFilter(Operator operator)
Throw a ContentStreamException if the LZW filter is used in a InlinedImage.
|
protected void |
PreflightStreamEngine.validateNumberOfGraphicStates(Operator operator)
Valid the number of graphic states if the operator is the Save Graphic state operator ("q")
|
protected void |
PreflightStreamEngine.validateRenderingIntent(Operator operator,
java.util.List<COSBase> arguments)
Check operands of the "ri" operator.
|
private boolean |
PreflightStreamEngine.validColorSpace(PDColorSpace colorSpace,
PreflightStreamEngine.ColorSpaceType expectedIccType) |
private boolean |
PreflightStreamEngine.validColorSpaceDestOutputProfile(PreflightStreamEngine.ColorSpaceType expectedType) |