/// <summary> /// Adds all main data rows of the MainTable /// </summary> public void AddMainTableRows() { if (SharedData.MainTableDataSource == null || !SharedData.MainTableDataSource.Rows().Any()) { _dataSourceIsEmpty = true; if (SharedData.MainTableEvents != null) SharedData.MainTableEvents.DataSourceIsEmpty(new EventsArguments { PdfDoc = SharedData.PdfDoc, PdfWriter = SharedData.PdfWriter, ColumnCellsSummaryData = SharedData.ColumnCellsSummaryData, PreviousTableRowData = _previousTableRowData, PageSetup = SharedData.PageSetup, PdfFont = SharedData.PdfFont, PdfColumnsAttributes = SharedData.PdfColumnsAttributes }); return; } _exporterManager = new ExporterManager(SharedData); _exporterManager.InitExporter(); printNormalTable(); printHorizontalStackPanel(); _exporterManager.CloseExporter(); }