Exemplo n.º 1
0
        public ReportStyle(string reportStylePath)
        {
            ReportStyle reportStyle = new ReportStyle();

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