|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WorkerContext | |
---|---|
com.itextpdf.tool.xml | XMLWorker package provides a framework to parse XML to PDF with iText. |
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 | The pipeline package contains the pipeline implementations |
com.itextpdf.tool.xml.pipeline.css | Contains CSS processing pipeline. |
com.itextpdf.tool.xml.pipeline.ctx | Collection of CustomContext and
WorkerContext implementations. |
com.itextpdf.tool.xml.pipeline.end | Contains pipelines that can be used as last pipe in the line. |
com.itextpdf.tool.xml.pipeline.html | Contains pipeline stuff for HTML |
Uses of WorkerContext in com.itextpdf.tool.xml |
---|
Methods in com.itextpdf.tool.xml that return WorkerContext | |
---|---|
protected WorkerContext |
XMLWorker.getLocalWC()
Returns the local WorkerContext, beware: could be a newly initialized one, if XMLWorker.close() has been called before. |
Methods in com.itextpdf.tool.xml with parameters of type WorkerContext | |
---|---|
Pipeline<?> |
Pipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
Called when a closing tag has been encountered. |
Pipeline<?> |
Pipeline.content(WorkerContext context,
Tag t,
String content,
ProcessObject po)
Called when content has been encountered. |
Pipeline<?> |
Pipeline.init(WorkerContext context)
The init method allows implementation to initialize the pipeline. e.g. |
Pipeline<?> |
Pipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
Called when an opening tag has been encountered. |
Uses of WorkerContext in com.itextpdf.tool.xml.html |
---|
Methods in com.itextpdf.tool.xml.html with parameters of type WorkerContext | |
---|---|
List<Element> |
TagProcessor.content(WorkerContext ctx,
Tag tag,
String content)
This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to. |
List<Element> |
Span.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
ParaGraph.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
OrderedUnorderedListItem.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
NonSanitizedTag.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
Header.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
DummyTagProcessor.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
Div.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
Body.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
Anchor.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
AbstractTagProcessor.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent,
boolean addNewLines,
boolean applyCSS,
Tag tag,
WorkerContext ctx)
Adds currentContent list to a paragraph element. |
List<Element> |
Span.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
ParaGraph.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
OrderedUnorderedListItem.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
OrderedUnorderedList.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
NonSanitizedTag.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Image.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
HorizontalRule.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Header.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Div.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Break.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Anchor.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
AbstractTagProcessor.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List) . |
List<Element> |
TagProcessor.endElement(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
This method is called when a closing tag has been encountered of the TagProcessor implementation that is mapped to the tag. |
List<Element> |
DummyTagProcessor.endElement(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
AbstractTagProcessor.endElement(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
Checks for CSS.Property.PAGE_BREAK_AFTER , if the
value is always a Chunk.NEXTPAGE is added to the
currentContentList after calling
AbstractTagProcessor.end(WorkerContext, Tag, List) . |
CSSResolver |
AbstractTagProcessor.getCSSResolver(WorkerContext context)
Utility method that fetches the CSSResolver from the if any and if it uses the default key. |
HtmlPipelineContext |
AbstractTagProcessor.getHtmlPipelineContext(WorkerContext context)
Utility method that fetches the HtmlPipelineContext used if any and if it uses the default key. |
protected void |
ParaGraph.processListItems(WorkerContext ctx,
Tag tag,
List<ListItem> listItems,
List<Element> l)
|
protected void |
ParaGraph.processParagraphItems(WorkerContext ctx,
Tag tag,
List<Element> paragraphItems,
List<Element> l)
|
List<Element> |
Body.start(WorkerContext ctx,
Tag tag)
|
List<Element> |
AbstractTagProcessor.start(WorkerContext ctx,
Tag tag)
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.startElement(WorkerContext, Tag) . |
List<Element> |
TagProcessor.startElement(WorkerContext ctx,
Tag tag)
This method is called when a tag has been encountered. |
List<Element> |
DummyTagProcessor.startElement(WorkerContext ctx,
Tag tag)
|
List<Element> |
AbstractTagProcessor.startElement(WorkerContext ctx,
Tag tag)
Calculates any found font size to pt values and set it in the CSS before calling AbstractTagProcessor.start(WorkerContext, Tag) . |
protected List<Element> |
AbstractTagProcessor.textContent(WorkerContext ctx,
Tag tag,
String content)
|
Uses of WorkerContext in com.itextpdf.tool.xml.html.head |
---|
Methods in com.itextpdf.tool.xml.html.head with parameters of type WorkerContext | |
---|---|
List<Element> |
Title.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
Style.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
XML.start(WorkerContext ctx,
Tag tag)
|
List<Element> |
Meta.start(WorkerContext ctx,
Tag tag)
|
List<Element> |
Link.start(WorkerContext ctx,
Tag tag)
|
Uses of WorkerContext in com.itextpdf.tool.xml.html.table |
---|
Methods in com.itextpdf.tool.xml.html.table with parameters of type WorkerContext | |
---|---|
List<Element> |
TableData.content(WorkerContext ctx,
Tag tag,
String content)
|
List<Element> |
TableRow.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
TableData.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
List<Element> |
Table.end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
|
protected void |
TableData.processListItems(WorkerContext ctx,
Tag tag,
List<ListItem> listItems,
HtmlCell cell)
|
Uses of WorkerContext in com.itextpdf.tool.xml.pipeline |
---|
Methods in com.itextpdf.tool.xml.pipeline with parameters of type WorkerContext | |
---|---|
Pipeline<?> |
AbstractPipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
Just calls getNext. |
Pipeline<?> |
AbstractPipeline.content(WorkerContext ctx,
Tag currentTag,
String text,
ProcessObject po)
Just calls getNext. |
T |
AbstractPipeline.getLocalContext(WorkerContext context)
Returns the local context for this class using getContextKey, override this together with getContextKey to change the key usage in case you want to add multiple identical pipelines to the worker. |
Pipeline<?> |
AbstractPipeline.init(WorkerContext context)
|
Pipeline<?> |
AbstractPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
Just calls getNext. |
Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.css |
---|
Methods in com.itextpdf.tool.xml.pipeline.css with parameters of type WorkerContext | |
---|---|
Pipeline<?> |
CssResolverPipeline.init(WorkerContext context)
|
Pipeline<?> |
CssResolverPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
|
Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.ctx |
---|
Classes in com.itextpdf.tool.xml.pipeline.ctx that implement WorkerContext | |
---|---|
class |
WorkerContextImpl
The global WorkerContext, a storage for CustomContexts. |
Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.end |
---|
Methods in com.itextpdf.tool.xml.pipeline.end with parameters of type WorkerContext | |
---|---|
Pipeline<?> |
PdfWriterPipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline |
ElementHandlerPipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline<?> |
PdfWriterPipeline.content(WorkerContext context,
Tag currentTag,
String text,
ProcessObject po)
|
Pipeline<?> |
ElementHandlerPipeline.content(WorkerContext ctx,
Tag currentTag,
String text,
ProcessObject po)
|
Pipeline<?> |
PdfWriterPipeline.init(WorkerContext context)
|
Pipeline<?> |
PdfWriterPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline |
ElementHandlerPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
|
Uses of WorkerContext in com.itextpdf.tool.xml.pipeline.html |
---|
Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type WorkerContext | |
---|---|
Pipeline<?> |
HtmlPipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline<?> |
AutoDocPipeline.close(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline<?> |
HtmlPipeline.content(WorkerContext context,
Tag t,
String text,
ProcessObject po)
|
Pipeline<?> |
HtmlPipeline.init(WorkerContext context)
|
Pipeline<?> |
HtmlPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
|
Pipeline<?> |
AutoDocPipeline.open(WorkerContext context,
Tag t,
ProcessObject po)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |