Package com.itextpdf.tool.xml.html
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.
-
ClassDescriptionAbstract 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.CssApplier<T extends Element>An interface for applying custom rules to a certain tag.Applies CSS to an Element using the appliers from thecom.itextpdf.tool.xml.css.apply
.A Default implementation of the TagProcessorFactory that uses a map to store the TagProcessors.Does nothing.Helper class to keep the PdfOutline structure for Headers.Contains Strings of all used HTML tags and attributes.Attributes used in HTML tags.Possible attribute values.Collections that combine different tags.All Tags used in HTML.A TagProcessorFactory creates TagProcessors used by theXMLWorker
.