Exemplo n.º 1
0
 protected internal override AbstractRenderer CreateOverflowRenderer(int layoutResult)
 {
     iText.Layout.Renderer.ListItemRenderer overflowRenderer = (iText.Layout.Renderer.ListItemRenderer)GetNextRenderer
                                                                   ();
     overflowRenderer.parent       = parent;
     overflowRenderer.modelElement = modelElement;
     if (layoutResult == LayoutResult.NOTHING)
     {
         overflowRenderer.symbolRenderer  = symbolRenderer;
         overflowRenderer.symbolAreaWidth = symbolAreaWidth;
     }
     overflowRenderer.AddAllProperties(GetOwnProperties());
     return(overflowRenderer);
 }
Exemplo n.º 2
0
 protected internal override AbstractRenderer CreateSplitRenderer(int layoutResult)
 {
     iText.Layout.Renderer.ListItemRenderer splitRenderer = (iText.Layout.Renderer.ListItemRenderer)GetNextRenderer
                                                                ();
     splitRenderer.parent       = parent;
     splitRenderer.modelElement = modelElement;
     splitRenderer.occupiedArea = occupiedArea;
     splitRenderer.isLastRendererForModelElement = false;
     if (layoutResult == LayoutResult.PARTIAL)
     {
         splitRenderer.symbolRenderer  = symbolRenderer;
         splitRenderer.symbolAreaWidth = symbolAreaWidth;
     }
     splitRenderer.AddAllProperties(GetOwnProperties());
     return(splitRenderer);
 }