public class PdfCleanUpProcessor
extends com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
Modifier and Type | Method and Description |
---|---|
protected void |
beginMarkedContent(com.itextpdf.kernel.pdf.PdfName tag, com.itextpdf.kernel.pdf.PdfDictionary dict) |
protected void |
eventOccurred(com.itextpdf.kernel.pdf.canvas.parser.data.IEventData data, com.itextpdf.kernel.pdf.canvas.parser.EventType type) |
com.itextpdf.kernel.pdf.canvas.parser.listener.IEventListener |
getEventListener() |
protected void |
invokeOperator(com.itextpdf.kernel.pdf.PdfLiteral operator, List |
void |
processContent(byte[] contentBytes, com.itextpdf.kernel.pdf.PdfResources resources) |
void |
processPageAnnotations(com.itextpdf.kernel.pdf.PdfPage page, List
Process the annotations of a page.
|
void |
processPageContent(com.itextpdf.kernel.pdf.PdfPage page) |
endMarkedContent, getFont, getGraphicsState, getRegisteredOperatorStrings, getResources, getXObjectStream, paintPath, populateOperators, populateXObjectDoHandlers, registerContentOperator, registerXObjectDoHandler, reset
public void processPageContent(com.itextpdf.kernel.pdf.PdfPage page)
processPageContent
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
public void processPageAnnotations(com.itextpdf.kernel.pdf.PdfPage page, Listregions, boolean redactRedactAnnotations)
page
- the page to process
regions
- a list of redaction regions
redactRedactAnnotations
- true if annotation with subtype /Redact should also be removed
public void processContent(byte[] contentBytes, com.itextpdf.kernel.pdf.PdfResources resources)
processContent
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
contentBytes
- the bytes of a content stream
resources
- the resources of the content stream. Must not be null.
public com.itextpdf.kernel.pdf.canvas.parser.listener.IEventListener getEventListener()
getEventListener
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
protected void invokeOperator(com.itextpdf.kernel.pdf.PdfLiteral operator, Listoperands)
invokeOperator
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
protected void beginMarkedContent(com.itextpdf.kernel.pdf.PdfName tag, com.itextpdf.kernel.pdf.PdfDictionary dict)
beginMarkedContent
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
protected void eventOccurred(com.itextpdf.kernel.pdf.canvas.parser.data.IEventData data, com.itextpdf.kernel.pdf.canvas.parser.EventType type)
eventOccurred
in class com.itextpdf.kernel.pdf.canvas.parser.PdfCanvasProcessor
Copyright © 1998–2021 iText Group NV. All rights reserved.