pdfHTML 2.1.6 API
iText.Html2pdf.Attach.Impl.Tags.PreTagWorker Class Reference

TagWorker class for the pre element. More...

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

Public Member Functions

  PreTagWorker (IElementNode element, ProcessorContext context)
  Creates a new PreTagWorker instance. More...
 
override bool  ProcessContent (String content, ProcessorContext context)
  Placeholder for what needs to be done while the content of a tag is being processed. More...
 
override bool  ProcessTagChild (ITagWorker childTagWorker, ProcessorContext context)
  Placeholder for what needs to be done when a child node is being processed. 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 IPropertyContainer  GetElementResult ()
  Gets a processed object if it can be expressed as an iText.Layout.IPropertyContainer instance. More...
 
virtual String  GetDisplay ()
  Gets the display value. More...
 

Detailed Description

TagWorker class for the pre element.

Constructor & Destructor Documentation

◆ PreTagWorker()

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

Creates a new PreTagWorker instance.

Parameters
element the element
context the context

Member Function Documentation

◆ ProcessContent()

override bool iText.Html2pdf.Attach.Impl.Tags.PreTagWorker.ProcessContent ( String  content,
ProcessorContext  context 
)
inlinevirtual

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

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

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

◆ ProcessTagChild()

override bool iText.Html2pdf.Attach.Impl.Tags.PreTagWorker.ProcessTagChild ( ITagWorker  childTagWorker,
ProcessorContext  context 
)
inlinevirtual

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

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

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