Class OperatorProcessor

java.lang.Object
org.apache.pdfbox.util.operator.OperatorProcessor
Direct Known Subclasses:
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 Object
Version:
$Revision: 1.3 $
Author:
Huault : huault@free.fr
  • Field Details

    • context

      protected PDFStreamEngine context
      The stream engine processing context.
  • Constructor Details

    • OperatorProcessor

      protected OperatorProcessor()
      Constructor.
  • Method Details

    • getContext

      protected PDFStreamEngine getContext()
      Get the context for processing.
      Returns:
      The processing context.
    • setContext

      public void setContext(PDFStreamEngine ctx)
      Set the processing context.
      Parameters:
      ctx - The context for processing.
    • process

      public abstract void process(PDFOperator operator, List<COSBase> arguments) throws IOException
      process the operator.
      Parameters:
      operator - The operator that is being processed.
      arguments - arguments needed by this operator.
      Throws:
      IOException - If there is an error processing the operator.