Package | Description |
---|---|
com.itextpdf.tool.xml.html |
Everything to parse HTML tags to pdf used by the HtmlPipeline is in here.
|
com.itextpdf.tool.xml.html.head |
TagProcessor implementations for tags in HTML head.
|
com.itextpdf.tool.xml.html.table |
TagProcessor implementations for table tags.
|
com.itextpdf.tool.xml.pipeline.html |
Contains pipeline stuff for HTML
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTagProcessor
Abstract TagProcessor that allows setting the configuration object to a protected member variable.
Implements startElement(WorkerContext, Tag) and endElement(WorkerContext, Tag, List) to calculate font sizes and add new pages if needed.
Extend from this class instead of implementing TagProcessor to benefit from auto fontsize metric conversion to pt and page-break-before/after insertion.
|
class |
Anchor |
class |
Body |
class |
Break |
class |
Div |
class |
DummyTagProcessor
Does nothing.
|
class |
Header |
class |
HorizontalRule |
class |
Image |
class |
NonSanitizedTag |
class |
OrderedUnorderedList |
class |
OrderedUnorderedListItem |
class |
ParaGraph |
class |
Span |
Modifier and Type | Method and Description |
---|---|
TagProcessor |
DefaultTagProcessorFactory.FactoryObject.getProcessor() |
TagProcessor |
TagProcessorFactory.getProcessor(String tag, String nameSpace)
Looks up a TagProcessor for the given tag.
|
TagProcessor |
DefaultTagProcessorFactory.getProcessor(String tag, String nameSpace) |
protected TagProcessor |
DefaultTagProcessorFactory.load(String className)
Tries to load given processor with Class.forName
|
protected TagProcessor |
DefaultTagProcessorFactory.load(String className, ClassLoader loader)
Tries to load given processor with Class.forName
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTagProcessorFactory.addProcessor(String tag, TagProcessor processor)
Add a loaded TagProcessor.
|
void |
TagProcessorFactory.addProcessor(TagProcessor processor, String... tags)
Add a tag processor and the tags it maps to.
|
void |
DefaultTagProcessorFactory.addProcessor(TagProcessor processor, String... tags) |
Constructor and Description |
---|
FactoryObject(String className, TagProcessor processor) |
Modifier and Type | Class and Description |
---|---|
class |
Link
The Link TagProcessor will try to add the content of a that has the attribute type set to "text/css" to the CssResolverPipeline CSS.
|
class |
Meta
Supports detection of: charset is parsed and used as encoding for Strings
|
class |
Style
The Style TagProcessor will try to add the content of a |