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

TagWorker class for the page count. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Tags.PageCountWorker:
iText.Html2pdf.Attach.Impl.Tags.SpanTagWorker iText.Html2pdf.Attach.ITagWorker iText.Html2pdf.Attach.Impl.Tags.IDisplayAware

Public Member Functions

  PageCountWorker (IElementNode element, ProcessorContext context)
  Creates a new PageCountWorker instance. More...
 
override void  ProcessEnd (IElementNode element, ProcessorContext context)
  Placeholder for what needs to be done after the content of a tag has been processed. 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.SpanTagWorker
  SpanTagWorker (IElementNode element, ProcessorContext context)
  Creates a new SpanTagWorker instance. 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 IList< IPropertyContainer >  GetAllElements ()
  Gets all the elements in the span. More...
 
virtual IList< IPropertyContainer >  GetOwnLeafElements ()
  Gets the span's own leaf elements. More...
 
virtual String  GetDisplay ()
  Gets the display value. More...
 

Detailed Description

TagWorker class for the page count.

Constructor & Destructor Documentation

◆ PageCountWorker()

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

Creates a new PageCountWorker instance.

Parameters
element the element
context the context

Member Function Documentation

◆ GetElementResult()

override IPropertyContainer iText.Html2pdf.Attach.Impl.Tags.PageCountWorker.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.SpanTagWorker.

◆ ProcessEnd()

override void iText.Html2pdf.Attach.Impl.Tags.PageCountWorker.ProcessEnd ( IElementNode  element,
ProcessorContext  context 
)
inlinevirtual

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

Parameters
element the element node
context the processor context

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