Package com.itextpdf.text.pdf.pdfcleanup
Class PdfCleanUpContext
java.lang.Object
com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpContext
Stores parameters related to specific context which is either page or xobject
(in other words: which is the object having contents stream)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PdfContentByte
private PdfDictionary
PdfContentStreamProcessor is able to process only Device* color spaces, so I had to add this workaround. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
pushStrokeColor
(List<PdfObject> strokeColorOperands) void
setCanvas
(PdfContentByte canvas) void
setResources
(PdfDictionary resources)
-
Field Details
-
resources
-
canvas
-
strokeColorOperands
PdfContentStreamProcessor is able to process only Device* color spaces, so I had to add this workaround.
-
-
Constructor Details
-
PdfCleanUpContext
public PdfCleanUpContext() -
PdfCleanUpContext
-
-
Method Details
-
getResources
-
setResources
-
getCanvas
-
setCanvas
-
pushStrokeColor
-
peekStrokeColor
-
popStrokeColor
-