Interface ContentOperator

All Known Implementing Classes:
PdfCleanUpContentOperator, PdfContentStreamProcessor.BeginMarkedContent, PdfContentStreamProcessor.BeginMarkedContentDictionary, PdfContentStreamProcessor.BeginText, PdfContentStreamProcessor.ClipPath, PdfContentStreamProcessor.CloseSubpath, PdfContentStreamProcessor.Curve, PdfContentStreamProcessor.CurveFirstPointDuplicated, PdfContentStreamProcessor.CurveFourhPointDuplicated, PdfContentStreamProcessor.Do, PdfContentStreamProcessor.EndMarkedContent, PdfContentStreamProcessor.EndPath, PdfContentStreamProcessor.EndText, PdfContentStreamProcessor.IgnoreOperatorContentOperator, PdfContentStreamProcessor.LineTo, PdfContentStreamProcessor.ModifyCurrentTransformationMatrix, PdfContentStreamProcessor.MoveNextLineAndShowText, PdfContentStreamProcessor.MoveNextLineAndShowTextWithSpacing, PdfContentStreamProcessor.MoveTo, PdfContentStreamProcessor.PaintPath, PdfContentStreamProcessor.PopGraphicsState, PdfContentStreamProcessor.ProcessGraphicsStateResource, PdfContentStreamProcessor.PushGraphicsState, PdfContentStreamProcessor.Rectangle, PdfContentStreamProcessor.SetCMYKFill, PdfContentStreamProcessor.SetCMYKStroke, PdfContentStreamProcessor.SetColorFill, PdfContentStreamProcessor.SetColorSpaceFill, PdfContentStreamProcessor.SetColorSpaceStroke, PdfContentStreamProcessor.SetColorStroke, PdfContentStreamProcessor.SetGrayFill, PdfContentStreamProcessor.SetGrayStroke, PdfContentStreamProcessor.SetLineCap, PdfContentStreamProcessor.SetLineDashPattern, PdfContentStreamProcessor.SetLineJoin, PdfContentStreamProcessor.SetLineWidth, PdfContentStreamProcessor.SetMiterLimit, PdfContentStreamProcessor.SetRGBFill, PdfContentStreamProcessor.SetRGBStroke, PdfContentStreamProcessor.SetTextCharacterSpacing, PdfContentStreamProcessor.SetTextFont, PdfContentStreamProcessor.SetTextHorizontalScaling, PdfContentStreamProcessor.SetTextLeading, PdfContentStreamProcessor.SetTextRenderMode, PdfContentStreamProcessor.SetTextRise, PdfContentStreamProcessor.SetTextWordSpacing, PdfContentStreamProcessor.ShowText, PdfContentStreamProcessor.ShowTextArray, PdfContentStreamProcessor.TextMoveNextLine, PdfContentStreamProcessor.TextMoveStartNextLine, PdfContentStreamProcessor.TextMoveStartNextLineWithLeading, PdfContentStreamProcessor.TextSetTextMatrix

public interface ContentOperator
Interface implemented by a series of content operators
Since:
2.1.4
  • Method Details

    • invoke

      void invoke(PdfContentStreamProcessor processor, PdfLiteral operator, ArrayList<PdfObject> operands) throws Exception
      Invokes a content operator.
      Parameters:
      processor - the processor that is dealing with the PDF content
      operator - the literal PDF syntax of the operator
      operands - the operands that come with the operator
      Throws:
      Exception - any exception can be thrown - it will be re-packaged into a runtime exception and re-thrown by the PdfContentStreamProcessor