A class to hold shared info between rendering classes.
示例#1
0
 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
     };
 }
示例#2
0
 /// <summary>
 /// ctor.
 /// </summary>
 /// <param name="sharedData">holds shared info between rendering classes.</param>
 public ExporterManager(SharedData sharedData)
 {
     _sharedData = sharedData;
 }