public class PdfContentStreamProcessor extends Object
| Constructor and Description |
|---|
PdfContentStreamProcessor(RenderListener renderListener)
Creates a new PDF Content Stream Processor that will send it's output to the
designated render listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processContent(byte[] contentBytes,
PdfDictionary resources)
Processes PDF syntax
|
void |
registerContentOperator(String operatorString,
ContentOperator operator)
Registers a content operator that will be called when the specified operator string is encountered during content processing.
|
void |
reset()
Resets the graphics state stack, matrices and resources.
|
public PdfContentStreamProcessor(RenderListener renderListener)
renderListener - the AbstractRenderListener that will receive rendering notificationspublic void registerContentOperator(String operatorString, ContentOperator operator)
operatorString - the operator idoperator - the operator that will receive notification when the operator is encounteredpublic void reset()
public void processContent(byte[] contentBytes,
PdfDictionary resources)
contentBytes - the bytes of a content streamresources - the resources that come with the content streamCopyright © 2013 InProTopia Corporation. All Rights Reserved.