pdfHTML 2.1.6 API
iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper Class Reference

Helper class for waiting inline elements. More...

Public Member Functions

  WaitingInlineElementsHelper (String whiteSpace, String textTransform)
  Creates a new WaitingInlineElementsHelper instance. More...
 
virtual void  Add (String text)
  Adds text to the waiting leaves. More...
 
virtual void  Add (ILeafElement element)
  Adds a leaf element to the waiting leaves. More...
 
virtual void  Add (IBlockElement element)
 
virtual void  AddAll (ICollection< ILeafElement > collection)
  Adds a collecton of leaf elements to the waiting leaves. More...
 
virtual void  FlushHangingLeaves (IPropertyContainer container)
  Flush hanging leaves. More...
 
virtual ICollection< IElement >  GetWaitingLeaves ()
  Gets the waiting leaves. More...
 
virtual IList< IElement >  GetSanitizedWaitingLeaves ()
  Gets the sanitized waiting leaves. More...
 
virtual void  ClearWaitingLeaves ()
  Clears the waiting leaves. More...
 
virtual Paragraph  CreateParagraphContainer ()
  Creates a paragraph container. More...
 

Detailed Description

Helper class for waiting inline elements.

Constructor & Destructor Documentation

◆ WaitingInlineElementsHelper()

iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.WaitingInlineElementsHelper ( String  whiteSpace,
String  textTransform 
)
inline

Creates a new WaitingInlineElementsHelper instance.

Parameters
whiteSpace we'll check if this value equals "pre" or "pre-wrap"
textTransform will define the transformation that needs to be applied to the text

Member Function Documentation

◆ Add() [1/2]

virtual void iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.Add ( ILeafElement  element )
inlinevirtual

Adds a leaf element to the waiting leaves.

Parameters
element the element

◆ Add() [2/2]

virtual void iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.Add ( String  text )
inlinevirtual

Adds text to the waiting leaves.

Parameters
text the text

◆ AddAll()

virtual void iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.AddAll ( ICollection< ILeafElement >  collection )
inlinevirtual

Adds a collecton of leaf elements to the waiting leaves.

Parameters
collection the collection

◆ ClearWaitingLeaves()

virtual void iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.ClearWaitingLeaves ( )
inlinevirtual

Clears the waiting leaves.

◆ CreateParagraphContainer()

virtual Paragraph iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.CreateParagraphContainer ( )
inlinevirtual

Creates a paragraph container.

Returns
the paragraph container

◆ FlushHangingLeaves()

virtual void iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.FlushHangingLeaves ( IPropertyContainer  container )
inlinevirtual

Flush hanging leaves.

Parameters
container a container element

◆ GetSanitizedWaitingLeaves()

virtual IList iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.GetSanitizedWaitingLeaves ( )
inlinevirtual

Gets the sanitized waiting leaves.

Returns
the sanitized waiting leaves

◆ GetWaitingLeaves()

virtual ICollection iText.Html2pdf.Attach.Util.WaitingInlineElementsHelper.GetWaitingLeaves ( )
inlinevirtual

Gets the waiting leaves.

Returns
the waiting leaves