pdfHTML 6.0.0 API
iText.Html2pdf.Attach.Impl.Layout Namespace Reference

Classes

class   Html2PdfProperty
  Set of constants that will be used as keys to get and set properties. More...
 
class   HtmlDocument
  This class is a wrapper on iText.Layout.Document , which is the default root element while creating a self-sufficient PDF. More...
 
class   HtmlDocumentRenderer
  The DocumentRenderer class for HTML. More...
 
class   HtmlPageBreak
  The HTML implementation of an iText.Layout.Element.AreaBreak. More...
 
class   PageCountElement
  iText.Layout.Element.Text implementation to be used for the page count. More...
 
class   PageTargetCountElement
  iText.Layout.Element.Text implementation to be used for the page target-counter. More...
 
class   RunningElement
  An iText.Layout.Element.IElement that serves as a placeholder for removed running element from the normal flow. More...
 
class   RunningElementContainer
  A wrapper for the running elements taken out of the normal flow. More...
 

Enumerations

enum   HtmlPageBreakType { HtmlPageBreakType.ALWAYS, HtmlPageBreakType.LEFT, HtmlPageBreakType.RIGHT }
  Enumeration of the HTML page break types. More...
 
enum   PageCountType { PageCountType.CURRENT_PAGE_NUMBER, PageCountType.TOTAL_PAGE_COUNT }
  Enumeration of page count types. More...
 

Functions

  LowestAndHighest (float lowest, float highest)
 
  PageCountRenderer (TextRenderer other)
 
override LayoutResult  Layout (LayoutContext layoutContext)
 
override IRenderer  GetNextRenderer ()
 
override TextRenderer  CreateCopy (GlyphLine gl, PdfFont font)
 
override bool  ResolveFonts (IList< IRenderer > addTo)
 
  PageMarginBoxBuilder (IList< PageMarginBoxContextNode > resolvedPageMarginBoxes, float[] margins, PageSize pageSize)
 
virtual void  BuildForSinglePage (int pageNumber, PdfDocument pdfDocument, DocumentRenderer documentRenderer, ProcessorContext context)
 
virtual IRenderer[]  GetRenderers ()
 
virtual PageMarginBoxContextNode[]  GetNodes ()
 
  PageTargetCountRenderer (TextRenderer other)
 
override void  Draw (DrawContext drawContext)
 

Enumeration Type Documentation

◆ HtmlPageBreakType

Enumeration of the HTML page break types.

Enumerator
ALWAYS 

Always break.

LEFT 

Insert page break so that the next page is formatted as a left page.

RIGHT 

Insert page break so that the next page is formatted as a right page.

◆ PageCountType

Enumeration of page count types.

Enumerator
CURRENT_PAGE_NUMBER 

Type for the current page number.

TOTAL_PAGE_COUNT 

Type for the total page count.

Function Documentation

◆ CreateCopy()

override TextRenderer iText.Html2pdf.Attach.Impl.Layout.CreateCopy ( GlyphLine  gl,
PdfFont  font 
)
protected

◆ Draw()

override void iText.Html2pdf.Attach.Impl.Layout.Draw ( DrawContext  drawContext )

◆ GetNextRenderer()

override IRenderer iText.Html2pdf.Attach.Impl.Layout.GetNextRenderer ( )

◆ Layout()

override LayoutResult iText.Html2pdf.Attach.Impl.Layout.Layout ( LayoutContext  layoutContext )

◆ ResolveFonts()

override bool iText.Html2pdf.Attach.Impl.Layout.ResolveFonts ( IList< IRenderer >  addTo )
protected