public class PdfDocumentContentParser extends Object
PdfDocument
through a specified RenderListener.Constructor and Description |
---|
PdfDocumentContentParser(PdfDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
<E extends IEventListener> |
processContent(int pageNumber,
E renderListener)
Processes content from the specified page number using the specified listener
|
<E extends IEventListener> |
processContent(int pageNumber,
E renderListener,
Map<String,IContentOperator> additionalContentOperators)
Processes content from the specified page number using the specified listener.
|
public PdfDocumentContentParser(PdfDocument pdfDocument)
public <E extends IEventListener> E processContent(int pageNumber, E renderListener, Map<String,IContentOperator> additionalContentOperators)
E
- the type of the renderListener - this makes it easy to chain callspageNumber
- the page number to processrenderListener
- the listener that will receive render callbacksadditionalContentOperators
- an optional map of custom ContentOperators for rendering instructionspublic <E extends IEventListener> E processContent(int pageNumber, E renderListener)
E
- the type of the renderListener - this makes it easy to chain callspageNumber
- the page number to processrenderListener
- the listener that will receive render callbacksCopyright © 1998–2023 Apryse Group NV. All rights reserved.