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