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 | 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 | Description |
---|---|---|
TagProcessor |
DefaultTagProcessorFactory.FactoryObject.getProcessor() |
|
TagProcessor |
DefaultTagProcessorFactory.getProcessor(java.lang.String tag,
java.lang.String nameSpace) |
|
TagProcessor |
TagProcessorFactory.getProcessor(java.lang.String tag,
java.lang.String nameSpace) |
Looks up a TagProcessor for the given tag.
|
protected TagProcessor |
DefaultTagProcessorFactory.load(java.lang.String className) |
Tries to load given processor with Class.forName
|
protected TagProcessor |
DefaultTagProcessorFactory.load(java.lang.String className,
java.lang.ClassLoader loader) |
Tries to load given processor with Class.forName
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultTagProcessorFactory.addProcessor(TagProcessor processor,
java.lang.String... tags) |
|
void |
DefaultTagProcessorFactory.addProcessor(java.lang.String tag,
TagProcessor processor) |
Add a loaded TagProcessor.
|
void |
TagProcessorFactory.addProcessor(TagProcessor processor,
java.lang.String... tags) |
Add a tag processor and the tags it maps to.
|
Constructor | Description |
---|---|
FactoryObject(java.lang.String className,
TagProcessor processor) |
Modifier and Type | Class | Description |
---|---|---|
class |
Link |
The Link TagProcessor will try to add the content of a <link> that has the attribute type set to "text/css" to the
CssResolverPipeline CSS. |
class |
Meta |
Supports detection of:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
charset is parsed and used as encoding for Strings
|
class |
Style |
The Style TagProcessor will try to add the content of a <style> to the
CssResolverPipeline CSS. |
class |
Title |
|
class |
XML |
Modifier and Type | Class | Description |
---|---|---|
class |
Table |
|
class |
TableData |
|
class |
TableRow |
Modifier and Type | Method | Description |
---|---|---|
protected TagProcessor |
HtmlPipelineContext.resolveProcessor(java.lang.String tag,
java.lang.String nameSpace) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
HtmlPipeline.addStackKeeper(Tag t,
HtmlPipelineContext hcc,
TagProcessor tp) |
Copyright © 1998–2018. All rights reserved.