pdfHTML 2.1.6 API
iText.Html2pdf.Attach.ITagWorker Interface Reference

Interface for all the tag worker implementations. More...

Inheritance diagram for iText.Html2pdf.Attach.ITagWorker:
iText.Html2pdf.Attach.Impl.Tags.BrTagWorker iText.Html2pdf.Attach.Impl.Tags.ColgroupTagWorker iText.Html2pdf.Attach.Impl.Tags.ColTagWorker iText.Html2pdf.Attach.Impl.Tags.DisplayTableRowTagWorker iText.Html2pdf.Attach.Impl.Tags.DisplayTableTagWorker iText.Html2pdf.Attach.Impl.Tags.DivTagWorker iText.Html2pdf.Attach.Impl.Tags.HtmlTagWorker iText.Html2pdf.Attach.Impl.Tags.ImgTagWorker iText.Html2pdf.Attach.Impl.Tags.InputTagWorker iText.Html2pdf.Attach.Impl.Tags.LinkTagWorker iText.Html2pdf.Attach.Impl.Tags.LiTagWorker iText.Html2pdf.Attach.Impl.Tags.MetaTagWorker iText.Html2pdf.Attach.Impl.Tags.ObjectTagWorker iText.Html2pdf.Attach.Impl.Tags.PlaceholderTagWorker iText.Html2pdf.Attach.Impl.Tags.PTagWorker iText.Html2pdf.Attach.Impl.Tags.RunningElementTagWorker iText.Html2pdf.Attach.Impl.Tags.SelectTagWorker iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker iText.Html2pdf.Attach.Impl.Tags.SvgTagWorker iText.Html2pdf.Attach.Impl.Tags.TableTagWorker iText.Html2pdf.Attach.Impl.Tags.TdTagWorker iText.Html2pdf.Attach.Impl.Tags.TextAreaTagWorker iText.Html2pdf.Attach.Impl.Tags.TitleTagWorker iText.Html2pdf.Attach.Impl.Tags.TrTagWorker iText.Html2pdf.Attach.Impl.Tags.UlOlTagWorker

Public Member Functions

void ProcessEnd (IElementNode element, ProcessorContext context)
 Placeholder for what needs to be done after the content of a tag has been processed. More...
 
bool ProcessContent (String content, ProcessorContext context)
 Placeholder for what needs to be done while the content of a tag is being processed. More...
 
bool ProcessTagChild (ITagWorker childTagWorker, ProcessorContext context)
 Placeholder for what needs to be done when a child node is being processed. More...
 
IPropertyContainer GetElementResult ()
 Gets a processed object if it can be expressed as an iText.Layout.IPropertyContainer instance. More...
 

Detailed Description

Interface for all the tag worker implementations.

Member Function Documentation

◆ GetElementResult()

IPropertyContainer iText.Html2pdf.Attach.ITagWorker.GetElementResult ( )

Gets a processed object if it can be expressed as an iText.Layout.IPropertyContainer instance.

Returns
the same object on every call. Might return null either if result is not yet produced or if this particular tag worker doesn't produce result in a form of iText.Layout.IPropertyContainer.

Implemented in iText.Html2pdf.Attach.Impl.Tags.InputTagWorker, iText.Html2pdf.Attach.Impl.Tags.PTagWorker, iText.Html2pdf.Attach.Impl.Tags.TableTagWorker, iText.Html2pdf.Attach.Impl.Tags.HtmlTagWorker, iText.Html2pdf.Attach.Impl.Tags.DivTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableTagWorker, iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker, iText.Html2pdf.Attach.Impl.Tags.LiTagWorker, iText.Html2pdf.Attach.Impl.Tags.TdTagWorker, iText.Html2pdf.Attach.Impl.Tags.UlOlTagWorker, iText.Html2pdf.Attach.Impl.Tags.ObjectTagWorker, iText.Html2pdf.Attach.Impl.Tags.TextAreaTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableRowTagWorker, iText.Html2pdf.Attach.Impl.Tags.ImgTagWorker, iText.Html2pdf.Attach.Impl.Tags.MetaTagWorker, iText.Html2pdf.Attach.Impl.Tags.BodyTagWorker, iText.Html2pdf.Attach.Impl.Tags.SelectTagWorker, iText.Html2pdf.Attach.Impl.Tags.ButtonTagWorker, iText.Html2pdf.Attach.Impl.Tags.TrTagWorker, iText.Html2pdf.Attach.Impl.Tags.BrTagWorker, iText.Html2pdf.Attach.Impl.Tags.SvgTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColgroupTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColTagWorker, iText.Html2pdf.Attach.Impl.Tags.TitleTagWorker, iText.Html2pdf.Attach.Impl.Tags.LinkTagWorker, iText.Html2pdf.Attach.Impl.Tags.PageMarginBoxWorker, iText.Html2pdf.Attach.Impl.Tags.PageCountWorker, iText.Html2pdf.Attach.Impl.Tags.PlaceholderTagWorker, iText.Html2pdf.Attach.Impl.Tags.HrTagWorker, and iText.Html2pdf.Attach.Impl.Tags.RunningElementTagWorker.

◆ ProcessContent()

bool iText.Html2pdf.Attach.ITagWorker.ProcessContent ( String  content,
ProcessorContext  context 
)

Placeholder for what needs to be done while the content of a tag is being processed.

Parameters
contentthe content of a node
contextthe processor context
Returns
true, if content was successfully processed, otherwise false.

Implemented in iText.Html2pdf.Attach.Impl.Tags.InputTagWorker, iText.Html2pdf.Attach.Impl.Tags.ObjectTagWorker, iText.Html2pdf.Attach.Impl.Tags.PTagWorker, iText.Html2pdf.Attach.Impl.Tags.TextAreaTagWorker, iText.Html2pdf.Attach.Impl.Tags.ImgTagWorker, iText.Html2pdf.Attach.Impl.Tags.LiTagWorker, iText.Html2pdf.Attach.Impl.Tags.TableTagWorker, iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker, iText.Html2pdf.Attach.Impl.Tags.MetaTagWorker, iText.Html2pdf.Attach.Impl.Tags.HtmlTagWorker, iText.Html2pdf.Attach.Impl.Tags.OptionTagWorker, iText.Html2pdf.Attach.Impl.Tags.UlOlTagWorker, iText.Html2pdf.Attach.Impl.Tags.TdTagWorker, iText.Html2pdf.Attach.Impl.Tags.BodyTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableTagWorker, iText.Html2pdf.Attach.Impl.Tags.DivTagWorker, iText.Html2pdf.Attach.Impl.Tags.SelectTagWorker, iText.Html2pdf.Attach.Impl.Tags.SvgTagWorker, iText.Html2pdf.Attach.Impl.Tags.ButtonTagWorker, iText.Html2pdf.Attach.Impl.Tags.BrTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableRowTagWorker, iText.Html2pdf.Attach.Impl.Tags.TrTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColgroupTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColTagWorker, iText.Html2pdf.Attach.Impl.Tags.OptGroupTagWorker, iText.Html2pdf.Attach.Impl.Tags.LinkTagWorker, iText.Html2pdf.Attach.Impl.Tags.TitleTagWorker, iText.Html2pdf.Attach.Impl.Tags.AbbrTagWorker, iText.Html2pdf.Attach.Impl.Tags.PreTagWorker, iText.Html2pdf.Attach.Impl.Tags.PlaceholderTagWorker, and iText.Html2pdf.Attach.Impl.Tags.RunningElementTagWorker.

◆ ProcessEnd()

void iText.Html2pdf.Attach.ITagWorker.ProcessEnd ( IElementNode  element,
ProcessorContext  context 
)

Placeholder for what needs to be done after the content of a tag has been processed.

Parameters
elementthe element node
contextthe processor context

Implemented in iText.Html2pdf.Attach.Impl.Tags.InputTagWorker, iText.Html2pdf.Attach.Impl.Tags.ObjectTagWorker, iText.Html2pdf.Attach.Impl.Tags.PTagWorker, iText.Html2pdf.Attach.Impl.Tags.TextAreaTagWorker, iText.Html2pdf.Attach.Impl.Tags.ImgTagWorker, iText.Html2pdf.Attach.Impl.Tags.LiTagWorker, iText.Html2pdf.Attach.Impl.Tags.TableTagWorker, iText.Html2pdf.Attach.Impl.Tags.HtmlTagWorker, iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker, iText.Html2pdf.Attach.Impl.Tags.UlOlTagWorker, iText.Html2pdf.Attach.Impl.Tags.TdTagWorker, iText.Html2pdf.Attach.Impl.Tags.OptionTagWorker, iText.Html2pdf.Attach.Impl.Tags.SelectTagWorker, iText.Html2pdf.Attach.Impl.Tags.DivTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableTagWorker, iText.Html2pdf.Attach.Impl.Tags.BodyTagWorker, iText.Html2pdf.Attach.Impl.Tags.SvgTagWorker, iText.Html2pdf.Attach.Impl.Tags.BrTagWorker, iText.Html2pdf.Attach.Impl.Tags.TrTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableRowTagWorker, iText.Html2pdf.Attach.Impl.Tags.AbbrTagWorker, iText.Html2pdf.Attach.Impl.Tags.ATagWorker, iText.Html2pdf.Attach.Impl.Tags.PageCountWorker, iText.Html2pdf.Attach.Impl.Tags.ColgroupTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColTagWorker, iText.Html2pdf.Attach.Impl.Tags.ABlockTagWorker, iText.Html2pdf.Attach.Impl.Tags.MetaTagWorker, iText.Html2pdf.Attach.Impl.Tags.LinkTagWorker, iText.Html2pdf.Attach.Impl.Tags.ThTagWorker, iText.Html2pdf.Attach.Impl.Tags.TitleTagWorker, iText.Html2pdf.Attach.Impl.Tags.PageMarginBoxWorker, iText.Html2pdf.Attach.Impl.Tags.HTagWorker, iText.Html2pdf.Attach.Impl.Tags.PlaceholderTagWorker, and iText.Html2pdf.Attach.Impl.Tags.RunningElementTagWorker.

◆ ProcessTagChild()

bool iText.Html2pdf.Attach.ITagWorker.ProcessTagChild ( ITagWorker  childTagWorker,
ProcessorContext  context 
)

Placeholder for what needs to be done when a child node is being processed.

Parameters
childTagWorkerthe tag worker of the child node
contextthe processor context
Returns
true, if child was successfully processed, otherwise false.

Implemented in iText.Html2pdf.Attach.Impl.Tags.InputTagWorker, iText.Html2pdf.Attach.Impl.Tags.ObjectTagWorker, iText.Html2pdf.Attach.Impl.Tags.TextAreaTagWorker, iText.Html2pdf.Attach.Impl.Tags.PTagWorker, iText.Html2pdf.Attach.Impl.Tags.OptionTagWorker, iText.Html2pdf.Attach.Impl.Tags.ImgTagWorker, iText.Html2pdf.Attach.Impl.Tags.LiTagWorker, iText.Html2pdf.Attach.Impl.Tags.TableTagWorker, iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker, iText.Html2pdf.Attach.Impl.Tags.MetaTagWorker, iText.Html2pdf.Attach.Impl.Tags.HtmlTagWorker, iText.Html2pdf.Attach.Impl.Tags.UlOlTagWorker, iText.Html2pdf.Attach.Impl.Tags.BodyTagWorker, iText.Html2pdf.Attach.Impl.Tags.TdTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableTagWorker, iText.Html2pdf.Attach.Impl.Tags.DivTagWorker, iText.Html2pdf.Attach.Impl.Tags.ButtonTagWorker, iText.Html2pdf.Attach.Impl.Tags.SelectTagWorker, iText.Html2pdf.Attach.Impl.Tags.SvgTagWorker, iText.Html2pdf.Attach.Impl.Tags.DisplayTableRowTagWorker, iText.Html2pdf.Attach.Impl.Tags.BrTagWorker, iText.Html2pdf.Attach.Impl.Tags.TrTagWorker, iText.Html2pdf.Attach.Impl.Tags.PreTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColgroupTagWorker, iText.Html2pdf.Attach.Impl.Tags.ColTagWorker, iText.Html2pdf.Attach.Impl.Tags.TitleTagWorker, iText.Html2pdf.Attach.Impl.Tags.LinkTagWorker, iText.Html2pdf.Attach.Impl.Tags.PlaceholderTagWorker, and iText.Html2pdf.Attach.Impl.Tags.RunningElementTagWorker.