private void setLocalCache() { _bodyDataSource = PdfRptData.MainTableDataSource(); _rptTemplate = PdfRptData.Template ?? new BasicTemplateProvider(BasicTemplate.NullTemplate); _pdfRptSummarySettings = PdfRptData.SummarySettings; _rptEvents = PdfRptData.MainTableEvents; _pdfRptFont = PdfRptData.PdfFont; _pdfRptHeader = PdfRptData.Header; _conventions = PdfRptData.AdHocColumnsConventions; }
/// <summary> /// Sets the Main table's cells and rows events. It can be null. /// </summary> /// <param name="mainTableEvents">Main table's cells and rows events</param> public void SetMainTableEvents(Events mainTableEvents) { _mainTableEvents = mainTableEvents; }