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

TagWorker class for the table element. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Tags.TableTagWorker:
iText.Html2pdf.Attach.ITagWorker iText.Html2pdf.Attach.Impl.Tags.IDisplayAware iText.Html2pdf.Attach.Impl.Tags.TableFooterTagWorker iText.Html2pdf.Attach.Impl.Tags.TableHeaderTagWorker

Public Member Functions

  TableTagWorker (IElementNode element, ProcessorContext context)
  Creates a new TableTagWorker 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 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...
 
virtual void  SetFooter ()
  Method to indicate that this is actually a TableFooterTagWorker instance. More...
 
virtual void  SetHeader ()
  Method to indicate that this is actually a TableHeaderTagWorker instance. More...
 
virtual void  ApplyColStyles ()
  Applies the column styles. More...
 

Detailed Description

TagWorker class for the table element.

Constructor & Destructor Documentation

◆ TableTagWorker()

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

Creates a new TableTagWorker instance.

Parameters
element the element
context the context

Member Function Documentation

◆ ApplyColStyles()

virtual void iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.ApplyColStyles ( )
inlinevirtual

Applies the column styles.

◆ GetDisplay()

virtual String iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.GetDisplay ( )
inlinevirtual

Gets the display value.

Returns
the display value

Implements iText.Html2pdf.Attach.Impl.Tags.IDisplayAware.

◆ GetElementResult()

virtual IPropertyContainer iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.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.

Implements iText.Html2pdf.Attach.ITagWorker.

◆ ProcessContent()

virtual bool iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.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.

Implements iText.Html2pdf.Attach.ITagWorker.

◆ ProcessEnd()

virtual void iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.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

Implements iText.Html2pdf.Attach.ITagWorker.

◆ ProcessTagChild()

virtual bool iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.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.

Implements iText.Html2pdf.Attach.ITagWorker.

◆ SetFooter()

virtual void iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.SetFooter ( )
inlinevirtual

Method to indicate that this is actually a TableFooterTagWorker instance.

◆ SetHeader()

virtual void iText.Html2pdf.Attach.Impl.Tags.TableTagWorker.SetHeader ( )
inlinevirtual

Method to indicate that this is actually a TableHeaderTagWorker instance.