private void setSharedData() { _commonManagersInfoData = new SharedData { PageSetup = _pageSetup, MainTableEvents = _rptEvents, GroupByProperties = _groupByProperties, IsGroupingEnabled = _isGroupingEnabled, Header = _pdfRptHeader, ShouldWrapTablesInColumns = _shouldWrapTablesInColumns, PdfColumnsAttributes = _pdfColumnsDefinitions, SummarySettings = _pdfRptSummarySettings, ColumnCellsSummaryData = ColumnSummaryCellsData, Template = _rptTemplate, PdfFont = _pdfRptFont, PdfDoc = PdfDoc, PdfWriter = PdfWriter, MainTableDataSource = _bodyDataSource, ColumnsCount = _columnsCount, OriginalPdfColumnsAttributes = _originalPdfColumnsDefinitions }; }
/// <summary> /// ctor. /// </summary> /// <param name="sharedData">holds shared info between rendering classes.</param> public ExporterManager(SharedData sharedData) { _sharedData = sharedData; }