iText 9.0.0 API
iText.Layout.Renderer Namespace Reference

Classes

class   AbstractRenderer
  Defines the most common properties and behavior that are shared by most IRenderer implementations. More...
 
class   AbstractWidthHandler
 
class   AccessibleAttributesApplier
  Generates standard structure attributes for current tag based on the layout element properties and renderer layout results. More...
 
class   AreaBreakRenderer
  Renderer for the iText.Layout.Element.AreaBreak layout element. More...
 
class   BlockFormattingContextUtil
  This class helps to identify whether we are dealing with a renderer that creates a new "Block formatting context" in terms of CSS. More...
 
class   BlockRenderer
  Represents a renderer for block elements. More...
 
class   CanvasRenderer
  Represents a renderer for the iText.Layout.Canvas layout element. More...
 
class   CellRenderer
  Represents a renderer for the iText.Layout.Element.Cell layout element. More...
 
class   DivRenderer
  Represents a renderer for the iText.Layout.Element.Div layout element. More...
 
class   DocumentRenderer
 
class   DrawContext
  This class holds instances which required for drawing on pdf document. More...
 
class   FlexContainerRenderer
 
class   GridContainerRenderer
  Represents a renderer for a grid. More...
 
interface   ILeafElementRenderer
 
class   ImageRenderer
 
interface   IRenderer
  A renderer object is responsible for drawing a corresponding layout object on a document or canvas. More...
 
class   LineRenderer
 
class   LineSeparatorRenderer
 
class   LinkRenderer
 
class   ListItemRenderer
 
class   ListRenderer
 
class   MaxMaxWidthHandler
 
class   MetaInfoContainer
  Class to store metaInfo that will be used for layout renderers. More...
 
class   MulticolRenderer
  Represents a renderer for columns. More...
 
class   ParagraphRenderer
  This class represents the renderer object for a iText.Layout.Element.Paragraph object. More...
 
class   RootRenderer
 
class   TableRenderer
  This class represents the renderer object for a iText.Layout.Element.Table object. More...
 
class   TabRenderer
 
class   TargetCounterHandler
  Handler to handle target-counter logic. More...
 
class   TextPreprocessingUtil
 
class   TextRenderer
  This class represents the renderer object for a iText.Layout.Element.Text object. More...
 
class   TypographyUtils
 

Enumerations

enum   GridOrder { ROW, COLUMN }
 
enum   SpecialScriptsContainingSequenceStatus { MOVE_SEQUENCE_CONTAINING_SPECIAL_SCRIPTS_ON_NEXT_LINE, MOVE_TO_PREVIOUS_TEXT_RENDERER_CONTAINING_SPECIAL_SCRIPTS, FORCED_SPLIT }
 

Functions

override void  ApplyDirectionForLine< T > (IList< T > renderers)
 
override void  ApplyJustifyContent (IList< FlexUtil.FlexItemCalculationInfo > line, JustifyContent justifyContent, float freeSpace)
 
virtual IList< IRenderer ApplyDirection (IList< IList< FlexItemInfo >> lines)
 
  FlexItemCalculationInfo (AbstractRenderer renderer, float flexBasis, float flexGrow, float flexShrink, float areaMainSize, bool flexBasisContent, bool isColumnDirection, float crossSize)
 
virtual Rectangle  ToRectangle ()
 
Grid.Builder  Columns (int explicitColumnCount)
  Set number of columns for a grid, the result will be either a provided one or if some elements have a property defining more columns on a grid than provided value it will be set instead. More...
 
Grid.Builder  Rows (int explicitRowCount)
  Set number of rows for a grid, the result will be either a provided one or if some elements have a property defining more rows on a grid than provided value it will be set instead. More...
 
Grid.Builder  Flow (GridFlow flow)
  Set iteration flow for a grid. More...
 
iText.Layout.Renderer.Grid  Build ()
  Build a grid with provided properties. More...
 
override void  AddChild (IRenderer renderer)
 
override IRenderer  GetNextRenderer ()
 
override T1  GetProperty< T1 > (int key)
 
override void  SetProperty (int property, Object value)
 
virtual void  SizeGrid ()
  Resolves grid track sizes. More...
 
virtual float  GetContainerHeight ()
  Gets grid container height. More...
 
virtual bool  HasNext ()
 
virtual GridView.Pos  Next ()
 
override String  ToString ()
 
virtual int  CompareTo (TableWidths.CellInfo o)
 
virtual void  SetParent (TableRenderer tableRenderer)
 
  SpecialScriptsContainingTextRendererSequenceInfo (int numberOfSequentialTextRenderers, String sequentialTextContent, IList< int > indicesOfFloating)
 

Function Documentation

◆ AddChild()

override void iText.Layout.Renderer.AddChild ( IRenderer  renderer )

◆ ApplyDirection()

IList< IRenderer > iText.Layout.Renderer.ApplyDirection ( IList< IList< FlexItemInfo >>  lines )
virtual

◆ ApplyDirectionForLine< T >()

override void iText.Layout.Renderer.ApplyDirectionForLine< T > ( IList< T >  renderers )

◆ ApplyJustifyContent()

override void iText.Layout.Renderer.ApplyJustifyContent ( IList< FlexUtil.FlexItemCalculationInfo >  line,
JustifyContent  justifyContent,
float  freeSpace 
)

◆ Build()

iText.Layout.Renderer.Grid iText.Layout.Renderer.Build ( )

Build a grid with provided properties.

Returns
new Grid instance.

◆ Columns()

Grid.Builder iText.Layout.Renderer.Columns ( int  explicitColumnCount )

Set number of columns for a grid, the result will be either a provided one or if some elements have a property defining more columns on a grid than provided value it will be set instead.

Parameters
explicitColumnCount explicit column count of a grid
Returns
current builder instance

◆ Flow()

Grid.Builder iText.Layout.Renderer.Flow ( GridFlow  flow )

Set iteration flow for a grid.

Parameters
flow iteration flow
Returns
current builder instance

◆ GetContainerHeight()

virtual float iText.Layout.Renderer.GetContainerHeight ( )
virtual

Gets grid container height.

Gets grid container height. Use this method only after calling SizeGrid().

Returns
grid container height covered by row template

◆ GetNextRenderer()

override IRenderer iText.Layout.Renderer.GetNextRenderer ( )

◆ GetProperty< T1 >()

override T1 iText.Layout.Renderer.GetProperty< T1 > ( int  key )

◆ Rows()

Grid.Builder iText.Layout.Renderer.Rows ( int  explicitRowCount )

Set number of rows for a grid, the result will be either a provided one or if some elements have a property defining more rows on a grid than provided value it will be set instead.

Parameters
explicitRowCount explicit height of a grid
Returns
current builder instance

◆ SetProperty()

override void iText.Layout.Renderer.SetProperty ( int  property,
Object  value 
)

◆ SizeGrid()

virtual void iText.Layout.Renderer.SizeGrid ( )
virtual

Resolves grid track sizes.