|
pdfHTML 6.3.2 API
|
The default implementation to process HTML. More...
Public Member Functions |
|
| DefaultHtmlProcessor (ConverterProperties converterProperties) | |
| Instantiates a new default html processor. More... |
|
| virtual IList< IElement > | ProcessElements (INode root) |
| Parses HTML to add the content to a list of iText.Layout.Element.IElement objects. More... |
|
| virtual Document | ProcessDocument (INode root, PdfDocument pdfDocument) |
| Parses HTML to add the content to a iText.Kernel.Pdf.PdfDocument. More... |
|
Static Public Member Functions |
|
| static void | SetConvertedRootElementProperties (IDictionary< String, String > cssProperties, ProcessorContext context, IPropertyContainer propertyContainer) |
| Sets properties to top-level layout elements converted from HTML. More... |
|
The default implementation to process HTML.
|
inline |
Instantiates a new default html processor.
| converterProperties | the converter properties |
|
inlinevirtual |
Parses HTML to add the content to a iText.Kernel.Pdf.PdfDocument.
| root | the root node of the HTML that needs to be parsed |
| pdfDocument | the iText.Kernel.Pdf.PdfDocument instance |
Implements iText.Html2pdf.Attach.IHtmlProcessor.
|
inlinevirtual |
Parses HTML to add the content to a list of iText.Layout.Element.IElement objects.
| root | the root node of the HTML that needs to be parsed |
Implements iText.Html2pdf.Attach.IHtmlProcessor.
|
inlinestatic |
Sets properties to top-level layout elements converted from HTML.
Sets properties to top-level layout elements converted from HTML. This enables features set by user via HTML converter API and also changes properties defaults to the ones specific to HTML-like behavior.
| cssProperties | HTML document-level css properties. |
| context | processor context specific to the current HTML conversion. |
| propertyContainer | top-level layout element converted from HTML. |