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

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