public interface IHtmlProcessor
PdfDocument
or a list of IElement
objects.
Modifier and Type | Method and Description |
---|---|
com.itextpdf.layout.Document |
processDocument(INode root, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Parses HTML to add the content to a PdfDocument .
|
List |
processElements(INode root)
Parses HTML to add the content to a list of IElement objects.
|
com.itextpdf.layout.Document processDocument(INode root, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
PdfDocument
.
root
- the root node of the HTML that needs to be parsed
pdfDocument
- the PdfDocument
instance
Document
instance
Copyright © 1998–2019 iText Group NV. All rights reserved.