public class PDFAType3StreamParser extends ContentStreamEngine
contentStreamEngineOperators, context, cosDocument, processeedPage| Constructor and Description |
|---|
PDFAType3StreamParser(PreflightContext context,
PDPage page) |
| Modifier and Type | Method and Description |
|---|---|
Image |
createImage(COSStream type3Stream)
This will parse a type3 stream and create an image from it.
|
float |
getWidth() |
protected void |
processOperator(PDFOperator operator,
List arguments)
This is used to handle an operation.
|
checkColorOperators, checkSetColorSpaceOperators, registerError, registerOperatorProcessor, validImageColorSpace, validImageFilter, validNumberOfGraphicStates, validRenderingIntentgetColorSpaces, getCurrentPage, getFonts, getGraphicsStack, getGraphicsState, getGraphicsStates, getResources, getTextLineMatrix, getTextMatrix, getTotalCharCnt, getValidCharCnt, getXObjects, inspectFontEncoding, isForceParsing, processEncodedText, processOperator, processStream, processSubStream, processTextPosition, resetEngine, setColorSpaces, setFonts, setForceParsing, setGraphicsStack, setGraphicsState, setGraphicsStates, setTextLineMatrix, setTextMatrixpublic PDFAType3StreamParser(PreflightContext context, PDPage page)
public Image createImage(COSStream type3Stream) throws IOException
type3Stream - The stream containing the operators to draw the image.IOException - If there is an error processing the stream.protected void processOperator(PDFOperator operator, List arguments) throws IOException
processOperator in class PDFStreamEngineoperator - The operation to perform.arguments - The list of arguments.IOException - If there is an error processing the operation.public float getWidth()
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.