Package com.itextpdf.tool.xml.html
Everything to parse HTML tags to pdf used by the
This package is part of iText® XMLWorker.
HtmlPipeline
is in here.
For CSS things take a look at com.itextpdf.tool.xml.css
This package is part of iText® XMLWorker.
-
Interface Summary Interface Description CssApplier<T extends Element> An interface for applying custom rules to a certain tag.CssAppliers CssAppliersAware TagProcessor TagProcessorFactory A TagProcessorFactory creates TagProcessors used by theXMLWorker
. -
Class Summary Class Description AbstractTagProcessor Abstract TagProcessor that allows setting the configuration object to a protected member variable.
ImplementsTagProcessor.startElement(WorkerContext, Tag)
andTagProcessor.endElement(WorkerContext, Tag, List)
to calculate font sizes and add new pages if needed.
Extend from this class instead of implementingTagProcessor
to benefit from auto fontsize metric conversion to pt and page-break-before/after insertion.Anchor Body Break CssAppliersImpl Applies CSS to an Element using the appliers from thecom.itextpdf.tool.xml.css.apply
.DefaultTagProcessorFactory A Default implementation of the TagProcessorFactory that uses a map to store the TagProcessors.Div DummyTagProcessor Does nothing.Header HeaderNode Helper class to keep the PdfOutline structure for Headers.HorizontalRule HTML Contains Strings of all used HTML tags and attributes.HTML.Attribute Attributes used in HTML tags.HTML.Attribute.Value Possible attribute values.HTML.Category Collections that combine different tags.HTML.Tag All Tags used in HTML.HTMLUtils Image NonSanitizedTag OrderedUnorderedList OrderedUnorderedListItem ParaGraph Span Tags