示例#1
0
        public ReportStyle(string reportStylePath)
        {
            ReportStyle reportStyle = new ReportStyle();

            Service.MiMFa_IOService.OpenDeserializeFile(reportStylePath, ref reportStyle);
            reportStyle.Address = reportStylePath;
            Set(reportStyle);
        }
示例#2
0
 public void Set(ReportStyle reportStyle)
 {
     Set(reportStyle.Name,
         reportStyle.MRLCode,
         reportStyle.Css,
         reportStyle.Script,
         reportStyle.Extra);
 }
示例#3
0
 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);
 }
示例#4
0
 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);
 }
示例#5
0
 public ReportStyle(ReportStyle reportStyle)
 {
     Set(reportStyle);
 }