Class PdfCleanUpContext


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

      • strokeColorOperands

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

      • PdfCleanUpContext

        public PdfCleanUpContext()
    • Method Detail

      • setResources

        public void setResources​(PdfDictionary resources)
      • pushStrokeColor

        public void pushStrokeColor​(java.util.List<PdfObject> strokeColorOperands)
      • peekStrokeColor

        public java.util.List<PdfObject> peekStrokeColor()
      • popStrokeColor

        public java.util.List<PdfObject> popStrokeColor()