protected internal override void OnBuild(PdfElementContainer pdfDoc, object model) { model = GetModel(model); //Build for every children foreach (var child in Children) { child.OnBuild(pdfDoc, model); } }
protected internal override void OnBuild(PdfElementContainer pdfDoc, object model) { model = GetModel(model); if (Children.Count > 0) { Children[0].FirstPage = true; } base.OnBuild(pdfDoc, model); }
protected internal override void OnBuild(PdfElementContainer pdfDoc, object model) { model = GetModel(model); if (!FirstPage) { var page = new AreaBreak(AreaBreakType.NEXT_PAGE); pdfDoc.Add(page); } // iText.Layout.Element.LineSeparator base.OnBuild(pdfDoc, model); }
protected internal override void OnBuild(PdfElementContainer pdfDoc, object model) { model = GetModel(model); base.OnBuild(pdfDoc, model); var paragraph = new Paragraph(); BuildElement <Paragraph>(paragraph, model); foreach (var content in Content) { paragraph.Add(content.GetText(model)); } pdfDoc.Add(paragraph); }
protected internal override void OnBuild(PdfElementContainer pdfDoc, object model) { model = GetModel(model); base.OnBuild(pdfDoc, model); Root.OnBuild(pdfDoc, model); }