public ReportStyle(string reportStylePath) { ReportStyle reportStyle = new ReportStyle(); Service.MiMFa_IOService.OpenDeserializeFile(reportStylePath, ref reportStyle); reportStyle.Address = reportStylePath; Set(reportStyle); }
public void Set(ReportStyle reportStyle) { Set(reportStyle.Name, reportStyle.MRLCode, reportStyle.Css, reportStyle.Script, reportStyle.Extra); }
public Report( string name = "Default", ReportStyle style = null, string html = "", Object extra = null, Type type = null, params object[] objectArray) { Set( name, style, html, extra, type, objectArray); }
public void Set( string name = "Default", ReportStyle style = null, string html = "", Object extra = null, Type type = null, params object[] objectArray) { Name = name; if (style != null) { Style.Set(style); } RSID = Style.RSID; ObjectArray = objectArray; Type = type; _HTML = html; Extra = extra; CreateDate = Default.Date; CreateTime = Default.Time; MiMFa_Path.CreateAllDirectories(Address); }
public ReportStyle(ReportStyle reportStyle) { Set(reportStyle); }