Class PdfCleanUpContext

java.lang.Object
com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpContext

class PdfCleanUpContext extends Object
Stores parameters related to specific context which is either page or xobject (in other words: which is the object having contents stream)
  • Field Details

    • resources

      private PdfDictionary resources
    • canvas

      private PdfContentByte canvas
    • strokeColorOperands

      private Stack<List<PdfObject>> strokeColorOperands
      PdfContentStreamProcessor is able to process only Device* color spaces, so I had to add this workaround.
  • Constructor Details

    • PdfCleanUpContext

      public PdfCleanUpContext()
    • PdfCleanUpContext

      public PdfCleanUpContext(PdfDictionary resources, PdfContentByte canvas)
  • Method Details