private static void CreateDocumentTable(Section section, MemberListPDFModel model) { var table = section.AddTable(); table.Borders.Width = 0.75; TableUtils.CreateTableColumns(table, tableColumns); TableUtils.CreateTableHeader(table, tableColumns); FillTable(model, table); }
private static void CreateMemberList(TripPDFModel model, Document document) { var memberSection = document.AddSection(); memberSection.AddParagraph("Reisemitglieder", "Heading1"); memberSection.AddParagraph(); var table = memberSection.AddTable(); table.Borders.Width = 0.75; TableUtils.CreateTableColumns(table, tableColumns); TableUtils.CreateTableHeader(table, tableColumns); FillMemberTable(model.Members, table); }