public static RsReportProvider OpenReport(string aFileName) { RsReportProvider lResult = new RsReportProvider(); lResult.Open(aFileName); return(lResult); }
public RsReportMailSender(RsReportProvider aReportProvider) { AttachmentFiles = new List<string>(); Mail = new CMapiMail(); }
public void OpenReport() { try { updateDisplay(RsViewEngine.Locale.GetTagText("wait_Init")); createCrystalViewer(); //_Document.RefreshReport += new EventHandler(EH_RefreshReport); opened = true; updateDisplay(RsViewEngine.Locale.GetTagText("wait_Open") + "\n" + _RptFile); ReportProvider = new RsReportProvider(_RptFile); } catch (Exception E) { RsViewEngine.TreatCriticalError(E); } /// <summary> /// Collecting and if possible setting up datasource logon info /// </summary> updateDisplay(RsViewEngine.Locale.GetTagText("wait_DSBuild")); List<InternalConnectionInfo> lConnections = ReportProvider.GetAllConnections(); foreach (InternalConnectionInfo iConnInfo in lConnections) { string lConnectionName = iConnInfo.DatabaseName == "" ? iConnInfo.ServerName : iConnInfo.DatabaseName; if (FileFormats.IsExcel(lConnectionName)) { continue; } CSecurityNode lSec = RsViewEngine.RSSecurity.GetSecurityNode("report", lConnectionName, _RptFile); if (lSec == null) lSec = RsViewEngine.RSSecurity.GetSecurityNode("DatasourceSecurity", lConnectionName); if (lSec != null) { iConnInfo.SetLogon(lSec.UserName, lSec.Password); } else { if (!ShowAuthDialog(lConnectionName, iConnInfo)) System.Windows.Forms.Application.Exit(); } } addRptToViewer(); hideDisplay(); }
public static RsReportProvider OpenReport(string aFileName) { RsReportProvider lResult = new RsReportProvider(); lResult.Open(aFileName); return lResult; }
public RsRptToExcelExporter(RsReportProvider aProvider) : base(aProvider) { DataOnly = false; }
public RsReportExporter(RsReportProvider aProvider) { ExportOptions = new ExportOptions(); Source = aProvider; }
public RsRptToXmlExporter(RsReportProvider aProvider) : base(aProvider) { }
public RsRptToRichTextExporter(RsReportProvider aProvider) : base(aProvider) { }
public RsRptToPortabeFormatDocumentExporter(RsReportProvider aProvider) : base(aProvider) { }
public RsRptToHtmlExporter(RsReportProvider aProvider) : base(aProvider) { HtmlVersion = RsHtmlVersion.Html40; }
public RsRptToExcelExporter(RsReportProvider aProvider) : base(aProvider) { DataOnly = false; }
public RsReportExporter(RsReportProvider aProvider) { ExportOptions = new ExportOptions(); Source = aProvider; }
public RsRptToXmlExporter(RsReportProvider aProvider) : base(aProvider) { }
public RsRptToRichTextExporter(RsReportProvider aProvider) : base(aProvider) { }
public RsRptToHtmlExporter(RsReportProvider aProvider) : base(aProvider) { HtmlVersion = RsHtmlVersion.Html40; }
public RsRptToPortabeFormatDocumentExporter(RsReportProvider aProvider) : base(aProvider) { }