pdfHTML 6.0.0 API
iText.Html2pdf.Attach.Impl.Tags.HrTagWorker Class Reference

TagWorker class for the hr element. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Tags.HrTagWorker:
iText.Html2pdf.Attach.Impl.Tags.DivTagWorker iText.Html2pdf.Attach.ITagWorker iText.Html2pdf.Attach.Impl.Tags.IDisplayAware

Public Member Functions

  HrTagWorker (IElementNode element, ProcessorContext context)
  Creates a new HrTagWorker instance. More...
 
override IPropertyContainer  GetElementResult ()
  Gets a processed object if it can be expressed as an iText.Layout.IPropertyContainer instance. More...
 
- Public Member Functions inherited from iText.Html2pdf.Attach.Impl.Tags.DivTagWorker
  DivTagWorker (IElementNode element, ProcessorContext context)
  Creates a new DivTagWorker instance. More...
 
virtual void  ProcessEnd (IElementNode element, ProcessorContext context)
  Placeholder for what needs to be done after the content of a tag has been processed. More...
 
virtual bool  ProcessContent (String content, ProcessorContext context)
  Placeholder for what needs to be done while the content of a tag is being processed. More...
 
virtual bool  ProcessTagChild (ITagWorker childTagWorker, ProcessorContext context)
  Placeholder for what needs to be done when a child node is being processed. More...
 
virtual String  GetDisplay ()
  Gets the display value. More...
 

Additional Inherited Members

- Package Functions inherited from iText.Html2pdf.Attach.Impl.Tags.DivTagWorker
  DivTagWorker (IElementNode element, ProcessorContext context, Div container)
  Creates a new DivTagWorker instance. More...
 
virtual bool  AddBlockChild (IElement element)
  Adds a child element to the div block. More...
 
virtual void  PostProcessInlineGroup ()
  Post-processes the hanging leaves of the waiting inline elements. More...
 
- Package Attributes inherited from iText.Html2pdf.Attach.Impl.Tags.DivTagWorker
MulticolContainer  multicolContainer
  Column container element. More...
 

Detailed Description

TagWorker class for the hr element.

Constructor & Destructor Documentation

◆ HrTagWorker()

iText.Html2pdf.Attach.Impl.Tags.HrTagWorker.HrTagWorker ( IElementNode  element,
ProcessorContext  context 
)
inline

Creates a new HrTagWorker instance.

Parameters
element the element
context the context

Member Function Documentation

◆ GetElementResult()

override IPropertyContainer iText.Html2pdf.Attach.Impl.Tags.HrTagWorker.GetElementResult ( )
inlinevirtual

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.

Reimplemented from iText.Html2pdf.Attach.Impl.Tags.DivTagWorker.