AppendRectangleToPath
, BeginInlineImage
, BeginMarkedContentSequence
, BeginMarkedContentSequenceWithProperties
, BeginText
, ClipEvenOddRule
, ClipNonZeroRule
, CloseAndStrokePath
, CloseFillEvenOddAndStrokePath
, CloseFillNonZeroAndStrokePath
, ClosePath
, Concatenate
, CurveTo
, CurveToReplicateFinalPoint
, CurveToReplicateInitialPoint
, EndMarkedContentSequence
, EndPath
, EndText
, FillEvenOddAndStrokePath
, FillEvenOddRule
, FillNonZeroAndStrokePath
, FillNonZeroRule
, GRestore
, GSave
, Invoke
, Invoke
, LineTo
, MoveAndShow
, MoveText
, MoveTextSetLeading
, MoveTo
, NextLine
, SetCharSpacing
, SetGraphicsStateParameters
, SetHorizontalTextScaling
, SetLineCapStyle
, SetLineDashPattern
, SetLineJoinStyle
, SetLineMiterLimit
, SetLineWidth
, SetMatrix
, SetMoveAndShow
, SetNonStrokingCalRGBColor
, SetNonStrokingCMYKColor
, SetNonStrokingColor
, SetNonStrokingColorSpace
, SetNonStrokingDeviceN
, SetNonStrokingGrayColor
, SetNonStrokingICCBasedColor
, SetNonStrokingIndexed
, SetNonStrokingLabColor
, SetNonStrokingPattern
, SetNonStrokingRGBColor
, SetNonStrokingSeparation
, SetStrokingCalRGBColor
, SetStrokingCMYKColor
, SetStrokingColor
, SetStrokingColorSpace
, SetStrokingDeviceN
, SetStrokingGrayColor
, SetStrokingICCBasedColor
, SetStrokingIndexed
, SetStrokingLabColor
, SetStrokingPattern
, SetStrokingRGBColor
, SetStrokingSeparation
, SetTextFont
, SetTextLeading
, SetTextRenderingMode
, SetTextRise
, SetWordSpacing
, SHFill
, ShowText
, ShowTextGlyph
, StrokePath
public abstract class OperatorProcessor
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected PDFStreamEngine |
context |
The stream engine processing context.
|
Modifier | Constructor | Description |
---|---|---|
protected |
OperatorProcessor() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected PDFStreamEngine |
getContext() |
Get the context for processing.
|
abstract void |
process(PDFOperator operator,
java.util.List<COSBase> arguments) |
process the operator.
|
void |
setContext(PDFStreamEngine ctx) |
Set the processing context.
|
protected PDFStreamEngine context
protected PDFStreamEngine getContext()
public void setContext(PDFStreamEngine ctx)
ctx
- The context for processing.public abstract void process(PDFOperator operator, java.util.List<COSBase> arguments) throws java.io.IOException
operator
- The operator that is being processed.arguments
- arguments needed by this operator.java.io.IOException
- If there is an error processing the operator.