If you don't set PdfColumnsDefinitions, list of the main table's columns will be extracted from MainTableDataSource automatically. Here you can control how cells should be rendered based on their specific data types.
Exemplo n.º 1
0
 /// <summary>
 /// If you don't set PdfColumnsDefinitions, list of the main table's columns will be extracted from MainTableDataSource automatically.
 /// Here you can control how cells should be rendered based on their specific data types.
 /// </summary>
 /// <param name="adHocColumnsConventions">conventions</param>
 public void SetAdHocColumnsConventions(AdHocColumnsConventions adHocColumnsConventions)
 {
     _adHocColumnsConventions = adHocColumnsConventions;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Here you can control how cells should be rendered based on their specific data types.
 /// </summary>
 /// <param name="bodyDataSource">PdfRpt's DataSource Contract</param>
 /// <param name="conventions">Here you can control how cells should be rendered based on their specific data types.</param>        
 public AdHocPdfColumnDefinitions(IDataSource bodyDataSource, AdHocColumnsConventions conventions)
 {
     _bodyDataSource = bodyDataSource;
     _conventions = conventions;
 }